diff options
-rw-r--r-- | sys-apps/util-linux/ChangeLog | 6 | ||||
-rw-r--r-- | sys-apps/util-linux/files/util-linux-2.11u-gentoo.patch | 11 | ||||
-rw-r--r-- | sys-apps/util-linux/util-linux-2.11u.ebuild | 4 |
3 files changed, 17 insertions, 4 deletions
diff --git a/sys-apps/util-linux/ChangeLog b/sys-apps/util-linux/ChangeLog index e91100c2346c..e7245a9b4350 100644 --- a/sys-apps/util-linux/ChangeLog +++ b/sys-apps/util-linux/ChangeLog @@ -1,11 +1,11 @@ # ChangeLog for sys-apps/util-linux # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.12 2002/08/14 14:41:42 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.13 2002/08/14 15:17:32 aliz Exp $ *util-linux-2.11u (14 Aug 2002) - 05 Aug 2002; Daniel Ahlberg <aliz@gentoo.org> util-linux-2.11u.ebuild: - Version bump. + 14 Aug 2002; Daniel Ahlberg <aliz@gentoo.org> util-linux-2.11u.ebuild: + Version bump. Added patch for chfn. *util-linux-2.11t (05 Aug 2002) diff --git a/sys-apps/util-linux/files/util-linux-2.11u-gentoo.patch b/sys-apps/util-linux/files/util-linux-2.11u-gentoo.patch new file mode 100644 index 000000000000..7e7041c145a9 --- /dev/null +++ b/sys-apps/util-linux/files/util-linux-2.11u-gentoo.patch @@ -0,0 +1,11 @@ +--- login-utils/setpwnam.c Wed Aug 14 16:51:47 2002 ++++ login-utils/setpwnam.c Wed Aug 14 16:52:04 2002 +@@ -98,7 +98,7 @@ + /* sanity check */ + for (x = 0; x < 3; x++) { + if (x > 0) sleep(1); +- fd = open(PTMPTMP_FILE, O_WRONLY|O_CREAT, 0644); ++ fd = open(PTMPTMP_FILE, O_WRONLY|O_CREAT|O_EXCL, 0644); + if (fd == -1) { + umask(oldumask); + return -1; diff --git a/sys-apps/util-linux/util-linux-2.11u.ebuild b/sys-apps/util-linux/util-linux-2.11u.ebuild index b29ffb8245e5..0212429d4791 100644 --- a/sys-apps/util-linux/util-linux-2.11u.ebuild +++ b/sys-apps/util-linux/util-linux-2.11u.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.11u.ebuild,v 1.1 2002/08/14 14:41:42 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.11u.ebuild,v 1.2 2002/08/14 15:17:32 aliz Exp $ CRYPT_PATCH_P=${PN}-${PV/1u/1r} S=${WORKDIR}/${P} @@ -30,6 +30,8 @@ src_unpack() { gunzip -c ${DISTDIR}/${CRYPT_PATCH_P}.patch.gz | patch -p1 || die fi + patch -p0 < ${FILESDIR}/${P}-gentoo.patch + cp MCONFIG MCONFIG.orig sed -e "s:-pipe -O2 \$(CPUOPT) -fomit-frame-pointer:${CFLAGS}:" \ -e "s:CPU=.*:CPU=${CHOST%%-*}:" \ |