switch libspf2 to libbind; it requires either res_close (which our old resolver

supported but asr doesn't) or res_ninit (which neither asr nor our old resolver
support). While there, roll PFRAG.shared into PLIST and regen distinfo.
This commit is contained in:
sthen 2013-04-06 19:32:32 +00:00
parent 46de97c13e
commit 21cdbc64e9
4 changed files with 15 additions and 11 deletions

View File

@ -1,9 +1,12 @@
# $OpenBSD: Makefile,v 1.3 2013/03/11 11:23:51 espie Exp $
# $OpenBSD: Makefile,v 1.4 2013/04/06 19:32:32 sthen Exp $
COMMENT= SPF library
DISTNAME= libspf2-1.2.9
SHARED_LIBS+= spf2 3.0
REVISION= 0
SHARED_LIBS += spf2 3.0 # 3.0
CATEGORIES= mail
HOMEPAGE= http://www.libspf2.org/
@ -14,11 +17,17 @@ MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c pthread
WANTLIB= bind c pthread
MODULES= devel/gettext
# requires res_close() or res_ninit()
LIB_DEPENDS= net/libbind
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --bindir=${PREFIX}/libexec/libspf2
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libbind" \
LDFLAGS="-L${LOCALBASE}/lib -lbind"
# broken test cases
NO_TEST= yes

View File

@ -1,5 +1,2 @@
MD5 (libspf2-1.2.9.tar.gz) = MwXfTRsTypZNgLI7teTitg==
RMD160 (libspf2-1.2.9.tar.gz) = 0HVNR+KXoAA45BheF3BKJNOKSIg=
SHA1 (libspf2-1.2.9.tar.gz) = Fd/juRchgGVPTeTdhfPwHjvBFQM=
SHA256 (libspf2-1.2.9.tar.gz) = SDf2sGOxQxZzdUy/a++Jed5f/E1/Jva5Or1CeHugSGI=
SIZE (libspf2-1.2.9.tar.gz) = 518001

View File

@ -1,2 +0,0 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2008/01/30 15:58:49 okan Exp $
@lib lib/libspf2.so.${LIBspf2_VERSION}

View File

@ -1,5 +1,4 @@
@comment $OpenBSD: PLIST,v 1.2 2008/11/05 17:20:08 jasper Exp $
%%SHARED%%
@comment $OpenBSD: PLIST,v 1.3 2013/04/06 19:32:32 sthen Exp $
include/spf2/
include/spf2/spf.h
include/spf2/spf_dns.h
@ -17,6 +16,7 @@ include/spf2/spf_response.h
include/spf2/spf_server.h
lib/libspf2.a
lib/libspf2.la
@lib lib/libspf2.so.${LIBspf2_VERSION}
libexec/libspf2/
@bin libexec/libspf2/spfd
@bin libexec/libspf2/spfquery