From owner-freebsd-ports-bugs Thu Jan 16 9:20:11 2003 Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 00B6237B401 for ; Thu, 16 Jan 2003 09:20:08 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D3E543F6D for ; Thu, 16 Jan 2003 09:20:07 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h0GHK7NS092134 for ; Thu, 16 Jan 2003 09:20:07 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h0GHK7cf092133; Thu, 16 Jan 2003 09:20:07 -0800 (PST) Date: Thu, 16 Jan 2003 09:20:07 -0800 (PST) Message-Id: <200301161720.h0GHK7cf092133@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org Cc: From: Rick Fournier Subject: Re: ports/47128: New port: hybserv (irc services for ircd-hybrid) Reply-To: Rick Fournier Sender: owner-freebsd-ports-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/47128; it has been noted by GNATS. From: Rick Fournier To: "Simon 'corecode' Schubert" 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? > .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