1998-01-09 18:23:58 -05:00
|
|
|
# New ports collection makefile for: skip
|
|
|
|
# Date created: 26 November 1997
|
|
|
|
# Whom: Archie L. Cobbs <archie@whistle.com>
|
|
|
|
#
|
1999-08-30 21:53:22 -04:00
|
|
|
# $FreeBSD$
|
2000-04-09 14:34:06 -04:00
|
|
|
#
|
1998-01-09 18:23:58 -05:00
|
|
|
|
2000-04-09 14:34:06 -04:00
|
|
|
PORTNAME= skip
|
|
|
|
PORTVERSION= 1.0
|
2004-02-04 00:10:27 -05:00
|
|
|
PORTREVISION= 3
|
1998-01-09 18:23:58 -05:00
|
|
|
CATEGORIES= security
|
1998-11-16 22:27:52 -05:00
|
|
|
# Note: the original source comes from Sun, via this web page:
|
|
|
|
# http://skip.incog.com/src-form.html
|
|
|
|
# The site below is outside of the U.S.
|
2000-07-17 20:35:34 -04:00
|
|
|
MASTER_SITES= ftp://ftp.zedz.net/pub/crypto/programs/skip/ \
|
1999-02-03 01:57:16 -05:00
|
|
|
ftp://ftp.internat.freebsd.org/pub/FreeBSD/distfiles/
|
2000-04-09 14:34:06 -04:00
|
|
|
DISTNAME= skipsrc-1.0
|
2000-02-03 18:13:16 -05:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
1998-01-09 18:23:58 -05:00
|
|
|
|
2000-01-25 20:55:28 -05:00
|
|
|
MAINTAINER= archie@freebsd.org
|
2003-03-07 01:14:21 -05:00
|
|
|
COMMENT= Stateless IP layer security and encryption from Sun Microsystems
|
1998-01-09 18:23:58 -05:00
|
|
|
|
1999-05-04 19:18:39 -04:00
|
|
|
BUILD_DEPENDS= ${X11BASE}/lib/libxview.a:${PORTSDIR}/x11-toolkits/xview \
|
|
|
|
${X11BASE}/lib/X11/config/XView.cf:${PORTSDIR}/x11-toolkits/xview
|
|
|
|
LIB_DEPENDS= xview.3:${PORTSDIR}/x11-toolkits/xview
|
1998-01-09 18:23:58 -05:00
|
|
|
|
|
|
|
# The SKIP code is restricted from export from the United States and Canada.
|
|
|
|
# See the file doc/00README for legal details.
|
2001-02-17 19:32:22 -05:00
|
|
|
#NO_PACKAGE= ${RESTRICTED}
|
|
|
|
#NO_CDROM= ${RESTRICTED}
|
1998-01-09 18:23:58 -05:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
# SKIP has a lot of hard coded paths in it. Our patches replace
|
|
|
|
# them with @@PREFIX@@, which we then replace with ${PREFIX}.
|
2000-01-25 20:55:28 -05:00
|
|
|
# Also, we remove all the "#pragma ident" lines that generate
|
|
|
|
# a bazillion warnings from the compiler.
|
1998-01-09 18:23:58 -05:00
|
|
|
post-patch:
|
2003-11-13 07:54:57 -05:00
|
|
|
@${FIND} ${WRKSRC} -name '*.orig' -print | ${XARGS} ${RM}
|
1998-01-09 18:23:58 -05:00
|
|
|
@cd ${WRKSRC}; \
|
2003-11-13 07:54:57 -05:00
|
|
|
FILES=`${FIND} . -type f -print | ${XARGS} ${GREP} -l @@PREFIX@@`; \
|
1998-01-09 18:23:58 -05:00
|
|
|
for FILE in $$FILES; do \
|
1999-08-27 22:17:34 -04:00
|
|
|
${SED} 's!@@PREFIX@@!${PREFIX}!g' < $$FILE > $$FILE.new ; \
|
1999-08-27 22:42:41 -04:00
|
|
|
${MV} $$FILE.new $$FILE; \
|
2000-01-25 20:55:28 -05:00
|
|
|
done; \
|
2003-11-13 07:54:57 -05:00
|
|
|
FILES=`${FIND} . -type f -name '*.[cCh]' -print \
|
|
|
|
| ${XARGS} ${GREP} -l '^#pragma ident'`; \
|
2000-01-25 20:55:28 -05:00
|
|
|
for FILE in $$FILES; do \
|
|
|
|
${SED} '/^#pragma ident/d' < $$FILE > $$FILE.new ; \
|
|
|
|
${MV} $$FILE.new $$FILE; \
|
1998-01-09 18:23:58 -05:00
|
|
|
done
|
|
|
|
|
2000-02-01 13:39:09 -05:00
|
|
|
# This is for port maintenance, uncomment to regenerate patch set
|
|
|
|
#diffs:
|
|
|
|
# rm -rf patches/patch-*
|
|
|
|
# diff -ur --unidirectional-new-file skipsrc-1.0.orig work.new \
|
|
|
|
# | split -p ^diff - patches/patch-
|
|
|
|
|
2000-01-25 20:55:28 -05:00
|
|
|
.include <bsd.port.mk>
|