First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 20145
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Dice Random <dice@warpenguin.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
fortune-mod-9708-r1.ebuild updated ebuild text/plain Chuck Short (RETIRED) 2003-04-29 07:30 0000 3.18 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 20145 depends on: Show dependency tree
Show dependency graph
Bug 20145 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-04-28 23:19 0000
Reading through 'man fortune' I get:

[SNIP]
FILES
       Note: these are the defaults as defined at compile time.

       /var/tmp/portage/fortune-mod-9708-r1/image//usr/share/fortune
              Directory for innoffensive fortunes.
       /var/tmp/portage/fortune-mod-9708-r1/image//usr/share/fortune/off
              Directory for offensive fortunes.

       If a particular set of fortunes is particularly unwanted, there  is  an
       easy  solution:  delete the associated .dat file.  This leaves the data
       intact, should the file later be wanted, but since  fortune  no  longer
       finds the pointers file, it ignores the text file.
[/SNIP]

Note the mention of "/var/tmp/portage/fortune-mod-9708-r1/image/".

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Patch:

dice@entropy dice $ diff -urN 
/usr/portage/app-games/fortune-mod/fortune-mod-9708-r1.ebuild 
/usr/local/portage/app-games/fortune-mod/fortune-mod-9708-r2.ebuild 
--- /usr/portage/app-games/fortune-mod/fortune-mod-9708-r1.ebuild       
2003-03-05 07:20:54.000000000 -0800
+++ /usr/local/portage/app-games/fortune-mod/fortune-mod-9708-r2.ebuild 
2003-04-28 20:18:13.000000000 -0700
@@ -69,6 +69,13 @@
                
        make install || die
 
+       # Fix the man page
+       cp ${D}/usr/share/man/man6/fortune.6 ${D}/usr/share/man/man6/fortune.6.
orig
+       sed \
+               -e "s:${D}::" \
+               ${D}/usr/share/man/man6/fortune.6.orig > ${D}
/usr/share/man/man6/fortune.6
+       rm ${D}/usr/share/man/man6/fortune.6.orig
+
        dodoc ChangeLog INDEX INSTALL Notes README TODO 
 }

------- Comment #1 From Chuck Short (RETIRED) 2003-04-29 07:30:55 0000 -------
Created an attachment (id=11293) [edit]
updated ebuild

Updated ebuild with applied changes.

------- Comment #2 From SpanKY 2003-05-27 12:28:11 0000 -------
heres a better workaround:
dosed "s:${T}::" /usr/share/man/man6/fortune.6

the 'portage' way of doing it you might say ;)

------- Comment #3 From Martin Holzer (RETIRED) 2003-06-05 16:48:41 0000 -------
fixed in cvs

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