mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
Update to 0.7.5, this support rc.subr
This commit is contained in:
parent
ed64d3f087
commit
b3702d3795
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=95165
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= healthd
|
||||
PORTVERSION= 0.7.4
|
||||
PORTVERSION= 0.7.5
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= sysutils ipv6
|
||||
MASTER_SITES= http://healthd.thehousleys.net/
|
||||
@ -35,12 +35,14 @@ HDDOCDIR= ${PREFIX}/share/doc/healthd
|
||||
CONFIGURE_ARGS+= --disable-ipv6
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} >= 500038
|
||||
RC_SUBR?= /etc/rc.subr
|
||||
.else
|
||||
USE_RC_SUBR= yes
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${INSTALL_SCRIPT} -m 751 ${WRKSRC}/healthd.sh ${PREFIX}/etc/rc.d/healthd.sh.sample
|
||||
@if [ ! -f ${PREFIX}/etc/rc.d/healthd.sh ]; then \
|
||||
${ECHO} "Installing ${PREFIX}/etc/rc.d/healthd.sh startup file."; \
|
||||
${INSTALL_SCRIPT} -m 751 ${WRKSRC}/healthd.sh ${PREFIX}/etc/rc.d/healthd.sh; \
|
||||
fi
|
||||
${INSTALL_SCRIPT} -m 751 ${WRKSRC}/healthd.sh ${PREFIX}/etc/rc.d/healthd.sh
|
||||
@if [ ! -f ${PREFIX}/etc/healthd.conf ]; then \
|
||||
${ECHO} "Installing ${PREFIX}/etc/healthd.conf configuration file."; \
|
||||
${ECHO} "It is recommended you edit this file to match your system"; \
|
||||
|
@ -1 +1 @@
|
||||
MD5 (healthd-0.7.4.tar.gz) = 0166adf5adaed0b9f0669381270b48f3
|
||||
MD5 (healthd-0.7.5.tar.gz) = 6b2c52ab58c9d277007e05f3a301dec2
|
||||
|
@ -4,8 +4,7 @@ sbin/healthd
|
||||
etc/healthd.conf.sample
|
||||
@exec if [ ! -f %D/etc/healthd.conf ]; then cp -p %D/%F %B/healthd.conf; fi
|
||||
@unexec if cmp -s %D/etc/rc.d/healthd.sh %D/etc/rc.d/healthd.sh.sample; then rm -f %D/etc/rc.d/healthd.sh; fi
|
||||
etc/rc.d/healthd.sh.sample
|
||||
@exec if [ ! -f %D/etc/rc.d/healthd.sh ]; then cp -p %D/%F %B/healthd.rc.sample; fi
|
||||
etc/rc.d/healthd.sh
|
||||
%%PORTDOCS%%share/doc/healthd/README
|
||||
%%PORTDOCS%%share/doc/healthd/PROTOCOL
|
||||
%%PORTDOCS%%@dirrm share/doc/healthd
|
||||
|
Loading…
Reference in New Issue
Block a user