summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-03-12 15:48:45 +0000
committertron <tron@pkgsrc.org>1999-03-12 15:48:45 +0000
commiteb477df53f37eaf87ddba7a6e240fd9dcac56700 (patch)
treea2575681de4859d207217b6ac2a423a0ce336c64
parentf5dfedb9f8fce5524f03e598798f8f8db5059970 (diff)
downloadpkgsrc-eb477df53f37eaf87ddba7a6e240fd9dcac56700.tar.gz
Initial import of FreeBSD's "libident" port:
A small library to interface the ident protocol server (rfc1413).
-rw-r--r--security/libident/Makefile18
-rw-r--r--security/libident/files/md51
-rw-r--r--security/libident/patches/patch-aa57
-rw-r--r--security/libident/pkg/COMMENT1
-rw-r--r--security/libident/pkg/DESCR21
-rw-r--r--security/libident/pkg/PLIST2
6 files changed, 100 insertions, 0 deletions
diff --git a/security/libident/Makefile b/security/libident/Makefile
new file mode 100644
index 00000000000..6c840d43eff
--- /dev/null
+++ b/security/libident/Makefile
@@ -0,0 +1,18 @@
+# New ports collection makefile for: libident
+# Version required: 0.21
+# Date created: 9 October 1995
+# Whom: torstenb@FreeBSD.ORG
+#
+# FreeBSD Id: Makefile,v 1.6 1998/01/25 20:42:37 torstenb Exp
+#
+
+DISTNAME= libident-0.21
+CATEGORIES= devel net security
+MASTER_SITES= ftp://ftp.lysator.liu.se/pub/ident/libs/
+
+MAINTAINER= torstenb@FreeBSD.ORG
+
+ALL_TARGET= freebsd
+MAN3= ident.3
+
+.include <bsd.port.mk>
diff --git a/security/libident/files/md5 b/security/libident/files/md5
new file mode 100644
index 00000000000..fc39171faa8
--- /dev/null
+++ b/security/libident/files/md5
@@ -0,0 +1 @@
+MD5 (libident-0.21.tar.gz) = 34d95b7f60bf02b9c36be6397479e58c
diff --git a/security/libident/patches/patch-aa b/security/libident/patches/patch-aa
new file mode 100644
index 00000000000..57b4be72ca5
--- /dev/null
+++ b/security/libident/patches/patch-aa
@@ -0,0 +1,57 @@
+*** Makefile.o Sat Jan 24 17:11:37 1998
+--- Makefile Sat Jan 24 17:12:49 1998
+***************
+*** 8,14 ****
+ RANLIB=ranlib
+ AR=ar cq
+
+! INSTROOT=/usr/local
+ LIBDIR=$(INSTROOT)/lib
+ INCDIR=$(INSTROOT)/include
+ MANDIR=$(INSTROOT)/man/man3
+--- 8,14 ----
+ RANLIB=ranlib
+ AR=ar cq
+
+! INSTROOT=${PREFIX}
+ LIBDIR=$(INSTROOT)/lib
+ INCDIR=$(INSTROOT)/include
+ MANDIR=$(INSTROOT)/man/man3
+***************
+*** 19,25 ****
+ # Add -DHAVE_ANSIHEADERS if your system have the ANSI C header files
+ # needed for our purposes (stdlib, string, unistd).
+ #
+! CFLAGS = -O
+
+ LDLIBS =
+ LIBIDENT = libident.a
+--- 19,25 ----
+ # Add -DHAVE_ANSIHEADERS if your system have the ANSI C header files
+ # needed for our purposes (stdlib, string, unistd).
+ #
+! #CFLAGS = -O
+
+ LDLIBS =
+ LIBIDENT = libident.a
+***************
+*** 33,38 ****
+--- 33,39 ----
+ @echo aix
+ @echo bsd
+ @echo bsd2.11
++ @echo freebsd
+ @echo dynix
+ @echo hpux
+ @echo irix
+***************
+*** 126,131 ****
+--- 127,134 ----
+ bsd2.11:
+ @$(MAKE) all CC="$(CC)" CFLAGS="-O -DSIGRETURNTYPE=int -DHAVE_ANSIHEADERS"
+
++ freebsd:
++ @$(MAKE) all CC="$(CC)" CFLAGS="${CFLAGS} -Wall -DHAVE_ANSIHEADERS"
+
+ #
+ #
diff --git a/security/libident/pkg/COMMENT b/security/libident/pkg/COMMENT
new file mode 100644
index 00000000000..629c14696f2
--- /dev/null
+++ b/security/libident/pkg/COMMENT
@@ -0,0 +1 @@
+A small library to interface the ident protocol server (rfc1413).
diff --git a/security/libident/pkg/DESCR b/security/libident/pkg/DESCR
new file mode 100644
index 00000000000..c4876fa449a
--- /dev/null
+++ b/security/libident/pkg/DESCR
@@ -0,0 +1,21 @@
+COPYRIGHT ISSUES:
+
+ This version of 'libident' is hereby released into the
+ Public Domain. It may be distributed for a fee or without
+ a fee. We only ask you not to pretend you wrote it.
+
+If you make any changes, please send sources or a diff of it to
+us (pen@lysator.liu.se or pell@lysator.liu.se), so we can keep
+_one_ unified version of libident available...
+
+COMMENTS:
+
+This is the second stab at a small library to interface to the Ident
+protocol server. Maybe this will work correctly on some machines.. :-)
+
+The ident-tester.c file is a small daemon (to be started from Inetd)
+that does an ident lookup on you if you telnet into it. Can be used
+to verify that your Ident server is working correctly.
+
+I'm currently running this "ident-tester" on port 114 at lysator.liu.se
+(130.236.254.1) if you wish to test your server.
diff --git a/security/libident/pkg/PLIST b/security/libident/pkg/PLIST
new file mode 100644
index 00000000000..bccb5ff3c79
--- /dev/null
+++ b/security/libident/pkg/PLIST
@@ -0,0 +1,2 @@
+include/ident.h
+lib/libident.a