svn commit: r334593 - in head/dns: bind96 bind96/files bind98 bind98/files bind99 bind99/files
John Marino
freebsd.contact at marino.st
Sun Nov 24 09:37:36 UTC 2013
On 11/22/2013 15:23, Erwin Lansing wrote:
>
> On 22 Nov 2013, at 15:18, John Marino (FreeBSD)
> <freebsd.contact at marino.st> wrote:
>
>> On 2013-11-22 14:41, Erwin Lansing wrote:
>>> Author: erwin Date: Fri Nov 22 13:41:34 2013 New Revision:
>>> 334593 URL: http://svnweb.freebsd.org/changeset/ports/334593
>>> Log: Fix startup script. PR: 184159 [1] Submitted by: Pawel
>>> Biernacki <pawel.biernacki at gmail.com> [1], Trond Endrestoel
>>> <Trond.Endrestol at ximalas.info> (private email) Modified:
>>> head/dns/bind96/Makefile head/dns/bind96/files/named
>>> head/dns/bind98/Makefile head/dns/bind98/files/named
>>> head/dns/bind99/Makefile head/dns/bind99/files/named
>>
>> Hi Erwin,
>
> Hi John,
>
>> I was hoping you would have also combined OSVERSION with OPSYS ==
>> FreeBSD as we talked about on IRC last week. Are you still
>> planning on doing that?
>
> I'm still fighting off jetlag after returning from the ICANN48
> conference in Buenos Aires. Committing a working rc script was
> clearly higher on my todo list, as I'm sure you'll understand.
> Please send me a prefab patch for testing, that will make things
> easier for me and certainly will speed things up. I do not have
> anything against adding those on principle, just haven't had the time
> yet, so any help is much appreciated.
>
> Cheers, Erwin
Hi Erwin,
I have attached a diff with the proposed changes covering all three
ports. It's pretty straight-forward.
John
-------------- next part --------------
Index: dns/bind96/Makefile
===================================================================
--- dns/bind96/Makefile (revision 334713)
+++ dns/bind96/Makefile (working copy)
@@ -135,7 +135,7 @@
.endif
.if ${PORT_OPTIONS:MREPLACE_BASE}
-.if ${OSVERSION} >= 1000500
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000500
IGNORE= REPLACE_BASE option not supported on this release
.endif
PKGNAMESUFFIX= -base
@@ -142,7 +142,7 @@
PREFIX= /usr
BIND_DESTETC= /etc/namedb
.else
-.if ${OSVERSION} >= 1000500
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000500
BIND_DESTETC= ${PREFIX}/etc/namedb
.else
BIND_DESTETC= ${PREFIX}/etc
@@ -153,7 +153,7 @@
--sysconfdir=${BIND_DESTETC}
PLIST_SUB+= BIND_DESTETC="${BIND_DESTETC}"
-.if ${OSVERSION} >= 1000500
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000500
PLIST_SUB+= NOBASE=""
.else
PLIST_SUB+= NOBASE="@comment "
@@ -221,7 +221,7 @@
${CP} ${WRKSRC}/CHANGES ${WRKSRC}/COPYRIGHT ${WRKSRC}/FAQ \
${WRKSRC}/NSEC3-NOTES ${WRKSRC}/README* ${DOCSDIR}/
.endif
-.if ${OSVERSION} >= 1000500
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000500
.for FILE in named named.conf
${SED} -e 's#%%PREFIX%%#${PREFIX}#g' \
-e 's#%%BIND_DESTETC%%#${BIND_DESTETC}#g' \
Index: dns/bind98/Makefile
===================================================================
--- dns/bind98/Makefile (revision 334713)
+++ dns/bind98/Makefile (working copy)
@@ -162,7 +162,7 @@
.endif
.if ${PORT_OPTIONS:MREPLACE_BASE}
-.if ${OSVERSION} >= 1000500
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000500
IGNORE= REPLACE_BASE option is not supported on this release
.endif
PKGNAMESUFFIX= -base
@@ -169,7 +169,7 @@
PREFIX= /usr
BIND_DESTETC= /etc/namedb
.else
-.if ${OSVERSION} >= 1000500
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000500
BIND_DESTETC= ${PREFIX}/etc/namedb
.else
BIND_DESTETC= ${PREFIX}/etc
@@ -180,7 +180,7 @@
--sysconfdir=${BIND_DESTETC}
PLIST_SUB+= BIND_DESTETC="${BIND_DESTETC}"
-.if ${OSVERSION} >= 1000500
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000500
PLIST_SUB+= NOBASE=""
.else
PLIST_SUB+= NOBASE="@comment "
@@ -257,7 +257,7 @@
${CP} ${WRKSRC}/CHANGES ${WRKSRC}/COPYRIGHT ${WRKSRC}/FAQ \
${WRKSRC}/HISTORY ${WRKSRC}/README ${DOCSDIR}/
.endif
-.if ${OSVERSION} >= 1000500
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000500
.for FILE in named named.conf
${SED} -e 's#%%PREFIX%%#${PREFIX}#g' \
-e 's#%%BIND_DESTETC%%#${BIND_DESTETC}#g' \
Index: dns/bind99/Makefile
===================================================================
--- dns/bind99/Makefile (revision 334713)
+++ dns/bind99/Makefile (working copy)
@@ -169,7 +169,7 @@
.endif
.if ${PORT_OPTIONS:MREPLACE_BASE}
-.if ${OSVERSION} >= 1000500
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000500
IGNORE= REPLACE_BASE option is not supported on this release
.endif
PKGNAMESUFFIX= -base
@@ -176,7 +176,7 @@
PREFIX= /usr
BIND_DESTETC= /etc/namedb
.else
-.if ${OSVERSION} >= 1000500
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000500
BIND_DESTETC= ${PREFIX}/etc/namedb
.else
BIND_DESTETC= ${PREFIX}/etc
@@ -187,7 +187,7 @@
--sysconfdir=${BIND_DESTETC}
PLIST_SUB+= BIND_DESTETC="${BIND_DESTETC}"
-.if ${OSVERSION} >= 1000500
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000500
PLIST_SUB+= NOBASE=""
.else
PLIST_SUB+= NOBASE="@comment "
@@ -268,7 +268,7 @@
${CP} ${WRKSRC}/CHANGES ${WRKSRC}/COPYRIGHT ${WRKSRC}/FAQ \
${WRKSRC}/HISTORY ${WRKSRC}/README ${DOCSDIR}/
.endif
-.if ${OSVERSION} >= 1000500
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000500
.for FILE in named named.conf
${SED} -e 's#%%PREFIX%%#${PREFIX}#g' \
-e 's#%%BIND_DESTETC%%#${BIND_DESTETC}#g' \
More information about the svn-ports-head
mailing list