head 1.8; access; symbols pkgsrc-2013Q2:1.8.0.24 pkgsrc-2013Q2-base:1.8 pkgsrc-2012Q4:1.8.0.22 pkgsrc-2012Q4-base:1.8 pkgsrc-2011Q4:1.8.0.20 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q2:1.8.0.18 pkgsrc-2011Q2-base:1.8 pkgsrc-2009Q4:1.8.0.16 pkgsrc-2009Q4-base:1.8 pkgsrc-2008Q4:1.8.0.14 pkgsrc-2008Q4-base:1.8 pkgsrc-2008Q3:1.8.0.12 pkgsrc-2008Q3-base:1.8 cube-native-xorg:1.8.0.10 cube-native-xorg-base:1.8 pkgsrc-2008Q2:1.8.0.8 pkgsrc-2008Q2-base:1.8 pkgsrc-2008Q1:1.8.0.6 pkgsrc-2008Q1-base:1.8 pkgsrc-2007Q4:1.8.0.4 pkgsrc-2007Q4-base:1.8 pkgsrc-2007Q3:1.8.0.2 pkgsrc-2007Q3-base:1.8 pkgsrc-2007Q2:1.7.0.2 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.6.0.30 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.28 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.26 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.24 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.22 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.6.0.20 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.6.0.18 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.16 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.6.0.14 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.6.0.12 pkgsrc-2004Q4-base:1.6 pkgsrc-2004Q3:1.6.0.10 pkgsrc-2004Q3-base:1.6 pkgsrc-2004Q2:1.6.0.8 pkgsrc-2004Q2-base:1.6 pkgsrc-2004Q1:1.6.0.6 pkgsrc-2004Q1-base:1.6 pkgsrc-2003Q4:1.6.0.4 pkgsrc-2003Q4-base:1.6 netbsd-1-6-1:1.6.0.2 netbsd-1-6-1-base:1.6 netbsd-1-6:1.5.0.8 netbsd-1-6-RELEASE-base:1.5 pkgviews:1.5.0.4 pkgviews-base:1.5 buildlink2:1.5.0.2 buildlink2-base:1.5 netbsd-1-5-PATCH003:1.5 netbsd-1-5-PATCH001:1.5 netbsd-1-5-RELEASE:1.5 netbsd-1-4-PATCH003:1.5 netbsd-1-4-PATCH002:1.5 comdex-fall-1999:1.5 netbsd-1-4-PATCH001:1.5 netbsd-1-4-RELEASE:1.5 FreeBSD-current-1999-03-12:1.1.1.1 FREEBSD:1.1.1; locks; strict; comment @# @; 1.8 date 2007.08.25.14.00.20; author obache; state dead; branches; next 1.7; 1.7 date 2007.06.21.18.33.19; author minskim; state Exp; branches; next 1.6; 1.6 date 2003.01.19.09.04.04; author salo; state Exp; branches; next 1.5; 1.5 date 99.03.12.16.32.08; author tron; state Exp; branches; next 1.4; 1.4 date 99.03.12.16.29.04; author tron; state Exp; branches; next 1.3; 1.3 date 99.03.12.15.58.09; author tron; state Exp; branches; next 1.2; 1.2 date 99.03.12.15.51.20; author tron; state Exp; branches; next 1.1; 1.1 date 99.03.12.15.48.45; author tron; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 99.03.12.15.48.45; author tron; state Exp; branches; next ; desc @@ 1.8 log @Switch to New LibIdent, version 0.32. libident 0.32 -------------- # A serious portability fix for *BSD and Solaris was submitted by: Nicolas Rachinsky . # Build of sample programs ("testers") was fixed. libident 0.31 -------------- # libtool is used instead of ranlib, so that a shared library can be built automatically if the OS supports it. libident 0.30 -------------- # This new release is meant to provide Internet Protocol version independant support: libident can now handles IPv6 addresses and perform queries over IPv6, as well as IPv4. The IP version is selected automatically. # I also have ported the library to the GNU autotools (autoconf & automake), and removed support for non ANSI C platforms. If you use such an old system, do NOT update. It doesn't support IPv6 anyway. @ text @$NetBSD: patch-aa,v 1.7 2007/06/21 18:33:19 minskim Exp $ --- Makefile.orig 1997-01-17 11:10:55.000000000 -0800 +++ Makefile @@@@ -4,25 +4,28 @@@@ MAKE=make SHELL=/bin/sh -RM=rm -f RANLIB=ranlib -AR=ar cq +RM=rm -f +AR=${LIBTOOL} --mode=link cc -rpath ${PREFIX}/lib -version-info 0:22 -o +CC=${LIBTOOL} --mode=compile cc -INSTROOT=/usr/local +INSTROOT=${PREFIX} LIBDIR=$(INSTROOT)/lib INCDIR=$(INSTROOT)/include MANDIR=$(INSTROOT)/man/man3 +.PHONY: install + # # Add -g for debugging information # # Add -DHAVE_ANSIHEADERS if your system have the ANSI C header files # needed for our purposes (stdlib, string, unistd). # -CFLAGS = -O +#CFLAGS = -O LDLIBS = -LIBIDENT = libident.a +LIBIDENT = libident.la OBJS = ident.o id_open.o id_close.o id_query.o id_parse.o support.o version.o @@@@ -33,6 +36,7 @@@@ fail: @@echo aix @@echo bsd @@echo bsd2.11 + @@echo netbsd @@echo dynix @@echo hpux @@echo irix @@@@ -52,8 +56,8 @@@@ all: $(LIBIDENT) $(LIBIDENT): $(OBJS) -$(RM) $(LIBIDENT) - $(AR) $(LIBIDENT) $(OBJS) - -$(RANLIB) $(LIBIDENT) + $(AR) $(LIBIDENT) $(OBJS:.o=.lo) +# -$(RANLIB) $(LIBIDENT) testers: lookup-tester ident-tester @@@@ -82,13 +86,9 @@@@ version: # install: - -$(RM) $(LIBDIR)/$(LIBIDENT) - cp $(LIBIDENT) $(LIBDIR)/$(LIBIDENT) - -$(RANLIB) $(LIBDIR)/$(LIBIDENT) - -$(RM) $(INCDIR)/ident.h - cp ident.h $(INCDIR)/ident.h - -$(RM) $(MANDIR)/ident.3 - cp ident.3 $(MANDIR)/ident.3 + ${LIBTOOL} --mode=install ${BSD_INSTALL_DATA} ${LIBIDENT} ${PREFIX}/lib + ${BSD_INSTALL_DATA} ident.h ${INCDIR}/ident.h + ${BSD_INSTALL_DATA} ident.3 ${MANDIR}/ident.3 clean: -$(RM) $(LIBIDENT) ident-tester lookup-tester *~ core *.o \#* @@@@ -126,6 +126,8 @@@@ bsd: bsd2.11: @@$(MAKE) all CC="$(CC)" CFLAGS="-O -DSIGRETURNTYPE=int -DHAVE_ANSIHEADERS" +netbsd: + @@$(MAKE) all CC="$(CC)" CFLAGS="${CFLAGS} -Wall -DHAVE_ANSIHEADERS" # # @ 1.7 log @Set "install" as a .PHONY target so that it works on case-insensitive filesystems. @ text @d1 1 a1 1 $NetBSD$ @ 1.6 log @s/INSTALL_*/BSD_INSTALL_*/ in patches, remove unnecessary MAKE_ENV. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.5 1999/03/12 16:32:08 tron Exp $ d3 3 a5 3 --- Makefile.orig Fri Jan 17 20:10:55 1997 +++ Makefile Fri Mar 12 17:20:39 1999 @@@@ -4,11 +4,12 @@@@ d21 6 a26 1 @@@@ -19,10 +20,10 @@@@ d39 1 a39 1 @@@@ -33,6 +34,7 @@@@ d47 1 a47 1 @@@@ -52,8 +54,8 @@@@ d58 1 a58 1 @@@@ -82,13 +84,9 @@@@ d75 1 a75 1 @@@@ -126,6 +124,8 @@@@ @ 1.5 log @Add missing RCS Id. @ text @d1 1 a1 1 $NetBSD$ d64 3 a66 3 + ${LIBTOOL} --mode=install ${INSTALL_DATA} ${LIBIDENT} ${PREFIX}/lib + ${INSTALL_DATA} ident.h ${INCDIR}/ident.h + ${INSTALL_DATA} ident.3 ${MANDIR}/ident.3 @ 1.4 log @Update "libident" to version 0.22 and include shared library support. @ text @d1 2 @ 1.3 log @Add RCS Ids and convert to "diff -u" format. @ text @a0 2 $NetBSD$ d2 6 a7 2 +++ Makefile Fri Mar 12 16:56:54 1999 @@@@ -8,7 +8,7 @@@@ d9 4 a12 1 AR=ar cq d19 1 a19 1 @@@@ -19,7 +19,7 @@@@ d27 6 a32 2 LIBIDENT = libident.a @@@@ -33,6 +33,7 @@@@ d40 29 a68 1 @@@@ -126,6 +127,8 @@@@ @ 1.2 log @Patches to adapt this package to NetBSD supplied by Greg A. Woods in PR pkg/7141. @ text @d1 39 a39 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 netbsd @@echo dynix @@echo hpux @@echo irix *************** *** 126,131 **** --- 127,134 ---- bsd2.11: @@$(MAKE) all CC="$(CC)" CFLAGS="-O -DSIGRETURNTYPE=int -DHAVE_ANSIHEADERS" + netbsd: + @@$(MAKE) all CC="$(CC)" CFLAGS="${CFLAGS} -Wall -DHAVE_ANSIHEADERS" # # @ 1.1 log @Initial revision @ text @d43 1 a43 1 + @@echo freebsd d53 1 a53 1 + freebsd: @ 1.1.1.1 log @Initial import of FreeBSD's "libident" port: A small library to interface the ident protocol server (rfc1413). @ text @@