ports/64667: ftp/curl: pkg-plist broken when built with WITHOUT_SSL

Marius Strobl marius at alchemy.franken.de
Wed Mar 24 21:00:39 UTC 2004


>Number:         64667
>Category:       ports
>Synopsis:       ftp/curl: pkg-plist broken when built with WITHOUT_SSL
>Confidential:   yes
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 24 13:00:38 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Marius Strobl
>Release:        FreeBSD 5.2-CURRENT sparc64
>Organization:
>Environment:
>Description:
	Curl installs curl-ca-bundle.crt only when built with SSL-support,
	but currently curl-ca-bundle.crt is static in pkg-plist.
>How-To-Repeat:
	cd $PORTSDIR/ftp/curl && make -DWITHOUT_SSL package
>Fix:

Index: Makefile
===================================================================
RCS file: /usr/data/bsd/cvs/fbsd/ports/ftp/curl/Makefile,v
retrieving revision 1.60
diff -u -r1.60 Makefile
--- Makefile	6 Feb 2004 09:43:28 -0000	1.60
+++ Makefile	23 Mar 2004 23:57:17 -0000
@@ -53,8 +53,10 @@
 
 .if !defined(WITHOUT_SSL)
 CONFIGURE_ARGS=	--with-ssl=${OPENSSLBASE}
+PLIST_SUB+=	SSL=""
 .else
 CONFIGURE_ARGS=	--without-ssl
+PLIST_SUB+=	SSL="@comment "
 .endif
 
 .if exists(/usr/lib/libkrb.a) && defined(WITH_KERBEROS4)
Index: pkg-plist
===================================================================
RCS file: /usr/data/bsd/cvs/fbsd/ports/ftp/curl/pkg-plist,v
retrieving revision 1.9
diff -u -r1.9 pkg-plist
--- pkg-plist	13 Dec 2003 08:32:09 -0000	1.9
+++ pkg-plist	23 Mar 2004 23:58:00 -0000
@@ -10,8 +10,8 @@
 lib/libcurl.a
 lib/libcurl.so
 lib/libcurl.so.%%SHLIB_VER%%
-%%DATADIR%%/curl-ca-bundle.crt
- at dirrm %%DATADIR%%
+%%SSL%%%%DATADIR%%/curl-ca-bundle.crt
+%%SSL%%@dirrm %%DATADIR%%
 %%PORTDOCS%%%%DOCSDIR%%/BINDINGS
 %%PORTDOCS%%%%DOCSDIR%%/BUGS
 %%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTE
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list