diff options
author | Cy Schubert <cy@FreeBSD.org> | 2007-10-29 22:49:49 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2007-10-29 22:49:49 +0000 |
commit | 55bf5d10924603888ad4f27c688d37629c20212f (patch) | |
tree | c1ce2351bcb51cb45bc6f8ce2c653b1008e8e055 /security/krb5-16 | |
parent | - Fix fetching by using MASTER_SITE_LOCAL. (diff) |
Fix build under 7.0-PRERELEASE.
Notes
Notes:
svn path=/head/; revision=202364
Diffstat (limited to 'security/krb5-16')
-rw-r--r-- | security/krb5-16/Makefile | 8 | ||||
-rw-r--r-- | security/krb5-16/files/patch-plugins-preauth-pkinit-Makefile.in | 11 | ||||
-rw-r--r-- | security/krb5-16/pkg-plist | 1 |
3 files changed, 19 insertions, 1 deletions
diff --git a/security/krb5-16/Makefile b/security/krb5-16/Makefile index 335a13a425e3..0708131e7cdb 100644 --- a/security/krb5-16/Makefile +++ b/security/krb5-16/Makefile @@ -7,7 +7,7 @@ PORTNAME= krb5 PORTVERSION= 1.6.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://web.mit.edu/kerberos/dist/krb5/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/ DISTNAME= ${PORTNAME}-${PORTVERSION}-signed @@ -78,6 +78,12 @@ HTML_DOCS= ftp.html kdestroy.html kinit.html klist.html \ .include <bsd.port.pre.mk> +.if ${OSVERSION} < 700000 +PLIST_SUB+= PKINIT="@comment " +.else +PLIST_SUB+= PKINIT="" +.endif + post-extract: @${TAR} -C ${WRKDIR} -xzf ${WRKDIR}/${PORTNAME}-${PORTVERSION}.tar.gz @${RM} ${WRKDIR}/${PORTNAME}-${PORTVERSION}.tar.gz ${WRKDIR}/${PORTNAME}-${PORTVERSION}.tar.gz.asc diff --git a/security/krb5-16/files/patch-plugins-preauth-pkinit-Makefile.in b/security/krb5-16/files/patch-plugins-preauth-pkinit-Makefile.in new file mode 100644 index 000000000000..cb464470b1cf --- /dev/null +++ b/security/krb5-16/files/patch-plugins-preauth-pkinit-Makefile.in @@ -0,0 +1,11 @@ +--- plugins/preauth/pkinit/Makefile.in.orig 2007-09-28 18:02:10.000000000 -0700 ++++ plugins/preauth/pkinit/Makefile.in 2007-10-29 07:03:24.000000000 -0700 +@@ -21,7 +21,7 @@ + $(TOPLIBD)/libk5crypto$(SHLIBEXT) \ + $(TOPLIBD)/libkrb5$(SHLIBEXT) + LIBS+= -lcrypto +-SHLIB_EXPLIBS= -lkrb5 -lcom_err -lk5crypto -ldl $(SUPPORT_LIB) $(LIBS) ++SHLIB_EXPLIBS= -lkrb5 -lcom_err -lk5crypto $(SUPPORT_LIB) $(LIBS) + + SHLIB_DIRS=-L$(TOPLIBD) + SHLIB_RDIRS=$(KRB5_LIBDIR) diff --git a/security/krb5-16/pkg-plist b/security/krb5-16/pkg-plist index f90647bc6a83..577609979425 100644 --- a/security/krb5-16/pkg-plist +++ b/security/krb5-16/pkg-plist @@ -71,6 +71,7 @@ lib/libkrb5.so.3 lib/libkrb5support.so lib/libkrb5support.so.0 lib/krb5/plugins/kdb/db2.so +%%PKINIT%%lib/krb5/plugins/preauth/pkinit.so sbin/ftpd sbin/gss-server sbin/k5srvutil |