diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-25 05:48:50 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-25 05:48:50 +0000 |
commit | 37c8277f77227eac291b146657ba2fd0a04d9077 (patch) | |
tree | b58ac11cec97251e80c0fadea4c0a1ac1d2d11aa /sys-apps/util-linux | |
parent | +>=sys-apps/util-linux-2.13_pre0 (diff) | |
download | historical-37c8277f77227eac291b146657ba2fd0a04d9077.tar.gz historical-37c8277f77227eac291b146657ba2fd0a04d9077.tar.bz2 historical-37c8277f77227eac291b146657ba2fd0a04d9077.zip |
Add a pre version for people to play with #119734 by Matthew Schick.
Package-Manager: portage-2.1_pre3-r1
Diffstat (limited to 'sys-apps/util-linux')
-rw-r--r-- | sys-apps/util-linux/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/util-linux/Manifest | 14 | ||||
-rw-r--r-- | sys-apps/util-linux/files/digest-util-linux-2.13_pre6 | 2 | ||||
-rw-r--r-- | sys-apps/util-linux/util-linux-2.13_pre6.ebuild | 134 |
4 files changed, 156 insertions, 2 deletions
diff --git a/sys-apps/util-linux/ChangeLog b/sys-apps/util-linux/ChangeLog index 35c95cf50d5a..014cc97c48fa 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-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.142 2006/01/24 23:50:59 yoswink Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.143 2006/01/25 05:48:50 vapier Exp $ + +*util-linux-2.13_pre6 (25 Jan 2006) + + 25 Jan 2006; Mike Frysinger <vapier@gentoo.org> + +util-linux-2.13_pre6.ebuild: + Add a pre version for people to play with #119734 by Matthew Schick. 24 Jan 2006; Jose Luis Rivero <yoswink@gentoo.org> util-linux-2.12r-r2.ebuild: diff --git a/sys-apps/util-linux/Manifest b/sys-apps/util-linux/Manifest index 04deb1835ec6..a5f4e217efd2 100644 --- a/sys-apps/util-linux/Manifest +++ b/sys-apps/util-linux/Manifest @@ -1,4 +1,7 @@ -MD5 811a542096bd2e9b3f26a4e96f7745d4 ChangeLog 23150 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 34b02e8cc29d9b6eb4d172e12b6d2737 ChangeLog 23340 MD5 0b95e856fd2f375270cf2ec4eaa69c8a files/crypto-loop.confd 505 MD5 d20405e12353610b3ef8fbc2e1d57f2a files/crypto-loop.initd 1625 MD5 cfa3960fd97ca16c85b0d1b87e6ba226 files/digest-util-linux-2.12i-r1 156 @@ -7,6 +10,7 @@ MD5 3f20c16ba5d68bfe7518f72d771170ce files/digest-util-linux-2.12r 292 MD5 a1e7cbf002a6dd8bb39f2f533a3807a4 files/digest-util-linux-2.12r-r1 292 MD5 e7499dc6f5e75dd3ced244fa056f31d2 files/digest-util-linux-2.12r-r2 293 MD5 54c5654d251918ab97510e0cfab341d4 files/digest-util-linux-2.12r-r3 293 +MD5 d0f14d1b1b0436acc4fc803513f75bc2 files/digest-util-linux-2.13_pre6 141 MD5 6aa1c240dd789327ea92e36309052950 files/no-symlink-resolve.patch 316 MD5 0be8df03dae23c81a0e929e58a4114e0 files/util-linux-2.11z-01-nfsv4.dif 13442 MD5 7d35ae646b52391076f7a329af8265bc files/util-linux-2.11z-agetty-domainname-option.patch 1810 @@ -44,3 +48,11 @@ MD5 ca023a23a1f25676334ed0c7d40405d8 util-linux-2.12r-r1.ebuild 5802 MD5 4cb823fddfea143460919b2f315c1ab9 util-linux-2.12r-r2.ebuild 5930 MD5 fa04ec3f0adf75e0c5dba347872173b1 util-linux-2.12r-r3.ebuild 5940 MD5 0fa072288048ab73c7da495402392575 util-linux-2.12r.ebuild 5546 +MD5 0b186c77e63486575869faf5d658ba9e util-linux-2.13_pre6.ebuild 4010 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2 (GNU/Linux) + +iD8DBQFD1xHf2+ySkm8kpY0RAl4mAJ9RAVKfpLuuxNWt2Lm+D4gIthOsbACeOC0D +hee4nOLcBLAjPbIrx/597ds= +=zV3B +-----END PGP SIGNATURE----- diff --git a/sys-apps/util-linux/files/digest-util-linux-2.13_pre6 b/sys-apps/util-linux/files/digest-util-linux-2.13_pre6 new file mode 100644 index 000000000000..679bb6386701 --- /dev/null +++ b/sys-apps/util-linux/files/digest-util-linux-2.13_pre6 @@ -0,0 +1,2 @@ +MD5 3e54b8e66142fe58282e58075f73e58c loop-AES-v3.1c.tar.bz2 168755 +MD5 1db1249029439e5e965c2c7178149616 util-linux-2.13-pre6.tar.bz2 2393796 diff --git a/sys-apps/util-linux/util-linux-2.13_pre6.ebuild b/sys-apps/util-linux/util-linux-2.13_pre6.ebuild new file mode 100644 index 000000000000..4125e7133913 --- /dev/null +++ b/sys-apps/util-linux/util-linux-2.13_pre6.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2006 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.13_pre6.ebuild,v 1.1 2006/01/25 05:48:50 vapier Exp $ + +inherit eutils flag-o-matic toolchain-funcs + +MY_PV=${PV/_/-} +MY_P=${PN}-${MY_PV} +S=${WORKDIR}/${MY_P} + +LOOP_AES_VER=3.1c +DESCRIPTION="Various useful Linux utilities" +HOMEPAGE="http://www.kernel.org/pub/linux/utils/util-linux/" +SRC_URI="mirror://kernel/linux/utils/${PN}/testing/${MY_P}.tar.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 nls static pam selinux perl" + +RDEPEND=">=sys-libs/ncurses-5.2-r2 + >=sys-fs/e2fsprogs-1.34 + selinux? ( sys-libs/libselinux ) + pam? ( sys-apps/pam-login ) + crypt? ( app-crypt/hashalot ) + perl? ( dev-lang/perl )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext ) + virtual/os-headers" + +yesno() { useq $1 && echo yes || echo no; } + +src_unpack() { + unpack ${A} + + cd "${S}" + + # crypto support + use crypt && die "Sorry, no loop-AES support in this version" +# use crypt && epatch "${WORKDIR}"/loop-AES-v${LOOP_AES_VER}/util-linux-2.12r.diff + + # Fall back to cracklib if default words file doesnt exist #114416 + epatch "${FILESDIR}"/${PN}-2.12r-cracklib-words.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 + + # 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.13-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 + + # 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 + + # fix prefix for installation #119734 + sed -i \ + -e '/^usr.*dir/s:/usr::' \ + */Makefile.in + + sed -i -e '/chmod/s:4755:4711:' mount/Makefile.in +} + +src_compile() { +# append-ldflags $(bindnow-flags) + use static && append-ldflags -static + econf \ + --sbindir=/sbin \ + --bindir=/bin \ + $(use_with pam) \ + $(use_with selinux) \ + $(use_enable nls) \ + --enable-agetty \ + --enable-cramfs \ + --disable-init \ + --disable-kill \ + --disable-last \ + --disable-mesg \ + --enable-partx \ + --enable-raw \ + --enable-rdev \ + --enable-rename \ + --disable-reset \ + --disable-login-utils \ + --enable-schedutils \ + --disable-wall \ + --enable-write \ + || die "configure failed" + emake || die "emake failed" +} + +src_install() { + make install DESTDIR="${D}" || die "install failed" + dosym ../man8/agetty.8 /usr/share/man/man1/getty.1 + use perl || rm -f "${D}"/usr/bin/chkdupexe + + newinitd "${FILESDIR}"/crypto-loop.initd crypto-loop + newconfd "${FILESDIR}"/crypto-loop.confd crypto-loop + + dodoc AUTHORS NEWS README + docinto examples + dodoc example.files/* +} |