History log of /dflybsd-src/etc/Makefile (Results 1 – 25 of 357)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v6.4.0, v6.4.0rc1, v6.5.0, v6.2.2, v6.2.1, v6.3.0, v6.0.1
# 4410789e 02-Jul-2021 Aaron LI <aly@aaronly.me>

Revert "Makefile: Install 'master.passwd' and 'group' if not exist"

This reverts commit 169805dbaab55a640955a7d94cd0cc7d15160523.

swildner reported that this commit broke 'installworld' to an empty

Revert "Makefile: Install 'master.passwd' and 'group' if not exist"

This reverts commit 169805dbaab55a640955a7d94cd0cc7d15160523.

swildner reported that this commit broke 'installworld' to an empty
$DESTDIR, because the destination directory $DESTDIR/etc didn't exist
yet.

Revert this commit now, and I'll revisit it later.

Reported-by: swildner

show more ...


# 169805db 24-Jun-2021 Aaron LI <aly@aaronly.me>

Makefile: Install 'master.passwd' and 'group' if not exist

For a new installation specified with DESTDIR, 'master.passwd' and
'group' just don't exist. Install them in such a case in 'preinstall'
t

Makefile: Install 'master.passwd' and 'group' if not exist

For a new installation specified with DESTDIR, 'master.passwd' and
'group' just don't exist. Install them in such a case in 'preinstall'
target. Otherwise we'll be missing them since they're no longer
installed by 'installworld'.

show more ...


# 89e9c22c 24-Jun-2021 Aaron LI <aly@aaronly.me>

Makefile: Rename 'preupgrade' to 'preinstall'

The 'preupgrade' target performs certain pre-installworld operations,
and is executed before 'installworld' automatically. So rename it to
'preinstall'

Makefile: Rename 'preupgrade' to 'preinstall'

The 'preupgrade' target performs certain pre-installworld operations,
and is executed before 'installworld' automatically. So rename it to
'preinstall'.

Update build(7) man page accordingly.

Suggested-by: swildner

show more ...


# d5f9b2c4 22-Jun-2021 Antonio Huete Jimenez <tuxillo@quantumachine.net>

etc/Makefile: Fix typo


# 59703261 22-Jun-2021 Matthew Dillon <dillon@apollo.backplane.com>

installworld - don't pre-upgrade passwd files that do not exist

* Fix installworld on a fresh (empty) root. Don't try to
pre-upgrade files that do not yet exist.


Revision tags: v6.0.0, v6.0.0rc1, v6.1.0
# 6ec58cff 31-Dec-2020 Sascha Wildner <saw@online.de>

Keep /etc/regdomain.xml in sync with our tree.

It's not a file that might have system specific changes.


# 7de42e6a 30-Dec-2020 Aaron LI <aly@aaronly.me>

etc/Makefile: Install 'group' and 'master.passwd' to examples/etc

Add back installation of 'group' to '/usr/share/examples/etc'. In
addition, also install 'master.passwd' there.

The point is that

etc/Makefile: Install 'group' and 'master.passwd' to examples/etc

Add back installation of 'group' to '/usr/share/examples/etc'. In
addition, also install 'master.passwd' there.

The point is that '/usr/share/examples/etc' should have all config files
that the initial '/etc' have.

Suggested-by: swildner

show more ...


# 1024901c 29-Dec-2020 Aaron LI <aly@aaronly.me>

etc/Makefile: Improve update of _dhcp user and dhcpcd files

* Update the 'master.passwd' file to set the new home for the '_dhcp'
user, and then the 'pw-update.sh' script will update it to system.

etc/Makefile: Improve update of _dhcp user and dhcpcd files

* Update the 'master.passwd' file to set the new home for the '_dhcp'
user, and then the 'pw-update.sh' script will update it to system.
* Simplify the dhcpcd files move logic a bit.

show more ...


# e9fc9437 27-Dec-2020 Aaron LI <aly@aaronly.me>

etc/Makefile: Minor style tweaks


# db250a0c 27-Dec-2020 Aaron LI <aly@aaronly.me>

etc/Makefile: No need to try to install 'group' file

Similar to the 'master.passwd', no need to try to install the 'group'
file, because its update has already been handled by the 'pw-update.sh'
scr

etc/Makefile: No need to try to install 'group' file

