aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2019-02-15 04:37:25 +0000
committerCy Schubert <cy@FreeBSD.org>2019-02-15 04:37:25 +0000
commit2b1fd74587e210bf5e66537a6cd21a650b508c2a (patch)
tree9baee8fe6e8cbfa57bbb491afd3d6819c20eac80 /security
parent5a9395f43f945db3c79dd52697952ef1d51b3e56 (diff)
downloadports-2b1fd74587e210bf5e66537a6cd21a650b508c2a.tar.gz
ports-2b1fd74587e210bf5e66537a6cd21a650b508c2a.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/krb5-115/Makefile3
-rw-r--r--security/krb5-115/files/kdc.in5
-rw-r--r--security/krb5-115/pkg-plist1
-rw-r--r--security/krb5-116/Makefile3
-rw-r--r--security/krb5-116/files/kdc.in5
-rw-r--r--security/krb5-116/pkg-plist1
-rw-r--r--security/krb5-117/Makefile3
-rw-r--r--security/krb5-117/files/kdc.in5
-rw-r--r--security/krb5-117/pkg-plist1
-rw-r--r--security/krb5-devel/Makefile3
-rw-r--r--security/krb5-devel/files/kdc.in5
-rw-r--r--security/krb5-devel/pkg-plist1
12 files changed, 36 insertions, 0 deletions
diff --git a/security/krb5-115/Makefile b/security/krb5-115/Makefile
index 5d72bf65283c..45566e5cf555 100644
--- a/security/krb5-115/Makefile
+++ b/security/krb5-115/Makefile
@@ -3,6 +3,7 @@
PORTNAME= krb5
PORTVERSION= 1.15.5
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://web.mit.edu/kerberos/dist/${PORTNAME}/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/
.if !defined(MASTERDIR)
@@ -109,6 +110,8 @@ PDF_DOC_DIR= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc/pdf
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/krb5
+ @${SED} "s|%%PREFIX%%|${PREFIX}|" ${FILESDIR}/kdc.in > ${STAGEDIR}${PREFIX}/sbin/kdc; \
+ ${CHMOD} +x ${STAGEDIR}${PREFIX}/sbin/kdc
# html documentation
.if ${PORT_OPTIONS:MKRB5_PDF}
pdf_files=`${FIND} ${PDF_DOC_DIR} ! -type d`
diff --git a/security/krb5-115/files/kdc.in b/security/krb5-115/files/kdc.in
new file mode 100644
index 000000000000..29543c336b5b
--- /dev/null
+++ b/security/krb5-115/files/kdc.in
@@ -0,0 +1,5 @@
+#!/bin/sh -
+# $FreeBSD$
+
+set -- $(echo "$*" | sed 's/--detach//')
+exec %%PREFIX%%/sbin/krb5kdc "$@"
diff --git a/security/krb5-115/pkg-plist b/security/krb5-115/pkg-plist
index f39ef3c21f35..54f58ec19acf 100644
--- a/security/krb5-115/pkg-plist
+++ b/security/krb5-115/pkg-plist
@@ -149,6 +149,7 @@ sbin/gss-server
sbin/kadmin.local
sbin/kadmind
%%LDAP%%sbin/kdb5_ldap_util
+sbin/kdc
sbin/kdb5_util
sbin/kprop
sbin/kpropd
diff --git a/security/krb5-116/Makefile b/security/krb5-116/Makefile
index 07f2c206b8b8..6eb8ee9fc75b 100644
--- a/security/krb5-116/Makefile
+++ b/security/krb5-116/Makefile
@@ -3,6 +3,7 @@
PORTNAME= krb5
PORTVERSION= 1.16.3
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://web.mit.edu/kerberos/dist/${PORTNAME}/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/
.if !defined(MASTERDIR)
@@ -106,6 +107,8 @@ PDF_DOC_DIR= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc/pdf
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/krb5
+ @${SED} "s|%%PREFIX%%|${PREFIX}|" ${FILESDIR}/kdc.in > ${STAGEDIR}${PREFIX}/sbin/kdc; \
+ ${CHMOD} +x ${STAGEDIR}${PREFIX}/sbin/kdc
# html documentation
.if ${PORT_OPTIONS:MKRB5_PDF}
pdf_files=`${FIND} ${PDF_DOC_DIR} ! -type d`
diff --git a/security/krb5-116/files/kdc.in b/security/krb5-116/files/kdc.in
new file mode 100644
index 000000000000..29543c336b5b
--- /dev/null
+++ b/security/krb5-116/files/kdc.in
@@ -0,0 +1,5 @@
+#!/bin/sh -
+# $FreeBSD$
+
+set -- $(echo "$*" | sed 's/--detach//')
+exec %%PREFIX%%/sbin/krb5kdc "$@"
diff --git a/security/krb5-116/pkg-plist b/security/krb5-116/pkg-plist
index 4207e664dd2c..9107a5f3377c 100644
--- a/security/krb5-116/pkg-plist
+++ b/security/krb5-116/pkg-plist
@@ -153,6 +153,7 @@ sbin/gss-server
sbin/kadmin.local
sbin/kadmind
%%LDAP%%sbin/kdb5_ldap_util
+sbin/kdc
sbin/kdb5_util
sbin/kprop
sbin/kpropd
diff --git a/security/krb5-117/Makefile b/security/krb5-117/Makefile
index 6cde3844060a..a6ddebc147af 100644
--- a/security/krb5-117/Makefile
+++ b/security/krb5-117/Makefile
@@ -3,6 +3,7 @@
PORTNAME= krb5
PORTVERSION= 1.17
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://web.mit.edu/kerberos/dist/${PORTNAME}/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/
.if !defined(MASTERDIR)
@@ -110,6 +111,8 @@ PDF_DOC_DIR= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc/pdf
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/krb5
+ @${SED} "s|%%PREFIX%%|${PREFIX}|" ${FILESDIR}/kdc.in > ${STAGEDIR}${PREFIX}/sbin/kdc; \
+ ${CHMOD} +x ${STAGEDIR}${PREFIX}/sbin/kdc
# html documentation
.if ${PORT_OPTIONS:MKRB5_PDF}
pdf_files=`${FIND} ${PDF_DOC_DIR} ! -type d`
diff --git a/security/krb5-117/files/kdc.in b/security/krb5-117/files/kdc.in
new file mode 100644
index 000000000000..29543c336b5b
--- /dev/null
+++ b/security/krb5-117/files/kdc.in
@@ -0,0 +1,5 @@
+#!/bin/sh -
+# $FreeBSD$
+
+set -- $(echo "$*" | sed 's/--detach//')
+exec %%PREFIX%%/sbin/krb5kdc "$@"
diff --git a/security/krb5-117/pkg-plist b/security/krb5-117/pkg-plist
index 326337e7f1d3..d843368c2cde 100644
--- a/security/krb5-117/pkg-plist
+++ b/security/krb5-117/pkg-plist
@@ -155,6 +155,7 @@ sbin/gss-server
sbin/kadmin.local
sbin/kadmind
%%LDAP%%sbin/kdb5_ldap_util
+sbin/kdc
sbin/kdb5_util
sbin/kprop
sbin/kpropd
diff --git a/security/krb5-devel/Makefile b/security/krb5-devel/Makefile
index 6a8e8c99c306..99307ac9891f 100644
--- a/security/krb5-devel/Makefile
+++ b/security/krb5-devel/Makefile
@@ -3,6 +3,7 @@
PORTNAME= krb5
PORTVERSION= 1.18.${MIT_COMMIT_DATE}
+PORTREVISION= 1
CATEGORIES= security
.if !defined(MASTERDIR)
PKGNAMESUFFIX= -devel
@@ -107,6 +108,8 @@ CONFIGURE_ARGS+= --program-transform-name="${PROGRAM_TRANSFORM_NAME}"
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/krb5
${ECHO_CMD} @dir share/doc/krb5 >> ${TMPPLIST}
+ @${SED} "s|%%PREFIX%%|${PREFIX}|" ${FILESDIR}/kdc.in > ${STAGEDIR}${PREFIX}/sbin/kdc; \
+ ${CHMOD} +x ${STAGEDIR}${PREFIX}/sbin/kdc
post-install-LDAP-on:
${MKDIR} ${STAGEDIR}${DATADIR}
diff --git a/security/krb5-devel/files/kdc.in b/security/krb5-devel/files/kdc.in
new file mode 100644
index 000000000000..29543c336b5b
--- /dev/null
+++ b/security/krb5-devel/files/kdc.in
@@ -0,0 +1,5 @@
+#!/bin/sh -
+# $FreeBSD$
+
+set -- $(echo "$*" | sed 's/--detach//')
+exec %%PREFIX%%/sbin/krb5kdc "$@"
diff --git a/security/krb5-devel/pkg-plist b/security/krb5-devel/pkg-plist
index bb67090fc6ee..b45933df91f6 100644
--- a/security/krb5-devel/pkg-plist
+++ b/security/krb5-devel/pkg-plist
@@ -154,6 +154,7 @@ sbin/gss-server
sbin/kadmin.local
sbin/kadmind
%%LDAP%%sbin/kdb5_ldap_util
+sbin/kdc
sbin/kdb5_util
sbin/kprop
sbin/kpropd