From olivleh1@kartoffel.salatschuessel.net  Thu Nov 23 16:17:04 2006
Return-Path: <olivleh1@kartoffel.salatschuessel.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 9807A16A415;
	Thu, 23 Nov 2006 16:17:04 +0000 (UTC)
	(envelope-from olivleh1@kartoffel.salatschuessel.net)
Received: from kartoffel.salatschuessel.net (p5084C98F.dip.t-dialin.net [80.132.201.143])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5B65143DB6;
	Thu, 23 Nov 2006 16:15:20 +0000 (GMT)
	(envelope-from olivleh1@kartoffel.salatschuessel.net)
Received: from kartoffel.salatschuessel.net (localhost [127.0.0.1])
	by kartoffel.salatschuessel.net (8.13.8/8.13.8) with ESMTP id kANGFO3f087071;
	Thu, 23 Nov 2006 17:15:24 +0100 (CET)
	(envelope-from olivleh1@kartoffel.salatschuessel.net)
Received: (from olivleh1@localhost)
	by kartoffel.salatschuessel.net (8.13.8/8.13.8/Submit) id kANGFME5087070;
	Thu, 23 Nov 2006 17:15:22 +0100 (CET)
	(envelope-from olivleh1)
Message-Id: <200611231615.kANGFME5087070@kartoffel.salatschuessel.net>
Date: Thu, 23 Nov 2006 17:15:22 +0100 (CET)
From: Oliver Lehmann <oliver@freebsd.org>
Reply-To: Oliver Lehmann <oliver@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Oliver Lehmann <oliver@freebsd.org>
Subject: fix openssl support for www/lynx-ssl
X-Send-Pr-Version: 3.113
X-GNATS-Notify: jharris@widomaker.com

>Number:         105791
>Category:       ports
>Synopsis:       fix openssl support for www/lynx-ssl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    oliver
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 23 16:20:11 GMT 2006
>Closed-Date:    Wed Dec 13 19:26:49 GMT 2006
>Last-Modified:  Wed Dec 13 19:30:09 GMT 2006
>Originator:     Oliver Lehmann
>Release:        FreeBSD 6.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD kartoffel.salatschuessel.net 6.1-STABLE FreeBSD 6.1-STABLE #0: Mon Sep 11 09:55:49 CEST 2006 olivleh1@kartoffel.salatschuessel.net:/usr/obj/amd64-athlon64-6.1/usr/src/sys/KARTOFFEL amd64


>Description:
	openssl is not detected when there is no openssl in base, only in LOCALBASE
	the attached patch fixes that
>How-To-Repeat:
>Fix:


--- lynx.patch begins here ---
Index: lynx-ssl/Makefile
===================================================================
RCS file: /usr/local/cvsroot/ports/www/lynx-ssl/Makefile,v
retrieving revision 1.20
diff -u -r1.20 Makefile
--- lynx-ssl/Makefile	10 Feb 2004 20:55:55 -0000	1.20
+++ lynx-ssl/Makefile	23 Nov 2006 16:14:01 -0000
@@ -13,7 +13,9 @@
 DESCR=		${.CURDIR}/pkg-descr
 
 CONFIGURE_ARGS+=	--with-ssl
+CONFIGURE_ENV+=		CFLAGS="${CFLAGS} -I${OPENSSLINC}"
 
 CONFLICTS=	lynx-2* lynx-current*
+USE_OPENSSL=	yes
 
 .include "${MASTERDIR}/Makefile"
Index: lynx/Makefile
===================================================================
RCS file: /usr/local/cvsroot/ports/www/lynx/Makefile,v
retrieving revision 1.114
diff -u -r1.114 Makefile
--- lynx/Makefile	12 Dec 2005 21:33:23 -0000	1.114
+++ lynx/Makefile	23 Nov 2006 16:14:01 -0000
@@ -50,6 +50,8 @@
 
 post-patch:
 	@${RM} -f ${WRKSRC}/CHANGES.orig
+	@${REINPLACE_CMD} -e 's|-lssl -lcrypto|-L${OPENSSLLIB} &|g' \
+		${WRKSRC}/configure
 
 post-install:
 	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
--- lynx.patch ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->oliver 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Nov 23 16:20:21 UTC 2006 
Responsible-Changed-Why:  
Submitter has GNATS access 

http://www.freebsd.org/cgi/query-pr.cgi?pr=105791 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Nov 23 16:20:28 UTC 2006 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=105791 

From: Jason <jharris@widomaker.com>
To: bug-followup@FreeBSD.org
Cc: Jason Harris <jharris@widomaker.com>
Subject: Re: ports/105791: fix openssl support for www/lynx-ssl
Date: Tue, 12 Dec 2006 18:22:23 -0500

 --a8Wt8u1KmwUX3Y2C
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Thu, Nov 23, 2006 at 04:20:25PM +0000, Edwin Groothuis wrote:
 > Maintainer of www/lynx-ssl,
 >=20
 > Please note that PR ports/105791 has just been submitted.
 
 >     http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/105791
 
 Approved.  Thanks.
 
 --=20
 Jason Harris           |  NIC:  JH329, PGP:  This _is_ PGP-signed, isn't it?
 jharris@widomaker.com _|_ web:  http://keyserver.kjsl.com/~jharris/
           Got photons?   (TM), (C) 2004
 
 --a8Wt8u1KmwUX3Y2C
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.6 (FreeBSD)
 
 iJ0EARECAF0FAkV/Oa9WGGh0dHA6Ly9rZXlzZXJ2ZXIua2pzbC5jb206MTEzNzEv
 cGtzL2xvb2t1cD9vcD1nZXQmc2VhcmNoPTB4RDM5REEwRTMmd2VoYXZleW91bm93
 PXRydWUACgkQSypIl9OdoON9fACg0nHJDm3h6fY196+YJzJYYeh2hwEAoKES3e00
 HLDwit2mK26yFhBGGGZ1
 =on3y
 -----END PGP SIGNATURE-----
 
 --a8Wt8u1KmwUX3Y2C--
State-Changed-From-To: feedback->closed 
State-Changed-By: oliver 
State-Changed-When: Wed Dec 13 19:26:32 UTC 2006 
State-Changed-Why:  
Committed, Thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=105791 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/105791: commit references a PR
Date: Wed, 13 Dec 2006 19:27:39 +0000 (UTC)

 oliver      2006-12-13 19:26:20 UTC
 
   FreeBSD ports repository
 
   Modified files:
     www/lynx-ssl         Makefile 
     www/lynx             Makefile 
   Log:
   fix ssl detection if openssl does not exist in base but in LOCALBASE
   
   PR:             ports/105791
   Approved by:    maintainer
   
   Revision  Changes    Path
   1.21      +2 -0      ports/www/lynx-ssl/Makefile
   1.115     +2 -0      ports/www/lynx/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
