diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-02-18 05:38:10 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-02-18 05:38:10 +0000 |
commit | 132b85e6260a690da4470a5dd60cfa44a91eafc9 (patch) | |
tree | 6f9b879e30c7820a96c8e2f102583f27e8e14a35 /sys-apps/eject | |
parent | Drop the DESTDIR patch since it isnt correct. (diff) | |
download | gentoo-2-132b85e6260a690da4470a5dd60cfa44a91eafc9.tar.gz gentoo-2-132b85e6260a690da4470a5dd60cfa44a91eafc9.tar.bz2 gentoo-2-132b85e6260a690da4470a5dd60cfa44a91eafc9.zip |
Version bump by Daniel Walker #123174.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'sys-apps/eject')
-rw-r--r-- | sys-apps/eject/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/eject/eject-2.1.4.ebuild | 32 | ||||
-rw-r--r-- | sys-apps/eject/files/digest-eject-2.1.4 | 3 | ||||
-rw-r--r-- | sys-apps/eject/files/eject-2.1.4-toggle.patch | 40 |
4 files changed, 82 insertions, 1 deletions
diff --git a/sys-apps/eject/ChangeLog b/sys-apps/eject/ChangeLog index b1b3f5f7c8aa..8c4a278e13ff 100644 --- a/sys-apps/eject/ChangeLog +++ b/sys-apps/eject/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/eject # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/eject/ChangeLog,v 1.50 2006/02/11 04:16:14 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/eject/ChangeLog,v 1.51 2006/02/18 05:38:10 vapier Exp $ + +*eject-2.1.4 (18 Feb 2006) + + 18 Feb 2006; Mike Frysinger <vapier@gentoo.org> + +files/eject-2.1.4-toggle.patch, +eject-2.1.4.ebuild: + Version bump by Daniel Walker #123174. *eject-2.1.0-r1 (11 Feb 2006) diff --git a/sys-apps/eject/eject-2.1.4.ebuild b/sys-apps/eject/eject-2.1.4.ebuild new file mode 100644 index 000000000000..cd870931e264 --- /dev/null +++ b/sys-apps/eject/eject-2.1.4.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/eject/eject-2.1.4.ebuild,v 1.1 2006/02/18 05:38:10 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="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="nls" + +DEPEND="!virtual/eject" +PROVIDE="virtual/eject" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-2.0.13-xmalloc.patch + epatch "${FILESDIR}"/${PN}-2.1.4-toggle.patch +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc ChangeLog README PORTING TODO AUTHORS NEWS PROBLEMS +} diff --git a/sys-apps/eject/files/digest-eject-2.1.4 b/sys-apps/eject/files/digest-eject-2.1.4 new file mode 100644 index 000000000000..0e32186fcbfb --- /dev/null +++ b/sys-apps/eject/files/digest-eject-2.1.4 @@ -0,0 +1,3 @@ +MD5 6cb457857318f733177f0c3a780138da eject-2.1.4.tar.gz 101025 +RMD160 dbba76eb84aef1c8c367090389058b7afcc9ad48 eject-2.1.4.tar.gz 101025 +SHA256 317e27f763884148781be189a4c5c779f25b9812dee8f5ae2d0e5de30a4b65be eject-2.1.4.tar.gz 101025 diff --git a/sys-apps/eject/files/eject-2.1.4-toggle.patch b/sys-apps/eject/files/eject-2.1.4-toggle.patch new file mode 100644 index 000000000000..cc3237f32c5a --- /dev/null +++ b/sys-apps/eject/files/eject-2.1.4-toggle.patch @@ -0,0 +1,40 @@ +Patch by Stuart W. Finlayson + +http://bugs.gentoo.org/122256 + +--- eject.c ++++ eject.c +@@ -1225,16 +1225,6 @@ + exit(0); + } + +- /* handle -T option */ +- if (T_option) { +- if (v_option) +- printf(_("%s: toggling tray\n"), programName); +- fd = OpenDevice(deviceName); +- ToggleTray(fd); +- HandleXOption(deviceName); +- exit(0); +- } +- + /* handle -X option */ + if (X_option) { + if (v_option) +@@ -1260,6 +1250,16 @@ + if ((m_option != 1) && (pattern != 0)) + UnmountDevices(pattern); + ++ /* handle -T option */ ++ if (T_option) { ++ if (v_option) ++ printf(_("%s: toggling tray\n"), programName); ++ fd = OpenDevice(deviceName); ++ ToggleTray(fd); ++ HandleXOption(deviceName); ++ exit(0); ++ } ++ + /* handle -c option */ + if (c_option) { + if (v_option) |