Date: Wed, 15 Jan 2003 23:20:02 -0800 (PST) From: "Simon 'corecode' Schubert" <corecode@corecode.ath.cx> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/47128: New port: hybserv (irc services for ircd-hybrid) Message-ID: <200301160720.h0G7K2uV028236@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/47128; it has been noted by GNATS. From: "Simon 'corecode' Schubert" <corecode@corecode.ath.cx> To: Rick Fournier <rick@help-desk.ca> Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: ports/47128: New port: hybserv (irc services for ircd-hybrid) Date: Thu, 16 Jan 2003 08:19:59 +0100 --=.d2R7b4E9rMMvoS Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Lately Rick Fournier told: > sed 's/^X//' >hybserv/files/hybserv.sh << 'END-of-hybserv/files/hybserv.sh' > X#!/bin/sh > Xif [ $# -eq 0 -o x$1 = xstart ]; then ^^^^^^^^^^^ are you sure the users want this? POLA say: just start when requested :) i'd output options (= start|stop|restart?) when $# == 0 > X if [ -x %PREFIX%/hybserv/hybserv ]; then > X su -fm hybserv -c %PREFIX%/hybserv/hybserv && echo ' hybserv' > X fi > Xfi > Xif [ x$1 = xstop ]; then > X if [ -f %PREFIX%/hybserv/hybserv.pid ]; then > X kill `cat %PREFIX%/hybserv/hybserv.pid` i don't know hybserv, but is it possible to write the pid to /var/run/? this allows people to let ${PREFIX}/hybserv to be mounted ro [...] > sed 's/^X//' >hybserv/pkg-descr << 'END-of-hybserv/pkg-descr' > XHybServ was specifically designed to run with hybrid ircd, although it > X*should* work with CSr as well. These services (more or less same code) > Xare currently used by EFNet / DalNet / ICQ / WFNet / HybNet / > XEFNow / Openprojects Network. ^^^^^^^^^^^^^^^^^^^^ now freenode? > sed 's/^X//' >hybserv/pkg-install << 'END-of-hybserv/pkg-install' [...] > X pw groupadd hybserv -g 73 || exit [...] > X pw useradd hybserv -g hybserv -u 73 -h - -d /nonexistent \ > X -s /nonexistent -c "IRC Daemon" || exit really use a new UID? <http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/dads-uid.html> says that UID 72 is reserved for IRCd, wouldn't that suit? if not, you should register the GID/UID [...] > sed 's/^X//' >hybserv/pkg-plist << 'END-of-hybserv/pkg-plist' > Xhybserv/hybserv > Xhybserv/cleandb > Xhybserv/encryptconf > Xhybserv/encryptdb > Xhybserv/mkpasswd > Xhybserv/servchk > Xhybserv/fixlevel can hybserv be squeezed into hier(7)? i.e. install hybserv into bin/ and other binaries into libexec/hybserv/ > Xhybserv/hybserv.conf > Xhybserv/settings.conf > Xhybserv/motd.dcc > Xhybserv/motd.global use etc/hybserv? > Xhybserv/shownicks > Xhybserv/showchans dito > Xhybserv/help/memoserv/undel [...] > Xhybserv/help/chanserv/drop ${DATADIR}? cheers simon -- /"\ http://corecode.ath.cx/#donate \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News --=.d2R7b4E9rMMvoS Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+Jl0jr5S+dk6z85oRAi8BAKC8nZA2M0ti+IthsBlL7WXAXMl36QCfau+A 9nmWzo5Cc5qHjd5S6sIE+Ao= =qaip -----END PGP SIGNATURE----- --=.d2R7b4E9rMMvoS-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301160720.h0G7K2uV028236>