diff options
-rw-r--r-- | misc/dnetc/Makefile | 3 | ||||
-rw-r--r-- | misc/dnetc/pkg-plist | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/misc/dnetc/Makefile b/misc/dnetc/Makefile index 67c55ddfc116..991bf9c4efa0 100644 --- a/misc/dnetc/Makefile +++ b/misc/dnetc/Makefile @@ -7,6 +7,7 @@ PORTNAME= dnetc PORTVERSION= 2.8010.462 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= misc MASTER_SITES= ftp://ftp.distributed.net/pub/dcti/%SUBDIR%/ \ @@ -72,7 +73,7 @@ do-install: fi ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1 - + ${INSTALL} -c -m 644 -o ${CLIENTUID} -g ${CLIENTGID} ${WRKDIR}/dnetc.ini ${BINDIR}/dnetc.ini.default .if !exists(${BINDIR}/dnetc.ini) @echo "" @echo "" diff --git a/misc/dnetc/pkg-plist b/misc/dnetc/pkg-plist index d93bff7397ff..9222a089bbf4 100644 --- a/misc/dnetc/pkg-plist +++ b/misc/dnetc/pkg-plist @@ -1,5 +1,7 @@ +@unexec if cmp -s %D/distributed.net/dnetc.ini %D/distributed.net/dnetc.ini.default; then rm -f %D/distributed.net/dnetc.ini; fi distributed.net/dnetc distributed.net/dnetc.sh distributed.net/INFO +distributed.net/dnetc.ini.default etc/rc.d/dnetc.sh @unexec rmdir %D/distributed.net 2>/dev/null || true |