summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-01-10 00:51:18 +0000
committerMike Frysinger <vapier@gentoo.org>2005-01-10 00:51:18 +0000
commit0df9417546c9ff76780e923dd865292ebac2f210 (patch)
tree2beb3ed220bac2ac24d1f58e260c5f2e2af68a9f /sys-apps/util-linux
parentverison bump. many bug fixes. (diff)
downloadhistorical-0df9417546c9ff76780e923dd865292ebac2f210.tar.gz
historical-0df9417546c9ff76780e923dd865292ebac2f210.tar.bz2
historical-0df9417546c9ff76780e923dd865292ebac2f210.zip
old
Diffstat (limited to 'sys-apps/util-linux')
-rw-r--r--sys-apps/util-linux/Manifest10
-rw-r--r--sys-apps/util-linux/files/digest-util-linux-2.12-r22
-rw-r--r--sys-apps/util-linux/files/digest-util-linux-2.12-r32
-rw-r--r--sys-apps/util-linux/files/digest-util-linux-2.12b2
-rw-r--r--sys-apps/util-linux/files/digest-util-linux-2.12b-r12
-rw-r--r--sys-apps/util-linux/util-linux-2.12-r2.ebuild110
-rw-r--r--sys-apps/util-linux/util-linux-2.12-r3.ebuild127
-rw-r--r--sys-apps/util-linux/util-linux-2.12b-r1.ebuild161
-rw-r--r--sys-apps/util-linux/util-linux-2.12b.ebuild158
9 files changed, 3 insertions, 571 deletions
diff --git a/sys-apps/util-linux/Manifest b/sys-apps/util-linux/Manifest
index 1b18bc68aa09..bb631001a4db 100644
--- a/sys-apps/util-linux/Manifest
+++ b/sys-apps/util-linux/Manifest
@@ -5,8 +5,6 @@ MD5 0df0c65fbb00a9153c30046cd435bb47 ChangeLog 15902
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
MD5 956fda46dcf04bbb717ec282840edada util-linux-2.12-r4.ebuild 4101
MD5 b1770169fdbfa0b28480dbebf67d3222 util-linux-2.12-r5.ebuild 4196
-MD5 4bb184b87ec90bdc579a71f53214f21a util-linux-2.12b-r1.ebuild 4983
-MD5 46b84caf300acc762451ca3631a2bb14 util-linux-2.12b.ebuild 4874
MD5 eeb64f7c42637a4750b79aadbfa7120c util-linux-2.12i-r1.ebuild 3682
MD5 6aa1c240dd789327ea92e36309052950 files/no-symlink-resolve.patch 316
MD5 0f2f1ddaeaf52622fa80f4f08bb25a6b files/util-linux-2.11z-01-nfsv4-crypt.dif 13460
@@ -25,13 +23,11 @@ MD5 5a1bf3d383850b6c8ca05cc4fe76c813 files/digest-util-linux-2.12-r5 154
MD5 4460875a6ebcf24a7ca5b41ed12f9fe5 files/util-linux-2.12-gcloop.patch 3806
MD5 11fdaf3d68904b318fbffd7243e719b7 files/util-linux-2.12-amd64_rdev_installation.patch 737
MD5 a43d2b8c70c5f40a195721dc536abace files/util-linux-2.12-swapon-unistd.patch 289
-MD5 87912a793169fad4258077f2f6957616 files/digest-util-linux-2.12b 156
MD5 e9d23ba9f2e86d57084dce2b34d76c10 files/util-linux-2.12b-fat-LABEL-support.patch 11672
MD5 58cfa6f70a144bbe55e6aa1b85f72a96 files/util-linux-2.12b-gcloop-with-crypt.patch 3846
MD5 a0217db1b99dfa1f137c22c36343a623 files/util-linux-2.12b-gcloop.patch 3844
MD5 07a3dfffc55bcc7ef2868e025beb853e files/util-linux-2.12b-pic.patch 2874
MD5 712184d7725a7aeb17cb0ef0e7549e72 files/util-linux-swapon-check-symlinks.patch 968
-MD5 87912a793169fad4258077f2f6957616 files/digest-util-linux-2.12b-r1 156
MD5 61beee95fb4696a6af11ffb84ddb055c files/util-linux-2.12i-ignore-managed.patch 506
MD5 cfa3960fd97ca16c85b0d1b87e6ba226 files/digest-util-linux-2.12i-r1 156
MD5 0be8df03dae23c81a0e929e58a4114e0 files/util-linux-2.11z-01-nfsv4.dif 13442
@@ -41,7 +37,7 @@ MD5 73c0cb6f9aa5fa84e701fc68d0478aac files/util-linux-2.12i-nfsv4.patch 12854
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.9.14 (GNU/Linux)
-iD8DBQFB4dC/roRuSHgZdywRAldgAJ9x5QDf6UpaqefQSJ9VMtyuIaxKZACfayJT
-ONbnkBOfRKMbRGJ5V/Ti/EE=
-=gGNC
+iD8DBQFB4dGdroRuSHgZdywRAqqqAJ0clkqYtWZ942KI2drxHhQnXWDGDACcCIvQ
+xhh+7SuOpeijwxoYEpZu2Pg=
+=Lbi5
-----END PGP SIGNATURE-----
diff --git a/sys-apps/util-linux/files/digest-util-linux-2.12-r2 b/sys-apps/util-linux/files/digest-util-linux-2.12-r2
deleted file mode 100644
index 1d6f1c06a55d..000000000000
--- a/sys-apps/util-linux/files/digest-util-linux-2.12-r2
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 997adf78b98d9d1c5db4f37ea982acff util-linux-2.12.tar.gz 1857871
-MD5 9d6c4c8a99188b6696b0735fa48f67c2 util-linux-2.11z-crypt-gentoo.patch.bz2 18249
diff --git a/sys-apps/util-linux/files/digest-util-linux-2.12-r3 b/sys-apps/util-linux/files/digest-util-linux-2.12-r3
deleted file mode 100644
index cedffcb9a126..000000000000
--- a/sys-apps/util-linux/files/digest-util-linux-2.12-r3
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 997adf78b98d9d1c5db4f37ea982acff util-linux-2.12.tar.gz 1857871
-MD5 1734111e696acfb6d08f52f1e1b3d024 util-linux-2.12-cryptoapi-losetup.patch.bz2 4871
diff --git a/sys-apps/util-linux/files/digest-util-linux-2.12b b/sys-apps/util-linux/files/digest-util-linux-2.12b
deleted file mode 100644
index 2af541ccd3b5..000000000000
--- a/sys-apps/util-linux/files/digest-util-linux-2.12b
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 2e96fd7efa1ff477502e91c31572d51b util-linux-2.12b.tar.gz 1967337
-MD5 a87c737b80c52fbd8f515c40f403737c util-linux-2.12b-cryptoapi-losetup.patch.bz2 4868
diff --git a/sys-apps/util-linux/files/digest-util-linux-2.12b-r1 b/sys-apps/util-linux/files/digest-util-linux-2.12b-r1
deleted file mode 100644
index 2af541ccd3b5..000000000000
--- a/sys-apps/util-linux/files/digest-util-linux-2.12b-r1
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 2e96fd7efa1ff477502e91c31572d51b util-linux-2.12b.tar.gz 1967337
-MD5 a87c737b80c52fbd8f515c40f403737c util-linux-2.12b-cryptoapi-losetup.patch.bz2 4868
diff --git a/sys-apps/util-linux/util-linux-2.12-r2.ebuild b/sys-apps/util-linux/util-linux-2.12-r2.ebuild
deleted file mode 100644
index 6f0b4492bc1d..000000000000
--- a/sys-apps/util-linux/util-linux-2.12-r2.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.12-r2.ebuild,v 1.9 2004/10/31 05:25:01 vapier Exp $
-
-inherit eutils flag-o-matic
-
-CRYPT_PATCH_P="${PN}-2.11z-crypt-gentoo"
-SELINUX_PATCH="util-linux-2.12-selinux.diff.bz2"
-DESCRIPTION="Various useful Linux utilities"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/"
-SRC_URI="mirror://kernel/linux/utils/${PN}/${P}.tar.gz
- ftp://ftp.cwi.nl/pub/aeb/${PN}/${P}.tar.gz
- crypt? ( mirror://gentoo/${CRYPT_PATCH_P}.patch.bz2 )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64 ~ppc ~sparc ~alpha ~mips ~hppa ia64"
-IUSE="crypt nls static pam selinux"
-
-DEPEND="virtual/libc
- >=sys-libs/ncurses-5.2-r2
- selinux? ( sys-libs/libselinux )
- pam? ( sys-apps/pam-login )"
-RDEPEND="${DEPEND} dev-lang/perl
- nls? ( sys-devel/gettext )"
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
-# use crypt && epatch ${DISTDIR}/${CRYPT_PATCH_P}.patch.bz2
-
- # Fix rare failures with -j4 or higher
- epatch ${FILESDIR}/${PN}-2.11z-parallel-make.patch
-
- # Fix unreadable df output
- epatch ${FILESDIR}/no-symlink-resolve.patch
-
- # Add the O option to agetty to display DNS domainname in the issue
- # file, thanks to Marius Mauch <genone@genone.de>, bug #22275.
- #
- # NOTE: Removing this will break future baselayout, so PLEASE
- # consult with me before doing so.
- #
- # <azarah@gentoo.og> (17 Jul 2003)
- epatch ${FILESDIR}/${PN}-2.11z-agetty-domainname-option.patch
-
- # Add NFS4 support (kernel 2.5/2.6).
-# if use crypt ; then
-# epatch ${FILESDIR}/${PN}-2.11z-01-nfsv4-crypt.dif
-# else
- epatch ${FILESDIR}/${PN}-2.11z-01-nfsv4.dif
-# fi
-
- # <solar@gentoo.org> This patch should allow us to remove -fPIC
- # out of the filter-flags we need this be able to emit position
- # independent code so we can link our elf executables as shared
- # objects. "prelink" should now also be able to take advantage
- epatch ${FILESDIR}/${PN}-2.11z-pic.patch
-
- ## see below for details on pic.patch
- case ${ARCH} in
- "x86"|"hppa"|"sparc"|"ppc"|"amd64")
- ;;
- *)
- filter-flags -fPIC
- ;;
- esac
-
- #enable pam only if we use it
- use pam && sed -i "s:HAVE_PAM=no:HAVE_PAM=yes:" MCONFIG
-
- use selinux && epatch ${FILESDIR}/${SELINUX_PATCH}
-
- sed -i \
- -e "s:-pipe -O2 \$(CPUOPT) -fomit-frame-pointer:${CFLAGS}:" \
- -e "s:CPU=.*:CPU=${CHOST%%-*}:" \
- -e "s:HAVE_SLN=no:HAVE_SLN=yes:" \
- -e "s:HAVE_TSORT=no:HAVE_TSORT=yes:" \
- -e "s:usr/man:usr/share/man:" \
- -e "s:usr/info:usr/share/info:" \
- -e "s:SUIDMODE=.*4755:SUIDMODE=4711:" \
- MCONFIG || die "MCONFIG sed"
-
- if ! use nls ; then
- sed -i -e 's/DISABLE_NLS=no/DISABLE_NLS=yes/' MCONFIG ||
- die "MCONFIG nls sed"
- fi
-
- # /bin/kill is provided by procps ONLY
- epatch ${FILESDIR}/${PN}-no-kill.patch
-}
-
-src_compile() {
- use static && append-ldflags -static
- econf || die "configure failed"
- emake || die "emake failed"
- cd sys-utils && makeinfo *.texi || die "makeinfo failed"
-}
-
-src_install() {
- make DESTDIR=${D} install || die "install failed"
-
- dodoc HISTORY MAINTAINER README VERSION
- docinto licenses
- dodoc licenses/* HISTORY
- docinto examples
- dodoc example.files/*
-}
diff --git a/sys-apps/util-linux/util-linux-2.12-r3.ebuild b/sys-apps/util-linux/util-linux-2.12-r3.ebuild
deleted file mode 100644
index 42912aa3d3e8..000000000000
--- a/sys-apps/util-linux/util-linux-2.12-r3.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.12-r3.ebuild,v 1.11 2004/10/31 05:25:01 vapier Exp $
-
-inherit eutils flag-o-matic
-
-CRYPT_PATCH_P="${P}-cryptoapi-losetup"
-SELINUX_PATCH="util-linux-2.12-selinux.diff.bz2"
-DESCRIPTION="Various useful Linux utilities"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/"
-SRC_URI="mirror://kernel/linux/utils/${PN}/${P}.tar.gz
- ftp://ftp.cwi.nl/pub/aeb/${PN}/${P}.tar.gz
- crypt? ( mirror://gentoo/${CRYPT_PATCH_P}.patch.bz2 )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64 ppc ~sparc ~alpha ~mips ~hppa ~ia64 ppc64"
-IUSE="crypt nls static pam selinux"
-
-DEPEND="virtual/libc
- >=sys-libs/ncurses-5.2-r2
- selinux? ( sys-libs/libselinux )
- pam? ( sys-apps/pam-login )
- crypt? ( app-crypt/hashalot )"
-RDEPEND="${DEPEND}
- dev-lang/perl
- nls? ( sys-devel/gettext )"
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
- # CryptoAPI losetup patch for the cryptoapi sepecific
- # to the 2.6 linux kernel. Needs hashalot.
- # Original patch location:
- # http://www.stwing.org/~sluskyb/util-linux/losetup-combined.patch
- # Mailing list post with info:
- # http://www.kerneli.org/pipermail/cryptoapi-devel/2003-September/000634.html
- # Follow thread for usage.
- use crypt && epatch ${DISTDIR}/${CRYPT_PATCH_P}.patch.bz2
-
- # Fix rare failures with -j4 or higher
- epatch ${FILESDIR}/${PN}-2.11z-parallel-make.patch
-
- # Fix unreadable df output
- epatch ${FILESDIR}/no-symlink-resolve.patch
-
- # Add the O option to agetty to display DNS domainname in the issue
- # file, thanks to Marius Mauch <genone@genone.de>, bug #22275.
- #
- # NOTE: Removing this will break future baselayout, so PLEASE
- # consult with me before doing so.
- #
- # <azarah@gentoo.og> (17 Jul 2003)
- epatch ${FILESDIR}/${PN}-2.11z-agetty-domainname-option.patch
-
- # Add NFS4 support (kernel 2.5/2.6).
-# if use crypt ; then
-# epatch ${FILESDIR}/${PN}-2.11z-01-nfsv4-crypt.dif
-# else
- epatch ${FILESDIR}/${PN}-2.11z-01-nfsv4.dif
-# fi
-
- # <solar@gentoo.org> This patch should allow us to remove -fPIC
- # out of the filter-flags we need this be able to emit position
- # independent code so we can link our elf executables as shared
- # objects. "prelink" should now also be able to take advantage
- epatch ${FILESDIR}/${PN}-2.11z-pic.patch
-
- ## see below for details on pic.patch
- case ${ARCH} in
- "x86"|"hppa"|"sparc"|"ppc"|"amd64")
- ;;
- *)
- filter-flags -fPIC
- ;;
- esac
-
- # allow util-linux to compile with 2.6.x headers #31286
- epatch ${FILESDIR}/${P}-kernel-2.6.patch
-
- #enable pam only if we use it
- use pam && sed -i "s:HAVE_PAM=no:HAVE_PAM=yes:" MCONFIG
-
- use selinux && epatch ${FILESDIR}/${SELINUX_PATCH}
-
- sed -i \
- -e "s:-pipe -O2 \$(CPUOPT) -fomit-frame-pointer:${CFLAGS}:" \
- -e "s:CPU=.*:CPU=${CHOST%%-*}:" \
- -e "s:HAVE_SLN=no:HAVE_SLN=yes:" \
- -e "s:HAVE_TSORT=no:HAVE_TSORT=yes:" \
- -e "s:usr/man:usr/share/man:" \
- -e "s:usr/info:usr/share/info:" \
- -e "s:SUIDMODE=.*4755:SUIDMODE=4711:" \
- MCONFIG || die "MCONFIG sed"
-
- if ! use nls ; then
- sed -i -e 's/DISABLE_NLS=no/DISABLE_NLS=yes/' MCONFIG ||
- die "MCONFIG nls sed"
- fi
-
- # /bin/kill is provided by procps ONLY
- epatch ${FILESDIR}/${PN}-no-kill.patch
-}
-
-src_compile() {
- if use static ; then
- export LDFLAGS="${LDFLAGS} -static"
- fi
-
- econf || die "configure failed"
-
- emake || die "emake failed"
- cd sys-utils && makeinfo *.texi || die "makeinfo failed"
-}
-
-src_install() {
- make DESTDIR="${D}" install || die "install failed"
-
- dodoc HISTORY MAINTAINER README VERSION
- docinto licenses
- dodoc licenses/* HISTORY
- docinto examples
- dodoc example.files/*
-}
-
diff --git a/sys-apps/util-linux/util-linux-2.12b-r1.ebuild b/sys-apps/util-linux/util-linux-2.12b-r1.ebuild
deleted file mode 100644
index 9d42d27feadb..000000000000
--- a/sys-apps/util-linux/util-linux-2.12b-r1.ebuild
+++ /dev/null
@@ -1,161 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.12b-r1.ebuild,v 1.2 2004/10/31 05:25:01 vapier Exp $
-
-inherit eutils flag-o-matic
-
-CRYPT_PATCH_P="${PN}-2.12b-cryptoapi-losetup"
-DESCRIPTION="Various useful Linux utilities"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/"
-SRC_URI="mirror://kernel/linux/utils/${PN}/${P}.tar.gz
- ftp://ftp.cwi.nl/pub/aeb/${PN}/${P}.tar.gz
- crypt? ( mirror://gentoo/${CRYPT_PATCH_P}.patch.bz2 )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE="crypt nls static pam selinux uclibc"
-
-DEPEND="virtual/libc
- >=sys-libs/ncurses-5.2-r2
- >=sys-fs/e2fsprogs-1.34
- selinux? ( sys-libs/libselinux )
- pam? ( sys-apps/pam-login )
- crypt? ( app-crypt/hashalot )"
-# We need perl because one script ( chkdupexe ) is
-# written in frickin perl; otherwise we dont need it ...
-RDEPEND="${DEPEND}
- dev-lang/perl
- nls? ( sys-devel/gettext )"
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
- # CryptoAPI losetup patch for the cryptoapi sepecific
- # to the 2.6 linux kernel. Needs hashalot.
- # Original patch location:
- # http://www.stwing.org/~sluskyb/util-linux/losetup-combined.patch
- # Mailing list post with info:
- # http://www.kerneli.org/pipermail/cryptoapi-devel/2003-September/000634.html
- # Follow thread for usage.
- use crypt && epatch ${DISTDIR}/${CRYPT_PATCH_P}.patch.bz2
-
- # Fix rare failures with -j4 or higher
- epatch ${FILESDIR}/${PN}-2.11z-parallel-make.patch
-
- # Fix unreadable df output
- epatch ${FILESDIR}/no-symlink-resolve.patch
-
- # access() is a macro which uses R_OK however
- # R_OK is not defined on sparc during a bootstrap
- # unless we actually include unistd.h -solar (May 07 2004)
- epatch ${FILESDIR}/${PN}-2.12-swapon-unistd.patch
-
- # Add the O option to agetty to display DNS domainname in the issue
- # file, thanks to Marius Mauch <genone@genone.de>, bug #22275.
- #
- # NOTE: Removing this will break future baselayout, so PLEASE
- # consult with me before doing so.
- #
- # <azarah@gentoo.og> (17 Jul 2003)
- epatch ${FILESDIR}/${PN}-2.11z-agetty-domainname-option.patch
-
- # Add NFS4 support (kernel 2.5/2.6).
-# use crypt \
-# && epatch ${FILESDIR}/${PN}-2.11z-01-nfsv4-crypt.dif \
-# ||
- epatch ${FILESDIR}/${PN}-2.11z-01-nfsv4.dif
-
- # <solar@gentoo.org> This patch should allow us to remove -fPIC
- # out of the filter-flags we need this be able to emit position
- # independent code so we can link our elf executables as shared
- # objects. "prelink" should now also be able to take advantage
- epatch ${FILESDIR}/${P}-pic.patch
-
- ## see below for details on pic.patch
- case ${ARCH} in
- "x86"|"hppa"|"sparc"|"ppc"|"amd64")
- ;;
- *)
- filter-flags -fPIC
- ;;
- esac
-
- # Add support to read fat/fat32 labels, bug #36722
- epatch ${FILESDIR}/${P}-fat-LABEL-support.patch
-
- # Add support for gcloop
- use crypt || epatch ${FILESDIR}/${P}-gcloop.patch
- use crypt && epatch ${FILESDIR}/${P}-gcloop-with-crypt.patch
-
- # Enable pam only if we use it
- use pam && sed -i "s:HAVE_PAM=no:HAVE_PAM=yes:" MCONFIG
-
- use selinux && sed -i "s:HAVE_SELINUX=no:HAVE_SELINUX=yes:" MCONFIG
-
- sed -i \
- -e "s:-pipe -O2 \$(CPUOPT) -fomit-frame-pointer:${CFLAGS}:" \
- -e "s:CPU=.*:CPU=${CHOST%%-*}:" \
- -e "s:HAVE_KILL=no:HAVE_KILL=yes:" \
- -e "s:HAVE_SLN=no:HAVE_SLN=yes:" \
- -e "s:HAVE_TSORT=no:HAVE_TSORT=yes:" \
- -e "s:usr/man:usr/share/man:" \
- -e "s:usr/info:usr/share/info:" \
- -e "s:SUIDMODE=.*4755:SUIDMODE=4711:" \
- MCONFIG || die "MCONFIG sed"
-
- if ! use nls ; then
- sed -i -e 's/DISABLE_NLS=no/DISABLE_NLS=yes/' MCONFIG ||
- die "MCONFIG nls sed"
- fi
-
- # 2.6 kernels have a broken blkpg.h (if included in userspace ...)
- if [ -n "`grep __user /usr/include/linux/blkpg.h`" ] ; then
- mkdir ${S}/partx/linux
- sed -e 's:__user::g' /usr/include/linux/blkpg.h > \
- ${S}/partx/linux/blkpg.h
- fi
-
- # Install rdev on amd64 platform
- epatch ${FILESDIR}/${PN}-2.12-amd64_rdev_installation.patch
-
- # swapon gets confused by symlinks in /dev #69162
- epatch ${FILESDIR}/${PN}-swapon-check-symlinks.patch
-
- use uclibc && sed -e 's/sys_siglist\[sig\]/strsignal(sig)/' -i ${S}/mount/fstab.c
-}
-
-src_compile() {
- # opt to use non-lazy bindings for suids installed by this package.
- append-ldflags -Wl,-z,now
- use static && append-ldflags -static
- econf || die "configure failed"
- emake || die "emake failed"
- if [ ! -x "partx/partx" ] ; then
- cd ${S}/partx
- CFLAGS="-I." \
- make || die "make partx failed"
- else
- ewarn "Build system now builds partx!"
- fi
- cd ${S}/sys-utils && makeinfo *.texi || die "makeinfo failed"
-}
-
-src_install() {
- make DESTDIR=${D} install || die "install failed"
-
- if [ ! -x "${D}/sbin/partx" ] ; then
- into /
- dosbin partx/{addpart,delpart,partx}
- else
- ewarn "Build system now installs partx!"
- fi
-
- dodoc HISTORY MAINTAINER README VERSION
- docinto licenses
- dodoc licenses/* HISTORY
- docinto examples
- dodoc example.files/*
-}
diff --git a/sys-apps/util-linux/util-linux-2.12b.ebuild b/sys-apps/util-linux/util-linux-2.12b.ebuild
deleted file mode 100644
index 9b23cf1056ba..000000000000
--- a/sys-apps/util-linux/util-linux-2.12b.ebuild
+++ /dev/null
@@ -1,158 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.12b.ebuild,v 1.7 2004/10/31 05:25:01 vapier Exp $
-
-inherit eutils flag-o-matic
-
-CRYPT_PATCH_P="${PN}-2.12b-cryptoapi-losetup"
-DESCRIPTION="Various useful Linux utilities"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/"
-SRC_URI="mirror://kernel/linux/utils/${PN}/${P}.tar.gz
- ftp://ftp.cwi.nl/pub/aeb/${PN}/${P}.tar.gz
- crypt? ( mirror://gentoo/${CRYPT_PATCH_P}.patch.bz2 )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE="crypt nls static pam selinux uclibc"
-
-DEPEND="virtual/libc
- >=sys-libs/ncurses-5.2-r2
- >=sys-fs/e2fsprogs-1.34
- selinux? ( sys-libs/libselinux )
- pam? ( sys-apps/pam-login )
- crypt? ( app-crypt/hashalot )"
-# We need perl because one script ( chkdupexe ) is
-# written in frickin perl; otherwise we dont need it ...
-RDEPEND="${DEPEND}
- dev-lang/perl
- nls? ( sys-devel/gettext )"
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
- # CryptoAPI losetup patch for the cryptoapi sepecific
- # to the 2.6 linux kernel. Needs hashalot.
- # Original patch location:
- # http://www.stwing.org/~sluskyb/util-linux/losetup-combined.patch
- # Mailing list post with info:
- # http://www.kerneli.org/pipermail/cryptoapi-devel/2003-September/000634.html
- # Follow thread for usage.
- use crypt && epatch ${DISTDIR}/${CRYPT_PATCH_P}.patch.bz2
-
- # Fix rare failures with -j4 or higher
- epatch ${FILESDIR}/${PN}-2.11z-parallel-make.patch
-
- # Fix unreadable df output
- epatch ${FILESDIR}/no-symlink-resolve.patch
-
- # access() is a macro which uses R_OK however
- # R_OK is not defined on sparc during a bootstrap
- # unless we actually include unistd.h -solar (May 07 2004)
- epatch ${FILESDIR}/${PN}-2.12-swapon-unistd.patch
-
- # Add the O option to agetty to display DNS domainname in the issue
- # file, thanks to Marius Mauch <genone@genone.de>, bug #22275.
- #
- # NOTE: Removing this will break future baselayout, so PLEASE
- # consult with me before doing so.
- #
- # <azarah@gentoo.og> (17 Jul 2003)
- epatch ${FILESDIR}/${PN}-2.11z-agetty-domainname-option.patch
-
- # Add NFS4 support (kernel 2.5/2.6).
-# use crypt \
-# && epatch ${FILESDIR}/${PN}-2.11z-01-nfsv4-crypt.dif \
-# ||
- epatch ${FILESDIR}/${PN}-2.11z-01-nfsv4.dif
-
- # <solar@gentoo.org> This patch should allow us to remove -fPIC
- # out of the filter-flags we need this be able to emit position
- # independent code so we can link our elf executables as shared
- # objects. "prelink" should now also be able to take advantage
- epatch ${FILESDIR}/${P}-pic.patch
-
- ## see below for details on pic.patch
- case ${ARCH} in
- "x86"|"hppa"|"sparc"|"ppc"|"amd64")
- ;;
- *)
- filter-flags -fPIC
- ;;
- esac
-
- # Add support to read fat/fat32 labels, bug #36722
- epatch ${FILESDIR}/${P}-fat-LABEL-support.patch
-
- # Add support for gcloop
- use crypt || epatch ${FILESDIR}/${P}-gcloop.patch
- use crypt && epatch ${FILESDIR}/${P}-gcloop-with-crypt.patch
-
- # Enable pam only if we use it
- use pam && sed -i "s:HAVE_PAM=no:HAVE_PAM=yes:" MCONFIG
-
- use selinux && sed -i "s:HAVE_SELINUX=no:HAVE_SELINUX=yes:" MCONFIG
-
- sed -i \
- -e "s:-pipe -O2 \$(CPUOPT) -fomit-frame-pointer:${CFLAGS}:" \
- -e "s:CPU=.*:CPU=${CHOST%%-*}:" \
- -e "s:HAVE_KILL=no:HAVE_KILL=yes:" \
- -e "s:HAVE_SLN=no:HAVE_SLN=yes:" \
- -e "s:HAVE_TSORT=no:HAVE_TSORT=yes:" \
- -e "s:usr/man:usr/share/man:" \
- -e "s:usr/info:usr/share/info:" \
- -e "s:SUIDMODE=.*4755:SUIDMODE=4711:" \
- MCONFIG || die "MCONFIG sed"
-
- if ! use nls ; then
- sed -i -e 's/DISABLE_NLS=no/DISABLE_NLS=yes/' MCONFIG ||
- die "MCONFIG nls sed"
- fi
-
- # 2.6 kernels have a broken blkpg.h (if included in userspace ...)
- if [ -n "`grep __user /usr/include/linux/blkpg.h`" ] ; then
- mkdir ${S}/partx/linux
- sed -e 's:__user::g' /usr/include/linux/blkpg.h > \
- ${S}/partx/linux/blkpg.h
- fi
-
- # Install rdev on amd64 platform
- epatch ${FILESDIR}/${PN}-2.12-amd64_rdev_installation.patch
-
- use uclibc && sed -e 's/sys_siglist\[sig\]/strsignal(sig)/' -i ${S}/mount/fstab.c
-}
-
-src_compile() {
- # opt to use non-lazy bindings for suids installed by this package.
- append-ldflags -Wl,-z,now
- use static && append-ldflags -static
- econf || die "configure failed"
- emake || die "emake failed"
- if [ ! -x "partx/partx" ] ; then
- cd ${S}/partx
- CFLAGS="-I." \
- make || die "make partx failed"
- else
- ewarn "Build system now builds partx!"
- fi
- cd ${S}/sys-utils && makeinfo *.texi || die "makeinfo failed"
-}
-
-src_install() {
- make DESTDIR=${D} install || die "install failed"
-
- if [ ! -x "${D}/sbin/partx" ] ; then
- into /
- dosbin partx/{addpart,delpart,partx}
- else
- ewarn "Build system now installs partx!"
- fi
-
- dodoc HISTORY MAINTAINER README VERSION
- docinto licenses
- dodoc licenses/* HISTORY
- docinto examples
- dodoc example.files/*
-}