summaryrefslogtreecommitdiff
path: root/security/krb4/Makefile
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>2003-03-05 02:04:54 +0000
committerJacques Vidrine <nectar@FreeBSD.org>2003-03-05 02:04:54 +0000
commitf92dde70a228697a76f939fed3fecb4a8e2920ac (patch)
tree5c4f9ea3371a9ce21642124ad173c8b323d67383 /security/krb4/Makefile
parent- Updated the net/nrpe port to version 1.8 which contains minor bug fixes. (diff)
Add KTH Kerberos 4.
Notes
Notes: svn path=/head/; revision=76892
Diffstat (limited to 'security/krb4/Makefile')
-rw-r--r--security/krb4/Makefile48
1 files changed, 48 insertions, 0 deletions
diff --git a/security/krb4/Makefile b/security/krb4/Makefile
new file mode 100644
index 000000000000..78616edb0c97
--- /dev/null
+++ b/security/krb4/Makefile
@@ -0,0 +1,48 @@
+# Ports collection Makefile for: krb4
+# Date created: 03/04/2003
+# Whom: nectar@FreeBSD.ORG
+#
+# $FreeBSD$
+#
+
+PORTNAME= krb4
+PORTVERSION= 1.2.1
+PORTREVISION= 0
+CATEGORIES= security ipv6
+MASTER_SITES= ftp://ftp.pdc.kth.se/pub/krb/src/
+
+MAINTAINER= nectar@FreeBSD.ORG
+COMMENT= KTH Kerberos 4
+
+# Don't remove this. This port installs several applications
+# which have the same name as some in the base system (e.g.
+# ftp, telnet, su).
+PREFIX?= ${LOCALBASE}/krb4
+
+PKGMESSAGE= ${WRKDIR}/pkg-message
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= \
+ --enable-shared \
+ --disable-otp \
+ --disable-afs-support \
+ --without-x
+CONFIGURE_ENV+= \
+ "CPPFLAGS=-DOPENSSL_DES_LIBDES_COMPATIBILITY" \
+ "LDFLAGS=-Wl,-rpath,${PREFIX}/lib"
+
+post-install:
+ install-info ${PREFIX}/info/kth-krb.info ${PREFIX}/info/dir
+ ${SED} -e "s~%%PREFIX%%~${PREFIX}~g" \
+ < ${.CURDIR}/pkg-message > ${PKGMESSAGE}
+ @${ECHO_CMD} "*** ATTENTION ***"
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO_CMD} "or simply \`make setuids'."
+
+setuids:
+.for file in rsh rcp rlogin su
+ ${CHOWN} 0:0 ${PREFIX}/bin/${file}
+ ${CHMOD} u+s ${PREFIX}/bin/${file}
+.endfor
+
+.include "Makefile.man"
+.include <bsd.port.mk>