mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
remove package 'nettle'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
fea84b1153
commit
0d2ba2d1ff
@ -1,44 +0,0 @@
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# OpenELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# OpenELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="nettle"
|
||||
PKG_VERSION="2.7.1"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.lysator.liu.se/~nisse/nettle"
|
||||
PKG_URL="http://www.lysator.liu.se/~nisse/archive/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="security"
|
||||
PKG_SHORTDESC="nettle: a cryptographic library"
|
||||
PKG_LONGDESC="Nettle is a cryptographic library that is designed to fit easily in more or less any context: In crypto toolkits for object-oriented languages (C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space. In most contexts, you need more than the basic cryptographic algorithms, you also need some way to keep track of available algorithms, their properties and variants. You often have some algorithm selection process, often dictated by a protocol you want to implement."
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-openssl --enable-mini-gmp CC_FOR_BUILD=$HOST_CC"
|
||||
|
||||
pre_configure_target() {
|
||||
# dont build parallel
|
||||
MAKEFLAGS=-j1
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
rm -rf $INSTALL/usr/bin
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index 2c25007..7980fa8 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -16,7 +16,7 @@ MKDIR_P = @MKDIR_P@
|
||||
|
||||
OPT_ASM_SOURCES = @OPT_ASM_SOURCES@
|
||||
|
||||
-SUBDIRS = tools testsuite examples
|
||||
+SUBDIRS =
|
||||
|
||||
include config.make
|
||||
|
@ -1,46 +0,0 @@
|
||||
diff -Naur nettle-2.7.1/Makefile.in nettle-2.7.1.patch/Makefile.in
|
||||
--- nettle-2.7.1/Makefile.in 2013-05-28 16:21:53.000000000 +0200
|
||||
+++ nettle-2.7.1.patch/Makefile.in 2014-05-30 17:52:21.402473749 +0200
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
include config.make
|
||||
|
||||
-PRE_CPPFLAGS = -I.
|
||||
+PRE_CPPFLAGS = -I. -I$(srcdir)
|
||||
# FIXME: Add configuration of LIBEXT?
|
||||
LIBTARGETS = @IF_STATIC@ libnettle.a @IF_HOGWEED@ libhogweed.a
|
||||
SHLIBTARGETS = @IF_SHARED@ $(LIBNETTLE_FORLINK) @IF_HOGWEED@ $(LIBHOGWEED_FORLINK)
|
||||
@@ -229,27 +229,27 @@
|
||||
# executable. Avoid object file targets to make it easy to run the
|
||||
# right compiler.
|
||||
aesdata$(EXEEXT_FOR_BUILD): aesdata.c
|
||||
- $(CC_FOR_BUILD) `test -f aesdata.c || echo '$(srcdir)/'`aesdata.c \
|
||||
+ $(CC_FOR_BUILD) $(PRE_CPPFLAGS) `test -f aesdata.c || echo '$(srcdir)/'`aesdata.c \
|
||||
-o aesdata$(EXEEXT_FOR_BUILD)
|
||||
|
||||
desdata$(EXEEXT_FOR_BUILD): desdata.c
|
||||
- $(CC_FOR_BUILD) `test -f desdata.c || echo '$(srcdir)/'`desdata.c \
|
||||
+ $(CC_FOR_BUILD) $(PRE_CPPFLAGS) `test -f desdata.c || echo '$(srcdir)/'`desdata.c \
|
||||
-o desdata$(EXEEXT_FOR_BUILD)
|
||||
|
||||
twofishdata$(EXEEXT_FOR_BUILD): twofishdata.c
|
||||
- $(CC_FOR_BUILD) `test -f twofishdata.c || echo '$(srcdir)/'`twofishdata.c \
|
||||
+ $(CC_FOR_BUILD) $(PRE_CPPFLAGS) `test -f twofishdata.c || echo '$(srcdir)/'`twofishdata.c \
|
||||
-o twofishdata$(EXEEXT_FOR_BUILD)
|
||||
|
||||
shadata$(EXEEXT_FOR_BUILD): shadata.c
|
||||
- $(CC_FOR_BUILD) `test -f shadata.c || echo '$(srcdir)/'`shadata.c -lm \
|
||||
+ $(CC_FOR_BUILD) $(PRE_CPPFLAGS) `test -f shadata.c || echo '$(srcdir)/'`shadata.c -lm \
|
||||
-o shadata$(EXEEXT_FOR_BUILD)
|
||||
|
||||
gcmdata$(EXEEXT_FOR_BUILD): gcmdata.c
|
||||
- $(CC_FOR_BUILD) `test -f gcmdata.c || echo '$(srcdir)/'`gcmdata.c \
|
||||
+ $(CC_FOR_BUILD) $(PRE_CPPFLAGS) `test -f gcmdata.c || echo '$(srcdir)/'`gcmdata.c \
|
||||
-o gcmdata$(EXEEXT_FOR_BUILD)
|
||||
|
||||
eccdata$(EXEEXT_FOR_BUILD): eccdata.c mini-gmp.c mini-gmp.h
|
||||
- $(CC_FOR_BUILD) `test -f eccdata.c || echo '$(srcdir)/'`eccdata.c \
|
||||
+ $(CC_FOR_BUILD) $(PRE_CPPFLAGS) `test -f eccdata.c || echo '$(srcdir)/'`eccdata.c \
|
||||
-o eccdata$(EXEEXT_FOR_BUILD)
|
||||
|
||||
# desCore rules
|
@ -1,9 +0,0 @@
|
||||
diff -Naur nettle-2.7.1/nettle.pc.in nettle-2.7.1.patch/nettle.pc.in
|
||||
--- nettle-2.7.1/nettle.pc.in 2013-05-28 16:21:53.000000000 +0200
|
||||
+++ nettle-2.7.1.patch/nettle.pc.in 2014-05-30 18:09:10.503171166 +0200
|
||||
@@ -8,4 +8,4 @@
|
||||
URL: http://www.lysator.liu.se/~nisse/nettle
|
||||
Version: @PACKAGE_VERSION@
|
||||
Libs: -L${libdir} -lnettle
|
||||
-Cflags: -I${includedir}
|
||||
+Cflags: -I${includedir} -I${includedir}/nettle
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user