Fix build under 7.0-PRERELEASE.
This commit is contained in:
parent
e5a8b9ae14
commit
55bf5d1092
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=202364
12 changed files with 76 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
11
security/krb5/files/patch-plugins-preauth-pkinit-Makefile.in
Normal file
11
security/krb5/files/patch-plugins-preauth-pkinit-Makefile.in
Normal file
|
@ -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)
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue