summaryrefslogtreecommitdiff
path: root/security/skip/Makefile
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>1998-01-09 23:23:58 +0000
committerJulian Elischer <julian@FreeBSD.org>1998-01-09 23:23:58 +0000
commitde8a9e28514d8bc9a9fec2eea38c03176e927046 (patch)
treee5692950c8d78ca95a07e7aff61f86d562892e1c /security/skip/Makefile
parentUpgrade, 4.36 -> 4.41. (diff)
Add a package for the SKIP package from Sun Microsystems,
for making secure pipes across the internet (etc.)
Notes
Notes: svn path=/head/; revision=9305
Diffstat (limited to 'security/skip/Makefile')
-rw-r--r--security/skip/Makefile67
1 files changed, 67 insertions, 0 deletions
diff --git a/security/skip/Makefile b/security/skip/Makefile
new file mode 100644
index 000000000000..789c58205a29
--- /dev/null
+++ b/security/skip/Makefile
@@ -0,0 +1,67 @@
+# New ports collection makefile for: skip
+# Version required: 1.0
+# Date created: 26 November 1997
+# Whom: Archie L. Cobbs <archie@whistle.com>
+#
+# $Id: Makefile,v 1.25 1997/06/26 15:50:06 max Exp $
+
+DISTNAME= skip-1.0
+CATEGORIES= security
+
+DISTFILES= skipsrc-1.0.tar.Z
+EXTRACT_SUFX= tar.Z
+
+MAINTAINER= archie@whistle.com
+
+BUILD_DEPENDS= ${X11BASE}/lib/libxview.a:${PORTSDIR}/x11/xview-lib \
+ ${X11BASE}/lib/X11/config/XView.cf:${PORTSDIR}/x11/xview-config
+LIB_DEPENDS= xview\\.3\\.:${PORTSDIR}/x11/xview-lib
+
+# The SKIP code is restricted from export from the United States and Canada.
+# See the file doc/00README for legal details.
+RESTRICTED= Contains strong crypto; no export from U.S./Canada
+NO_PACKAGE= ${RESTRICTED}
+NO_CDROM= ${RESTRICTED}
+
+IS_INTERACTIVE= yes
+NO_WRKSUBDIR= defined
+PATCH_STRIP= -p1
+HAS_CONFIGURE= defined
+CONFIGURE_SCRIPT= Configure
+CONFIGURE_ARGS= freebsd
+USE_GMAKE= defined
+
+MTREE_FILE= ${FILESDIR}/skip.mtree
+MAN1= certreq.1 skiphost.1 skipstat.1 skiptool.1 skipd.1 \
+ skipdb.1 skipca.1 skiplocal.1 install_skip_keys.1 \
+ skipd_restart.1 skipif.1 skip_conf.1 skiplog.1 \
+ print_cert.1
+MAN4= skipd.conf.4 raw_keys.4
+
+# The user must 'fetch' the sources manually
+pre-fetch:
+ @if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \
+ echo ""; \
+ echo "***"; \
+ echo "*** NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE"; \
+ echo "***"; \
+ echo "*** You must get the source yourself from this web page:"; \
+ echo "*** http://skip.incog.com/src-form.html"; \
+ echo "*** and put it into ${DISTDIR} with the name ${DISTFILES}."; \
+ echo "***"; \
+ echo ""; \
+ false; \
+ fi
+
+# SKIP has a lot of hard coded paths in it. Our patches replace
+# them with @@PREFIX@@, which we then replace with ${PREFIX}.
+post-patch:
+ @find ${WRKSRC} -name '*.orig' -print | xargs rm
+ @cd ${WRKSRC}; \
+ FILES=`find . -type f -print | xargs grep -l @@PREFIX@@`; \
+ for FILE in $$FILES; do \
+ sed 's!@@PREFIX@@!${PREFIX}!g' < $$FILE > $$FILE.new ; \
+ mv $$FILE.new $$FILE; \
+ done
+
+.include <bsd.port.mk>