summaryrefslogtreecommitdiff
path: root/security/xdm-krb4
diff options
context:
space:
mode:
authorwennmach <wennmach>2000-06-08 16:39:46 +0000
committerwennmach <wennmach>2000-06-08 16:39:46 +0000
commit6b0a3946882fddd04bbda82c78b3e06f9b80cf4c (patch)
treed1600d87ae1fe9b8d366a1d1d872a35c0a1124ce /security/xdm-krb4
parent4c21b6656f1d7540801372b3a68fd86c6ef0221a (diff)
downloadpkgsrc-6b0a3946882fddd04bbda82c78b3e06f9b80cf4c.tar.gz
Initial import of xdm-krb4, an Kerberos IV and AFS aware xdm.
Thanks to Johan Danielsson who looked into my Kerberos changes of xdm. (Most of it is directly derived from his work).
Diffstat (limited to 'security/xdm-krb4')
-rw-r--r--security/xdm-krb4/Makefile39
-rw-r--r--security/xdm-krb4/files/md53
-rw-r--r--security/xdm-krb4/files/xdm-krb4.sh11
-rw-r--r--security/xdm-krb4/pkg/COMMENT1
-rw-r--r--security/xdm-krb4/pkg/DESCR7
-rw-r--r--security/xdm-krb4/pkg/MESSAGE6
-rw-r--r--security/xdm-krb4/pkg/PLIST3
7 files changed, 70 insertions, 0 deletions
diff --git a/security/xdm-krb4/Makefile b/security/xdm-krb4/Makefile
new file mode 100644
index 00000000000..97a59ac18e0
--- /dev/null
+++ b/security/xdm-krb4/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/06/08 16:39:46 wennmach Exp $
+#
+
+DISTNAME= xdm-krb4-3.3.6.0
+CATEGORIES= security x11
+MASTER_SITES= ftp://gutemine.geo.Uni-Koeln.DE/pub/xdm-krb4/
+
+MAINTAINER= wennmach@netbsd.org
+#HOMEPAGE=
+
+DEPENDS+= kth-krb4-1.*:../../security/kth-krb4
+
+USE_X11BASE= yes
+USE_IMAKE= yes
+
+MESSAGE_FILE= ${WRKDIR}/MESSAGE
+
+.include "../../mk/bsd.prefs.mk"
+
+post-patch:
+ @${SED} -e 's|@PREFIX@|${LOCALBASE}|g' \
+ < ${WRKSRC}/Imakefile.in \
+ > ${WRKSRC}/Imakefile
+
+pre-install:
+ @${SED} -e 's|@PREFIX@|${PREFIX}|g' \
+ <${PKGDIR}/MESSAGE \
+ >${MESSAGE_FILE}
+ @${SED} -e 's|@PREFIX@|${PREFIX}|g' \
+ <${FILESDIR}/xdm-krb4.sh \
+ >${WRKDIR}/xdm-krb4.sh
+
+post-install:
+ -${MKDIR} ${PREFIX}/etc/rc.d
+ ${INSTALL} -c -o root -g wheel -m 444 \
+ ${WRKDIR}/xdm-krb4.sh \
+ ${PREFIX}/etc/rc.d
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/xdm-krb4/files/md5 b/security/xdm-krb4/files/md5
new file mode 100644
index 00000000000..3c45e99fefd
--- /dev/null
+++ b/security/xdm-krb4/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/06/08 16:39:46 wennmach Exp $
+
+MD5 (xdm-krb4-3.3.6.0.tar.gz) = 77c87760bc00ff0df6e0a57384f1bf04
diff --git a/security/xdm-krb4/files/xdm-krb4.sh b/security/xdm-krb4/files/xdm-krb4.sh
new file mode 100644
index 00000000000..f50ed019927
--- /dev/null
+++ b/security/xdm-krb4/files/xdm-krb4.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+# $NetBSD: xdm-krb4.sh,v 1.1.1.1 2000/06/08 16:39:46 wennmach Exp $
+if [ -f @PREFIX@/bin/xdm-krb4 ]; then
+ echo -n " xdm-krb4"
+ @PREFIX@/bin/xdm-krb4
+elif [-f @PREFIX@/bin/xdm ]; then
+# Fallback to xdm when xdm-krb4 is unavailable
+ echo -n " xdm(fallback for xdm-krb4)"
+ @PREFIX@/bin/xdm
+else echo " WARNING: no xdm found."
+fi
diff --git a/security/xdm-krb4/pkg/COMMENT b/security/xdm-krb4/pkg/COMMENT
new file mode 100644
index 00000000000..999801b78e5
--- /dev/null
+++ b/security/xdm-krb4/pkg/COMMENT
@@ -0,0 +1 @@
+Kerberos IV and AFS aware xdm
diff --git a/security/xdm-krb4/pkg/DESCR b/security/xdm-krb4/pkg/DESCR
new file mode 100644
index 00000000000..2b46f8b76e4
--- /dev/null
+++ b/security/xdm-krb4/pkg/DESCR
@@ -0,0 +1,7 @@
+This is xdm-krb4-3.3.6.0, a Kerberos IV and AFS-aware version of xdm.
+It is a downsized version of the xdm that comes with XFree86 version 3.3.6,
+with Kerberos IV functionality added.
+
+xdm-krb4 tries to authenticate to a Kerberos IV server and get Kerberos
+tickets. If AFS/arla is installed and running, it additionaly gets an
+AFS token.
diff --git a/security/xdm-krb4/pkg/MESSAGE b/security/xdm-krb4/pkg/MESSAGE
new file mode 100644
index 00000000000..2526f764a48
--- /dev/null
+++ b/security/xdm-krb4/pkg/MESSAGE
@@ -0,0 +1,6 @@
+===============================================================================
+xdm-krb4 now has been installed on your system.
+
+A startup file (e.g. for inclusion into your /etc/rc.local) is provided
+in @PREFIX@/etc/rc.d/xdm-krb4.sh
+===============================================================================
diff --git a/security/xdm-krb4/pkg/PLIST b/security/xdm-krb4/pkg/PLIST
new file mode 100644
index 00000000000..f89a55d8255
--- /dev/null
+++ b/security/xdm-krb4/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/06/08 16:39:46 wennmach Exp $
+bin/xdm-krb4
+etc/rc.d/xdm-krb4.sh