aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1995-10-12 15:29:19 +0800
committerasami <asami@FreeBSD.org>1995-10-12 15:29:19 +0800
commit7711334d1b6206e4846a1f44596cd4b00acd22b1 (patch)
tree676e121f652538dbb39637fd629d53df8111e326 /security
parentab8c5e5a98f9b3af704af3a9b076316aac4ffa5c (diff)
downloadfreebsd-ports-gnome-7711334d1b6206e4846a1f44596cd4b00acd22b1.tar.gz
freebsd-ports-gnome-7711334d1b6206e4846a1f44596cd4b00acd22b1.tar.zst
freebsd-ports-gnome-7711334d1b6206e4846a1f44596cd4b00acd22b1.zip
libidentd - a small library to interface the ident protocol server (rfc1413)
Submitted by: torstenb
Diffstat (limited to 'security')
-rw-r--r--security/libident/Makefile20
-rw-r--r--security/libident/distinfo1
-rw-r--r--security/libident/files/patch-aa60
-rw-r--r--security/libident/pkg-comment1
-rw-r--r--security/libident/pkg-descr21
-rw-r--r--security/libident/pkg-plist3
6 files changed, 106 insertions, 0 deletions
diff --git a/security/libident/Makefile b/security/libident/Makefile
new file mode 100644
index 000000000000..38ce63eb3c4a
--- /dev/null
+++ b/security/libident/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: libident
+# Version required: 0.18
+# Date created: 9 October 1995
+# Whom: torstenb@FreeBSD.ORG
+#
+# $Id$
+#
+
+DISTNAME= libident-0.18
+CATEGORIES= development networking security
+MASTER_SITES= ftp://ftp.lysator.liu.se/pub/ident/libs/
+
+MAINTAINER= torstenb@FreeBSD.ORG
+
+ALL_TARGET= freebsd
+
+post-install:
+ gzip -9nf ${PREFIX}/man/man3/ident.3
+
+.include <bsd.port.mk>
diff --git a/security/libident/distinfo b/security/libident/distinfo
new file mode 100644
index 000000000000..f6406df4ca48
--- /dev/null
+++ b/security/libident/distinfo
@@ -0,0 +1 @@
+MD5 (libident-0.18.tar.gz) = 95b1095c129d66a81bda390f5792521e
diff --git a/security/libident/files/patch-aa b/security/libident/files/patch-aa
new file mode 100644
index 000000000000..23e0a0489092
--- /dev/null
+++ b/security/libident/files/patch-aa
@@ -0,0 +1,60 @@
+*** Makefile.orig Mon Oct 9 12:34:13 1995
+--- Makefile Mon Oct 9 12:49:45 1995
+***************
+*** 7,13 ****
+ RM=rm -f
+ RANLIB=ranlib
+
+! INSTROOT=/usr/local
+
+ LIBDIR=$(INSTROOT)/lib
+ INCDIR=$(INSTROOT)/include
+--- 7,13 ----
+ RM=rm -f
+ RANLIB=ranlib
+
+! INSTROOT=${PREFIX}
+
+ LIBDIR=$(INSTROOT)/lib
+ INCDIR=$(INSTROOT)/include
+***************
+*** 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
+
+***************
+*** 31,36 ****
+--- 31,37 ----
+ @echo ""
+ @echo aix
+ @echo bsd
++ @echo freebsd (FreeBSD 2.x)
+ @echo dynix
+ @echo hpux
+ @echo irix
+***************
+*** 119,124 ****
+--- 120,130 ----
+ #
+ bsd:
+ @$(MAKE) all CC="$(CC)" CFLAGS="-O -DSIGRETURNTYPE=int"
++
++ #
++ # FreeBSD 2.x
++ 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 000000000000..669caf5538c0
--- /dev/null
+++ b/security/libident/pkg-comment
@@ -0,0 +1 @@
+libidentd - 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 000000000000..c4876fa449a0
--- /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 000000000000..51088fade44e
--- /dev/null
+++ b/security/libident/pkg-plist
@@ -0,0 +1,3 @@
+include/ident.h
+lib/libident.a
+man/man3/ident.3.gz