aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Blum <torstenb@FreeBSD.org>1994-10-23 01:27:56 +0000
committerTorsten Blum <torstenb@FreeBSD.org>1994-10-23 01:27:56 +0000
commitf1bad81000b7d2a1d8725ce08e850cd7eb587303 (patch)
treedbdf1a35bde9223af5b3af91a5a28115aa9e0b57
parent1f2c6c9b6bfc95431c11ba3db122ed3582c1a453 (diff)
downloadports-f1bad81000b7d2a1d8725ce08e850cd7eb587303.tar.gz
ports-f1bad81000b7d2a1d8725ce08e850cd7eb587303.zip
Notes
-rw-r--r--security/pidentd/Makefile16
-rw-r--r--security/pidentd/files/patch-ab130
-rw-r--r--security/pidentd/pkg-comment1
-rw-r--r--security/pidentd/pkg-descr10
-rw-r--r--security/pidentd/pkg-plist3
-rw-r--r--security/pidentd/scripts/configure9
6 files changed, 169 insertions, 0 deletions
diff --git a/security/pidentd/Makefile b/security/pidentd/Makefile
new file mode 100644
index 000000000000..cdfc4eaf41dd
--- /dev/null
+++ b/security/pidentd/Makefile
@@ -0,0 +1,16 @@
+# New ports collection makefile for: pidentd
+# Version required: 2.4 alpha 4
+# Date created: 19 Oct 1994
+# Whom: torstenb
+#
+# $Id:$
+#
+
+DISTNAME= pidentd-2.4alpha.4
+MASTER_SITES= ftp://ftp.lysator.liu.se/pub/ident/servers/ ftp://ftp.fu-berlin.de/unix/security/ident/servers/
+
+pre-install:
+ @mkdir -p ${PREFIX}/sbin
+ @mkdir -p ${PREFIX}/man/man8
+
+.include <bsd.port.mk>
diff --git a/security/pidentd/files/patch-ab b/security/pidentd/files/patch-ab
new file mode 100644
index 000000000000..46a9f65b02c1
--- /dev/null
+++ b/security/pidentd/files/patch-ab
@@ -0,0 +1,130 @@
+*** Makefile.orig Thu Oct 20 17:11:19 1994
+--- Makefile Thu Oct 20 17:09:37 1994
+***************
+*** 14,20 ****
+ # on the command line (like "make DESTROOT=/usr/wheel sunos4")
+ #
+ MAKE=make
+! DESTROOT=/usr/local
+ DESTDIR=$(DESTROOT)/sbin
+ MANROOT=$(DESTROOT)/man
+ MANDIR=$(MANROOT)/man8
+--- 14,20 ----
+ # on the command line (like "make DESTROOT=/usr/wheel sunos4")
+ #
+ MAKE=make
+! DESTROOT=${PREFIX}
+ DESTDIR=$(DESTROOT)/sbin
+ MANROOT=$(DESTROOT)/man
+ MANDIR=$(MANROOT)/man8
+***************
+*** 43,86 ****
+
+ CFLAGS=-O
+
+! all:
+! @echo "Please specify the type of system you wish to build for."
+! @echo "Valid systems are:"
+! @echo ""
+! @echo " sunos3 SunOS 3.x (tested with 3.5)"
+! @echo " sunos4 Sun SunOS 4"
+! @echo " sunos5 Sun SunOS 5 (Solaris 2)"
+! @echo " bsdi BSD/386 (The commercial one)"
+! @echo " 386bsd 386BSD (The free one)"
+! @echo " netbsd NetBSD"
+! @echo " 4.3bsd 4.3BSD Reno"
+! @echo " 4.3bsd-tahoe 4.3BSD Tahoe"
+! @echo " dynix3 Sequent Dynix 3"
+! @echo " riscos4 MIPS RISC/OS 4"
+! @echo " irix4 Silicon Graphics IRIX 4"
+! @echo " irix5 Silicon Graphics IRIX 5"
+! @echo " hpux7 Hewlett-Packard HP-UX 7"
+! @echo " hpux8 Hewlett-Packard HP-UX 8"
+! @echo " hpux9 Hewlett-Packard HP-UX 9"
+! @echo " sco SCO unix System V release 3.2 (v4.0 & 4.1)"
+! @echo " svr4 Generic System V Release 4 UNIX"
+! @echo " attsvr4 AT&T's own System V Release 4"
+! @echo " aux2 Apple A/UX 2"
+! @echo " aux3 Apple A/UX 3"
+! @echo " ultrix3 Digital Ultrix 3"
+! @echo " ultrix4 Digital Ultrix 4"
+! @echo " alpha Digital Alpha AXP OSF"
+! @echo " alpha3 Digital Alpha AXP OSF; 3.0 or later"
+! @echo " linux Linux 0.99.13q or later"
+! @echo " unicos6 Cray UNICOS 6"
+! @echo " convex Convex ConvexOS"
+! @echo " next NeXT/Mach (NeXTSTEP 2 or 3.0)"
+! @echo " nextmab NeXT/Mach (NeXTSTEP 3.1 MAB)"
+! @echo " pyramid4 Pyramid's dualPort OSx 4"
+! @echo " other Other BSD-based Unixes (who knows, it may even work :-)"
+! @echo ""
+! @echo "For example: make sunos4"
+! @echo ""
+
+ #
+ # Use this if Linux 0.99.13q or later
+--- 43,88 ----
+
+ CFLAGS=-O
+
+! all: freebsd
+!
+! # @echo "Please specify the type of system you wish to build for."
+! # @echo "Valid systems are:"
+! # @echo ""
+! # @echo " sunos3 SunOS 3.x (tested with 3.5)"
+! # @echo " sunos4 Sun SunOS 4"
+! # @echo " sunos5 Sun SunOS 5 (Solaris 2)"
+! # @echo " bsdi BSD/386 (The commercial one)"
+! # @echo " 386bsd 386BSD (The free one)"
+! # @echo " netbsd NetBSD"
+! # @echo " freebsd FreeBSD 2.x"
+! # @echo " 4.3bsd 4.3BSD Reno"
+! # @echo " 4.3bsd-tahoe 4.3BSD Tahoe"
+! # @echo " dynix3 Sequent Dynix 3"
+! # @echo " riscos4 MIPS RISC/OS 4"
+! # @echo " irix4 Silicon Graphics IRIX 4"
+! # @echo " irix5 Silicon Graphics IRIX 5"
+! # @echo " hpux7 Hewlett-Packard HP-UX 7"
+! # @echo " hpux8 Hewlett-Packard HP-UX 8"
+! # @echo " hpux9 Hewlett-Packard HP-UX 9"
+! # @echo " sco SCO unix System V release 3.2 (v4.0 & 4.1)"
+! # @echo " svr4 Generic System V Release 4 UNIX"
+! # @echo " attsvr4 AT&T's own System V Release 4"
+! # @echo " aux2 Apple A/UX 2"
+! # @echo " aux3 Apple A/UX 3"
+! # @echo " ultrix3 Digital Ultrix 3"
+! # @echo " ultrix4 Digital Ultrix 4"
+! # @echo " alpha Digital Alpha AXP OSF"
+! # @echo " alpha3 Digital Alpha AXP OSF; 3.0 or later"
+! # @echo " linux Linux 0.99.13q or later"
+! # @echo " unicos6 Cray UNICOS 6"
+! # @echo " convex Convex ConvexOS"
+! # @echo " next NeXT/Mach (NeXTSTEP 2 or 3.0)"
+! # @echo " nextmab NeXT/Mach (NeXTSTEP 3.1 MAB)"
+! # @echo " pyramid4 Pyramid's dualPort OSx 4"
+! # @echo " other Other BSD-based Unixes (who knows, it may even work :-)"
+! # @echo ""
+! # @echo "For example: make sunos4"
+! # @echo ""
+
+ #
+ # Use this if Linux 0.99.13q or later
+***************
+*** 120,125 ****
+--- 122,136 ----
+ @(cd src ; $(MAKE) CC="$(CC)" LDFLAGS="$(LDFLAGS)" \
+ LIBS="-lutil $(GLIBS)" CFLAGS="$(CFLAGS) -DBSD386 \
+ $(GDEFS) -DHAVE_KVM" KSRC=386bsd in.identd)
++
++ #
++ # Use this if FreeBSD 2.x
++ #
++ freebsd:
++ @echo "Building for FreeBSD 2.x ..."
++ @(cd src ; $(MAKE) CC="$(CC)" LDFLAGS="$(LDFLAGS)" \
++ LIBS="-lkvm $(GLIBS)" CFLAGS="$(CFLAGS) -DFREEBSD \
++ $(GDEFS) -DHAVE_KVM" KSRC=freebsd in.identd)
+
+ #
+ # Use this if BSDI's BSD/386 (the commercial BSD)
diff --git a/security/pidentd/pkg-comment b/security/pidentd/pkg-comment
new file mode 100644
index 000000000000..c3a35e5049ea
--- /dev/null
+++ b/security/pidentd/pkg-comment
@@ -0,0 +1 @@
+pidentd - a RFC1413 identification server, version 2.4 alpha 2
diff --git a/security/pidentd/pkg-descr b/security/pidentd/pkg-descr
new file mode 100644
index 000000000000..edfa47f785d0
--- /dev/null
+++ b/security/pidentd/pkg-descr
@@ -0,0 +1,10 @@
+This is a program that implements the RFC1413 identification server. It
+was very much inspired by Dan Bernstein's original 'authd' (but unlike
+that program doesn't use 'netstat' to get some of the information) It
+uses the kernel information directly. (And is due to that fact a lot
+faster). Dan has now written another version of the 'authd' daemon that
+uses his 'kstuff' to read the kernel information. Unlike that daemon,
+this will use only normally available kernel access functions (and is due
+to that more limited in the different machines it support). Please note
+that this daemon used to be called pauthd but has changed name to better
+reflect what it does (and to conform to the new RFC).
diff --git a/security/pidentd/pkg-plist b/security/pidentd/pkg-plist
new file mode 100644
index 000000000000..386ee7196da5
--- /dev/null
+++ b/security/pidentd/pkg-plist
@@ -0,0 +1,3 @@
+@cwd /usr/local
+sbin/in.identd
+man/man8/identd.8
diff --git a/security/pidentd/scripts/configure b/security/pidentd/scripts/configure
new file mode 100644
index 000000000000..b34e6e584d7d
--- /dev/null
+++ b/security/pidentd/scripts/configure
@@ -0,0 +1,9 @@
+#!/bin/sh
+#
+# $Id$
+#
+
+mv ${WRKSRC}/src/paths.h ${WRKSRC}/src/paths.h.bak
+sed <${WRKSRC}/src/paths.h.bak >${WRKSRC}/src/paths.h s+!!PREFIX!!+$PREFIX+g
+
+cp ${FILESDIR}/freebsd.c ${WRKSRC}/src/kernel/freebsd.c