summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-05-13 22:25:36 +0000
committerMike Frysinger <vapier@gentoo.org>2007-05-13 22:25:36 +0000
commit96603e812f0a6ebead0cb4a58bdbb2a03f537151 (patch)
tree1481c6a4ae55bb0ac0583ed17c5893bff95e9c33 /sys-apps
parentold (diff)
downloadhistorical-96603e812f0a6ebead0cb4a58bdbb2a03f537151.tar.gz
historical-96603e812f0a6ebead0cb4a58bdbb2a03f537151.tar.bz2
historical-96603e812f0a6ebead0cb4a58bdbb2a03f537151.zip
Delete nfs(5) man page #178348 by Diego Petteno.
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/util-linux/ChangeLog8
-rw-r--r--sys-apps/util-linux/Manifest44
-rw-r--r--sys-apps/util-linux/files/digest-util-linux-2.12r-r712
-rw-r--r--sys-apps/util-linux/util-linux-2.12r-r7.ebuild196
4 files changed, 236 insertions, 24 deletions
diff --git a/sys-apps/util-linux/ChangeLog b/sys-apps/util-linux/ChangeLog
index dcdb19c15f88..5888c0362c5e 100644
--- a/sys-apps/util-linux/ChangeLog
+++ b/sys-apps/util-linux/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/util-linux
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.185 2007/05/11 03:31:13 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.186 2007/05/13 22:25:36 vapier Exp $
+
+*util-linux-2.12r-r7 (13 May 2007)
+
+ 13 May 2007; Mike Frysinger <vapier@gentoo.org>
+ +util-linux-2.12r-r7.ebuild:
+ Delete nfs(5) man page #178348 by Diego Petteno.
11 May 2007; Joshua Kinard <kumba@gentoo.org> util-linux-2.12r-r6.ebuild:
Stable on mips.
diff --git a/sys-apps/util-linux/Manifest b/sys-apps/util-linux/Manifest
index 70f6a2b254df..e7a5c6d62c8a 100644
--- a/sys-apps/util-linux/Manifest
+++ b/sys-apps/util-linux/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX crypto-loop.confd 442 RMD160 cd8177c5b6976f2d5f5f997281a31ce18a64092a SHA1 a7882671e71b073b3cccc3189b715f243db56ff8 SHA256 47c8d7029e0fdf77425c2c5d593a46315d6b3b2539a019af228bcf88ed8168d6
MD5 fc01656c85a58c998f5487eb72f44035 files/crypto-loop.confd 442
RMD160 cd8177c5b6976f2d5f5f997281a31ce18a64092a files/crypto-loop.confd 442
@@ -142,10 +145,6 @@ AUX util-linux-2.12r-umount-nosysfs.patch 432 RMD160 cfb2ac318ac2d821d30b1c4d065
MD5 2ac8d002e13e5fa925551bb42798c363 files/util-linux-2.12r-umount-nosysfs.patch 432
RMD160 cfb2ac318ac2d821d30b1c4d065d1d361845034a files/util-linux-2.12r-umount-nosysfs.patch 432
SHA256 d7b3c5f7268e6ecb086bfb188f01f544099079ed9b4ca0f8d87e97269cb91976 files/util-linux-2.12r-umount-nosysfs.patch 432
-AUX util-linux-2.13-no-nls.patch 299 RMD160 cd294b26622ea3964d5e8531ba77f278c4fe1913 SHA1 89c0ad7c13a106e53e61a0ecf031c6d7bb3a5a41 SHA256 06effc857b04f1dde5bfe6b158ca8c4fd1253c1320c5f0e4b9e6eb603cdbab50
-MD5 8f7bbfae57e5b38000b7274ee98cf2dd files/util-linux-2.13-no-nls.patch 299
-RMD160 cd294b26622ea3964d5e8531ba77f278c4fe1913 files/util-linux-2.13-no-nls.patch 299
-SHA256 06effc857b04f1dde5bfe6b158ca8c4fd1253c1320c5f0e4b9e6eb603cdbab50 files/util-linux-2.13-no-nls.patch 299
AUX util-linux-no-kill.patch 642 RMD160 cb9bef851804fbcd9a0910cb39123f65f72bbdc5 SHA1 7152a9596d9f81fcb6b2ac867d5ce1ad679ebee7 SHA256 c72803b0918589dbd409e22368853330bc84d875c91936fc5e899686c1642aaf
MD5 65f42fbf981464410f7d5d84a429e920 files/util-linux-no-kill.patch 642
RMD160 cb9bef851804fbcd9a0910cb39123f65f72bbdc5 files/util-linux-no-kill.patch 642
@@ -155,27 +154,22 @@ DIST loop-AES-v3.1f.tar.bz2 173423 RMD160 7490e3d90727621fde3052fd1747af338518b1
DIST util-linux-2.12i-cryptoapi-losetup.patch.bz2 4800 RMD160 82e54aedd691aa93b67de9dfb9049a3f012a29f7 SHA1 69b757c28b6401abe454f060c2a24da49e2d129a SHA256 565a0cc6c3c148a66969276ae9d34dc34f19fbd45df2740343793ee067b3700f
DIST util-linux-2.12i.tar.gz 1975468 RMD160 f055a94ad247dc59293f7b933c12bdda135159fc SHA1 deb940cb61d9ae0b481b6469ea496f762a2581a8 SHA256 28e2fc70d7507e158d8861c958461aef1c4bbf4157a8ebbc237943944e5a8c4a
DIST util-linux-2.12r.tar.bz2 1370907 RMD160 51950aafd5cbcb574e69fbd6b28d15a106147e64 SHA1 740b7eb5ae1148b2200b2cd34a0a6c4b0db577e4 SHA256 b8e499b338ce9fbd1fb315194b26540ec823c0afc46c9e145ac7a3e38ad57e6b
-DIST util-linux-2.13-pre7.tar.bz2 2534328 RMD160 ce25337cf43f6c818d01206453a38b0188c92f17 SHA1 13c17068a056eb017a81eaf527ddf34581e70a3f SHA256 9e1142742dcfac977be57fd589a40f1e7b2f9dbaa4847e063d3f700b35b3bfb7
EBUILD util-linux-2.12r-r5.ebuild 6308 RMD160 2dedc968f35dfc93ac43a93432c7ebf3ac506c99 SHA1 766be704ac8a9420115ef3ce2795eb3ae56e9cfd SHA256 7b9d9aadcafad3686ae13d4eecbb054d0ddea2058efa7876be044069c666ac85
MD5 29269b9593f23aeff06ba5c8140cd97c util-linux-2.12r-r5.ebuild 6308
RMD160 2dedc968f35dfc93ac43a93432c7ebf3ac506c99 util-linux-2.12r-r5.ebuild 6308
SHA256 7b9d9aadcafad3686ae13d4eecbb054d0ddea2058efa7876be044069c666ac85 util-linux-2.12r-r5.ebuild 6308
-EBUILD util-linux-2.12r-r6.ebuild 6389 RMD160 82d33c77dcb0e8132aad23a98a78f8ed8505f2d8 SHA1 9442fefc11c3484664d7c0e63fc598732479fcd3 SHA256 cb065209a2ade676df2ac3d22b51dcb32f54bb50632274d5463db81dcaa42842
-MD5 778f557d0dff6b2dc65612ccf092f785 util-linux-2.12r-r6.ebuild 6389
-RMD160 82d33c77dcb0e8132aad23a98a78f8ed8505f2d8 util-linux-2.12r-r6.ebuild 6389
-SHA256 cb065209a2ade676df2ac3d22b51dcb32f54bb50632274d5463db81dcaa42842 util-linux-2.12r-r6.ebuild 6389
-EBUILD util-linux-2.13_pre7.ebuild 3966 RMD160 477c6d511454716d6a940ee17434889b09478039 SHA1 96cef99d7724393ee8facd1bc02b329030be4010 SHA256 812ae088a465b12e7302d92ced8365972511b74f495a1ccafe5209638e8025c6
-MD5 8b5b3fe1ea733988e8918ca1562b0669 util-linux-2.13_pre7.ebuild 3966
-RMD160 477c6d511454716d6a940ee17434889b09478039 util-linux-2.13_pre7.ebuild 3966
-SHA256 812ae088a465b12e7302d92ced8365972511b74f495a1ccafe5209638e8025c6 util-linux-2.13_pre7.ebuild 3966
+EBUILD util-linux-2.12r-r7.ebuild 6466 RMD160 9ef31a7c3cd28599a012826852ea3313eaa077da SHA1 2fb3ea737be830b34313dee29f8e5f9fc804704a SHA256 8314cde8e869fc646d92b90040e47f4fb5e2e9e054ea47b5bba7eaa32e514c18
+MD5 64d41ead9642bb3a88ba38d37af03b1b util-linux-2.12r-r7.ebuild 6466
+RMD160 9ef31a7c3cd28599a012826852ea3313eaa077da util-linux-2.12r-r7.ebuild 6466
+SHA256 8314cde8e869fc646d92b90040e47f4fb5e2e9e054ea47b5bba7eaa32e514c18 util-linux-2.12r-r7.ebuild 6466
EBUILD util-linux-9999.ebuild 1439 RMD160 a9d4781953ee6c5177c62379c1a181ab0a207901 SHA1 919e1c0b42f3e1b01352a1088fa25cd5ed0e8a29 SHA256 44cb31fb02e00ed79f823ad61bf95b9377c6f88a4aca4134a8a223378351d8a1
MD5 ba9195cbfb730f49802ac24ca92bcbd8 util-linux-9999.ebuild 1439
RMD160 a9d4781953ee6c5177c62379c1a181ab0a207901 util-linux-9999.ebuild 1439
SHA256 44cb31fb02e00ed79f823ad61bf95b9377c6f88a4aca4134a8a223378351d8a1 util-linux-9999.ebuild 1439
-MISC ChangeLog 29077 RMD160 c04ecd2764fced583ff6831edb956887f4b3d0fc SHA1 7dabcc860de8366083e6819b01d8af7157dd7c3f SHA256 6438ba849518f6d2ed7b820b8bf04164c44fd24f274b786b699cc25a0ea1f852
-MD5 14735ca8187d9cb96d5621b97712375e ChangeLog 29077
-RMD160 c04ecd2764fced583ff6831edb956887f4b3d0fc ChangeLog 29077
-SHA256 6438ba849518f6d2ed7b820b8bf04164c44fd24f274b786b699cc25a0ea1f852 ChangeLog 29077
+MISC ChangeLog 29247 RMD160 66dc1069ee424b4dc2bbd14aed3562f0c5e13f84 SHA1 f6564e8f9f7767a2bc4eeb680f465e8d00b12123 SHA256 22049bc9a895b71e0df1c885e383ee5653c82e969f5653983a1474f07740c229
+MD5 8d8a9cc5706773a961814c9364935426 ChangeLog 29247
+RMD160 66dc1069ee424b4dc2bbd14aed3562f0c5e13f84 ChangeLog 29247
+SHA256 22049bc9a895b71e0df1c885e383ee5653c82e969f5653983a1474f07740c229 ChangeLog 29247
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164
@@ -183,12 +177,16 @@ SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 metadata
MD5 64b04043386f51246640c4a87aa9d2e2 files/digest-util-linux-2.12r-r5 1063
RMD160 6c7b420256fcaf458b90c860481835747c3eea38 files/digest-util-linux-2.12r-r5 1063
SHA256 60efe4ca6a920b4545e7d25e13ac9a54b9513c95c57af7c125855166beec0e8b files/digest-util-linux-2.12r-r5 1063
-MD5 6f4a7e9af9c890fde37c16cd670219e2 files/digest-util-linux-2.12r-r6 1063
-RMD160 9d0bdb33b8b41435aaaa241e7077f1170db24d16 files/digest-util-linux-2.12r-r6 1063
-SHA256 28d8b5a13df815eb0448175cabb264a92602133401563b47a0a71b6956e2d0fd files/digest-util-linux-2.12r-r6 1063
-MD5 039a5afb5e7054e7dd4a0c18b18a5bdf files/digest-util-linux-2.13_pre7 515
-RMD160 06925aee3fb82fc63eca96acbe9308f31b52a18b files/digest-util-linux-2.13_pre7 515
-SHA256 49b2f3787cdb29a392a658d239821ece467e41d6f4dcc8ffe6502115aa0de290 files/digest-util-linux-2.13_pre7 515
+MD5 6f4a7e9af9c890fde37c16cd670219e2 files/digest-util-linux-2.12r-r7 1063
+RMD160 9d0bdb33b8b41435aaaa241e7077f1170db24d16 files/digest-util-linux-2.12r-r7 1063
+SHA256 28d8b5a13df815eb0448175cabb264a92602133401563b47a0a71b6956e2d0fd files/digest-util-linux-2.12r-r7 1063
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-util-linux-9999 0
RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-util-linux-9999 0
SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-util-linux-9999 0
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.3 (GNU/Linux)
+
+iD8DBQFGR5Ch8bi6rjpTunYRArCOAKDMlyo3tSzcb9pEcEOSCK0aETF5KgCeKlGA
+kIt8mGNvcHVvlW6y/nCeA9s=
+=HMMc
+-----END PGP SIGNATURE-----
diff --git a/sys-apps/util-linux/files/digest-util-linux-2.12r-r7 b/sys-apps/util-linux/files/digest-util-linux-2.12r-r7
new file mode 100644
index 000000000000..91a63b37ea77
--- /dev/null
+++ b/sys-apps/util-linux/files/digest-util-linux-2.12r-r7
@@ -0,0 +1,12 @@
+MD5 1020b93d723f1d573bacfe4a3362fc25 loop-AES-v3.1f.tar.bz2 173423
+RMD160 7490e3d90727621fde3052fd1747af338518b158 loop-AES-v3.1f.tar.bz2 173423
+SHA256 f744f3dd74b554d1a2e3788752c4a63049647bfd2bae71d9fff2427c0e175ca7 loop-AES-v3.1f.tar.bz2 173423
+MD5 dee120b17425e1edf0a0c64f0e249c20 util-linux-2.12i-cryptoapi-losetup.patch.bz2 4800
+RMD160 82e54aedd691aa93b67de9dfb9049a3f012a29f7 util-linux-2.12i-cryptoapi-losetup.patch.bz2 4800
+SHA256 565a0cc6c3c148a66969276ae9d34dc34f19fbd45df2740343793ee067b3700f util-linux-2.12i-cryptoapi-losetup.patch.bz2 4800
+MD5 6e0deccf97db98d2ae751577d019efa4 util-linux-2.12i.tar.gz 1975468
+RMD160 f055a94ad247dc59293f7b933c12bdda135159fc util-linux-2.12i.tar.gz 1975468
+SHA256 28e2fc70d7507e158d8861c958461aef1c4bbf4157a8ebbc237943944e5a8c4a util-linux-2.12i.tar.gz 1975468
+MD5 af9d9e03038481fbf79ea3ac33f116f9 util-linux-2.12r.tar.bz2 1370907
+RMD160 51950aafd5cbcb574e69fbd6b28d15a106147e64 util-linux-2.12r.tar.bz2 1370907
+SHA256 b8e499b338ce9fbd1fb315194b26540ec823c0afc46c9e145ac7a3e38ad57e6b util-linux-2.12r.tar.bz2 1370907
diff --git a/sys-apps/util-linux/util-linux-2.12r-r7.ebuild b/sys-apps/util-linux/util-linux-2.12r-r7.ebuild
new file mode 100644
index 000000000000..aa9e84c22f54
--- /dev/null
+++ b/sys-apps/util-linux/util-linux-2.12r-r7.ebuild
@@ -0,0 +1,196 @@
+# Copyright 1999-2007 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.12r-r7.ebuild,v 1.1 2007/05/13 22:25:36 vapier Exp $
+
+inherit eutils flag-o-matic toolchain-funcs
+
+OLD_CRYPT_VER=2.12i
+LOOP_AES_VER=3.1f
+DESCRIPTION="Various useful Linux utilities"
+HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/"
+SRC_URI="mirror://kernel/linux/utils/${PN}/${P}.tar.bz2
+ old-crypt? (
+ mirror://kernel/linux/utils/${PN}/${PN}-${OLD_CRYPT_VER}.tar.gz
+ mirror://gentoo/util-linux-${OLD_CRYPT_VER}-cryptoapi-losetup.patch.bz2
+ )
+ crypt? ( http://loop-aes.sourceforge.net/loop-AES/loop-AES-v${LOOP_AES_VER}.tar.bz2 )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 arm ~hppa ia64 m68k mips ~ppc ~ppc64 s390 sh sparc x86"
+IUSE="crypt old-crypt nls static selinux perl"
+
+RDEPEND=">=sys-libs/ncurses-5.2-r2
+ >=sys-fs/e2fsprogs-1.34
+ selinux? ( sys-libs/libselinux )
+ crypt? ( app-crypt/hashalot )
+ perl? ( dev-lang/perl )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
+ virtual/os-headers"
+
+OLD_CRYPT_P=${WORKDIR}/${PN}-${OLD_CRYPT_VER}
+
+yesno() { useq $1 && echo yes || echo no; }
+
+src_unpack() {
+ unpack ${A}
+
+ # Old crypt support
+ if use old-crypt ; then
+ cd "${OLD_CRYPT_P}"
+ ewarn "You should update your system as USE=old-crypt"
+ ewarn "support will be dropped in future versions."
+ epatch "${WORKDIR}"/util-linux-${OLD_CRYPT_VER}-cryptoapi-losetup.patch
+ fi
+
+ cd "${S}"
+
+ # crypto support
+ use crypt && epatch "${WORKDIR}"/loop-AES-v${LOOP_AES_VER}/${P}.diff
+
+ # Fall back to cracklib if default words file doesnt exist #114416
+ epatch "${FILESDIR}"/${PN}-2.12r-cracklib-words.patch
+
+ # Fix rare failures with -j4 or higher
+ epatch "${FILESDIR}"/${PN}-2.11z-parallel-make.patch
+
+ # Fix -f usage with -a and in general
+ epatch "${FILESDIR}"/${PN}-2.12q-more-fake-checks-v2.patch
+
+ # Fix mtab updates with `mount --move /foo /bar` #104697
+ epatch "${FILESDIR}"/${PN}-2.12q-update-mtab-when-moving.patch
+
+ # Respect -n with -r and umount #98675
+ epatch "${FILESDIR}"/${PN}-2.12q-umount-dont-write-mtab-with-remount.patch
+
+ # A few fixes to beat update_mtab() into submission.
+ epatch "${FILESDIR}"/${PN}-2.12q-update_mtab-fixes.patch
+
+ # Use update_mtab() to avoid dups in mtab for 'mount -f'
+ epatch "${FILESDIR}"/${PN}-2.12q-use-update_mtab-for-fake.patch
+
+ # Fix unreadable df output when using devfs ... this check is kind of
+ # a hack, but whatever, the output isnt critical at all :P
+ [[ -e /dev/.devfsd ]] && 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.
+ epatch "${FILESDIR}"/${PN}-2.11z-agetty-domainname-option.patch
+
+ # Fix french translation typo #75693
+ epatch "${FILESDIR}"/${PN}-2.12q-i18n-update.patch
+
+ # Add NFS4 support (kernel 2.5/2.6)
+ epatch "${FILESDIR}"/${PN}-2.12i-nfsv4.patch
+
+ # ignore managed/kudzu options #70873
+ epatch "${FILESDIR}"/${PN}-2.12i-ignore-managed.patch
+
+ # swapon gets confused by symlinks in /dev #69162
+ epatch "${FILESDIR}"/${PN}-2.12p-swapon-check-symlinks.patch
+
+ # fix simple buffer overflow (from Debian)
+ epatch "${FILESDIR}"/${PN}-2.12q-debian-10cfdisk.patch
+
+ # don't build fdisk on m68k
+ epatch "${FILESDIR}"/${PN}-2.12q-no-m68k-fdisk.patch
+
+ # don't force umask to 022 #93671
+ epatch "${FILESDIR}"/${PN}-2.12q-dont-umask.patch
+
+ # fix cal display when using featureless terminals #112406
+ epatch "${FILESDIR}"/${PN}-2.12r-cal-dumb-terminal.patch
+
+ # Bug #108988 unable to always seek when omiting frame pointers
+ epatch "${FILESDIR}"/${PN}-2.12r-fdisk-frame-pointers.patch
+
+ # don't treat sparc/arm specially
+ epatch "${FILESDIR}"/${PN}-2.12r-umount-no-special.patch
+
+ # Patches from Fedora
+ epatch "${FILESDIR}"/${PN}-2.12r-umount-nosysfs.patch
+
+ # fix mips n32 (no llseek syscall)
+ epatch "${FILESDIR}"/${PN}-2.12-mips-lseek.patch
+
+ epatch "${FILESDIR}"/${PN}-2.12r-no-_syscall.patch #150852
+ epatch "${FILESDIR}"/${PN}-2.12r-HAVE_asm_page_h.patch #168278
+ use crypt && epatch "${FILESDIR}"/${PN}-2.12r-HAVE_asm_page_h-loop-aes.patch
+
+ # Enable random features
+ local mconfigs="MCONFIG"
+ use old-crypt && mconfigs="${mconfigs} ${OLD_CRYPT_P}/MCONFIG"
+ sed -i \
+ -e "/^HAVE_SELINUX=/s:no:$(yesno selinux):" \
+ -e "/^DISABLE_NLS=/s:no:$(yesno !nls):" \
+ -e "/^HAVE_KILL=/s:no:yes:" \
+ -e "/^HAVE_SLN=/s:no:yes:" \
+ -e "/^HAVE_TSORT/s:no:yes:" \
+ -e "s:-pipe -O2 \$(CPUOPT) -fomit-frame-pointer:${CFLAGS}:" \
+ -e "s:CPU=.*:CPU=${CHOST%%-*}:" \
+ -e "s:SUIDMODE=.*4755:SUIDMODE=4711:" \
+ ${mconfigs} || die "MCONFIG sed"
+}
+
+src_compile() {
+ append-ldflags $(bindnow-flags)
+ use static && append-ldflags -static
+ export CC="$(tc-getCC)"
+
+ econf || die "configure failed"
+ emake || die "emake failed"
+
+ cd partx
+ has_version '>=sys-kernel/linux-headers-2.6' && \
+ has_version '<sys-kernel/linux-headers-2.6.18' \
+ && append-flags -include linux/compiler.h
+ emake CFLAGS="${CFLAGS}" || die "make partx failed"
+
+ if use old-crypt ; then
+ cd "${OLD_CRYPT_P}"
+ econf || die "old configure failed"
+ emake -C lib || die "old lib failed"
+ emake -C mount losetup mount || die "old make failed"
+ fi
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die "install failed"
+ dosym ../man8/agetty.8 /usr/share/man/man1/getty.1
+ dosbin partx/{addpart,delpart,partx} || die "dosbin"
+ use perl || rm -f "${D}"/usr/bin/chkdupexe
+
+ newinitd "${FILESDIR}"/crypto-loop.initd crypto-loop
+ newconfd "${FILESDIR}"/crypto-loop.confd crypto-loop
+
+ # man-pages installs renice(1p) but util-linux does renice(8)
+ dosym ../man8/renice.8 /usr/share/man/man1/renice.1
+ # nfs-utils provides nfs(5) now
+ rm "${D}"/usr/share/man/man5/nfs.5 || die
+
+ dodoc HISTORY MAINTAINER README VERSION
+ docinto examples
+ dodoc example.files/*
+
+ if use old-crypt ; then
+ cd "${OLD_CRYPT_P}"/mount
+ into /
+ newbin mount mount-old-crypt || die
+ newbin losetup losetup-old-crypt || die
+ fperms 4711 /bin/{mount,losetup}-old-crypt
+ fi
+}
+
+pkg_postinst() {
+ if ! use old-crypt && use crypt ; then
+ ewarn "This version of util-linux includes crypto support"
+ ewarn "for loop-aes instead of the old cryptoapi."
+ ewarn "If you need the older support, please re-emerge"
+ ewarn "util-linux with USE=old-crypt. This will create"
+ ewarn "/sbin/mount-old-crypt and /sbin/losetup-old-crypt."
+ fi
+}