First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 24739
Alias:
Product:
Component:
Status: CLOSED
Resolution: FIXED
Assigned To: Martin Holzer (RETIRED) <mholzer@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andy Dustman <farcepest@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
zip-2.3-r3.ebuild app-arch/zip/zip-2.3-r3.ebuild text/plain Andy Dustman 2003-07-18 08:22 0000 1004 bytes Details
zip-2.3-r3.ebuild app-arch/zip/zip-2.3-r3.ebuild text/plain Andy Dustman 2003-07-18 08:29 0000 981 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 24739 depends on: Show dependency tree
Show dependency graph
Bug 24739 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)





View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-07-18 08:20 0000
zip-2.3-r2 won't emerge if USE=crypt is set unless unzip is installed, i.e. it
is a missing dependency. ebuild to be attached.

------- Comment #1 From Andy Dustman 2003-07-18 08:22:11 0000 -------
Created an attachment (id=14663) [edit]
app-arch/zip/zip-2.3-r3.ebuild

Require app-arch/unzip if using crypt so that patch can be unpacked.

--- zip-2.3-r2.ebuild	2003-07-16 02:15:42.000000000 -0400
+++ zip-2.3-r3.ebuild	2003-07-18 11:14:55.000000000 -0400
@@ -13,6 +13,10 @@
 KEYWORDS="~x86 ~ppc ~sparc ~alpha"
 LICENSE="Info-ZIP"
  
+if use crypt >/dev/null; then
+	DEPEND="app-arch/unzip"
+fi
+
 src_unpack() {
	unpack ${A}
	if [ "`use crypt`" ]; then

------- Comment #2 From Andy Dustman 2003-07-18 08:29:54 0000 -------
Created an attachment (id=14664) [edit]
app-arch/zip/zip-2.3-r3.ebuild

The preceding ebuild is the result of an insufficient amount of coffee. It does
work, but is not very Gentoo-ish.

--- zip-2.3-r2.ebuild	2003-07-16 02:15:42.000000000 -0400
+++ zip-2.3-r3.ebuild	2003-07-18 11:27:24.000000000 -0400
@@ -13,6 +13,8 @@
 KEYWORDS="~x86 ~ppc ~sparc ~alpha"
 LICENSE="Info-ZIP"
  
+DEPEND="crypt? ( app-arch/unzip )"
+
 src_unpack() {
	unpack ${A}
	if [ "`use crypt`" ]; then

------- Comment #3 From Martin Holzer (RETIRED) 2003-07-18 08:35:20 0000 -------
your fix is too dirty

fixed in cvs

------- Comment #4 From Martin Holzer (RETIRED) 2003-07-18 08:35:47 0000 -------
ok 2nd is better :)

First Last Prev Next    No search results available      Search page      Enter new bug