Similar to the 'master.passwd', no need to try to install the 'group'
file, because its update has already been handled by the 'pw-update.sh'
script.

show more ...


# 929c21ed 27-Dec-2020 Aaron LI <aly@aaronly.me>

etc/Makefile: Use 'pw-update.sh' to add users and groups

After this change, if we want to add a new user/group, just add it to
the 'master.passwd' and/or 'group' files. No need to add ad-hoc pw(8)

etc/Makefile: Use 'pw-update.sh' to add users and groups

After this change, if we want to add a new user/group, just add it to
the 'master.passwd' and/or 'group' files. No need to add ad-hoc pw(8)
commands in this Makefile.

show more ...


Revision tags: v5.8.3, v5.8.2
# d19ef5a2 02-Aug-2020 Aaron LI <aly@aaronly.me>

calendar(1): Rewrite to support Chinese & Julian calendars

I wanted to use Chinese calendar in the calendar(1) utility, so I started
working on it. The Chinese calendar is a lunisolar calendar and

calendar(1): Rewrite to support Chinese & Julian calendars

I wanted to use Chinese calendar in the calendar(1) utility, so I started
working on it. The Chinese calendar is a lunisolar calendar and requires
calculations of Sun and Moon positions. Along the way of implementing the
Chinese calendar support, more and more parts of the old code has been
replaced. Now, the new calendar(1) code base has been mostly rewritten to
be more extensible to support multiple calendars. Although only the
Gregorian (the default), Chinese and Julian calendars are currently
supported, more calendars now becomes much easier to add.

Highlights:
* Support Chinese calendar
* Support Julian calendar
* More accurate Sun and Moon calculations
* More extensible
* More calendar files/entries and more accurate information
* Better code base

Major Changes:
* If no user's calendar file, default to '/etc/calendar/default'
* Search calendar files in '/etc/calendar', which allows to override the
calendar file in '/usr/share/calendar' in a system-wide way
* Add '-s' option to show information of Chinese/Julian calendar or
Sun/Moon
* Add '-H' option to specify the calendar home directory
* Add '-L' option to specify the location, which should be set to get
accurate Sun/Moon information
* Add '-T' option to specify the current time for Sun/Moon calculations
* Much Improved calendar file parser
* More clean man page
* More helpful error messages
* Some bug fixes and various cleanups

The new calendar algorithms are implemented by referring to this great
book:
Calendrical Calculations: The Ultimate Edition (4th Edition)
by Edward M. Reingold and Nachum Dershowitz.
Cambridge University Press, 2018.
ISBN: 9781107057623

More information about the development history of this calendar(1) utility
can be found in my GitHub repository:
https://github.com/liweitianux/ccalendar

show more ...


# 92d555e2 11-Aug-2020 Daniel Fojt <df@neosystem.org>

etc/Makefile: add a notice to "check-deprecated-files"

When checking dependencies for deprecated system libraries, kernel may
complain on "foreign" (non-DragonFly) ELF binaries, like:

"ELF interpre

etc/Makefile: add a notice to "check-deprecated-files"

When checking dependencies for deprecated system libraries, kernel may
complain on "foreign" (non-DragonFly) ELF binaries, like:

"ELF interpreter /lib64/ld-linux-x86-64.so.2 not found"

Unfortunately, these complaints are printed directly to terminal, not
stdout or stderr, and there is no way to redirect it. So just print
a notice in advance, to avoid possible users' confusion.

Pointed out by: Pierre-Alain TORET
Discussed with: Sascha Wildner

show more ...


# d5d36918 25-Jul-2020 Daniel Fojt <df@neosystem.org>

Add sanity check to "remove-deprecated-files" target.

Import helper awk script to detect objects linked to particular
library.

Separate the check to a new target "check-deprecated-files" in
etc/Mak

Add sanity check to "remove-deprecated-files" target.

Import helper awk script to detect objects linked to particular
library.

Separate the check to a new target "check-deprecated-files" in
etc/Makefile and utilize the script to report libraries that are
still in use.

Default is to check directories under /usr/local/. Additional places
to search may be specified via CHECK_DEPRECATED_DIRS variable, like:

make CHECK_DEPRECATED_DIRS="/opt/lib /opt/bin" upgrade

Suggested and reviewed by: Sascha Wildner

show more ...


# 35a5a810 12-Jun-2020 Aaron LI <aly@aaronly.me>

