Date: Wed, 27 May 2009 03:15:15 +0100 (BST) From: Lewis <moggie@elasticmind.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/134972: [maintainer-update|patch] irc/ircd-ratbox-devel: Update to ratbox-3.0.4 Message-ID: <20090527021515.3CA0C26D28D@mail.elasticmind.net> Resent-Message-ID: <200905270240.n4R2e1WB087236@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 134972 >Category: ports >Synopsis: [maintainer-update|patch] irc/ircd-ratbox-devel: Update to ratbox-3.0.4 >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: Wed May 27 02:40:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Lewis >Release: FreeBSD 6.4-RELEASE amd64 >Organization: >Environment: System: FreeBSD 6.4-RELEASE FreeBSD 6.4-RELEASE #0: Fri Dec 5 00:14:33 GMT 2008 amd64 Port build tested on tinderbox supported branches. >Description: Updated ircd-ratbox-devel port to official testing release of ircd-ratbox-3.0.4. Port changes: o Update and fix post-install permissions check and sets to use cmp. Config files now set to be owned by root:ircd by default instead of root:wheel. Permissions shouldn't be overridden during a port upgrade. Software changes included in this release: o Fix forward DNS resolution, only used by connect::host with hostnames. o Check return values on rb_socketpair that can cause a crash if socketpair fails. o Add autoconf checks for -fstack-protector. o Add warnings for certain functions who's return values should always be checked. o Fix a CHALLENGE related core dump. >How-To-Repeat: >Fix: --- ircd-ratbox-devel-3.0.4.diff begins here --- diff -ruN ircd-ratbox-devel.orig/Makefile ircd-ratbox-devel/Makefile --- ircd-ratbox-devel.orig/Makefile 2009-05-26 00:56:35.000000000 +0100 +++ ircd-ratbox-devel/Makefile 2009-05-26 01:42:57.000000000 +0100 @@ -7,7 +7,7 @@ # ex: ts=8 PORTNAME= ircd-ratbox -PORTVERSION= 3.0.2 +PORTVERSION= 3.0.4 CATEGORIES= irc ipv6 MASTER_SITES= ftp://ftp.ircd-ratbox.org/pub/ircd-ratbox/testing/ \ ftp://ftp.demon.co.uk/pub/mirrors/ircd-ratbox/testing/ \ @@ -188,9 +188,9 @@ pre-su-install: @${SETENV} "PKG_PREFIX=${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL - ${MKDIR} ${PREFIX}/etc/${PORTNAME} - ${MKDIR} ${DATADIR}/help - ${MKDIR} ${PREFIX}/lib/${PORTNAME}/modules + ${MKDIR} ${PREFIX}/etc/${PORTNAME} + ${MKDIR} ${DATADIR}/help + ${MKDIR} ${PREFIX}/lib/${PORTNAME}/modules post-install: .if !defined(NOPORTDOCS) diff -ruN ircd-ratbox-devel.orig/distinfo ircd-ratbox-devel/distinfo --- ircd-ratbox-devel.orig/distinfo 2009-05-26 00:56:35.000000000 +0100 +++ ircd-ratbox-devel/distinfo 2009-05-26 01:02:30.000000000 +0100 @@ -1,3 +1,3 @@ -MD5 (ircd-ratbox-3.0.2.tar.bz2) = 277c952ed96cbd8e1c11a813e64b7eed -SHA256 (ircd-ratbox-3.0.2.tar.bz2) = d2f5b93f59ad46d483e646bf0bac3bcb69b14b4ad21ff9e20b1f76060b288067 -SIZE (ircd-ratbox-3.0.2.tar.bz2) = 1974438 +MD5 (ircd-ratbox-3.0.4.tar.bz2) = 6e2377a3bb9c016a1a15b0bb2965f6e1 +SHA256 (ircd-ratbox-3.0.4.tar.bz2) = e45444b5e8956faf1f43e509844fba7da539b4f97422c34d0d97345a4745e385 +SIZE (ircd-ratbox-3.0.4.tar.bz2) = 1979817 diff -ruN ircd-ratbox-devel.orig/files/pkg-install.in ircd-ratbox-devel/files/pkg-install.in --- ircd-ratbox-devel.orig/files/pkg-install.in 2009-05-26 00:56:35.000000000 +0100 +++ ircd-ratbox-devel/files/pkg-install.in 2009-05-26 17:09:01.000000000 +0100 @@ -107,12 +107,15 @@ && chmod 750 %%DBDIR%% # Secure permissions if we think this is a fresh install - -if [ ! -f %%PREFIX%%/etc/ircd-ratbox/ircd.conf ]; then +conffile="%%PREFIX%%/etc/ircd-ratbox/ircd.conf" +samplefile="%%PREFIX%%/etc/ircd-ratbox/ircd.conf.sample" +if cmp -s $conffile $samplefile; then echo "Setting permissions for config dir and files." - chown -R ircd:ircd %%PREFIX%%/etc/ircd-ratbox/ + chown -R root:ircd %%PREFIX%%/etc/ircd-ratbox/ chmod 750 %%PREFIX%%/etc/ircd-ratbox/ chmod 640 %%PREFIX%%/etc/ircd-ratbox/* +else + echo "Modified ircd.conf file found, skipping perms setting." fi #----------------------------------------------------------------------- --- ircd-ratbox-devel-3.0.4.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090527021515.3CA0C26D28D>