aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>2002-06-21 00:03:52 +0800
committerfenner <fenner@FreeBSD.org>2002-06-21 00:03:52 +0800
commit0914890c8b8561897b02c4272189b4292eb4a663 (patch)
tree9b1928a52350ee590dedb77c800344feba2149f3 /misc
parent4a18584cbe94864e428310e4879ab341717b9736 (diff)
downloadfreebsd-ports-gnome-0914890c8b8561897b02c4272189b4292eb4a663.tar.gz
freebsd-ports-gnome-0914890c8b8561897b02c4272189b4292eb4a663.tar.zst
freebsd-ports-gnome-0914890c8b8561897b02c4272189b4292eb4a663.zip
Use a local cvspass file which is already logged in to the CVS server;
this eliminates the interactive step of logging in and possible permission problems with ~/.cvspass .
Diffstat (limited to 'misc')
-rw-r--r--misc/libh/Makefile16
-rw-r--r--misc/libh/files/cvspass1
2 files changed, 2 insertions, 15 deletions
diff --git a/misc/libh/Makefile b/misc/libh/Makefile
index c046527030ed..c9ec09c529fa 100644
--- a/misc/libh/Makefile
+++ b/misc/libh/Makefile
@@ -59,22 +59,11 @@ do-fetch:
if [ -n "${PORTS_CVS_SERVER}" ]; then \
export CVS_SERVER="${PORTS_CVS_SERVER}"; \
fi; \
+ export CVS_PASSFILE="${FILESDIR}/cvspass"; \
${MKDIR} ${DISTDIR}/${PKGNAME} && \
cd ${DISTDIR}/${PKGNAME}; \
for CVS_SITE in ${CVS_SITES}; do \
${ECHO_MSG} ">> Attempting to CVS cvs checkout from $${CVS_SITE}."; \
- case "$${CVS_SITE}" in \
- :pserver:*) \
- CVS_LOGIN=yes; \
- ;; \
- *) \
- CVS_LOGIN=no; \
- ;; \
- esac; \
- if [ "X$${CVS_LOGIN}" = "Xyes" ]; then \
- ${ECHO_MSG} ">> *** Please hit enter here for the password."; \
- ${CVS_CMD} -d $${CVS_SITE} login < /dev/null; \
- fi ; \
if ${CVS_CMD} -d $${CVS_SITE} co -r '${CVS_TAG}' ${PORTNAME}; then \
if [ "X$${CVS_LOGIN}" = "Xyes" ]; then \
${CVS_CMD} -d $${CVS_SITE} logout < /dev/null; \
@@ -83,9 +72,6 @@ do-fetch:
${ECHO_MSG} ">> CVS checkout successful." ;\
exit; \
fi ;\
- if [ "X$${CVS_LOGIN}" = "Xyes" ]; then \
- ${CVS_CMD} -d $${CVS_SITE} logout < /dev/null; \
- fi; \
done; \
${ECHO_MSG} ">> Couldn't CVS checkout ${PORTNAME}." ;\
exit 1; \
diff --git a/misc/libh/files/cvspass b/misc/libh/files/cvspass
new file mode 100644
index 000000000000..46f3fabef238
--- /dev/null
+++ b/misc/libh/files/cvspass
@@ -0,0 +1 @@
+/1 :pserver:anonymous@usw4.freebsd.org:2401/home/libh/cvs A