Date: Thu, 16 Jan 2003 09:20:07 -0800 (PST) From: Rick Fournier <rick@help-desk.ca> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/47128: New port: hybserv (irc services for ircd-hybrid) Message-ID: <200301161720.h0GHK7cf092133@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: Rick Fournier <rick@help-desk.ca> To: "Simon 'corecode' Schubert" <corecode@corecode.ath.cx> Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: ports/47128: New port: hybserv (irc services for ircd-hybrid) Date: Thu, 16 Jan 2003 12:17:28 -0500 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On January 16, 2003 02:19 am, Simon 'corecode' Schubert wrote: > 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 =3D xstart ]; then > > ^^^^^^^^^^^ > are you sure the users want this? POLA say: just start when requested := ) > i'd output options (=3D start|stop|restart?) when $# =3D=3D 0 thats right, I redid hybserv.sh according to the handbook's example. > > X if [ -x %PREFIX%/hybserv/hybserv ]; then > > X su -fm hybserv -c %PREFIX%/hybserv/hybserv && echo ' hybserv' > > X fi > > Xfi > > Xif [ x$1 =3D 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 it can write the pid anywhere but needs to be set via the settings.conf f= ile. > > 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 co= de) > > Xare currently used by EFNet / DalNet / ICQ / WFNet / HybNet / > > XEFNow / Openprojects Network. > > ^^^^^^^^^^^^^^^^^^^^ > now freenode? Il change that to. > > sed 's/^X//' >hybserv/pkg-install << 'END-of-hybserv/pkg-install' > > [...] > > > X=09=09pw groupadd hybserv -g 73 || exit > > [...] > > > X=09=09pw useradd hybserv -g hybserv -u 73 -h - -d /nonexistent \ > > X=09=09=09-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 herm, I guess it would make more sence to use the ircd 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/ Im trying this now and it can, but not very well. some lack of support fo= r a=20 data dir, (its saves the data where the pid exec's from) Il see what I can do and re-submit a new shar file. > > 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 - --=20 Rick Fournier (rick@help-desk.ca) PGP KeyID 31846E22 (B1E3 AE2E C867 F491 BF9F 9485 7818 122D 3184 6E22) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+JukseBgSLTGEbiIRAh3rAJ44RVs6G0pvHklY4LxIGh27X3pRpwCg+E+A Avseb/YH+57BWdOvZqpqAEQ=3D =3DGDTG -----END PGP SIGNATURE----- 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?200301161720.h0GHK7cf092133>