diff options
author | Sam James <sam@gentoo.org> | 2021-03-16 17:02:03 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-03-16 19:22:13 +0000 |
commit | 94af3edc393bcd7dbe5c8c1074a7ec08e9391c3b (patch) | |
tree | 989c309e209e874a11bda5de298682916ed70f88 /app-crypt/aescrypt | |
parent | app-arch/wimlib: drop 1.13.0 (diff) | |
download | gentoo-94af3edc393bcd7dbe5c8c1074a7ec08e9391c3b.tar.gz gentoo-94af3edc393bcd7dbe5c8c1074a7ec08e9391c3b.tar.bz2 gentoo-94af3edc393bcd7dbe5c8c1074a7ec08e9391c3b.zip |
app-crypt/aescrypt: drop 3.0.6b
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-crypt/aescrypt')
-rw-r--r-- | app-crypt/aescrypt/Manifest | 1 | ||||
-rw-r--r-- | app-crypt/aescrypt/aescrypt-3.0.6b.ebuild | 28 | ||||
-rw-r--r-- | app-crypt/aescrypt/files/aescrypt-3.0.6b-build.patch | 62 | ||||
-rw-r--r-- | app-crypt/aescrypt/files/aescrypt-3.0.6b-iconv.patch | 40 |
4 files changed, 0 insertions, 131 deletions
diff --git a/app-crypt/aescrypt/Manifest b/app-crypt/aescrypt/Manifest index 1980050f678a..bb3e8f0201d3 100644 --- a/app-crypt/aescrypt/Manifest +++ b/app-crypt/aescrypt/Manifest @@ -1,2 +1 @@ -DIST aescrypt-3.0.6b.tar.gz 28272 BLAKE2B ce5347b77d974c76dadaa820b5b90a56015019f846bbc61560c33032adad08576d5e5ddd7d9e1020878e35b40173a2c5e29578e2f6e98631725442beac6f19ac SHA512 4c88abc9bff50ae5d310be7dad8f29843941843f9b484d9846b08dc76c605940adbb375f7e8ffefd6e8236f35ff860a745f89226e9c171bfa70c28c16aa6626a DIST aescrypt-3.14.tgz 38742 BLAKE2B 7122cb0246e28fd1301c58c13145c47ea3e20c8af61efc4115eec8a7ade720ecf2093f2e0156c05eb6cbb6e403bbeb3624745609f0ec1f2fd477edbd876e3373 SHA512 ac06604e2121f0c0f098e87d43c493b7285c58ac7419c284e6a93218dfa7381d4ca69ee775842fde89226092e05978d662eddefe734afe38f67b28df68d87b68 diff --git a/app-crypt/aescrypt/aescrypt-3.0.6b.ebuild b/app-crypt/aescrypt/aescrypt-3.0.6b.ebuild deleted file mode 100644 index 39d2ef7cf78a..000000000000 --- a/app-crypt/aescrypt/aescrypt-3.0.6b.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs flag-o-matic - -DESCRIPTION="Advanced file encryption using AES" -HOMEPAGE="https://www.aescrypt.com/" -SRC_URI="https://www.aescrypt.com/download/v3/${P}.tar.gz" - -LICENSE="BSD GPL-2" -SLOT="0" -KEYWORDS="~amd64" -IUSE="static" - -PATCHES=( - "${FILESDIR}/${P}-build.patch" - "${FILESDIR}/${P}-iconv.patch" -) - -src_compile() { - if use static; then - append-cflags "-DDISABLE_ICONV" - append-ldflags "-static" - fi - emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" -} diff --git a/app-crypt/aescrypt/files/aescrypt-3.0.6b-build.patch b/app-crypt/aescrypt/files/aescrypt-3.0.6b-build.patch deleted file mode 100644 index 8dac5b4e6f47..000000000000 --- a/app-crypt/aescrypt/files/aescrypt-3.0.6b-build.patch +++ /dev/null @@ -1,62 +0,0 @@ -From ab74ea544739ab044af1e9b398770d31add3b435 Mon Sep 17 00:00:00 2001 -From: Alon Bar-Lev <alon.barlev@gmail.com> -Date: Sat, 2 Feb 2013 01:16:03 +0200 -Subject: [PATCH 1/2] build: respect CFLAGS, DESTDIR and permissions - -Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> ---- - Makefile | 18 ++++++++++-------- - 1 file changed, 10 insertions(+), 8 deletions(-) - -diff --git a/Makefile b/Makefile -index ac661a8..abcdcc4 100644 ---- a/Makefile -+++ b/Makefile -@@ -17,7 +17,8 @@ CC=gcc - - #The below line is for debugging - #CFLAGS=-I. -ggdb -Wall -D_FILE_OFFSET_BITS=64 --CFLAGS=-Wall -D_FILE_OFFSET_BITS=64 -+CFLAGS=-Wall -+EXTRA_CFLAGS=-D_FILE_OFFSET_BITS=64 - - LIBS= - -@@ -27,10 +28,10 @@ LIBS= - all: aescrypt aescrypt_keygen - - aescrypt: aescrypt.o aes.o sha256.o password.o keyfile.o -- $(CC) $(CFLAGS) $(LIBS) -o $@ $^ -+ $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(LIBS) $(LDFLAGS) -o $@ $^ - - aescrypt_keygen: aescrypt_keygen.o password.o -- $(CC) $(CFLAGS) $(LIBS) -o $@ $^ -+ $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(LIBS) $(LDFLAGS) -o $@ $^ - - test: - @$(CC) -DTEST -o sha.test sha256.c -@@ -48,15 +49,16 @@ testfile: aescrypt - cmp test.orig.txt test.txt - - %.o: %.c %.h -- $(CC) $(CFLAGS) -c $*.c -+ $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c $*.c - - install: aescrypt -- install -o root -g root -m 755 aescrypt /usr/bin -- install -o root -g root -m 755 aescrypt_keygen /usr/bin -+ install -m 755 -d $(DESTDIR)/usr/bin -+ install -m 755 aescrypt $(DESTDIR)/usr/bin -+ install -m 755 aescrypt_keygen $(DESTDIR)/usr/bin - - uninstall: -- rm -f /usr/bin/aescrypt -- rm -f /usr/bin/aescrypt_keygen -+ rm -f $(DESTDIR)/usr/bin/aescrypt -+ rm -f $(DESTDIR)/usr/bin/aescrypt_keygen - - clean: - rm -f *.o aescrypt aescrypt_keygen test* *test --- -1.7.12.4 - diff --git a/app-crypt/aescrypt/files/aescrypt-3.0.6b-iconv.patch b/app-crypt/aescrypt/files/aescrypt-3.0.6b-iconv.patch deleted file mode 100644 index 616e87e38d61..000000000000 --- a/app-crypt/aescrypt/files/aescrypt-3.0.6b-iconv.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 337cc9367a3cb4450eee245c6ceb615d0f05499d Mon Sep 17 00:00:00 2001 -From: Alon Bar-Lev <alon.barlev@gmail.com> -Date: Sat, 2 Feb 2013 01:18:08 +0200 -Subject: [PATCH 2/2] build: support disable iconv for static build - -Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> ---- - password.c | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -diff --git a/password.c b/password.c -index 9a2c1f8..dee79da 100644 ---- a/password.c -+++ b/password.c -@@ -232,6 +232,15 @@ int passwd_to_utf16(unsigned char *in_passwd, - size_t ic_inbytesleft, - ic_outbytesleft; - -+#ifdef DISABLE_ICONV -+ /* support only latin */ -+ int i; -+ for (i=0;i<length+1;i++) { -+ out_passwd[i*2] = in_passwd[i]; -+ out_passwd[i*2+1] = 0; -+ } -+ return length*2; -+#else - /* Max length is specified in character, but this function deals - * with bytes. So, multiply by two since we are going to create a - * UTF-16 string. -@@ -273,5 +282,6 @@ int passwd_to_utf16(unsigned char *in_passwd, - } - iconv_close(condesc); - return (max_length - ic_outbytesleft); -+#endif - } - --- -1.7.12.4 - |