diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-11-08 19:56:14 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-11-08 19:56:14 +0000 |
commit | a6ea8ae29be88d7a6cd2fa4dfe6e95c1e933c243 (patch) | |
tree | 12f3ee2b97f7b7b99c9d984ba56ab2c8746c31b7 /sys-apps/eject | |
parent | arm KEYWORDS (Manifest recommit) (diff) | |
download | gentoo-2-a6ea8ae29be88d7a6cd2fa4dfe6e95c1e933c243.tar.gz gentoo-2-a6ea8ae29be88d7a6cd2fa4dfe6e95c1e933c243.tar.bz2 gentoo-2-a6ea8ae29be88d7a6cd2fa4dfe6e95c1e933c243.zip |
arm KEYWORDS
Diffstat (limited to 'sys-apps/eject')
-rw-r--r-- | sys-apps/eject/eject-2.0.12-r1.ebuild | 41 | ||||
-rw-r--r-- | sys-apps/eject/eject-2.0.13.ebuild | 4 | ||||
-rw-r--r-- | sys-apps/eject/files/digest-eject-2.0.12-r1 | 1 | ||||
-rw-r--r-- | sys-apps/eject/files/eject-2.0.12-gentoo.security.patch | 22 | ||||
-rw-r--r-- | sys-apps/eject/files/eject-2.0.12-kernel25-support.patch | 17 |
5 files changed, 2 insertions, 83 deletions
diff --git a/sys-apps/eject/eject-2.0.12-r1.ebuild b/sys-apps/eject/eject-2.0.12-r1.ebuild deleted file mode 100644 index 9f98c1861398..000000000000 --- a/sys-apps/eject/eject-2.0.12-r1.ebuild +++ /dev/null @@ -1,41 +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/eject/eject-2.0.12-r1.ebuild,v 1.9 2004/06/28 16:05:39 vapier Exp $ - -inherit eutils - -DESCRIPTION="A command to eject a disc from the CD-ROM drive" -HOMEPAGE="http://eject.sourceforge.net/" -SRC_URI="http://www.ibiblio.org/pub/Linux/utils/disk-management/${P}.tar.gz - http://www.pobox.com/~tranter/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 ppc sparc alpha hppa ia64 amd64" -IUSE="" - -DEPEND="virtual/libc" - -src_unpack() { - unpack ${A} - cd ${S} - - epatch ${FILESDIR}/${P}-gentoo.security.patch - - # Get this puppy working with kernel 2.5.x - # <azarah@gentoo.org> (06 March 2003) - epatch ${FILESDIR}/${P}-kernel25-support.patch -} - -src_install() { - dodir /usr/bin /usr/share/man/man1 - -# Full install breaks sandbox, and I'm too lazy to figure out how, so: - - make DESTDIR=${D} install-binPROGRAMS || die - make DESTDIR=${D} install-man1 || die - make DESTDIR=${D} install-man || die - - dodoc ChangeLog COPYING README PORTING TODO - dodoc AUTHORS NEWS PROBLEMS -} diff --git a/sys-apps/eject/eject-2.0.13.ebuild b/sys-apps/eject/eject-2.0.13.ebuild index 5ea2bcfeda7a..139db3288682 100644 --- a/sys-apps/eject/eject-2.0.13.ebuild +++ b/sys-apps/eject/eject-2.0.13.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/eject/eject-2.0.13.ebuild,v 1.14 2004/09/03 21:03:23 pvdabeel Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/eject/eject-2.0.13.ebuild,v 1.15 2004/11/08 19:56:14 vapier Exp $ inherit eutils @@ -11,7 +11,7 @@ SRC_URI="http://www.ibiblio.org/pub/Linux/utils/disk-management/${P}.tar.gz LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 ppc sparc mips alpha hppa amd64 ia64 ppc64" +KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sparc x86" IUSE="" RDEPEND="virtual/libc" diff --git a/sys-apps/eject/files/digest-eject-2.0.12-r1 b/sys-apps/eject/files/digest-eject-2.0.12-r1 deleted file mode 100644 index 51e8bbfb6b0b..000000000000 --- a/sys-apps/eject/files/digest-eject-2.0.12-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 3be54c354f0423e7fda38cf3faab63c7 eject-2.0.12.tar.gz 56714 diff --git a/sys-apps/eject/files/eject-2.0.12-gentoo.security.patch b/sys-apps/eject/files/eject-2.0.12-gentoo.security.patch deleted file mode 100644 index 05903408e0ee..000000000000 --- a/sys-apps/eject/files/eject-2.0.12-gentoo.security.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- eject.c 2003-02-26 17:07:15.000000000 +0000 -+++ eject.c 2003-02-26 17:11:55.000000000 +0000 -@@ -273,15 +273,12 @@ - /* Return 1 if file/device exists, 0 otherwise. */ - static int FileExists(const char *name) - { -- int fd; -- -- fd = open(name, O_RDONLY|O_NONBLOCK); -- if (fd == -1) { -- return 0; -- } else { -- close(fd); -+ if (access (name, F_OK) == 0) { - return 1; - } -+ else { -+ return 0; -+ } - } - - diff --git a/sys-apps/eject/files/eject-2.0.12-kernel25-support.patch b/sys-apps/eject/files/eject-2.0.12-kernel25-support.patch deleted file mode 100644 index 71c1868c6250..000000000000 --- a/sys-apps/eject/files/eject-2.0.12-kernel25-support.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- eject.c.orig 2002-12-09 22:28:08.000000000 +0000 -+++ eject.c 2003-11-08 17:06:43.000000000 +0000 -@@ -56,7 +56,13 @@ - #include <sys/ioctl.h> - #include <sys/wait.h> - #include <sys/mtio.h> --#include <linux/types.h> -+#ifndef __KERNEL__ -+# define __KERNEL__ -+# include <linux/types.h> -+# undef __KERNEL__ -+#else -+# include <linux/types.h> -+#endif - #include <linux/cdrom.h> - #if LINUX_VERSION_CODE < KERNEL_VERSION(2,1,0) - #include <linux/ucdrom.h> |