aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net-p2p/dcd/Makefile12
-rw-r--r--net-p2p/dcd/distinfo5
-rw-r--r--net-p2p/dcd/pkg-plist2
-rw-r--r--net/dcd/Makefile12
-rw-r--r--net/dcd/distinfo5
-rw-r--r--net/dcd/pkg-plist2
6 files changed, 28 insertions, 10 deletions
diff --git a/net-p2p/dcd/Makefile b/net-p2p/dcd/Makefile
index 702f14b8f1d2..85f6dfb03ee2 100644
--- a/net-p2p/dcd/Makefile
+++ b/net-p2p/dcd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= dcd
-PORTVERSION= 0.4.8
+PORTVERSION= 0.5.9
CATEGORIES= net
MASTER_SITES= http://www.dc.ds.pg.gda.pl/download/sources/stable/
@@ -23,11 +23,17 @@ MAN8= dcd.8 dcd.console.8
MANLANG= "" pl.ISO8859-2
CONF_FILES= console.allow dcd.banned dcd.conf dcd.motd dcd.penalties \
- dcd.users dcd.welcome nicks.allow
+ dcd.rules dcd.users dcd.welcome nicks.allow
SUB_FILES= pkg-install pkg-deinstall
SUB_LIST= CONF_FILES="${CONF_FILES}" CONF_DIR="${PREFIX}/etc/dcd"
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= "Does not compile"
+.endif
+
post-patch:
.for f in dcd dcd.console
@${MV} ${WRKSRC}/doc/${f}.2 ${WRKSRC}/doc/${f}.8
@@ -61,4 +67,4 @@ post-patch:
post-install:
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/net-p2p/dcd/distinfo b/net-p2p/dcd/distinfo
index 7335099f9a20..8154c611a8ef 100644
--- a/net-p2p/dcd/distinfo
+++ b/net-p2p/dcd/distinfo
@@ -1,2 +1,3 @@
-MD5 (dcd-0.4.8.tar.bz2) = 6219d776ce0ced149f74f28463b098f6
-SIZE (dcd-0.4.8.tar.bz2) = 340008
+MD5 (dcd-0.5.9.tar.bz2) = 0a46f116137459507bae588a818b0be3
+SHA256 (dcd-0.5.9.tar.bz2) = ad22b767a1faaaa585839cddc5ee0f2ca9ad471b7b3f4aab556e84ca9283c17f
+SIZE (dcd-0.5.9.tar.bz2) = 340164
diff --git a/net-p2p/dcd/pkg-plist b/net-p2p/dcd/pkg-plist
index 61887844fd37..fc4ed235eaf4 100644
--- a/net-p2p/dcd/pkg-plist
+++ b/net-p2p/dcd/pkg-plist
@@ -1,10 +1,12 @@
sbin/dcd
+sbin/dcd.adduser
@exec install -d -m 751 -o daemon -g daemon %D/etc/dcd
etc/dcd/console.allow.default
etc/dcd/dcd.banned.default
etc/dcd/dcd.conf.default
etc/dcd/dcd.motd.default
etc/dcd/dcd.penalties.default
+etc/dcd/dcd.rules.default
etc/dcd/dcd.users.default
etc/dcd/dcd.welcome.default
etc/dcd/nicks.allow.default
diff --git a/net/dcd/Makefile b/net/dcd/Makefile
index 702f14b8f1d2..85f6dfb03ee2 100644
--- a/net/dcd/Makefile
+++ b/net/dcd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= dcd
-PORTVERSION= 0.4.8
+PORTVERSION= 0.5.9
CATEGORIES= net
MASTER_SITES= http://www.dc.ds.pg.gda.pl/download/sources/stable/
@@ -23,11 +23,17 @@ MAN8= dcd.8 dcd.console.8
MANLANG= "" pl.ISO8859-2
CONF_FILES= console.allow dcd.banned dcd.conf dcd.motd dcd.penalties \
- dcd.users dcd.welcome nicks.allow
+ dcd.rules dcd.users dcd.welcome nicks.allow
SUB_FILES= pkg-install pkg-deinstall
SUB_LIST= CONF_FILES="${CONF_FILES}" CONF_DIR="${PREFIX}/etc/dcd"
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= "Does not compile"
+.endif
+
post-patch:
.for f in dcd dcd.console
@${MV} ${WRKSRC}/doc/${f}.2 ${WRKSRC}/doc/${f}.8
@@ -61,4 +67,4 @@ post-patch:
post-install:
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/net/dcd/distinfo b/net/dcd/distinfo
index 7335099f9a20..8154c611a8ef 100644
--- a/net/dcd/distinfo
+++ b/net/dcd/distinfo
@@ -1,2 +1,3 @@
-MD5 (dcd-0.4.8.tar.bz2) = 6219d776ce0ced149f74f28463b098f6
-SIZE (dcd-0.4.8.tar.bz2) = 340008
+MD5 (dcd-0.5.9.tar.bz2) = 0a46f116137459507bae588a818b0be3
+SHA256 (dcd-0.5.9.tar.bz2) = ad22b767a1faaaa585839cddc5ee0f2ca9ad471b7b3f4aab556e84ca9283c17f
+SIZE (dcd-0.5.9.tar.bz2) = 340164
diff --git a/net/dcd/pkg-plist b/net/dcd/pkg-plist
index 61887844fd37..fc4ed235eaf4 100644
--- a/net/dcd/pkg-plist
+++ b/net/dcd/pkg-plist
@@ -1,10 +1,12 @@
sbin/dcd
+sbin/dcd.adduser
@exec install -d -m 751 -o daemon -g daemon %D/etc/dcd
etc/dcd/console.allow.default
etc/dcd/dcd.banned.default
etc/dcd/dcd.conf.default
etc/dcd/dcd.motd.default
etc/dcd/dcd.penalties.default
+etc/dcd/dcd.rules.default
etc/dcd/dcd.users.default
etc/dcd/dcd.welcome.default
etc/dcd/nicks.allow.default