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

(-)ratbox-services/Makefile (-2 / +8 lines)
Lines 6-17 Link Here
6
6
7
PORTNAME=	ratbox-services
7
PORTNAME=	ratbox-services
8
PORTVERSION=	1.1.2
8
PORTVERSION=	1.1.2
9
PORTREVISION=	1
9
PORTREVISION=	2
10
CATEGORIES=	irc
10
CATEGORIES=	irc
11
MASTER_SITES=	ftp://ftp.ircd-ratbox.org/pub/ircd-ratbox/${PORTNAME}/	\
11
MASTER_SITES=	ftp://ftp.ircd-ratbox.org/pub/ircd-ratbox/${PORTNAME}/	\
12
		ftp://ftp.demon.co.uk/pub/mirrors/ircd-ratbox/${PORTNAME}/ \
12
		ftp://ftp.demon.co.uk/pub/mirrors/ircd-ratbox/${PORTNAME}/ \
13
		http://services.ircd-ratbox.org/download/		\
13
		http://services.ircd-ratbox.org/download/		\
14
		ftp://ftp.parodius.com/pub/ircd-ratbox/${PORTNAME}/
14
		ftp://ftp.parodius.com/pub/ircd-ratbox/${PORTNAME}/	\
15
		http://services.ircd-ratbox.org/download/old/
15
EXTRACT_SUFX=	.tgz
16
EXTRACT_SUFX=	.tgz
16
17
17
PATCH_SITES=	http://www.elasticmind.net/freebsd/ports/distfiles/	\
18
PATCH_SITES=	http://www.elasticmind.net/freebsd/ports/distfiles/	\
Lines 182-187 Link Here
182
	${INSTALL_DATA} ${WRKSRC}/INSTALL.sqlite ${DOCSDIR}/INSTALL.sqlite
183
	${INSTALL_DATA} ${WRKSRC}/INSTALL.sqlite ${DOCSDIR}/INSTALL.sqlite
183
	${INSTALL_DATA} ${WRKSRC}/UPGRADING ${DOCSDIR}/UPGRADING
184
	${INSTALL_DATA} ${WRKSRC}/UPGRADING ${DOCSDIR}/UPGRADING
184
	${INSTALL_DATA} ${WRKSRC}/DBMOVE ${DOCSDIR}/DBMOVE
185
	${INSTALL_DATA} ${WRKSRC}/DBMOVE ${DOCSDIR}/DBMOVE
186
187
	@if [ ! -f ${PREFIX}/etc/ratbox-services.conf ]; then \
188
		${ECHO} "Installing default configuration file."; \
189
		${CP} -p ${PREFIX}/etc/ratbox-services.conf.sample ${PREFIX}/etc/ratbox-services.conf ; \
190
	fi
185
191
186
	@${SETENV} "PKG_PREFIX=${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
192
	@${SETENV} "PKG_PREFIX=${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
187
	@${CAT} ${PKGMESSAGE}
193
	@${CAT} ${PKGMESSAGE}
(-)ratbox-services/files/pkg-message.in (-2 / +2 lines)
Lines 1-8 Link Here
1
------------------------------------------------------------------------
1
------------------------------------------------------------------------
2
ratbox-services has been successfully installed.
2
ratbox-services has been successfully installed.
3
3
4
You should now copy %%PREFIX%%/etc/ratbox-services.conf.sample to
4
A sample configuration file 'ratbox-services.conf' has been created in
5
%%PREFIX%%/etc/ratbox-services.conf, and edit it as per the
5
'%%PREFIX%%/etc/', you should edit this file as per the
6
ratbox-services documentation. This file is required to start services.
6
ratbox-services documentation. This file is required to start services.
7
7
8
You may also need to perform the following steps, if you have not
8
You may also need to perform the following steps, if you have not
(-)ratbox-services/pkg-descr (-1 / +1 lines)
Lines 2-8 Link Here
2
use with ircd-ratbox.
2
use with ircd-ratbox.
3
3
4
It is highly configurable, with nearly all options being set in a config
4
It is highly configurable, with nearly all options being set in a config
5
that can be rehashed rather than set at compile time. As well supporting
5
that can be rehashed rather than set at compile time. As well as supporting
6
standard database backends like PostgreSQL, its default is to use
6
standard database backends like PostgreSQL, its default is to use
7
the SQLite database backend, which works as a database interface to a normal
7
the SQLite database backend, which works as a database interface to a normal
8
file, meaning no seperate database software must be running.
8
file, meaning no seperate database software must be running.
(-)ratbox-services/pkg-plist (-1 / +3 lines)
Lines 16-22 Link Here
16
%%DOCSDIR%%/INSTALL.sqlite
16
%%DOCSDIR%%/INSTALL.sqlite
17
%%DOCSDIR%%/UPGRADING
17
%%DOCSDIR%%/UPGRADING
18
%%DOCSDIR%%/DBMOVE
18
%%DOCSDIR%%/DBMOVE
19
etc/ratbox-services.conf.sample
20
sbin/ratbox-services
19
sbin/ratbox-services
21
include/setup.h
20
include/setup.h
22
include/rserv.h
21
include/rserv.h
Lines 201-205 Link Here
201
@dirrm %%DATADIR%%
200
@dirrm %%DATADIR%%
202
@dirrmtry %%DBDIR%%
201
@dirrmtry %%DBDIR%%
203
@dirrmtry %%DOCSDIR%%
202
@dirrmtry %%DOCSDIR%%
203
@unexec if cmp -s %D/etc/ratbox-services.conf.sample %D/etc/ratbox-services.conf; then rm -f %D/etc/ratbox-services.conf; fi
204
etc/ratbox-services.conf.sample
205
@exec if [ ! -f %D/etc/ratbox-services.conf ] ; then cp -p %D/%F %B/ratbox-services.conf; fi
204
@unexec f="/var/log/ratbox-services.log"; if [ ! -s "$f" ]; then rm -f "$f"; fi
206
@unexec f="/var/log/ratbox-services.log"; if [ ! -s "$f" ]; then rm -f "$f"; fi
205
@unexec f="/var/run/ratbox-services.pid"; if [ ! -s "$f" ]; then rm -f "$f"; fi
207
@unexec f="/var/run/ratbox-services.pid"; if [ ! -s "$f" ]; then rm -f "$f"; fi

Return to bug 117548