summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-12-17 03:34:07 +0000
committerMike Frysinger <vapier@gentoo.org>2005-12-17 03:34:07 +0000
commita38a8124b9638e676e29dba75aabc31f45ceff0a (patch)
tree9fe4528abe88183f7bb68dbcd5d0ac0462c71ffa /sys-libs
parentremove pointless preplib (diff)
downloadgentoo-2-a38a8124b9638e676e29dba75aabc31f45ceff0a.tar.gz
gentoo-2-a38a8124b9638e676e29dba75aabc31f45ceff0a.tar.bz2
gentoo-2-a38a8124b9638e676e29dba75aabc31f45ceff0a.zip
old
(Portage version: 2.0.53)
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/cracklib/cracklib-2.7-r11.ebuild93
-rw-r--r--sys-libs/cracklib/files/digest-cracklib-2.7-r111
-rw-r--r--sys-libs/gpm/files/digest-gpm-1.20.12
-rw-r--r--sys-libs/gpm/files/gpm-linux26-headers.patch11
-rw-r--r--sys-libs/gpm/gpm-1.20.1.ebuild67
5 files changed, 0 insertions, 174 deletions
diff --git a/sys-libs/cracklib/cracklib-2.7-r11.ebuild b/sys-libs/cracklib/cracklib-2.7-r11.ebuild
deleted file mode 100644
index 1348c2ac5122..000000000000
--- a/sys-libs/cracklib/cracklib-2.7-r11.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-r11.ebuild,v 1.2 2005/03/18 00:11:59 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 m68k mips ppc ppc64 s390 sh sparc x86"
-IUSE="pam minimal"
-
-RDEPEND="sys-apps/miscfiles"
-DEPEND="${RDEPEND}
- minimal? ( app-arch/gzip )"
-
-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
- epatch "${FILESDIR}"/${P}-buffer-packer.patch
-
- # add compressed dict support, taken from shadow-4.0.4.1
- use minimal && epatch "${FILESDIR}"/${P}-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/files/digest-cracklib-2.7-r11 b/sys-libs/cracklib/files/digest-cracklib-2.7-r11
deleted file mode 100644
index 12a9da188d95..000000000000
--- a/sys-libs/cracklib/files/digest-cracklib-2.7-r11
+++ /dev/null
@@ -1 +0,0 @@
-MD5 0c84ad7413d9dd3e5c2eaa5f97d53c4a cracklib,2.7.tar.gz 21059
diff --git a/sys-libs/gpm/files/digest-gpm-1.20.1 b/sys-libs/gpm/files/digest-gpm-1.20.1
deleted file mode 100644
index 96743d4bb18e..000000000000
--- a/sys-libs/gpm/files/digest-gpm-1.20.1
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 2c63e827d755527950d9d13fe3d87692 gpm-1.20.1.tar.bz2 565014
-MD5 8fadbd10aaba0925fd4fa2556b99fca2 gpm-1.20.1-patches-1.0.tar.bz2 7306
diff --git a/sys-libs/gpm/files/gpm-linux26-headers.patch b/sys-libs/gpm/files/gpm-linux26-headers.patch
deleted file mode 100644
index db57408acb09..000000000000
--- a/sys-libs/gpm/files/gpm-linux26-headers.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/Makefile.in.orig 2004-10-31 17:23:16.412105664 +0000
-+++ src/Makefile.in 2004-10-31 17:23:45.636055416 +0000
-@@ -85,7 +85,7 @@
- # create dependencies
- for DEPS in `echo *.c */*.c`; do \
- $(CC) -I. -I $(srcdir) -M @CPPFLAGS@ $(CPPFLAGS) $$DEPS | \
-- $(SED) 's/\($*\)\.o\([ :]*\)/\1.o \1.lo\2/g' >> $(DEPFILE) ; done
-+ $(SED) 's/\($*\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> $(DEPFILE) ; done
-
- ### INSTALL
- check: all
diff --git a/sys-libs/gpm/gpm-1.20.1.ebuild b/sys-libs/gpm/gpm-1.20.1.ebuild
deleted file mode 100644
index a17ccccde201..000000000000
--- a/sys-libs/gpm/gpm-1.20.1.ebuild
+++ /dev/null
@@ -1,67 +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/gpm/gpm-1.20.1.ebuild,v 1.23 2005/01/30 11:43:39 vapier Exp $
-
-inherit eutils
-
-PATCH_VER="1.0"
-DESCRIPTION="Console-based mouse driver"
-HOMEPAGE="ftp://arcana.linux.it/pub/gpm/"
-SRC_URI="ftp://arcana.linux.it/pub/gpm/${P}.tar.bz2
- mirror://gentoo/${P}-patches-${PATCH_VER}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86"
-IUSE="selinux"
-
-DEPEND=">=sys-libs/ncurses-5.2"
-RDEPEND="selinux? ( sec-policy/selinux-gpm )"
-
-PATCHDIR=${WORKDIR}/patches
-
-src_unpack() {
- unpack ${A}
- unpack ${P}-patches-${PATCH_VER}.tar.bz2
- cd ${S}
-
- epatch ${WORKDIR}/patches
-
- # Add missing 'mkinstalldirs' script
- cp -f /usr/share/automake/mkinstalldirs ${S}
-
- use ppc64 && epatch ${FILESDIR}/gpm-linux26-headers.patch
-}
-
-src_compile() {
- econf --sysconfdir=/etc/gpm || die
-
- # Do not create gpmdoc.ps, as it cause build to fail with our version
- # of tetex (it is already there, so this will only create missing
- # manpages)
- cp doc/Makefile doc/Makefile.orig
- sed -e 's:all\: $(srcdir)/gpmdoc.ps:all\::' \
- doc/Makefile.orig > doc/Makefile
-
- emake -j1 || die
-}
-
-src_install() {
- einstall
-
- chmod 755 ${D}/usr/$(get_libdir)/*
- # Fix missing /usr/$(get_libdir)/libgpm.so.1
- preplib
-
- dodoc BUGS COPYING ChangeLog Changes MANIFEST README TODO
- dodoc doc/Announce doc/FAQ doc/README*
- doinfo doc/gpm.info
-
- insinto /etc/gpm
- doins conf/gpm-*.conf
-
- exeinto /etc/init.d
- newexe ${FILESDIR}/gpm.rc6 gpm
- insinto /etc/conf.d
- newins ${FILESDIR}/gpm.conf.d gpm
-}