MD5 e571679485b8795c9186cd503537455d ChangeLog 3787
-MD5 47b74d6a191a3f826124cff42b4f3f62 eject-2.0.12-r1.ebuild 1109
-MD5 0b417e1a03dc26d14238d9849539f6d1 eject-2.0.13.ebuild 1086
+MD5 67a20d9119593a9a2587ffdfbae0aa8d eject-2.0.13.ebuild 1088
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
-MD5 82c97e826738221130b24eebca6fbb65 files/digest-eject-2.0.12-r1 63
MD5 a8f6893c482c2b74b0e799b6cd81e867 files/digest-eject-2.0.13 63
-MD5 b84674293450f0dab61ed0af08dac6bb files/eject-2.0.12-gentoo.security.patch 406
-MD5 2ea43f67de2a8c93ca5594396045248c files/eject-2.0.12-kernel25-support.patch 447
MD5 c948ce559d97f8710824e40ffffb606e files/eject-2.0.13-kernel25-support.patch 447
+++ /dev/null
-# 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
-}
# 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
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"
+++ /dev/null
-MD5 3be54c354f0423e7fda38cf3faab63c7 eject-2.0.12.tar.gz 56714
+++ /dev/null
---- 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;
-+ }
- }
-
-
+++ /dev/null
---- 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>