- fix HOMEPAGE/MASTER_SITES

- set CONFIGURE_STYLE to gnu, remove ALL_TARGET
- set USE_LIBTOOL/SHARED_LIBS=
- PFRAG.shared is added
- remove unneeded patch
- adjust license name. ( PD -> Public Domain )
- regen PLIST

from sthen@
- remove NO_REGRESS (there is no test, but it doesn't
error out when you try to run it)
-tidy up whitespaces (USE_GROFF)

ok jasper@ sthen@
This commit is contained in:
gsoares 2011-05-04 16:16:24 +00:00
parent 4079be8ce1
commit c8b03467eb
5 changed files with 22 additions and 54 deletions

View File

@ -1,20 +1,24 @@
# $OpenBSD: Makefile,v 1.16 2010/10/18 21:41:45 espie Exp $
# $OpenBSD: Makefile,v 1.17 2011/05/04 16:16:24 gsoares Exp $
COMMENT= library to interface the ident protocol server (rfc1413)
DISTNAME= libident-0.22
CATEGORIES= devel net security
MASTER_SITES= ftp://ftp.lysator.liu.se/pub/ident/libs/
SHARED_LIBS += ident 0.0 # 0.0
# License: PD
DISTNAME= libident-0.32
CATEGORIES= devel net security
MASTER_SITES= http://www.remlab.net/files/libident/
HOMEPAGE= http://www.remlab.net/libident/
# Public Domain
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
ALL_TARGET= openbsd
CONFIGURE_STYLE= gnu
USE_LIBTOOL= Yes
NO_REGRESS= Yes
USE_GROFF = Yes
USE_GROFF= Yes
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (libident-0.22.tar.gz) = IYtnBuV0yltBoKZ1zxhg6w==
RMD160 (libident-0.22.tar.gz) = 6709PefxwixsjGIHIsG6JaT1tOs=
SHA1 (libident-0.22.tar.gz) = z3CpYAiACFwzPU6GI+zoBWoZbMY=
SHA256 (libident-0.22.tar.gz) = BMPMUoeEnJcwXrLhqufvvJb2ItArP9QnTtRkfQzLCqM=
SIZE (libident-0.22.tar.gz) = 10716
MD5 (libident-0.32.tar.gz) = m5NG6swo2ELRZIgfDvoziA==
RMD160 (libident-0.32.tar.gz) = RcAbPFSkQbCF6juNxFHrjDO3vS4=
SHA1 (libident-0.32.tar.gz) = RliAewF/IZKKZPNELuOiuR9I0U4=
SHA256 (libident-0.32.tar.gz) = jMj7afHIiL58/95/TK6z3GzQq7xHUzdoOnIKp2OKF0s=
SIZE (libident-0.32.tar.gz) = 294241

View File

@ -1,40 +0,0 @@
$OpenBSD: patch-Makefile,v 1.1 2007/10/26 21:38:24 jasper Exp $
--- Makefile.orig Fri Jan 17 20:10:55 1997
+++ Makefile Fri Oct 26 23:31:46 2007
@@ -8,7 +8,7 @@ RM=rm -f
RANLIB=ranlib
AR=ar cq
-INSTROOT=/usr/local
+INSTROOT=${PREFIX}
LIBDIR=$(INSTROOT)/lib
INCDIR=$(INSTROOT)/include
MANDIR=$(INSTROOT)/man/man3
@@ -19,7 +19,7 @@ MANDIR=$(INSTROOT)/man/man3
# 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
@@ -33,6 +33,7 @@ fail:
@echo aix
@echo bsd
@echo bsd2.11
+ @echo openbsd
@echo dynix
@echo hpux
@echo irix
@@ -126,6 +127,10 @@ bsd:
bsd2.11:
@$(MAKE) all CC="$(CC)" CFLAGS="-O -DSIGRETURNTYPE=int -DHAVE_ANSIHEADERS"
+#
+# OpenBSD 2.x
+openbsd:
+ @$(MAKE) all CC="$(CC)" CFLAGS="${CFLAGS} -Wall -DHAVE_ANSIHEADERS"
#
#

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1 2011/05/04 16:16:24 gsoares Exp $
@lib lib/libident.so.${LIBident_VERSION}

View File

@ -1,4 +1,6 @@
@comment $OpenBSD: PLIST,v 1.3 2004/09/15 18:36:00 espie Exp $
@comment $OpenBSD: PLIST,v 1.4 2011/05/04 16:16:24 gsoares Exp $
%%SHARED%%
include/ident.h
lib/libident.a
lib/libident.la
@man man/man3/ident.3