From 777e864c77c83fa4055093901315e815ec544cf8 Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Tue, 6 Sep 2016 00:44:07 +0100 Subject: app-crypt/af_alg: Drop since exist in upstream now --- app-crypt/af_alg/Manifest | 8 --- app-crypt/af_alg/af_alg-9999.ebuild | 48 --------------- ...UILD-Use-CC-instead-of-LD-to-link-library.patch | 35 ----------- ...D-Do-not-override-variable-if-already-def.patch | 54 ----------------- ...R-BUILD-Comment-some-Makefile-tips-usages.patch | 44 -------------- ...NOR-BUILD-Rename-EXTRA_FILES-to-DOC_FILES.patch | 34 ----------- .../0005-MEDIUM-BUILD-Implement-make-install.patch | 56 ------------------ ...-The-usage-of-Tab-is-recommenced-in-Makef.patch | 69 ---------------------- app-crypt/af_alg/metadata.xml | 8 --- 9 files changed, 356 deletions(-) delete mode 100644 app-crypt/af_alg/Manifest delete mode 100644 app-crypt/af_alg/af_alg-9999.ebuild delete mode 100644 app-crypt/af_alg/files/0001-MEDIUM-BUILD-Use-CC-instead-of-LD-to-link-library.patch delete mode 100644 app-crypt/af_alg/files/0002-MEDIUM-BUILD-Do-not-override-variable-if-already-def.patch delete mode 100644 app-crypt/af_alg/files/0003-MINOR-BUILD-Comment-some-Makefile-tips-usages.patch delete mode 100644 app-crypt/af_alg/files/0004-MINOR-BUILD-Rename-EXTRA_FILES-to-DOC_FILES.patch delete mode 100644 app-crypt/af_alg/files/0005-MEDIUM-BUILD-Implement-make-install.patch delete mode 100644 app-crypt/af_alg/files/0006-MINOR-BUILD-The-usage-of-Tab-is-recommenced-in-Makef.patch delete mode 100644 app-crypt/af_alg/metadata.xml (limited to 'app-crypt') diff --git a/app-crypt/af_alg/Manifest b/app-crypt/af_alg/Manifest deleted file mode 100644 index 16ed650a..00000000 --- a/app-crypt/af_alg/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -AUX 0001-MEDIUM-BUILD-Use-CC-instead-of-LD-to-link-library.patch 919 SHA256 b2cb78b9042834b23b621310512784cefee2a48436096775c112640a3cac9958 WHIRLPOOL d10dbbfb1fa87c564cce03441f9a7ccdc8c1f39a1d5814d038a34eb2b6bf22fccca9c9417b10ac9df9cf67ebc4c3d5e88a16c8ea1590a6a51dd1dd032d8bbe72 -AUX 0002-MEDIUM-BUILD-Do-not-override-variable-if-already-def.patch 971 SHA256 5a1ef8aa735e7d2efb0ace9c6aacaf4f1430aa8c603c238d9c58b93a48f249e2 WHIRLPOOL 19873429e04c7e453594ff9a6a7c608a415cae0f91a208e8ae6ae0b5b3cef8c8ec4b42a7ef824f600e6d52001c6583debbe983ddd787da5831bf06e71618dfde -AUX 0003-MINOR-BUILD-Comment-some-Makefile-tips-usages.patch 826 SHA256 0ec7c912c585312828697a51b29b4e7a4a5b41a88432861f18a14c23ee2d525b WHIRLPOOL 4738e16c7a0066ad175af210dc1f2a07df6a790d02272a0fa12413c173520b1b6574eeea09be25652ba664a272a6061da2414bda950c2b90de2bc401b8b8a48d -AUX 0004-MINOR-BUILD-Rename-EXTRA_FILES-to-DOC_FILES.patch 836 SHA256 a11ede30af19c6a6de514e3b37f6b81b8d95c0904ddacf838add7cc22e4df104 WHIRLPOOL 9d945f6e5c98f12e1c94830bb3827dac03de24ea77f15d8e1011bb5fb7d05dc102aa58e567fd4a83185ea3ac2b25582f79592245757759c20cb039fca9ed4822 -AUX 0005-MEDIUM-BUILD-Implement-make-install.patch 1341 SHA256 8236bd8d7befa3c674189dec3536096288bb8b5ccbeb9491e28052a782f34d8c WHIRLPOOL 1657bd46f0b9113c0d4e07af3266f430707f2b7c50ec218cb1a44c33cef7ad0d4d540b84db56a8ac7cfdc6e3005587a05ec221e82d670a7d0906c81c11975f32 -AUX 0006-MINOR-BUILD-The-usage-of-Tab-is-recommenced-in-Makef.patch 1675 SHA256 03b1af0bd0c14a38c4cc7a7f7e9bd1a57b7b35fdff7907ebf1a6ea0132693a5f WHIRLPOOL 1bbedeb3b482a61fb0c794ac402d35ffc745aac6f750732685f129d852c86fef7257b06a274b9606d45878ada99d07840571f8dddc4f053e96e689b385b22aa9 -EBUILD af_alg-9999.ebuild 1602 SHA256 02f758b508a9b08a73628c5063fe18c38267580798c0de3c9cb4f452f9874bb6 WHIRLPOOL 881d5a49498dda5beef3b380136d032a4b3f53c37a18336e6c294ff1af9274eaf0b44d14d0d293fab92cd2383f0296592b92390f5f4bf671206d73104a0816c5 -MISC metadata.xml 256 SHA256 6ca43960767ca28661abf97c85263db77fe7643902be2ce777c61aa688d8ea2d WHIRLPOOL cef8582829111be09e651eb819e6d1ea59c9c4386b842169ccd46a14c8e3ccb090486fecd61c5fd4aa47998cacc69cdc1fb5ca6bb6325a4da1ebfd0b6eebda7b diff --git a/app-crypt/af_alg/af_alg-9999.ebuild b/app-crypt/af_alg/af_alg-9999.ebuild deleted file mode 100644 index f8cc7b99..00000000 --- a/app-crypt/af_alg/af_alg-9999.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit eutils flag-o-matic git-r3 linux-info toolchain-funcs - -DESCRIPTION="AF_ALG for OpenSSL" -HOMEPAGE="http://carnivore.it/2011/04/23/openssl_-_af_alg" - -EGIT_REPO_URI="git://git.carnivore.it/users/common/af_alg.git" -EGIT_COMMIT="HEAD" - -LICENSE="openssl" -SLOT="0" -KEYWORDS="" -IUSE="debug" - -DEPEND="dev-libs/openssl:0" -RDEPEND="${DEPEND}" - -CONFIG_CHECK="~CONFIG_CRYPTO_USER_API - ~CRYPTO_USER_API_HASH - ~CRYPTO_USER_API_SKCIPHER" -WARNING_CONFIG_CRYPTO_USER_API="You must enable CONFIG_CRYPTO_USER_API in your kernel, otherwise ${PN} would not work" -WARNING_CRYPTO_USER_API_HASH="You must enable CRYPTO_USER_API_HASH in your kernel, otherwise ${PN} would not work" -WARNING_CRYPTO_USER_API_SKCIPHER="You must enable CRYPTO_USER_API_SKCIPHER in your kernel, otherwise ${PN} would not work" - -src_prepare() { - epatch "${FILESDIR}/0001-MEDIUM-BUILD-Use-CC-instead-of-LD-to-link-library.patch" - epatch "${FILESDIR}/0002-MEDIUM-BUILD-Do-not-override-variable-if-already-def.patch" - epatch "${FILESDIR}/0003-MINOR-BUILD-Comment-some-Makefile-tips-usages.patch" - epatch "${FILESDIR}/0004-MINOR-BUILD-Rename-EXTRA_FILES-to-DOC_FILES.patch" - epatch "${FILESDIR}/0005-MEDIUM-BUILD-Implement-make-install.patch" - epatch "${FILESDIR}/0006-MINOR-BUILD-The-usage-of-Tab-is-recommenced-in-Makef.patch" - - if use debug ; then - einfo "Appending to CFLAGS: -DDEBUG" - append-cflags -DDEBUG - fi -} - -src_install() { - emake install \ - DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)/engines" - - dodoc README -} diff --git a/app-crypt/af_alg/files/0001-MEDIUM-BUILD-Use-CC-instead-of-LD-to-link-library.patch b/app-crypt/af_alg/files/0001-MEDIUM-BUILD-Use-CC-instead-of-LD-to-link-library.patch deleted file mode 100644 index 0a7e9e0d..00000000 --- a/app-crypt/af_alg/files/0001-MEDIUM-BUILD-Use-CC-instead-of-LD-to-link-library.patch +++ /dev/null @@ -1,35 +0,0 @@ -From a44a334feb29c8326478032eb3b6e1fc0ee96cbc Mon Sep 17 00:00:00 2001 -From: Bertrand Jacquin -Date: Fri, 10 Jan 2014 21:31:36 +0100 -Subject: [PATCH 1/6] MEDIUM/BUILD: Use CC instead of LD to link library - ---- - Makefile | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -diff --git a/Makefile b/Makefile -index e0b69dc..a992458 100644 ---- a/Makefile -+++ b/Makefile -@@ -27,7 +27,6 @@ SPEC_LDFLAGS = \ - -lcrypto - - CC = cc --LD = $(CC) - - STRIP = strip - STRIP_FLAGS = --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.build-id -@@ -54,8 +53,8 @@ dist: $(NAME)-$(VERSION).txz - $(Q)$(CC) -c $(SPEC_CFLAGS) $(CFLAGS) -o $@ $< - - $(NAME).so: $(SRC:c=o) -- $(call qcmd,LD,$@) -- $(Q)$(LD) -shared -o $@ $^ $(SPEC_LDFLAGS) $(LDFLAGS) -+ $(call qcmd,CC,$@) -+ $(Q)$(CC) -shared -o $@ $^ $(SPEC_LDFLAGS) $(LDFLAGS) - - $(NAME).so.strip: $(NAME).so - $(call qcmd,STRIP,$@) --- -1.8.3.2 - diff --git a/app-crypt/af_alg/files/0002-MEDIUM-BUILD-Do-not-override-variable-if-already-def.patch b/app-crypt/af_alg/files/0002-MEDIUM-BUILD-Do-not-override-variable-if-already-def.patch deleted file mode 100644 index 0ca538b8..00000000 --- a/app-crypt/af_alg/files/0002-MEDIUM-BUILD-Do-not-override-variable-if-already-def.patch +++ /dev/null @@ -1,54 +0,0 @@ -From 80c9d84bdc3a4410ae7d4dbcbd2b968348ccdab8 Mon Sep 17 00:00:00 2001 -From: Bertrand Jacquin -Date: Fri, 10 Jan 2014 21:33:32 +0100 -Subject: [PATCH 2/6] MEDIUM/BUILD: Do not override variable if already - defined. - -That way you can reuse environnement variables ---- - Makefile | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -diff --git a/Makefile b/Makefile -index a992458..4457218 100644 ---- a/Makefile -+++ b/Makefile -@@ -14,28 +14,28 @@ SRC = \ - EXTRA_FILES = \ - README - --CFLAGS = \ -+CFLAGS ?= \ - -O3 \ - -W -Wall -Werror - - SPEC_CFLAGS = \ - -fPIC - --LDFLAGS = -+LDFLAGS ?= - - SPEC_LDFLAGS = \ - -lcrypto - --CC = cc -+CC ?= cc - --STRIP = strip --STRIP_FLAGS = --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.build-id -- --RM = rm -f -+STRIP ?= strip -+STRIP_FLAGS ?= --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.build-id - - TAR = tar - XZ = xz - -+RM ?= rm -f -+ - ifeq ($(V),) - Q = @ - --- -1.8.3.2 - diff --git a/app-crypt/af_alg/files/0003-MINOR-BUILD-Comment-some-Makefile-tips-usages.patch b/app-crypt/af_alg/files/0003-MINOR-BUILD-Comment-some-Makefile-tips-usages.patch deleted file mode 100644 index cabd32c6..00000000 --- a/app-crypt/af_alg/files/0003-MINOR-BUILD-Comment-some-Makefile-tips-usages.patch +++ /dev/null @@ -1,44 +0,0 @@ -From b5d9e9503dd54aa7b8c4595d368a04cdab2d239b Mon Sep 17 00:00:00 2001 -From: Bertrand Jacquin -Date: Fri, 10 Jan 2014 21:35:44 +0100 -Subject: [PATCH 3/6] MINOR/BUILD: Comment some Makefile tips/usages - ---- - Makefile | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/Makefile b/Makefile -index 4457218..47853b4 100644 ---- a/Makefile -+++ b/Makefile -@@ -6,6 +6,7 @@ - NAME = libaf_alg - VERSION = $(shell sh -c 'git describe --tags --dirty=-dev 2> /dev/null || echo 0') - -+# List of sources to build - SRC = \ - e_af_alg.c \ - ciphers.c \ -@@ -14,15 +15,19 @@ SRC = \ - EXTRA_FILES = \ - README - -+# User defined CFLAGS - CFLAGS ?= \ - -O3 \ - -W -Wall -Werror - -+# Forced CFLAGS - SPEC_CFLAGS = \ - -fPIC - -+# User defined LDFLAGS - LDFLAGS ?= - -+# Forced LDFLAGS - SPEC_LDFLAGS = \ - -lcrypto - --- -1.8.3.2 - diff --git a/app-crypt/af_alg/files/0004-MINOR-BUILD-Rename-EXTRA_FILES-to-DOC_FILES.patch b/app-crypt/af_alg/files/0004-MINOR-BUILD-Rename-EXTRA_FILES-to-DOC_FILES.patch deleted file mode 100644 index b2834da2..00000000 --- a/app-crypt/af_alg/files/0004-MINOR-BUILD-Rename-EXTRA_FILES-to-DOC_FILES.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 822eee883be620fd92e7e4431abbc68e81a88699 Mon Sep 17 00:00:00 2001 -From: Bertrand Jacquin -Date: Fri, 10 Jan 2014 21:40:46 +0100 -Subject: [PATCH 4/6] MINOR/BUILD: Rename EXTRA_FILES to DOC_FILES - ---- - Makefile | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/Makefile b/Makefile -index 47853b4..c24c858 100644 ---- a/Makefile -+++ b/Makefile -@@ -12,7 +12,7 @@ SRC = \ - ciphers.c \ - digests.c - --EXTRA_FILES = \ -+DOC_FILES = \ - README - - # User defined CFLAGS -@@ -65,7 +65,7 @@ $(NAME).so.strip: $(NAME).so - $(call qcmd,STRIP,$@) - $(Q)$(STRIP) $(STRIP_FLAGS) -o $@ $< - --$(NAME)-$(VERSION).tar: $(SRC) $(EXTRA_FILES) Makefile -+$(NAME)-$(VERSION).tar: $(SRC) $(DOC_FILES) Makefile - $(call qcmd,TAR,$@) - $(Q)$(TAR) cf $@ \ - --transform "s,^,$(NAME)-$(VERSION)/," \ --- -1.8.3.2 - diff --git a/app-crypt/af_alg/files/0005-MEDIUM-BUILD-Implement-make-install.patch b/app-crypt/af_alg/files/0005-MEDIUM-BUILD-Implement-make-install.patch deleted file mode 100644 index aa5a4a43..00000000 --- a/app-crypt/af_alg/files/0005-MEDIUM-BUILD-Implement-make-install.patch +++ /dev/null @@ -1,56 +0,0 @@ -From 700c3a032dc85628cb13c555631da24d59bf4260 Mon Sep 17 00:00:00 2001 -From: Bertrand Jacquin -Date: Fri, 10 Jan 2014 21:49:42 +0100 -Subject: [PATCH 5/6] MEDIUM/BUILD: Implement 'make install' - ---- - Makefile | 21 +++++++++++++++++++++ - 1 file changed, 21 insertions(+) - -diff --git a/Makefile b/Makefile -index c24c858..d0504d6 100644 ---- a/Makefile -+++ b/Makefile -@@ -36,11 +36,18 @@ CC ?= cc - STRIP ?= strip - STRIP_FLAGS ?= --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.build-id - -+INSTALL ?= install -+ - TAR = tar - XZ = xz - - RM ?= rm -f - -+DESTDIR ?= -+PREFIX ?= /usr/local -+LIBDIR ?= $(PREFIX)/lib/engines -+DOCDIR ?= $(PREFIX)/share/doc/$(NAME) -+ - ifeq ($(V),) - Q = @ - -@@ -65,6 +72,20 @@ $(NAME).so.strip: $(NAME).so - $(call qcmd,STRIP,$@) - $(Q)$(STRIP) $(STRIP_FLAGS) -o $@ $< - -+install: install-lib -+install-lib: $(DESTDIR)$(LIBDIR)/$(NAME).so -+install-doc: $(DOC_FILES:%=$(DESTDIR)$(DOCDIR)/%) -+ -+$(DESTDIR)$(LIBDIR)/$(NAME).so: MODE = 0555 -+$(DESTDIR)$(LIBDIR)/$(NAME).so: $(NAME).so -+ $(call qcmd,INSTALL,$@) -+ $(Q)$(INSTALL) -D -m $(MODE) $< $@ -+ -+$(DESTDIR)$(DOCDIR)/%: MODE = 0444 -+$(DESTDIR)$(DOCDIR)/%: % -+ $(call qcmd,INSTALL,$@) -+ $(Q)$(INSTALL) -D -m $(MODE) $< $@ -+ - $(NAME)-$(VERSION).tar: $(SRC) $(DOC_FILES) Makefile - $(call qcmd,TAR,$@) - $(Q)$(TAR) cf $@ \ --- -1.8.3.2 - diff --git a/app-crypt/af_alg/files/0006-MINOR-BUILD-The-usage-of-Tab-is-recommenced-in-Makef.patch b/app-crypt/af_alg/files/0006-MINOR-BUILD-The-usage-of-Tab-is-recommenced-in-Makef.patch deleted file mode 100644 index 67728de6..00000000 --- a/app-crypt/af_alg/files/0006-MINOR-BUILD-The-usage-of-Tab-is-recommenced-in-Makef.patch +++ /dev/null @@ -1,69 +0,0 @@ -From 2ab31bfd855454f71899eb8c009bbe66f181419e Mon Sep 17 00:00:00 2001 -From: Bertrand Jacquin -Date: Fri, 10 Jan 2014 21:52:20 +0100 -Subject: [PATCH 6/6] MINOR/BUILD: The usage of Tab is recommenced in Makefiles - ---- - Makefile | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -diff --git a/Makefile b/Makefile -index d0504d6..6cade4f 100644 ---- a/Makefile -+++ b/Makefile -@@ -52,7 +52,7 @@ ifeq ($(V),) - Q = @ - - qcmd = @printf " %-8s %s\n" "$(1)" "$(2)"; --endif # $(V) -+endif # $(V) - - all: shared - -@@ -60,7 +60,7 @@ shared: $(NAME).so - strip: $(NAME).so.strip - dist: $(NAME)-$(VERSION).txz - --%.o: %.c -+%.o: %.c - $(call qcmd,CC,$@) - $(Q)$(CC) -c $(SPEC_CFLAGS) $(CFLAGS) -o $@ $< - -@@ -68,7 +68,7 @@ $(NAME).so: $(SRC:c=o) - $(call qcmd,CC,$@) - $(Q)$(CC) -shared -o $@ $^ $(SPEC_LDFLAGS) $(LDFLAGS) - --$(NAME).so.strip: $(NAME).so -+$(NAME).so.strip: $(NAME).so - $(call qcmd,STRIP,$@) - $(Q)$(STRIP) $(STRIP_FLAGS) -o $@ $< - -@@ -86,14 +86,14 @@ $(DESTDIR)$(DOCDIR)/%: % - $(call qcmd,INSTALL,$@) - $(Q)$(INSTALL) -D -m $(MODE) $< $@ - --$(NAME)-$(VERSION).tar: $(SRC) $(DOC_FILES) Makefile -+$(NAME)-$(VERSION).tar: $(SRC) $(DOC_FILES) Makefile - $(call qcmd,TAR,$@) - $(Q)$(TAR) cf $@ \ - --transform "s,^,$(NAME)-$(VERSION)/," \ - --force-local --numeric-owner \ - $^ - --%.txz: %.tar -+%.txz: %.tar - $(call qcmd,XZ,$@) - $(Q)$(XZ) -c > $@ < $< - -@@ -103,7 +103,7 @@ clean: - $(call qcmd,RM,$(NAME).so) - $(Q)$(RM) $(NAME).so $(NAME).so.strip - --dist-clean: clean -+dist-clean: clean - $(call qcmd,RM,$(NAME)-$(VERSION).tar) - $(Q)$(RM) $(NAME)-$(VERSION).tar - $(call qcmd,RM,$(NAME)-$(VERSION).txz) --- -1.8.3.2 - diff --git a/app-crypt/af_alg/metadata.xml b/app-crypt/af_alg/metadata.xml deleted file mode 100644 index b5e02a8f..00000000 --- a/app-crypt/af_alg/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - bertrand@jacquin.bzh - Bertrand Jacquin - - -- cgit v1.2.3