app-crypt/argon2: remove 20161029-r1

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Michael Palimaka <kensington@gentoo.org>
This commit is contained in:
Michael Palimaka
2019-03-16 15:51:53 +11:00
parent 60c0897b68
commit b1ca5d3f98
3 changed files with 0 additions and 63 deletions

View File

@@ -1,2 +1 @@
DIST argon2-20161029.tar.gz 1506864 BLAKE2B fbb0588439e811666af027710d1e5ef182b4d1c9012ca2c60d22ce103ceca14bb392dd8916b37c1c07799dc97f9401aa66d3bd08b250dd48314aa57a8599dff5 SHA512 e1f947a97e8b5f292dd32a6f1ea0ef3f2e411629218653821886ec4e1d5f8289d5b8f4b8bf0a37e69c344a83b975c695947d6b49fd2001a0e4273bebd4792892
DIST argon2-20171227.tar.gz 1503745 BLAKE2B 70171ce1b446974e18e6f7077f436c6b78f29fd3eb075314014219280fd984e51b00137d901175da5fcb8a8472df0cbb16ff0333a2f2f098e52d3e0ea496e2cc SHA512 9c9e1a3905e61ac6913d1e073c104477e419ddd0506adc4487e88e98d19165ed8901fe8bb11246ed0cc71b3523c190da9692d5926642f86be09c3e67510afe4d

View File

@@ -1,34 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit multilib
DESCRIPTION="Password hashing software that won the Password Hashing Competition (PHC)"
HOMEPAGE="https://github.com/P-H-C/phc-winner-argon2"
SRC_URI="https://github.com/P-H-C/phc-winner-argon2/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="|| ( Apache-2.0 CC0-1.0 )"
SLOT="0/0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="static-libs"
S="${WORKDIR}/phc-winner-${P}"
PATCHES=(
"${FILESDIR}/${P}-makefile-soname-symlinks.patch"
)
src_prepare() {
default
if ! use static-libs; then
sed -i -e 's/LIBRARIES = \$(LIB_SH) \$(LIB_ST)/LIBRARIES = \$(LIB_SH)/' Makefile || die "sed failed!"
fi
sed -i -e 's/-O3 //' Makefile || die "sed failed"
sed -i -e 's/-g //' Makefile || die "sed failed"
sed -i -e "s/-march=\$(OPTTARGET) /${CFLAGS} /" Makefile || die "sed failed"
sed -i -e 's/CFLAGS += -march=\$(OPTTARGET)//' Makefile || die "sed failed"
}
src_install() {
emake DESTDIR="${D}" LIBRARY_REL=$(get_libdir) install || die
}

View File

@@ -1,28 +0,0 @@
diff --git a/Makefile b/Makefile
index 1838c13..85aa710 100644
--- a/Makefile
+++ b/Makefile
@@ -87,8 +87,10 @@ endif
endif
LIB_SH := lib$(LIB_NAME).$(LIB_EXT)
+LIB_SH_VERSION := $(LIB_SH).0
LIB_ST := lib$(LIB_NAME).a
LIBRARIES = $(LIB_SH) $(LIB_ST)
+INSTALL_LIBRARIES = $(LIBRARIES) $(LIB_SH_VERSION)
HEADERS = include/argon2.h
INSTALL = install
@@ -153,9 +155,11 @@ format:
-i include/*.h src/*.c src/*.h src/blake2/*.c src/blake2/*.h
install: $(RUN) libs
+ mv $(LIB_SH) $(LIB_SH_VERSION)
+ ln -sf $(LIB_SH_VERSION) $(LIB_SH)
$(INSTALL) -d $(INST_INCLUDE)
$(INSTALL) $(HEADERS) $(INST_INCLUDE)
$(INSTALL) -d $(INST_LIBRARY)
- $(INSTALL) $(LIBRARIES) $(INST_LIBRARY)
+ $(INSTALL) $(INSTALL_LIBRARIES) $(INST_LIBRARY)
$(INSTALL) -d $(INST_BINARY)
$(INSTALL) $(RUN) $(INST_BINARY)