From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Feb 15 13:50:02 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FCA21065676 for ; Mon, 15 Feb 2010 13:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1E5858FC1A for ; Mon, 15 Feb 2010 13:50:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o1FDo1Il014463 for ; Mon, 15 Feb 2010 13:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o1FDo1Hg014462; Mon, 15 Feb 2010 13:50:01 GMT (envelope-from gnats) Resent-Date: Mon, 15 Feb 2010 13:50:01 GMT Resent-Message-Id: <201002151350.o1FDo1Hg014462@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, moggie Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8031106566B for ; Mon, 15 Feb 2010 13:48:51 +0000 (UTC) (envelope-from moggie@elasticmind.net) Received: from mail.elasticmind.net (mail.elasticmind.net [85.113.90.11]) by mx1.freebsd.org (Postfix) with ESMTP id 6664B8FC13 for ; Mon, 15 Feb 2010 13:48:51 +0000 (UTC) Received: by mail.elasticmind.net (Postfix, from userid 1001) id DF65326D23E; Mon, 15 Feb 2010 13:48:23 +0000 (GMT) Message-Id: <20100215134823.DF65326D23E@mail.elasticmind.net> Date: Mon, 15 Feb 2010 13:48:23 +0000 (GMT) From: moggie <"moggie atelasticmind.net"@elasticmind.net> To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/143953: [maintainer-update|patch] irc/ratbox-services: Update to version 1.2.2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: moggie List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2010 13:50:02 -0000 >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 = ; 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: