Please reserve UID/GID for bacula port

Mathieu Arnold mat at
Wed Jan 7 01:06:53 PST 2004

+-Le 07/01/2004 09:46 +0100, Lars Köller écrivait :
| In reply to Doug Barton who wrote:
|> On Mon, 5 Jan 2004, Lars Köller wrote:
|>> 910 is chosen cause bacula uses the TCP ports 9101, 9102 and 9103
|>> (IANA registered). Perhaps they could be included into /etc/system:
|> Since every line we add to /etc/services adds expense to the various
|> getportby*() functions, we only add new lines when it can be
|> demonstrated that it would benefit a large percentage of our userbase.
|> How many people do you think use this bacula port?
| 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.
| It's nice to have the ports in /etc/services when using tolls like 
| lsof. 

Maybe a simple pkg-{,de}install like this :

pkg-install :

case "$2" in
        echo "# Bacula port start
bacula-dir      9101/tcp   #Bacula director daemon
bacula-fd       9102/tcp   #Bacula file daemon
bacula-sd       9103/tcp   #Bacula storage daemon
# Bacule port end" >> /etc/services

pkg-deinstall :

case "$2" in
        sed -e '/# Bacula port start/,/# Bacule port end/{' \
            -e 'd' \
            -e '}' /etc/services > $TMPFILE
        mv -f $TMPFILE /etc/services

and add a :
                @${SETENV} ${INSTALL_ENV} ${SH} ${PKGINSTALL} ${PKGNAME}

to the Makefile.

Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-ports mailing list