Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 5934 Build 6217: arc lint + arc unit
Event Timeline
I think this is a phenomenal idea. The only downside that I can see is when two ports want services on the same ports (such as bacula-server and bareos-server), but really given that they're mostly nomenclature this shouldn't cause much problem.
Keywords/service.ucl | ||
---|---|---|
24 | This should probably be "Adding entry" to match the "Removing entry" below. |
A call to services_mkdb((8) is missing for install and deinstall. Otherwise I like it.
Sure it is:
etc/Makefile: services_mkdb ${CAP_MKDB_ENDIAN} -q -o ${DESTDIR}/var/db/services.db \
usr.sbin/etcupdate/etcupdate.sh: log "services_mkdb -q -o $DESTDIR/var/db/services.db" \
usr.sbin/mergemaster/mergemaster.sh: echo " '/usr/sbin/services_mkdb -q -o ${DESTDIR}/var/db/services.db ${DESTDIR}/etc/services'"
Sure, "db" is not used by default in nsswitch.conf, so /var/db/services.db is not used, but generating the db is done in base tools that modify /etc/services just in case. So I think this should as well.
Keywords/service.ucl | ||
---|---|---|
19–22 | I decided not to for readibility because the awk line is already long enough |
Mmmm, isn't there something you need to say if you want the multiple args to be split ? some arguments: true, or something ?