From owner-ports-jp@jp.freebsd.org  Tue Nov 17 12:33:12 1998
Received: (from daemon@localhost)
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) id MAA11281;
	Tue, 17 Nov 1998 12:33:12 +0900 (JST)
	(envelope-from owner-ports-jp@jp.FreeBSD.org)
Received: from dns.nbs.co.jp (dns.nbs.co.jp [210.162.231.66])
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) with SMTP id MAA11273
	for <ports-jp@jp.freebsd.org>; Tue, 17 Nov 1998 12:33:10 +0900 (JST)
	(envelope-from seiken@nbs.co.jp)
Received: (qmail 6586 invoked from network); 17 Nov 1998 03:32:39 -0000
Received: from mei.nbs.co.jp (210.162.231.69)
  by dns.nbs.co.jp with SMTP; 17 Nov 1998 03:32:39 -0000
Received: (qmail 27849 invoked from network); 17 Nov 1998 03:33:03 -0000
Received: from localhost.nbs.co.jp (HELO localhost) (127.0.0.1)
  by localhost.nbs.co.jp with SMTP; 17 Nov 1998 03:33:03 -0000
To: ports-jp@jp.freebsd.org, mino@bb.imagica.co.jp
From: =?iso-2022-jp?B?IhskQkBaTEAhIUAvN3sbKEIi?= <seiken@nbs.co.jp>
In-Reply-To: <19981117114929N.seiken@nbs.co.jp>
References: <199811170013.JAA09016@serv1.hq.imagica.co.jp>
	<19981117114929N.seiken@nbs.co.jp>
X-Mailer: Mew version 1.94b1 on Emacs 20.3 / Mule 4.0 (HANANOEN)
X-fingerprint: 27 94 7F 27 8C 31 52 B0  D6 D0 70 14 74 D9 9A 41
X-URL: http://www.nbs.co.jp/~seiken/
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Message-Id: <19981117123302V.seiken@nbs.co.jp>
Date: Tue, 17 Nov 1998 12:33:02 +0900
X-Dispatcher: imput version 981104(IM103)
Lines: 132
Reply-To: ports-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+981115
X-Sequence: ports-jp 5068
Subject: [ports-jp 5068] Re: lynx-ssl
Errors-To: owner-ports-jp@jp.freebsd.org
Sender: owner-ports-jp@jp.freebsd.org
X-Originator: seiken@nbs.co.jp

$B%Q%C%A$r:n$C$F$_$^$7$?!#(B3.0-CURRENT$B$G$b(BMake$B$G$-$^$7$?!#(B

portlint$B$7$?$i7Y9p$,$$$/$D$+=P$k$N$G$9$,!"=$@5$7$F$h$$$b$N$+LB$C$?$N$G(B
$B$=$N$^$^$G$9!#(B

$B$$$+$,$G$7$g$&$+!#(B

----- cut here ---- cut here ----
diff -urN lynx-ssl.orig/Makefile lynx-ssl/Makefile
--- lynx-ssl.orig/Makefile	Fri Oct 30 05:29:24 1998
+++ lynx-ssl/Makefile	Tue Nov 17 12:15:08 1998
@@ -1,10 +1,10 @@
 # New ports collection makefile for:    lynx
 # http://sol.slcc.edu/lynx/current/
-# Version required:     2.8.1dev.X
+# Version required:     2.8.1.rel.2
 # Date created:         15 Dec 1994
 # Whom:                 ache
 #
-# $Id: Makefile,v 1.92 1998/09/07 19:34:50 ache Exp $
+# $Id$
 #
 
 DISTNAME=       lynx2.8.1rel.2
@@ -12,6 +12,10 @@
 CATEGORIES=	www
 MASTER_SITES=   http://sol.slcc.edu/lynx/current/
 
+PATCHFILES=	lynx-281-ssl.patch.gz
+PATCH_SITES=	http://www.moxienet.com/lynx/
+PATCH_DIST_STRIP=	-p1
+
 MAINTAINER=	ache@FreeBSD.ORG
 
 BUILD_DEPENDS=	ssleay:${PORTSDIR}/security/SSLeay \
@@ -19,23 +23,23 @@
 		${PREFIX}/lib/libcrypto.a:${PORTSDIR}/security/SSLeay
 RUN_DEPENDS=	ssleay:${PORTSDIR}/security/SSLeay
 
-PATCHFILES+=	lynx-281-ssl.patch.gz
-PATCH_SITES=	http://www.moxienet.com/lynx/
-PATCH_DIST_STRIP=	-p1
-
 NO_LATEST_LINK=	YES
 WRKSRC=         ${WRKDIR}/lynx2-8-1
 GNU_CONFIGURE=  YES
-CONFIGURE_ARGS= --with-screen=ncurses --with-zlib --libdir="${PREFIX}/etc" \
-		--enable-nsl-fork
+CONFIGURE_ARGS= --with-screen=ncurses --with-zlib --libdir="${L_LIB}" \
+		--enable-nsl-fork --enable-persistent-cookies
+MAKE_FLAGS=     helpdir=${L_HELP} -f
 MAKEFILE=       makefile
 INSTALL_TARGET= install install-help
 MAN1=		lynx.1
 
