Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 1999 18:37:45 -0700 (PDT)
From:      asami@freebsd.org (Satoshi - Ports Wraith - Asami)
To:        nsayer@quack.kfu.com
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Porting strategy - pine4 + SSL
Message-ID:  <199906230137.SAA49975@silvia.hip.berkeley.edu>
In-Reply-To: <199906230131.SAA24130@medusa.kfu.com> (message from Nick Sayer on Tue, 22 Jun 1999 18:31:48 -0700 (PDT))
References:   <199906230131.SAA24130@medusa.kfu.com>

next in thread | previous in thread | raw e-mail | index | archive | help
 * From: Nick Sayer <nsayer@quack.kfu.com>
 * 
 * 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906230137.SAA49975>