From b29a09511faee89f6b19dd84d2227aed2cabb7ad Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Thu, 2 Mar 2000 06:43:18 +0000 Subject: Allow manual PORTS_CVS_SERVER and CVS_SITES settings. Approved by: maintainer --- security/openssh-askpass/Makefile | 5 ++++- security/openssh/Makefile | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'security') diff --git a/security/openssh-askpass/Makefile b/security/openssh-askpass/Makefile index 981f894b9809..2447da5eee5b 100644 --- a/security/openssh-askpass/Makefile +++ b/security/openssh-askpass/Makefile @@ -26,7 +26,7 @@ DISTFILES+= ${IGNOREFILES} CVS_CMD?= cvs -z3 CVS_DATE= Sun Feb 27 22:21:56 PST 2000 CVS_DATE_!= ${ECHO} -n "${CVS_DATE}" | ${SED} 's/[ \t:]/_/g' -CVS_SITES= anoncvs@anoncvs1.ca.openbsd.org:/cvs \ +CVS_SITES?= anoncvs@anoncvs1.ca.openbsd.org:/cvs \ :pserver:anoncvs@anoncvs1.usa.openbsd.org:/cvs STAMPFILE= ${DISTDIR}/${PKGNAME}/.stamp WRKSRC= ${WRKDIR}/ssh-askpass @@ -45,6 +45,9 @@ do-fetch: if [ -n "${PORTS_CVS_RSH}" ]; then \ export CVS_RSH="${PORTS_CVS_RSH}"; \ fi; \ + if [ -n "${PORTS_CVS_SERVER}" ]; then \ + export CVS_SERVER="${PORTS_CVS_SERVER}"; \ + fi; \ ${MKDIR} ${DISTDIR}/${PKGNAME} && \ cd ${DISTDIR}/${PKGNAME}; \ for CVS_SITE in ${CVS_SITES}; do \ diff --git a/security/openssh/Makefile b/security/openssh/Makefile index 9bdfa6806d36..fe1bb2fee623 100644 --- a/security/openssh/Makefile +++ b/security/openssh/Makefile @@ -27,7 +27,7 @@ CVS_CMD?= cvs -z3 CVS_DATE= Tue Feb 1 02:19:07 EST 2000 SED?= /usr/bin/sed CVS_DATE_!= ${ECHO} -n "${CVS_DATE}" | ${SED} 's/[ \t:]/_/g' -CVS_SITES= anoncvs@anoncvs1.ca.openbsd.org:/cvs \ +CVS_SITES?= anoncvs@anoncvs1.ca.openbsd.org:/cvs \ :pserver:anoncvs@anoncvs1.usa.openbsd.org:/cvs CRYPTOLIBS= -L${OPENSSLLIB} -lcrypto .if defined(OPENSSL_RSAREF) @@ -75,6 +75,9 @@ do-fetch: if [ -n "${PORTS_CVS_RSH}" ]; then \ export CVS_RSH="${PORTS_CVS_RSH}"; \ fi; \ + if [ -n "${PORTS_CVS_SERVER}" ]; then \ + export CVS_SERVER="${PORTS_CVS_SERVER}"; \ + fi; \ ${MKDIR} ${DISTDIR}/${PKGNAME} && \ cd ${DISTDIR}/${PKGNAME}; \ for CVS_SITE in ${CVS_SITES}; do \ -- cgit v1.2.3