Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 11638
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Nick Hadaway <nick@capital-internet.net>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Haroon Rafique <corporate_gadfly@hotmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 11638 depends on: Show dependency tree
Bug 11638 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: 2002-12-05 13:20 0000
the ebuild uses the following sed statements to replace $(SSLDIR)/cert and
$(SSLCERTS) in the file Makefile.orig.

        sed -e "s:$(SSLDIR)/certs:/etc/ssl/certs:" \
            -e "s:$(SSLCERTS):/etc/ssl/certs:" \
            < Makefile.orig > Makefile

which causes the error (does no substitutions for the SSLDIR line and mangles
the the SSLCERT line to look like SSLCERTS=$(SSLDIR)/etc/ssl/etc/ssl/certs which
is obviously bogus):

/usr/sbin/ebuild.sh: line 1: SSLDIR: command not found
/usr/sbin/ebuild.sh: line 1: SSLCERTS: command not found

My fix is to replace the double quotes with single quotes, as follows:

        sed -e 's:$(SSLDIR)/certs:/etc/ssl/certs:' \
            -e 's:$(SSLCERTS):/etc/ssl/certs:' \
            < Makefile.orig > Makefile

My sed version is sys-apps/sed-4.0.3 *

------- Comment #1 From Nick Hadaway 2002-12-05 14:04:08 0000 -------
pine-4.50-r4 has been released into portage with the ssl certs fix and also 
removed some compile-time warnings.  Please test and let me know if things work 
correctly now.

------- Comment #2 From Haroon Rafique 2002-12-05 14:32:26 0000 -------
I like your fix of escaping the $ sign. Secondly, it seems to compile fine,
however, be aware that I don't use SSL for any of my mailboxes so I can't test
the SSL functionality. I was just pointing out the warning messages caused by
sed during the build process.

Its working fine, so I will close the bug.

Cheers,

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