+L_LIB=          ${PREFIX}/etc
+L_HELP=         ${PREFIX}/lib/lynx_help
+
 post-configure:
-	mkdir -p ${WRKSRC}/ssl-include
+	${MKDIR} ${WRKSRC}/ssl-include
 	for i in bio.h crypto.h rsa.h ssl.h x509_vfy.h ; do \
-		sed 's/free_func/dispose_func/' /usr/local/include/$$i > ${WRKSRC}/ssl-include/$$i ; \
+		${SED} 's/free_func/dispose_func/' /usr/local/include/$$i > ${WRKSRC}/ssl-include/$$i ; \
 	done
 
 	for i in asn1.h asn1_mac.h blowfish.h bn.h buffer.h cast.h conf.h cryptall.h des.h dh.h dsa.h err.h evp.h hmac.h idea.h lhash.h md2.h md5.h mdc2.h objects.h pem.h pkcs7.h rand.h rc2.h rc4.h rc5.h ripemd.h sha.h ssl2.h ssl23.h ssl3.h stack.h tls1.h txt_db.h x509.h ; do \
@@ -43,7 +47,7 @@
 	done
 
 post-install:
-	chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/lynx_help
-	chown ${SHAREOWN}:${SHAREGRP} ${PREFIX}/etc/lynx.cfg
+	chown -R ${SHAREOWN}:${SHAREGRP} ${L_HELP}
+	chown ${SHAREOWN}:${SHAREGRP} ${L_LIB}/lynx.cfg
 
 .include <bsd.port.mk>
diff -urN lynx-ssl.orig/files/md5 lynx-ssl/files/md5
--- lynx-ssl.orig/files/md5	Fri Oct 30 03:32:42 1998
+++ lynx-ssl/files/md5	Tue Nov 17 12:18:31 1998
@@ -1,2 +1,2 @@
-MD5 (lynx-281-ssl.patch.gz) = 188d4306d6e0f8f94eed77ba5d7d6eb4
 MD5 (lynx2.8.1rel.2.tar.gz) = 7cf5e545052fb24a9b449d02865c803a
+MD5 (lynx-281-ssl.patch.gz) = ea9fa16ce066a68b0c9357bf46a35c0b
diff -urN lynx-ssl.orig/patches/patch-aa lynx-ssl/patches/patch-aa
--- lynx-ssl.orig/patches/patch-aa	Sun Oct  4 08:44:36 1998
+++ lynx-ssl/patches/patch-aa	Fri Oct 16 16:57:24 1998
@@ -1,11 +1,13 @@
---- makefile.in.orig	Thu Sep 17 19:43:48 1998
-+++ makefile.in	Sun Oct  4 08:29:47 1998
-@@ -44,7 +44,7 @@
- docdir= @libdir@/lynx_doc
+--- makefile.in-	Thu Oct 15 20:50:20 1998
++++ makefile.in	Thu Oct 15 21:02:00 1998
+@@ -65,8 +65,8 @@
+ # libraries in SSL_LIBS and the location of ssl.h and crypto.h in
+ # SSL_DEFINES if necessary.  Defining USE_SSL below will create a binary
+ # which supports "https" and "snews" URLs.
+-SSL_LIBS= -L/usr/local/ssl/lib -lssl -lcrypto
+-SSL_DEFINES= -I/usr/local/ssl/include -DUSE_SSL
++SSL_LIBS= -L$(prefix)/lib -lssl -lcrypto
++SSL_DEFINES= -I../../../ssl-include -DUSE_SSL
  
- ## Where you want the help-files installed
--helpdir= @libdir@/lynx_help
-+helpdir= $(prefix)/lib/lynx_help
- 
- ##set the relative location of the WWW library Implementation directory,
- ##from this directory
+ # !!!!!!!!!!! SUN resolv LIBRARY !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+ # To include resolv in the LIBS="" list for SUN 3, 4 or Solaris OS,
diff -urN lynx-ssl.orig/patches/patch-zz lynx-ssl/patches/patch-zz
--- lynx-ssl.orig/patches/patch-zz	Fri Oct 16 16:57:24 1998
+++ lynx-ssl/patches/patch-zz	Thu Jan  1 09:00:00 1970
@@ -1,13 +0,0 @@
---- makefile.in-	Thu Oct 15 20:50:20 1998
-+++ makefile.in	Thu Oct 15 21:02:00 1998
-@@ -65,8 +65,8 @@
- # libraries in SSL_LIBS and the location of ssl.h and crypto.h in
- # SSL_DEFINES if necessary.  Defining USE_SSL below will create a binary
- # which supports "https" and "snews" URLs.
--SSL_LIBS= -L/usr/local/ssl/lib -lssl -lcrypto
--SSL_DEFINES= -I/usr/local/ssl/include -DUSE_SSL
-+SSL_LIBS= -L$(prefix)/lib -lssl -lcrypto
-+SSL_DEFINES= -I../../../ssl-include -DUSE_SSL
- 
- # !!!!!!!!!!! SUN resolv LIBRARY !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- # To include resolv in the LIBS="" list for SUN 3, 4 or Solaris OS,

---- cut here ---- cut here ----

---- Seiken
