Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 58664
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Net-Mail Packages <net-mail@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Haroon Rafique <corporate_gadfly@hotmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
pine-4.61-preserve-symlink.patch preserve symlinks when writing files patch Haroon Rafique 2004-07-28 08:22 0000 844 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

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

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


Not eligible to see or edit group visibility for this bug.






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


Description:   Opened: 2004-07-28 08:20 0000
I have a patch which allows you to preserve a symbolic link when Pine rewrites
a file. For example, if your .pinerc file is a symbolic link to another file,
when Pine rewrites the .pinerc file, the symbolic link is lost. This patch will
preserve that symbolic link.

Eduardo Chappa already has this patch:
http://www.math.washington.edu/~chappa/pine/info/rename-symlink.html
Dunno why he doesn't include it in chappa-all.patch.gz?

If you save this patch in the files directory, then the ebuild can use epatch
to patch the affected file as follows.

--- pine-4.61.ebuild.orig       2004-07-28 11:18:32.258662027 -0400
+++ pine-4.61.ebuild    2004-07-28 11:18:33.849497506 -0400
@@ -70,6 +70,8 @@
        #epatch "${FILESDIR}/pine-4.33-whitespace.patch"
        # Bug #23336 - makes pine transparent in terms that support it.
        epatch "${FILESDIR}/transparency.patch"
+       # preserve symbolic links when writing files
+       epatch "${FILESDIR}/${P}-preserve-symlink.patch"

        if use debug ; then
                sed -e "s:-g -DDEBUG -DDEBUGJOURNAL:${CFLAGS} -g -DDEBUG
-DDEBUGJOURNAL:" \

------- Comment #1 From Haroon Rafique 2004-07-28 08:22:25 0000 -------
Created an attachment (id=36333) [details]
preserve symlinks when writing files

------- Comment #2 From Andrej Kacian (RETIRED) 2006-10-06 18:04:28 0000 -------
Perhaps you have already forgotten about this, but our bugzilla hasn't. :)

The patch is included in pine-4.64-r5, which was just committed to CVS. Allow
some time for updated chappa-all patchset to distribute on distfiles mirrors.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug