Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Jan 2004 11:23:27 +0100
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        Brooks Davis <brooks@one-eyed-alien.net>, Doug Barton <DougB@freebsd.org>
Cc:        =?ISO-8859-1?Q?Lars_K=F6ller?= <Lars@koellers.net>
Subject:   Re: Please reserve UID/GID for bacula port
Message-ID:  <92160468.1073561007@pouet.in.mat.cc>
In-Reply-To: <20040107215944.GB25920@Odin.AC.HMC.Edu>
References:  <200401070846.i078kppZ001556@odie.koellers.net> <20040107215944.GB25920@Odin.AC.HMC.Edu>

next in thread | previous in thread | raw e-mail | index | archive | help
--==========76544924BEDF25D00515==========
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

+-Le 07/01/2004 13:59 -0800, Brooks Davis =E9crivait :
| On Wed, Jan 07, 2004 at 01:48:42PM -0800, Doug Barton wrote:
|> On Wed, 7 Jan 2004, Lars K=F6ller wrote:
|>=20
|> > Sorry, but I can't give you a number. But I think there is no
|> > "large percentage of our userbase" using it. Even some active FreeBSD
|> > user are on the bacula mailing list.
|>=20
|> Ok, then I like the idea of the port itself adding some lines to
|> /etc/services to accomodate this. As for the argument that they would
|> get deleted by (improper decisions made while using) mergemaster, it
|> would be up to the port author to make it clear ... something like:
|>=20
|> # These three lines are added by ports/sysutils/bacula
|> bacula-1	9999/tcp	# Added by ports/sysutils/bacula
|> ...
|> # End of lines added by ports/sysutils/bacula
|>=20
|> That way the user has a fighting chance of making the right mergemaster
|> decision, and the port has an easy way to delete those lines when its
|> uninstalled.
|=20
| At the very least it would be good to not add lines for services which
| already exist so the user doesn't end up with a new copy of the lines
| every time they do a portupgrade.  That way you avoid situations like
| the way the perl ports spam make.conf with 11 lines of crap every time
| perl gets upgraded on a 5.x system.

Well, what I proposed contained an echo to add the lines at post-install,
and a sed to remove the lines at deinstall, which would work well for
portupgrade or any other way of updating ports which make use of
deinstallation and not FORCE_PKG_REGISTER.

--=20
Mathieu Arnold
--==========76544924BEDF25D00515==========
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (MingW32)

iD8DBQE//S+hqYYpzGz/vmcRAnZuAJ45eEB7pTJsY8hd2lle3GJy9ets+wCdEIsj
aIMvWcIn+kBq17rStbuDcas=
=cs8K
-----END PGP SIGNATURE-----

--==========76544924BEDF25D00515==========--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?92160468.1073561007>