FreeBSD Bugzilla – Attachment 82152 Details for
Bug 117547
[maintainer-update|patch] irc/ircd-ratbox-devel: Tidy-up, improved config handling.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ircd-ratbox-devel-2.2.6_1.diff
ircd-ratbox-devel-2.2.6_1.diff (text/plain), 3.99 KB, created by
moggie
on 2007-10-27 02:10:00 UTC
(
hide
)
Description:
ircd-ratbox-devel-2.2.6_1.diff
Filename:
MIME Type:
Creator:
moggie
Created:
2007-10-27 02:10:00 UTC
Size:
3.99 KB
patch
obsolete
>diff -ruN ircd-ratbox-devel.orig/Makefile ircd-ratbox-devel/Makefile >--- ircd-ratbox-devel.orig/Makefile Sat Oct 27 01:13:25 2007 >+++ ircd-ratbox-devel/Makefile Sat Oct 27 01:09:43 2007 >@@ -8,16 +8,18 @@ > > PORTNAME= ircd-ratbox > PORTVERSION= 2.2.6 >+PORTREVISION= 1 > CATEGORIES= irc ipv6 > MASTER_SITES= ftp://ftp.ircd-ratbox.org/pub/ircd-ratbox/ \ > ftp://ftp.demon.co.uk/pub/mirrors/ircd-ratbox/ \ > http://www.ircd-ratbox.org/download/ \ >- ftp://ftp.parodius.com/pub/ircd-ratbox/ >+ ftp://ftp.parodius.com/pub/ircd-ratbox/ \ >+ http://www.ircd-ratbox.org/download/old/ > PKGNAMESUFFIX= -devel > EXTRACT_SUFX= .tgz > > MAINTAINER= moggie@elasticmind.net >-COMMENT= An advanced, stable IRC daemon, used on many EFnet servers ('testing' release) >+COMMENT= Advanced, stable IRC daemon, used widely on EFnet ('testing' release) > > CONFLICTS= ircd-ratbox-[0-9]* > >@@ -137,6 +139,16 @@ > ${INSTALL_DATA} ${WRKSRC}/doc/ircd.motd ${PREFIX}/etc/${PORTNAME}/ircd.motd.sample > ${INSTALL_DATA} ${WRKSRC}/doc/example.conf ${PREFIX}/etc/${PORTNAME}/ircd.conf.sample > ${INSTALL_DATA} ${WRKSRC}/doc/example.efnet.conf ${PREFIX}/etc/${PORTNAME}/ircd-efnet.conf.sample >+ >+ @if [ ! -f ${PREFIX}/etc/${PORTNAME}/ircd.conf ]; then \ >+ ${ECHO} "Installing default configuration file."; \ >+ ${CP} -p ${PREFIX}/etc/${PORTNAME}/ircd.conf.sample ${PREFIX}/etc/${PORTNAME}/ircd.conf ; \ >+ fi >+ >+ @if [ ! -f ${PREFIX}/etc/${PORTNAME}/ircd.motd ]; then \ >+ ${ECHO} "Installing default motd file."; \ >+ ${CP} -p ${PREFIX}/etc/${PORTNAME}/ircd.motd.sample ${PREFIX}/etc/${PORTNAME}/ircd.motd ; \ >+ fi > > @${SETENV} "PKG_PREFIX=${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL > @${CAT} ${PKGMESSAGE} >diff -ruN ircd-ratbox-devel.orig/files/pkg-message.in ircd-ratbox-devel/files/pkg-message.in >--- ircd-ratbox-devel.orig/files/pkg-message.in Sat Oct 27 01:13:25 2007 >+++ ircd-ratbox-devel/files/pkg-message.in Sat Oct 27 01:09:43 2007 >@@ -1,9 +1,11 @@ > ------------------------------------------------------------------------ > ircd-ratbox has been successfully installed. > >-You should now copy %%PREFIX%%/etc/ircd-ratbox/ircd.conf.sample to >-%%PREFIX%%/etc/ircd-ratbox/ircd.conf, and edit it as per the ratbox >-documentation. This file is required to start the server. >+Sample 'ircd.conf' and 'ircd.motd' files have been created in the >+ircd-ratbox configuration directory. A sample configuration file is >+included for EFNet-like configurations that can be used instead. You >+should now edit these files as per the ratbox documentation. >+A configured ircd.conf file is required to start the server. > > Once you have added ircd_ratbox_enable="YES" to /etc/rc.conf, the > server can be started by running: >diff -ruN ircd-ratbox-devel.orig/pkg-plist ircd-ratbox-devel/pkg-plist >--- ircd-ratbox-devel.orig/pkg-plist Sat Oct 27 01:13:25 2007 >+++ ircd-ratbox-devel/pkg-plist Sat Oct 27 01:09:43 2007 >@@ -7,8 +7,6 @@ > bin/viklines > bin/vimotd > etc/ircd-ratbox/ircd-efnet.conf.sample >-etc/ircd-ratbox/ircd.conf.sample >-etc/ircd-ratbox/ircd.motd.sample > lib/ircd-ratbox/modules/autoload/m_accept.so > lib/ircd-ratbox/modules/autoload/m_admin.so > lib/ircd-ratbox/modules/autoload/m_away.so >@@ -232,6 +230,12 @@ > @unexec f="%D/etc/ircd-ratbox/kline.conf"; if [ ! -s "$f" ]; then rm -f "$f"; fi > @unexec f="%D/etc/ircd-ratbox/resv.conf"; if [ ! -s "$f" ]; then rm -f "$f"; fi > @unexec f="%D/etc/ircd-ratbox/xline.conf"; if [ ! -s "$f" ]; then rm -f "$f"; fi >+@unexec if cmp -s %D/etc/ircd-ratbox/ircd.conf.sample %D/etc/ircd-ratbox/ircd.conf; then rm -f %D/etc/ircd-ratbox/ircd.conf; fi >+etc/ircd-ratbox/ircd.conf.sample >+@exec if [ ! -f %D/etc/ircd-ratbox/ircd.conf ] ; then cp -p %D/%F %B/ircd.conf; fi >+@unexec if cmp -s %D/etc/ircd-ratbox/ircd.motd.sample %D/etc/ircd-ratbox/ircd.motd; then rm -f %D/etc/ircd-ratbox/ircd.motd; fi >+etc/ircd-ratbox/ircd.motd.sample >+@exec if [ ! -f %D/etc/ircd-ratbox/ircd.motd ] ; then cp -p %D/%F %B/ircd.motd; fi > @dirrmtry etc/ircd-ratbox >-@unexec rmdir %%LOGDIR%% 2>/dev/null || true >-@unexec rmdir %%RUNDIR%% 2>/dev/null || true >+@dirrmtry %%LOGDIR%% >+@dirrmtry %%RUNDIR%%
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 117547
: 82152