aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2010-06-02 23:11:37 +0800
committerpav <pav@FreeBSD.org>2010-06-02 23:11:37 +0800
commitff9d241c4fad1c0641d84f2a8a2bfd6c7c516fbe (patch)
tree6ea9217b4a95bf4b8cd83b76e906b5e94b20b366
parent3feb827cfc1513c7d6dc6d843704947aa8ff33e6 (diff)
downloadfreebsd-ports-gnome-ff9d241c4fad1c0641d84f2a8a2bfd6c7c516fbe.tar.gz
freebsd-ports-gnome-ff9d241c4fad1c0641d84f2a8a2bfd6c7c516fbe.tar.zst
freebsd-ports-gnome-ff9d241c4fad1c0641d84f2a8a2bfd6c7c516fbe.zip
- Update to 0.3.2
PR: ports/147308 Submitted by: Dmitry Yashin <yashin.dm@gmail.com> (maintainer)
-rw-r--r--net-p2p/uhub/Makefile5
-rw-r--r--net-p2p/uhub/distinfo6
-rw-r--r--net-p2p/uhub/files/patch-GNUmakefile7
-rw-r--r--net-p2p/uhub/pkg-plist3
4 files changed, 14 insertions, 7 deletions
diff --git a/net-p2p/uhub/Makefile b/net-p2p/uhub/Makefile
index 6020b66f0aef..f143830bc198 100644
--- a/net-p2p/uhub/Makefile
+++ b/net-p2p/uhub/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= uhub
-PORTVERSION= 0.3.1
+PORTVERSION= 0.3.2
CATEGORIES= net-p2p
MASTER_SITES= http://www.extatic.org/downloads/uhub/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
@@ -42,5 +42,8 @@ post-install:
@if [ -f ${PREFIX}/etc/uhub/motd.txt ]; then \
${TOUCH} ${PREFIX}/etc/uhub/motd.txt.sample ; \
fi
+ @if [ -f ${PREFIX}/etc/uhub/rules.txt ]; then \
+ ${TOUCH} ${PREFIX}/etc/uhub/rules.txt.sample ; \
+ fi
.include <bsd.port.post.mk>
diff --git a/net-p2p/uhub/distinfo b/net-p2p/uhub/distinfo
index 6d030cdba413..ad77d654cec2 100644
--- a/net-p2p/uhub/distinfo
+++ b/net-p2p/uhub/distinfo
@@ -1,3 +1,3 @@
-MD5 (uhub-0.3.1-src.tar.gz) = 7e2810dceede442ba5c108bec50de4e5
-SHA256 (uhub-0.3.1-src.tar.gz) = 637b605c029738434438b5fe00a09a10a7bf3debddbe53b9dd12825644e68da0
-SIZE (uhub-0.3.1-src.tar.gz) = 147350
+MD5 (uhub-0.3.2-src.tar.gz) = 1ac1e561779597577f96d21736750088
+SHA256 (uhub-0.3.2-src.tar.gz) = 8503f9775e2469e271a461452cedf1ef6c0d32b38e0bec6b77170b216a5a374e
+SIZE (uhub-0.3.2-src.tar.gz) = 156108
diff --git a/net-p2p/uhub/files/patch-GNUmakefile b/net-p2p/uhub/files/patch-GNUmakefile
index 168f531b995f..9f9d9cca6a3b 100644
--- a/net-p2p/uhub/files/patch-GNUmakefile
+++ b/net-p2p/uhub/files/patch-GNUmakefile
@@ -1,5 +1,5 @@
---- GNUmakefile 2010-04-05 18:53:17.000000000 +0400
-+++ GNUmakefile.orig 2010-04-06 11:19:35.000000000 +0400
+--- GNUmakefile.orig 2010-06-02 09:48:21.000000000 +0400
++++ GNUmakefile 2010-06-02 09:55:21.000000000 +0400
@@ -5,7 +5,7 @@
-include Makefile.private
@@ -24,12 +24,13 @@
BIN_EXT ?=
endif
-@@ -249,7 +249,7 @@
+@@ -249,7 +249,8 @@
@if [ ! -d $(UHUB_CONF_DIR) ]; then echo Creating $(UHUB_CONF_DIR); mkdir -p $(UHUB_CONF_DIR); fi
@if [ ! -f $(UHUB_CONF_DIR)/uhub.conf ]; then cp doc/uhub.conf $(UHUB_CONF_DIR); fi
@if [ ! -f $(UHUB_CONF_DIR)/users.conf ]; then cp doc/users.conf $(UHUB_CONF_DIR); fi
- @touch $(UHUB_CONF_DIR)/motd.txt
+ @if [ ! -f $(UHUB_CONF_DIR)/motd.txt ]; then touch $(UHUB_CONF_DIR)/motd.txt; fi
++ @if [ ! -f $(UHUB_CONF_DIR)/rules.txt ]; then touch $(UHUB_CONF_DIR)/rules.txt; fi
@echo done.
endif
diff --git a/net-p2p/uhub/pkg-plist b/net-p2p/uhub/pkg-plist
index cd32cbdd4a45..89fd57a93250 100644
--- a/net-p2p/uhub/pkg-plist
+++ b/net-p2p/uhub/pkg-plist
@@ -8,4 +8,7 @@ etc/uhub/users.conf.sample
@unexec if cmp -s %D/etc/uhub/motd.txt.sample %D/etc/uhub/motd.txt; then rm -f %D/etc/uhub/motd.txt; fi
etc/uhub/motd.txt.sample
@exec if [ ! -f %D/etc/uhub/motd.txt ] ; then cp -p %D/%F %B/uhub/motd.txt; fi
+@unexec if cmp -s %D/etc/uhub/rules.txt.sample %D/etc/uhub/rules.txt; then rm -f %D/etc/uhub/rules.txt; fi
+etc/uhub/rules.txt.sample
+@exec if [ ! -f %D/etc/uhub/rules.txt ] ; then cp -p %D/%F %B/uhub/rules.txt; fi
@dirrmtry etc/uhub