View | Details | Raw Unified | Return to bug 117547
Collapse All | Expand All

(-)ircd-ratbox-devel/Makefile (-2 / +14 lines)
Lines 8-23 Link Here
8
8
9
PORTNAME=	ircd-ratbox
9
PORTNAME=	ircd-ratbox
10
PORTVERSION=	2.2.6
10
PORTVERSION=	2.2.6
11
PORTREVISION=	1
11
CATEGORIES=	irc ipv6
12
CATEGORIES=	irc ipv6
12
MASTER_SITES=	ftp://ftp.ircd-ratbox.org/pub/ircd-ratbox/		\
13
MASTER_SITES=	ftp://ftp.ircd-ratbox.org/pub/ircd-ratbox/		\
13
		ftp://ftp.demon.co.uk/pub/mirrors/ircd-ratbox/		\
14
		ftp://ftp.demon.co.uk/pub/mirrors/ircd-ratbox/		\
14
		http://www.ircd-ratbox.org/download/			\
15
		http://www.ircd-ratbox.org/download/			\
15
		ftp://ftp.parodius.com/pub/ircd-ratbox/
16
		ftp://ftp.parodius.com/pub/ircd-ratbox/			\
17
		http://www.ircd-ratbox.org/download/old/
16
PKGNAMESUFFIX=	-devel
18
PKGNAMESUFFIX=	-devel
17
EXTRACT_SUFX=	.tgz
19
EXTRACT_SUFX=	.tgz
18
20
19
MAINTAINER=	moggie@elasticmind.net
21
MAINTAINER=	moggie@elasticmind.net
20
COMMENT=	An advanced, stable IRC daemon, used on many EFnet servers ('testing' release)
22
COMMENT=	Advanced, stable IRC daemon, used widely on EFnet ('testing' release)
21
23
22
CONFLICTS=	ircd-ratbox-[0-9]*
24
CONFLICTS=	ircd-ratbox-[0-9]*
23
25
Lines 137-142 Link Here
137
	${INSTALL_DATA} ${WRKSRC}/doc/ircd.motd ${PREFIX}/etc/${PORTNAME}/ircd.motd.sample
139
	${INSTALL_DATA} ${WRKSRC}/doc/ircd.motd ${PREFIX}/etc/${PORTNAME}/ircd.motd.sample
138
	${INSTALL_DATA} ${WRKSRC}/doc/example.conf ${PREFIX}/etc/${PORTNAME}/ircd.conf.sample
140
	${INSTALL_DATA} ${WRKSRC}/doc/example.conf ${PREFIX}/etc/${PORTNAME}/ircd.conf.sample
139
	${INSTALL_DATA} ${WRKSRC}/doc/example.efnet.conf ${PREFIX}/etc/${PORTNAME}/ircd-efnet.conf.sample
141
	${INSTALL_DATA} ${WRKSRC}/doc/example.efnet.conf ${PREFIX}/etc/${PORTNAME}/ircd-efnet.conf.sample
142
143
	@if [ ! -f ${PREFIX}/etc/${PORTNAME}/ircd.conf ]; then \
144
		${ECHO} "Installing default configuration file."; \
145
		${CP} -p ${PREFIX}/etc/${PORTNAME}/ircd.conf.sample ${PREFIX}/etc/${PORTNAME}/ircd.conf ; \
146
	fi
147
148
	@if [ ! -f ${PREFIX}/etc/${PORTNAME}/ircd.motd ]; then \
149
		${ECHO} "Installing default motd file."; \
150
		${CP} -p ${PREFIX}/etc/${PORTNAME}/ircd.motd.sample ${PREFIX}/etc/${PORTNAME}/ircd.motd ; \
151
	fi
140
152
141
	@${SETENV} "PKG_PREFIX=${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
153
	@${SETENV} "PKG_PREFIX=${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
142
	@${CAT} ${PKGMESSAGE}
154
	@${CAT} ${PKGMESSAGE}
(-)ircd-ratbox-devel/files/pkg-message.in (-3 / +5 lines)
Lines 1-9 Link Here
1
------------------------------------------------------------------------
1
------------------------------------------------------------------------
2
ircd-ratbox has been successfully installed.
2
ircd-ratbox has been successfully installed.
3
3
4
You should now copy %%PREFIX%%/etc/ircd-ratbox/ircd.conf.sample to
4
Sample 'ircd.conf' and 'ircd.motd' files have been created in the
5
%%PREFIX%%/etc/ircd-ratbox/ircd.conf, and edit it as per the ratbox
5
ircd-ratbox configuration directory. A sample configuration file is
6
documentation. This file is required to start the server.
6
included for EFNet-like configurations that can be used instead. You
7
should now edit these files as per the ratbox documentation.
8
A configured ircd.conf file is required to start the server.
7
9
8
Once you have added ircd_ratbox_enable="YES" to /etc/rc.conf, the
10
Once you have added ircd_ratbox_enable="YES" to /etc/rc.conf, the
9
server can be started by running:
11
server can be started by running:
(-)ircd-ratbox-devel/pkg-plist (-4 / +8 lines)
Lines 7-14 Link Here
7
bin/viklines
7
bin/viklines
8
bin/vimotd
8
bin/vimotd
9
etc/ircd-ratbox/ircd-efnet.conf.sample
9
etc/ircd-ratbox/ircd-efnet.conf.sample
10
etc/ircd-ratbox/ircd.conf.sample
11
etc/ircd-ratbox/ircd.motd.sample
12
lib/ircd-ratbox/modules/autoload/m_accept.so
10
lib/ircd-ratbox/modules/autoload/m_accept.so
13
lib/ircd-ratbox/modules/autoload/m_admin.so
11
lib/ircd-ratbox/modules/autoload/m_admin.so
14
lib/ircd-ratbox/modules/autoload/m_away.so
12
lib/ircd-ratbox/modules/autoload/m_away.so
Lines 232-237 Link Here
232
@unexec f="%D/etc/ircd-ratbox/kline.conf"; if [ ! -s "$f" ]; then rm -f "$f"; fi
230
@unexec f="%D/etc/ircd-ratbox/kline.conf"; if [ ! -s "$f" ]; then rm -f "$f"; fi
233
@unexec f="%D/etc/ircd-ratbox/resv.conf";  if [ ! -s "$f" ]; then rm -f "$f"; fi
231
@unexec f="%D/etc/ircd-ratbox/resv.conf";  if [ ! -s "$f" ]; then rm -f "$f"; fi
234
@unexec f="%D/etc/ircd-ratbox/xline.conf"; if [ ! -s "$f" ]; then rm -f "$f"; fi
232
@unexec f="%D/etc/ircd-ratbox/xline.conf"; if [ ! -s "$f" ]; then rm -f "$f"; fi
233
@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
234
etc/ircd-ratbox/ircd.conf.sample
235
@exec if [ ! -f %D/etc/ircd-ratbox/ircd.conf ] ; then cp -p %D/%F %B/ircd.conf; fi
236
@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
237
etc/ircd-ratbox/ircd.motd.sample
238
@exec if [ ! -f %D/etc/ircd-ratbox/ircd.motd ] ; then cp -p %D/%F %B/ircd.motd; fi
235
@dirrmtry etc/ircd-ratbox
239
@dirrmtry etc/ircd-ratbox
236
@unexec rmdir %%LOGDIR%% 2>/dev/null || true
240
@dirrmtry %%LOGDIR%%
237
@unexec rmdir %%RUNDIR%% 2>/dev/null || true
241
@dirrmtry %%RUNDIR%%

Return to bug 117547