summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-03-18 00:08:15 +0000
committerMike Frysinger <vapier@gentoo.org>2005-03-18 00:08:15 +0000
commit4ad992c980e4aee4488b7c13fd9dee571b391fe9 (patch)
treeca59770d87563def7049dd63965959503a6e6ca1 /sys-libs
parentTesting ppc-macos progressive profile (diff)
downloadgentoo-2-4ad992c980e4aee4488b7c13fd9dee571b391fe9.tar.gz
gentoo-2-4ad992c980e4aee4488b7c13fd9dee571b391fe9.tar.bz2
gentoo-2-4ad992c980e4aee4488b7c13fd9dee571b391fe9.zip
old
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/cracklib/cracklib-2.7-r10.ebuild93
-rw-r--r--sys-libs/cracklib/cracklib-2.8.1.ebuild56
-rw-r--r--sys-libs/cracklib/files/digest-cracklib-2.7-r101
-rw-r--r--sys-libs/cracklib/files/digest-cracklib-2.8.11
4 files changed, 0 insertions, 151 deletions
diff --git a/sys-libs/cracklib/cracklib-2.7-r10.ebuild b/sys-libs/cracklib/cracklib-2.7-r10.ebuild
deleted file mode 100644
index 5b842593c389..000000000000
--- a/sys-libs/cracklib/cracklib-2.7-r10.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/cracklib-2.7-r10.ebuild,v 1.13 2005/02/22 22:30:12 vapier Exp $
-
-inherit flag-o-matic eutils toolchain-funcs
-
-MY_P=${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"
-
-LICENSE="CRACKLIB"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86"
-IUSE="pam uclibc"
-
-RDEPEND="sys-apps/miscfiles"
-DEPEND="${RDEPEND}
- uclibc? ( app-arch/gzip )
- sys-devel/gcc-config"
-
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
- epatch ${FILESDIR}/${P}-redhat.patch
- epatch ${FILESDIR}/${P}-gentoo-new.diff
- epatch ${FILESDIR}/${P}-static-lib.patch
- epatch ${FILESDIR}/${P}-libdir.patch
- epatch ${FILESDIR}/${P}-parallel-make.patch
- epatch ${FILESDIR}/${P}-cross-compile.patch
-
- # add compressed dict support, taken from shadow-4.0.4.1
- use uclibc && epatch ${FILESDIR}/${PN}-${PV}-gzip.patch
-
- sed -i \
- -e 's|/usr/dict/words|/usr/share/dict/words|' \
- util/create-cracklib-dict \
- || die "sed util/create-cracklib-dict failed"
-
- 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() {
- tc-export CC LD AR
- emake all || die "emake failed"
-}
-
-src_install() {
- dodir /usr/{$(get_libdir),sbin,include,lib} /$(get_libdir)
- keepdir /usr/share/cracklib
-
- make DESTDIR="${D}" install LIBDIR="/usr/$(get_libdir)" || die "make install failed"
-
- # Needed by pam
- if [ ! -f "${D}/usr/$(get_libdir)/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!"
- fi
-
- # correct permissions on static lib
- if [ -x "${D}/usr/$(get_libdir)/libcrack.a" ] ; then
- fperms 644 "/usr/$(get_libdir)/libcrack.a"
- fi
-
- # put libcrack.so.2.7 in /lib for cases where /usr isn't available yet
- mv "${D}/usr/$(get_libdir)/libcrack.so"* "${D}/$(get_libdir)" \
- || die "mv failed"
-
- # This link is needed and not created. :| bug #9611
- dosym libcrack.so.2.7 "/$(get_libdir)/libcrack.so.2"
-
- ## remove it, if not needed
- ##use pam || rm -f ${D}/usr/lib/libcrack.a
- # actually keep it, so other things can link against it if required and
- # it's possible that pam is NOT in the USE flag at the time, and will be
- # later on only.
-
- cp "${S}/cracklib/packer.h" "${D}/usr/include" || die "cp failed"
- #fix the permissions on it as they may be wrong in some cases
- fperms 644 /usr/include/packer.h
-
- preplib "/usr/$(get_libdir)" "/$(get_libdir)"
-
- dodoc "${S}/"{HISTORY,MANIFEST,POSTER,README}
-}
diff --git a/sys-libs/cracklib/cracklib-2.8.1.ebuild b/sys-libs/cracklib/cracklib-2.8.1.ebuild
deleted file mode 100644
index bcf568cf259d..000000000000
--- a/sys-libs/cracklib/cracklib-2.8.1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/cracklib-2.8.1.ebuild,v 1.1 2005/03/16 02:36:43 vapier Exp $
-
-inherit eutils toolchain-funcs
-
-MY_P=${P/_}
-DESCRIPTION="Password Checking Library"
-HOMEPAGE="http://sourceforge.net/projects/cracklib"
-SRC_URI="mirror://sourceforge/cracklib/${MY_P}.tar.gz"
-
-LICENSE="CRACKLIB"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE=""
-
-RDEPEND="sys-apps/miscfiles"
-DEPEND="${RDEPEND}
- uclibc? ( app-arch/gzip )
- sys-devel/gcc-config"
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/cracklib-2.8_pre1-dictname.patch
-}
-
-src_compile() {
- econf --disable-dependency-tracking || die
- emake || die
-}
-
-src_install() {
- make DESTDIR="${D}" install || die "make install failed"
- rm -r "${D}"/usr/share/cracklib
-
- insinto /usr/include
- doins lib/packer.h || die "doins packer.h"
-
- # move shared libs to /
- dodir /$(get_libdir)
- mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir)/ || die "could not move shared"
- gen_usr_ldscript libcrack.so
-
- insinto /usr/share/dict
- doins dicts/cracklib-small || die "word dict"
- tc-is-cross-compiler \
- || export PATH=${D}/usr/sbin:${PATH} LD_LIBRARY_PATH=${D}/lib
- cracklib-format dicts/cracklib-small \
- | cracklib-packer "${D}"/usr/$(get_libdir)/cracklib_dict \
- || die "couldnt create dict"
-
- dodoc AUTHORS ChangeLog NEWS README*
-}
diff --git a/sys-libs/cracklib/files/digest-cracklib-2.7-r10 b/sys-libs/cracklib/files/digest-cracklib-2.7-r10
deleted file mode 100644
index 12a9da188d95..000000000000
--- a/sys-libs/cracklib/files/digest-cracklib-2.7-r10
+++ /dev/null
@@ -1 +0,0 @@
-MD5 0c84ad7413d9dd3e5c2eaa5f97d53c4a cracklib,2.7.tar.gz 21059
diff --git a/sys-libs/cracklib/files/digest-cracklib-2.8.1 b/sys-libs/cracklib/files/digest-cracklib-2.8.1
deleted file mode 100644
index 8e207c539403..000000000000
--- a/sys-libs/cracklib/files/digest-cracklib-2.8.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 a9bbfaeb86a577ee8d2779a5a66f9245 cracklib-2.8.1.tar.gz 479839