libident port

This commit is contained in:
angelos 1998-04-29 05:22:54 +00:00
parent 0f9db7c45b
commit d57468d3e7
6 changed files with 104 additions and 0 deletions

View File

@ -0,0 +1,18 @@
# OpenBSD makefile for: libident
# Version required: 0.20
# Date created: 29 April 1998
# Whom: Angelos D. Keromytis
#
# $OpenBSD: Makefile,v 1.1.1.1 1998/04/29 05:22:54 angelos Exp $
#
DISTNAME= libident-0.20
CATEGORIES= devel net security
MASTER_SITES= ftp://ftp.lysator.liu.se/pub/ident/libs/
MAINTAINER= angelos@openbsd.org
ALL_TARGET= openbsd
MAN3= ident.3
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (libident-0.20.tar.gz) = 2f603f35ba0f9bd3f062be88311c1681

View File

@ -0,0 +1,60 @@
*** Makefile.orig Sun Sep 15 01:13:03 1996
--- Makefile Sun Sep 15 01:14:06 1996
***************
*** 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
***************
*** 32,37 ****
--- 32,38 ----
@echo ""
@echo aix
@echo bsd
+ @echo openbsd
@echo dynix
@echo hpux
@echo irix
***************
*** 121,126 ****
--- 122,132 ----
#
bsd:
@$(MAKE) all CC="$(CC)" CFLAGS="-O -DSIGRETURNTYPE=int"
+
+ #
+ # FreeBSD 2.x
+ openbsd:
+ @$(MAKE) all CC="$(CC)" CFLAGS="${CFLAGS} -Wall -DHAVE_ANSIHEADERS"
#
#

View File

@ -0,0 +1 @@
A small library to interface the ident protocol server (rfc1413).

View File

@ -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.

View File

@ -0,0 +1,3 @@
include/ident.h
lib/libident.a
man/man3/ident.3