From owner-freebsd-hackers Tue Jun 22 18:38:26 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from dfw-ix2.ix.netcom.com (dfw-ix2.ix.netcom.com [206.214.98.2]) by hub.freebsd.org (Postfix) with ESMTP id 8BBB514C40 for ; Tue, 22 Jun 1999 18:38:24 -0700 (PDT) (envelope-from asami@cs.berkeley.edu) Received: (from smap@localhost) by dfw-ix2.ix.netcom.com (8.8.4/8.8.4) id UAA15049; Tue, 22 Jun 1999 20:38:21 -0500 (CDT) Received: from sji-ca4-28.ix.netcom.com(205.186.212.156) by dfw-ix2.ix.netcom.com via smap (V1.3) id rma015020; Tue Jun 22 20:37:49 1999 Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.9.3/8.6.9) id SAA49975; Tue, 22 Jun 1999 18:37:45 -0700 (PDT) Date: Tue, 22 Jun 1999 18:37:45 -0700 (PDT) Message-Id: <199906230137.SAA49975@silvia.hip.berkeley.edu> X-Authentication-Warning: silvia.hip.berkeley.edu: asami set sender to asami@cs.berkeley.edu using -f To: nsayer@quack.kfu.com Cc: freebsd-hackers@freebsd.org In-reply-to: <199906230131.SAA24130@medusa.kfu.com> (message from Nick Sayer on Tue, 22 Jun 1999 18:31:48 -0700 (PDT)) Subject: Re: Porting strategy - pine4 + SSL From: asami@freebsd.org (Satoshi - Ports Wraith - Asami) References: <199906230131.SAA24130@medusa.kfu.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * From: Nick Sayer * * I have made a preliminary patch (hack?) to add SSL to pine (it's like * clicking the 'server requires secure connection' box - POP or IMAP over * SSL). * * The pine4 port is fairly involved. Adding my stuff is almost downright * trivial. It amounts to adding * * * BUILD_DEPENDS= ${PREFIX}/lib/libssl.a:${PORTSDIR}/security/SSLeay \ * ${PREFIX}/lib/libcrypto.a:${PORTSDIR}/security/SSLeay \ * ${PREFIX}/lib/libRSAglue.a:${PORTSDIR}/security/SSLeay \ * ${PREFIX}/lib/librsaref.a:${PORTSDIR}/security/rsaref * * RESTRICTED= "Contains cryptography - no export from US" * * DISTFILES+= pine4+ssl-1.0 * MASTER_SITES+= ftp://ftp.kfu.com/pub/ * * (the pine4+ssl-1.0.tar.gz file isn't there yet. :-) ) * * and modifying the Makefile to add "EXTRAAUTHENTICATORS=ssl" to the end * of the "build" command. * * How should I do this? Should I copy the pine4 port entirely? * Should I modify the existing pine4 adding conditional stuff to * handle ssl? Can someone suggest a hackish way to piggyback onto * the existing pine4 port with a new port consisting only of the * steps above, but preserving the steps of the original port? (1) Change pine4/Makefile to define stuff like PKGNAME with ?= and *_DEPENDS with += (2) Set MASTERDIR=${.CURDIR}/../pine4 and put the above plus .include "${MASTERDIR}/Makefile" in pine4-ssl/Makefile. You may need to supply pkg/* files separately. Satoshi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message