Calendars (and other files) missing from base packages

Ben Woods woodsb02 at gmail.com
Mon Jul 11 10:40:51 UTC 2016


Hi everyone,

I have noticed a number of files which do not seem to be part of the base
packages, and as such are not being updated on my system which is using
PkgBase. I realise the /etc config files are not included in base packages
yet, so I have excluded /etc from my investigation.

The files on my system which are in
/usr/obj/usr/src/amd64.amd64/worldstage/ but have not been updated on my
system with PkgBase are:
/usr/lib/libgcc_eh_p.a
/usr/lib/libgcc_eh.a
/usr/share/examples/etc/sysctl.conf
/usr/share/examples/etc/csh.logout
/usr/share/examples/etc/rc.resume
/usr/share/examples/etc/ntp.conf
/usr/share/examples/etc/libalias.conf
/usr/share/examples/etc/services
/usr/share/examples/etc/shells
/usr/share/examples/etc/portsnap.conf
/usr/share/examples/etc/mac.conf
/usr/share/examples/etc/rc.shutdown
/usr/share/examples/etc/disktab
/usr/share/examples/etc/inetd.conf
/usr/share/examples/etc/auto_master
/usr/share/examples/etc/network.subr
/usr/share/examples/etc/rc.initdiskless
/usr/share/examples/etc/hosts.allow
/usr/share/examples/etc/group
/usr/share/examples/etc/pf.os
/usr/share/examples/etc/regdomain.xml
/usr/share/examples/etc/hosts.equiv
/usr/share/examples/etc/newsyslog.conf
/usr/share/examples/etc/devfs.conf
/usr/share/examples/etc/nscd.conf
/usr/share/examples/etc/protocols
/usr/share/examples/etc/netconfig
/usr/share/examples/etc/apmd.conf
/usr/share/examples/etc/motd
/usr/share/examples/etc/opieaccess
/usr/share/examples/etc/rc
/usr/share/examples/etc/mail.rc
/usr/share/examples/etc/phones
/usr/share/examples/etc/crontab
/usr/share/examples/etc/devd.conf
/usr/share/examples/etc/libmap.conf
/usr/share/examples/etc/netstart
/usr/share/examples/etc/csh.login
/usr/share/examples/etc/ftpusers
/usr/share/examples/etc/gettytab
/usr/share/examples/etc/pccard_ether
/usr/share/examples/etc/login.access
/usr/share/examples/etc/ddb.conf
/usr/share/examples/etc/dhclient.conf
/usr/share/examples/etc/rc.suspend
/usr/share/examples/etc/hosts.lpd
/usr/share/examples/etc/profile
/usr/share/examples/etc/login.conf
/usr/share/examples/etc/fbtab
/usr/share/examples/etc/printcap
/usr/share/examples/etc/rc.sendmail
/usr/share/examples/etc/remote
/usr/share/examples/etc/rc.subr
/usr/share/examples/etc/rc.firewall
/usr/share/examples/etc/rpc
/usr/share/examples/etc/networks
/usr/share/examples/etc/nsmb.conf
/usr/share/examples/etc/rc.bsdextended
/usr/share/examples/etc/ttys
/usr/share/examples/etc/syslog.conf
/usr/share/examples/etc/csh.cshrc
/usr/share/examples/etc/termcap.small
/usr/share/examples/etc/freebsd-update.conf
/usr/share/examples/etc/hosts
/usr/share/examples/etc/locate.rc
/usr/share/examples/etc/nsswitch.conf
/usr/share/examples/etc/amd.map
/usr/share/openssl/man/mandoc.db
/usr/share/man/mandoc.db
/usr/share/calendar/calendar.russian
/usr/share/calendar/calendar.croatian
/usr/share/calendar/calendar.ukrainian
/usr/share/calendar/uk_UA.KOI8-U/calendar.misc
/usr/share/calendar/uk_UA.KOI8-U/calendar.holiday
/usr/share/calendar/uk_UA.KOI8-U/calendar.orthodox
/usr/share/calendar/uk_UA.KOI8-U/calendar.all
/usr/share/calendar/calendar.dutch
/usr/share/calendar/calendar.german
/usr/share/calendar/fr_FR.ISO8859-1/calendar.fetes
/usr/share/calendar/fr_FR.ISO8859-1/calendar.french
/usr/share/calendar/fr_FR.ISO8859-1/calendar.jferies
/usr/share/calendar/fr_FR.ISO8859-1/calendar.all
/usr/share/calendar/fr_FR.ISO8859-1/calendar.proverbes
/usr/share/calendar/calendar.newzealand
/usr/share/calendar/calendar.brazilian
/usr/share/calendar/calendar.southafrica
/usr/share/calendar/de_DE.ISO8859-1/calendar.musik
/usr/share/calendar/de_DE.ISO8859-1/calendar.literatur
/usr/share/calendar/de_DE.ISO8859-1/calendar.all
/usr/share/calendar/de_DE.ISO8859-1/calendar.wissenschaft
/usr/share/calendar/de_DE.ISO8859-1/calendar.kirche
/usr/share/calendar/de_DE.ISO8859-1/calendar.geschichte
/usr/share/calendar/de_DE.ISO8859-1/calendar.feiertag
/usr/share/calendar/calendar.holiday
/usr/share/calendar/calendar.lotr
/usr/share/calendar/calendar.history
/usr/share/calendar/calendar.judaic
/usr/share/calendar/calendar.usholiday
/usr/share/calendar/calendar.french
/usr/share/calendar/calendar.birthday
/usr/share/calendar/calendar.music
/usr/share/calendar/pt_BR.ISO8859-1/calendar.commemorative
/usr/share/calendar/pt_BR.ISO8859-1/calendar.mcommemorative
/usr/share/calendar/pt_BR.ISO8859-1/calendar.holidays
/usr/share/calendar/pt_BR.ISO8859-1/calendar.all
/usr/share/calendar/de_AT.ISO_8859-15/calendar.feiertag
/usr/share/calendar/ru_RU.KOI8-R/calendar.pagan
/usr/share/calendar/ru_RU.KOI8-R/calendar.all
/usr/share/calendar/ru_RU.KOI8-R/calendar.military
/usr/share/calendar/ru_RU.KOI8-R/calendar.orthodox
/usr/share/calendar/ru_RU.KOI8-R/calendar.holiday
/usr/share/calendar/ru_RU.KOI8-R/calendar.common
/usr/share/calendar/hu_HU.ISO8859-2/calendar.all
/usr/share/calendar/hu_HU.ISO8859-2/calendar.nevnapok
/usr/share/calendar/hu_HU.ISO8859-2/calendar.unnepek
/usr/share/calendar/hr_HR.ISO8859-2/calendar.all
/usr/share/calendar/hr_HR.ISO8859-2/calendar.praznici
/usr/share/calendar/calendar.all
/usr/share/calendar/calendar.computer
/usr/share/calendar/calendar.christian
/usr/share/calendar/pt_BR.UTF-8/calendar.holidays
/usr/share/calendar/pt_BR.UTF-8/calendar.mcommemorative
/usr/share/calendar/pt_BR.UTF-8/calendar.commemorative
/usr/share/calendar/pt_BR.UTF-8/calendar.all
/usr/share/calendar/ru_RU.UTF-8/calendar.all
/usr/share/calendar/ru_RU.UTF-8/calendar.common
/usr/share/calendar/ru_RU.UTF-8/calendar.holiday
/usr/share/calendar/ru_RU.UTF-8/calendar.military
/usr/share/calendar/ru_RU.UTF-8/calendar.pagan
/usr/share/calendar/ru_RU.UTF-8/calendar.orthodox
/usr/share/calendar/calendar.hungarian
/usr/share/calendar/calendar.world
/usr/share/calendar/calendar.freebsd
/usr/share/calendar/calendar.australia
/usr/share/tmac/mm/locale
/usr/share/tmac/mm/se_locale
/usr/share/tmac/man.local
/usr/include/atf-c.h
/usr/include/gnu/regex.h
/usr/include/atf-c++.hpp
/.cshrc
/.profile
/root/.login
/root/.profile
/root/.cshrc
/root/.k5login
/COPYRIGHT
/boot/device.hints

The steps I took to create this list are:

1. Since I updated my system with PkgBase yesterday, I ran the following
command to find all files which have not been modified in the last 2 days:
# find / -type f -mtime +2d -not -path '/etc/*' -not -path '/usr/local/*'
-not -path '/dev/*' -not -path '/tmp/*' -not -path '/var/*' -not -path
'/usr/src/*' -not -path '/usr/obj/*' -not -path '/poudriere/*' -not -path
'/usr/doc/*' -not -path '/usr/home/*'  > ~/outdated.txt

2. I edited this file to add the prefix of
/usr/obj/usr/src/amd64.amd64/worldstage/ to each line, and then searched
for which of the files also exist in worldstage (this command emits errors
for those that do not exist in worldstage, and only outputs those that do
exist to the new file):
$ cat outdated.txt | xargs find > outdated2.txt

3. Then I edited the file to strip the prefix of
/usr/obj/usr/src/amd64.amd64/worldstage/ from each line.

Regards,
Ben

--
From: Benjamin Woods
woodsb02 at gmail.com


More information about the freebsd-pkgbase mailing list