FreeBSD Bugzilla – Attachment 137631 Details for
Bug 183264
[PATCH] sysutils/bsdstats: use drill instead of dig on 10.0-BETA1 and after.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch-bsdstats
patch-bsdstats (text/plain), 1.12 KB, created by
Yasuhiro Kimura
on 2013-10-24 07:30:03 UTC
(
hide
)
Description:
patch-bsdstats
Filename:
MIME Type:
Creator:
Yasuhiro Kimura
Created:
2013-10-24 07:30:03 UTC
Size:
1.12 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 331453) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= bsdstats > PORTVERSION= 5.5 >-PORTREVISION= 3 >+PORTREVISION= 4 > CATEGORIES= sysutils > DISTFILES= > >@@ -13,7 +13,16 @@ > NO_BUILD= yes > USE_RC_SUBR= bsdstats > SUB_FILES= 300.statistics pkg-message >+SUB_LIST+= DIG=${DIG} > >+.include <bsd.port.pre.mk> >+ >+.if ${OSVERSION} >= 1000500 >+DIG= drill >+.else >+DIG= dig >+.endif >+ > NO_STAGE= yes > do-install: > ${MKDIR} ${PREFIX}/etc/periodic/monthly >@@ -25,4 +34,4 @@ > @PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL > .endif > >-.include <bsd.port.mk> >+.include <bsd.port.post.mk> >Index: files/300.statistics.in >=================================================================== >--- files/300.statistics.in (revision 331453) >+++ files/300.statistics.in (working copy) >@@ -71,7 +71,7 @@ > } > > check_dns () { >- if [ `dig bsdstats.org txt | grep TXT | grep UP | wc -l` = 0 ] >+ if [ `%%DIG%% bsdstats.org txt | grep TXT | grep UP | wc -l` = 0 ] > then > echo "DNS not reachable, Network Down?" > exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 183264
: 137631