aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2010-03-10 06:43:15 +0800
committermiwi <miwi@FreeBSD.org>2010-03-10 06:43:15 +0800
commite87570e18c4d66a57e72d3cbbf8a88e264d1b557 (patch)
tree79624eae8b325cce84ecc49ac24d682142b9f7a2
parent5c46aa85f8e0a751741271f4e90a9d4ef2586efd (diff)
downloadfreebsd-ports-gnome-e87570e18c4d66a57e72d3cbbf8a88e264d1b557.tar.gz
freebsd-ports-gnome-e87570e18c4d66a57e72d3cbbf8a88e264d1b557.tar.zst
freebsd-ports-gnome-e87570e18c4d66a57e72d3cbbf8a88e264d1b557.zip
- Update to 1.2.2
PR: 143953 Submitted by: moggie <"moggie atelasticmind.net"@elasticmind.net> (maintainer)
-rw-r--r--irc/ratbox-services/Makefile3
-rw-r--r--irc/ratbox-services/distinfo6
-rw-r--r--irc/ratbox-services/files/pkg-install.in12
-rw-r--r--irc/ratbox-services/files/pkg-message.in8
4 files changed, 16 insertions, 13 deletions
diff --git a/irc/ratbox-services/Makefile b/irc/ratbox-services/Makefile
index 02edf38cc5ad..ae2c35499f46 100644
--- a/irc/ratbox-services/Makefile
+++ b/irc/ratbox-services/Makefile
@@ -5,8 +5,7 @@
# $FreeBSD$
PORTNAME= ratbox-services
-PORTVERSION= 1.2.1
-PORTREVISION= 1
+PORTVERSION= 1.2.2
CATEGORIES= irc
MASTER_SITES= ftp://ftp.ircd-ratbox.org/pub/ircd-ratbox/${PORTNAME}/ \
ftp://ftp.demon.co.uk/pub/mirrors/ircd-ratbox/${PORTNAME}/ \
diff --git a/irc/ratbox-services/distinfo b/irc/ratbox-services/distinfo
index 1887aec85250..dbc61c89caff 100644
--- a/irc/ratbox-services/distinfo
+++ b/irc/ratbox-services/distinfo
@@ -1,3 +1,3 @@
-MD5 (ratbox-services-1.2.1.tgz) = 2db526a3d42bfdccf150666ffb335283
-SHA256 (ratbox-services-1.2.1.tgz) = 1753ecfe40938ea4f3761bb6131f5b88674c96d03db44bab1e5282909faf6b03
-SIZE (ratbox-services-1.2.1.tgz) = 2000652
+MD5 (ratbox-services-1.2.2.tgz) = b7524738f0e7ff4a3ae9f2015231a87a
+SHA256 (ratbox-services-1.2.2.tgz) = 587ad0eecd130b2fb214384fa37beb43de5e31b40ed56371fbf25c1263d715bd
+SIZE (ratbox-services-1.2.2.tgz) = 2010045
diff --git a/irc/ratbox-services/files/pkg-install.in b/irc/ratbox-services/files/pkg-install.in
index f7a260249d5f..7003b0b790fa 100644
--- a/irc/ratbox-services/files/pkg-install.in
+++ b/irc/ratbox-services/files/pkg-install.in
@@ -106,10 +106,14 @@ mkdir -p %%DBDIR%% \
&& chmod 750 %%DBDIR%%
# Secure permissions if we think this is a fresh install
-
-if [ ! -f ${PKG_PREFIX}/ratbox-services.conf ]; then
- chown ircservices:ircservices ${PKG_PREFIX}/etc/ratbox-services.conf.sample
- chmod 640 ${PKG_PREFIX}/etc/ratbox-services.conf.sample
+conffile="%%PREFIX%%/etc/ratbox-services.conf"
+samplefile="%%PREFIX%%/etc/ratbox-services.conf.sample"
+if cmp -s $conffile $samplefile; then
+ echo "Setting permissions for config file."
+ chown ircservices:ircservices $conffile
+ chmod 640 $conffile
+else
+ echo "Modified ratbox-services.conf file found, skipping perms setting."
fi
cd %%DATADIR%% \
diff --git a/irc/ratbox-services/files/pkg-message.in b/irc/ratbox-services/files/pkg-message.in
index f51cba7780a5..532d32426a78 100644
--- a/irc/ratbox-services/files/pkg-message.in
+++ b/irc/ratbox-services/files/pkg-message.in
@@ -46,12 +46,12 @@ server can be started by running:
Important UPGRADE Note:
-----------------------
-Upgrading to this current release will require modifications to the
-services configuration file and database so everything doesn't break.
-You must check the example configuration file and read the UPDATING docs
+Upgrading from 1.1.x to this current release will require modifications to
+the services configuration file and database so everything doesn't break.
+You must check the example configuration file and read the UPGRADING docs
for information on how to do this before starting services.
- %%DOCSDIR%%/UPDATING
+ %%DOCSDIR%%/UPGRADING
Common database update tools and scripts referenced in ratbox-services
documentation can be found in: