ports/143953: [maintainer-update|patch] irc/ratbox-services: Update to version 1.2.2

moggie "moggie atelasticmind.net" at elasticmind.net
Mon Feb 15 13:50:02 UTC 2010


>Number:         143953
>Category:       ports
>Synopsis:       [maintainer-update|patch] irc/ratbox-services: Update to version 1.2.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 15 13:50:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     moggie
>Release:        FreeBSD 7.2-RELEASE-p5 amd64
>Organization:
>Environment:
System: FreeBSD 7.2-RELEASE-p5 FreeBSD 7.2-RELEASE-p5 #0: Thu Dec 3 18:59:41 GMT 2009 amd64

	
>Description:
Updated ratbox-services port to official "stable" ratbox-services-1.2.2 release.

Software changes included in this release:
- Fix compilation with gcc-4.4.
- ChanServ will now remove bans from the channel when they expire in the database.
- Fix a potential crash by a user changing their email address with UserServ.
- Add in support for chanmode +S (ssl-only). rserv will now always support the ircd sending channel mode +S.
- New general {}; conf option: allow_sslonly = <yes|no>; controls whether users can instruct ChanServ to use the +S mode.
  This should match the ircd setting.
- chanserv::set::topic will now cause ChanServ to update the topic if it is already present in the channel.
- BanServ expires based on events, but this prevented a kline (etc) that had just expired from being reset. Enforce an expiry of all bans prior to handling a request from an oper.
- ChanServ { expireban_frequency }; and chanserv { expiretopic_frequency }; were being ignored and defaults used in their place.
- MemoServ will now notify users when they login if they have unread memos.
- OLOGIN/OPERLOGIN will now enforce usernames are correct.
- Fix an issue with userserv allowing usernames above the maximum length. It will now ignore these and warn about them on startup.

	
>How-To-Repeat:
	
>Fix:

	

--- ratbox-services-1.2.2.diff begins here ---
diff -ruN ratbox-services.orig/Makefile ratbox-services/Makefile
--- ratbox-services.orig/Makefile	2010-02-04 22:37:54.000000000 +0000
+++ ratbox-services/Makefile	2010-02-04 22:09:56.000000000 +0000
@@ -5,8 +5,7 @@
 # $FreeBSD: ports/irc/ratbox-services/Makefile,v 1.10 2009/06/16 21:09:33 itetcu Exp $
 
 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 -ruN ratbox-services.orig/distinfo ratbox-services/distinfo
--- ratbox-services.orig/distinfo	2010-02-04 22:37:54.000000000 +0000
+++ ratbox-services/distinfo	2010-02-04 22:10:14.000000000 +0000
@@ -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 -ruN ratbox-services.orig/files/pkg-install.in ratbox-services/files/pkg-install.in
--- ratbox-services.orig/files/pkg-install.in	2010-02-04 22:37:54.000000000 +0000
+++ ratbox-services/files/pkg-install.in	2010-02-04 22:34:39.000000000 +0000
@@ -106,10 +106,14 @@
 && 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 -ruN ratbox-services.orig/files/pkg-message.in ratbox-services/files/pkg-message.in
--- ratbox-services.orig/files/pkg-message.in	2010-02-04 22:37:54.000000000 +0000
+++ ratbox-services/files/pkg-message.in	2010-02-04 22:20:54.000000000 +0000
@@ -46,12 +46,12 @@
 
 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:
--- ratbox-services-1.2.2.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list