diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-07-21 20:33:06 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-07-21 20:33:06 +0000 |
commit | 4d9bffd8ed14fe40ac59530dfd6a6f067680d146 (patch) | |
tree | 87eaef6eba929d2e4756703e49cc537c1bdf8ab3 /sys-libs/cracklib | |
parent | added info about possible configure failure. closes #57504 (diff) | |
download | historical-4d9bffd8ed14fe40ac59530dfd6a6f067680d146.tar.gz historical-4d9bffd8ed14fe40ac59530dfd6a6f067680d146.tar.bz2 historical-4d9bffd8ed14fe40ac59530dfd6a6f067680d146.zip |
use emake - works fine; error check sed; tidy
Diffstat (limited to 'sys-libs/cracklib')
-rw-r--r-- | sys-libs/cracklib/ChangeLog | 5 | ||||
-rw-r--r-- | sys-libs/cracklib/Manifest | 12 | ||||
-rw-r--r-- | sys-libs/cracklib/cracklib-2.7-r9.ebuild | 25 |
3 files changed, 25 insertions, 17 deletions
diff --git a/sys-libs/cracklib/ChangeLog b/sys-libs/cracklib/ChangeLog index 4992c204d925..c96f38735ca3 100644 --- a/sys-libs/cracklib/ChangeLog +++ b/sys-libs/cracklib/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-libs/cracklib # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/ChangeLog,v 1.48 2004/06/30 13:24:41 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/ChangeLog,v 1.49 2004/07/21 20:33:06 mr_bones_ Exp $ + + 21 Jul 2004; Michael Sterrett <mr_bones_@gentoo.org> cracklib-2.7-r9.ebuild: + use emake - works fine; error check sed; tidy 30 Jun 2004; Aron Griffis <agriffis@gentoo.org> cracklib-2.7-r9.ebuild: stable on alpha and ia64 diff --git a/sys-libs/cracklib/Manifest b/sys-libs/cracklib/Manifest index f0d39271d7e3..e89d62b89f6a 100644 --- a/sys-libs/cracklib/Manifest +++ b/sys-libs/cracklib/Manifest @@ -1,13 +1,13 @@ +MD5 4987779df22bfecfe820b286d362618b ChangeLog 6721 MD5 41ca96772abc2be30cbf0d044587bc55 cracklib-2.7-r7.ebuild 1420 -MD5 aec35ac2f3ed9ee7d6cd06093451f56f cracklib-2.7-r9.ebuild 2249 MD5 31f59463369435ebcbb7f2ae10c154df cracklib-2.7-r8.ebuild 1694 -MD5 072ce4ea03130b51160a94283f7da7f2 ChangeLog 6592 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 +MD5 5262da5fa8bd20e14fbaff61a038312f cracklib-2.7-r9.ebuild 2336 MD5 85783b83e5bfa51190033895cfaf803e files/cracklib-2.7-dec-alpha-compiler.diff 333 -MD5 336ab4f8ce8e3a3955ec8722d32076b4 files/cracklib-2.7-gzip.patch 521 -MD5 954e8e0d53c6f878366e472a90917356 files/cracklib-2.7-redhat.patch 1224 -MD5 cd32ee2bf36a5facd5b5eb5d99aa66ee files/cracklib-2.7-static-lib.patch 1346 MD5 9c566d6a249f8d02ad419aac76fffd66 files/cracklib-2.7-gentoo-new.diff 4244 +MD5 954e8e0d53c6f878366e472a90917356 files/cracklib-2.7-redhat.patch 1224 +MD5 f27fad03a3939b6e405193b419b645a4 files/digest-cracklib-2.7-r9 63 MD5 f27fad03a3939b6e405193b419b645a4 files/digest-cracklib-2.7-r7 63 +MD5 cd32ee2bf36a5facd5b5eb5d99aa66ee files/cracklib-2.7-static-lib.patch 1346 MD5 f27fad03a3939b6e405193b419b645a4 files/digest-cracklib-2.7-r8 63 -MD5 f27fad03a3939b6e405193b419b645a4 files/digest-cracklib-2.7-r9 63 +MD5 336ab4f8ce8e3a3955ec8722d32076b4 files/cracklib-2.7-gzip.patch 521 diff --git a/sys-libs/cracklib/cracklib-2.7-r9.ebuild b/sys-libs/cracklib/cracklib-2.7-r9.ebuild index 9880d3435c88..0038c165a5ca 100644 --- a/sys-libs/cracklib/cracklib-2.7-r9.ebuild +++ b/sys-libs/cracklib/cracklib-2.7-r9.ebuild @@ -1,11 +1,10 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/cracklib-2.7-r9.ebuild,v 1.8 2004/06/30 13:24:41 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/cracklib-2.7-r9.ebuild,v 1.9 2004/07/21 20:33:06 mr_bones_ Exp $ inherit flag-o-matic eutils MY_P=${P/-/,} -S=${WORKDIR}/${MY_P} DESCRIPTION="Password Checking Library" HOMEPAGE="http://www.crypticide.org/users/alecm/" SRC_URI="http://www.crypticide.org/users/alecm/security/${MY_P}.tar.gz" @@ -21,6 +20,8 @@ DEPEND="${RDEPEND} uclibc? ( app-arch/gzip ) sys-devel/gcc-config" +S="${WORKDIR}/${MY_P}" + src_unpack() { unpack ${A} @@ -32,26 +33,30 @@ src_unpack() { # add compressed dict support, taken from shadow-4.0.4.1 use uclibc && epatch ${FILESDIR}/${PN}-${PV}-gzip.patch - sed -e 's|/usr/dict/words|/usr/share/dict/words|' -i util/create-cracklib-dict + sed -i \ + -e 's|/usr/dict/words|/usr/share/dict/words|' \ + util/create-cracklib-dict \ + || die "sed util/create-cracklib-dict failed" - [ "${ARCH}" = "alpha" -a "${CC}" = "ccc" ] && \ - sed -i -e 's:CFLAGS += -g :CFLAGS += -g3 :' ${S}/cracklib/Makefile + if [ "${ARCH}" = "alpha" -a "${CC}" = "ccc" ] ; then + sed -i \ + -e 's:CFLAGS += -g :CFLAGS += -g3 :' ${S}/cracklib/Makefile \ + || die "sed ${S}/cracklib/Makefile failed" + fi } src_compile() { - # filter-flags -fstack-protector - # Parallel make does not work for 2.7 - make all || die + emake all || die "emake failed" } src_install() { dodir /usr/{lib,sbin,include} /lib keepdir /usr/share/cracklib - make DESTDIR=${D} install || die + make DESTDIR="${D}" install || die "make install failed" # Needed by pam - if ( [ ! -f "${D}/usr/lib/libcrack.a" ] && use pam ) + if [ ! -f "${D}/usr/lib/libcrack.a" ] && use pam then eerror "Could not find libcrack.a which is needed by core components!" die "Could not find libcrack.a which is needed by core components!" |