etc/periodic: Use 'LINKS' to create links for 220.snapshot-hammer2

Avoid the ad-hoc 'ln' command. In addition, the original linked-to
files are absolute paths but missing the '${DESTDIR}', so they

etc/periodic: Use 'LINKS' to create links for 220.snapshot-hammer2

Avoid the ad-hoc 'ln' command. In addition, the original linked-to
files are absolute paths but missing the '${DESTDIR}', so they can be on
two different installations. Use 'LINKS' that creates hard-links to
fix this issue.

Reviewed-by: swildner, deef

show more ...


# fbed7187 09-Jun-2020 Daniel Fojt <df@neosystem.org>

Deduplicate login environment setup.

Revise default environment assignments in login.conf(5).

Update share/skel/dot.profile to match share/skel/dot.cshrc, ie. comment
assignments done via login.con

Deduplicate login environment setup.

Revise default environment assignments in login.conf(5).

Update share/skel/dot.profile to match share/skel/dot.cshrc, ie. comment
assignments done via login.conf (PATH, BLOCKSIZE, umask).

Drop etc/root and update "distribution" target in Makefile to use
share/skel/* instead.

Discussed with and reviewed by: Sascha Wildner
Issue: https://bugs.dragonflybsd.org/issues/3220

show more ...


# 6951437f 09-Jun-2020 Sascha Wildner <saw@online.de>

Stop overwriting /etc/gettytab on every 'make upgrade'.

There isn't really any important movement in it from our side, but there
are some scenarios (autologin for example) where a user may have chan

Stop overwriting /etc/gettytab on every 'make upgrade'.

There isn't really any important movement in it from our side, but there
are some scenarios (autologin for example) where a user may have changed
it.

show more ...


# 52d59648 08-Jun-2020 Daniel Fojt <df@neosystem.org>

Implement periodic hammer2 snapshots.

- add new periodic(8) script 220.snapshot-hammer2 to daily interval
- symlink the script also into weekly and monthly intervals
- extend default periodic.conf(5

Implement periodic hammer2 snapshots.

- add new periodic(8) script 220.snapshot-hammer2 to daily interval
- symlink the script also into weekly and monthly intervals
- extend default periodic.conf(5) with variables to configure the script
- describe new variables in periodic.conf.5 manpage
- mention the functionality also in hammer2.8 manpage

Note: "daily" variables are used by the script as defaults, so it's
possible to set custom cron entry for different periodic invocation
of the script, to create for example hourly snapshots

Discussed with, reviewed and tested by: Matthew Dillon

show more ...


# 3f2d797e 04-Jun-2020 Roy Marples <roy@marples.name>

dhcp: Restore /var/empty as the homedir

Punt the old chroot /var/chroot/dhcp


# 335b9e93 02-Jun-2020 Tomohiro Kusumi <tkusumi@netbsd.org>

autofs: Move autofs related configs to usr.sbin/autofs/

from freebsd/freebsd@b92449059479770813b2766a0e757d1176e2fab6

FreeBSD has moved autofs scripts to autofs userspace code a while ago.
The end

autofs: Move autofs related configs to usr.sbin/autofs/

from freebsd/freebsd@b92449059479770813b2766a0e757d1176e2fab6

FreeBSD has moved autofs scripts to autofs userspace code a while ago.
The end result doesn't change.

show more ...


# e497da30 01-Jun-2020 Roy Marples <roy@marples.name>

dhcpcd: Move any existing files out of the dhcp chroot.

So it's empty once more.


# 4f054023 01-Jun-2020 Roy Marples <roy@marples.name>

dhcpcd: Remove chroot setup and restore things as they were before

Newer dhcpcd has an empty chroot.


Revision tags: v5.8.1
# 4b4fa9ce 15-Apr-2020 Roy Marples <roy@marples.name>

upgrade: Move dhcpcd files from the old db dir to the relative chroot

This allows the user to get the same address upon upgrading.


# 5d68103c 13-Apr-2020 Roy Marples <roy@marples.name>

upgrade: Update _dhcp home dir to /var/chroot/dhcp if empty


Revision tags: v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3
# 2d31b215 22-Dec-2019 Sascha Wildner <saw@online.de>

Remove <sys/ata.h> in 'make distribution', too.

It was forgotten in d3fa4cd65d803191393035c6d9169800d7ae76a5.


12345678910>>...15