diff options
author | brian <brian@FreeBSD.org> | 2000-03-02 14:43:18 +0800 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2000-03-02 14:43:18 +0800 |
commit | a055cac9876caedad86c10b157475dfa1f62c40d (patch) | |
tree | 8fdc9e954668d5ee874d09d4c96722ac51b5b59b /security | |
parent | b5f85aa8a6d8a7a5557fd576128dc7cc00815b1c (diff) | |
download | freebsd-ports-gnome-a055cac9876caedad86c10b157475dfa1f62c40d.tar.gz freebsd-ports-gnome-a055cac9876caedad86c10b157475dfa1f62c40d.tar.zst freebsd-ports-gnome-a055cac9876caedad86c10b157475dfa1f62c40d.zip |
Allow manual PORTS_CVS_SERVER and CVS_SITES settings.
Approved by: maintainer
Diffstat (limited to 'security')
-rw-r--r-- | security/openssh-askpass/Makefile | 5 | ||||
-rw-r--r-- | security/openssh/Makefile | 5 |
2 files changed, 8 insertions, 2 deletions
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 \ |