git: rc.d: Add mounttmpfs to support tmpfs at /var/run and /tmp

2020-04-29 Thread Aaron LI
commit 80d125ead8e978ee0bbb457e6ca8c13577a15660 Author: Aaron LI Date: Wed Apr 29 12:47:23 2020 +0800 rc.d: Add mounttmpfs to support tmpfs at /var/run and /tmp We are already mounting a tmpfs at /var/run/shm to support shm_open() etc functions. However, this makes

git: DragonFly_RELEASE_5_8 release: Mount tmpfs at /usr/local/etc only if exists for ISO

2020-05-12 Thread Aaron LI
commit d41d4995692c5b2a0595e5902041ea7c1faaf6b6 Author: Aaron LI Date: Tue May 12 22:38:34 2020 +0800 release: Mount tmpfs at /usr/local/etc only if exists for ISO For an ISO release built with the 'nopkgs' option, it doesn't have the '/usr/local/etc' directory. Thus

git: DragonFly_RELEASE_5_8 nrelease/Makefile: Fix 'pkg_${PKG}' to 'PKG_${PKG}' in a message

2020-05-12 Thread Aaron LI
commit 71ef2810d31c2996ce2ddec71aa4172a46239507 Author: Aaron LI Date: Tue May 12 22:08:57 2020 +0800 nrelease/Makefile: Fix 'pkg_${PKG}' to 'PKG_${PKG}' in a message Summary of changes: nrelease/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) http

git: release: Mount tmpfs at /usr/local/etc only if exists for ISO

2020-05-12 Thread Aaron LI
commit a4527c0f738aaa54419ce99ae3575f8440053a63 Author: Aaron LI Date: Tue May 12 22:38:34 2020 +0800 release: Mount tmpfs at /usr/local/etc only if exists for ISO For an ISO release built with the 'nopkgs' option, it doesn't have the '/usr/local/etc' directory. Thus

git: nrelease/Makefile: Fix 'pkg_${PKG}' to 'PKG_${PKG}' in a message

2020-05-12 Thread Aaron LI
commit c2dc39383e8e847a12d9a851f2e3cd15ca84a7bf Author: Aaron LI Date: Tue May 12 22:08:57 2020 +0800 nrelease/Makefile: Fix 'pkg_${PKG}' to 'PKG_${PKG}' in a message Summary of changes: nrelease/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) http

git: nrelease/Makefile: Display help text when no target specified

2020-05-11 Thread Aaron LI
commit dade4a2e4397374d8552d5e9ef730dc8671de884 Author: Aaron LI Date: Sun May 10 12:46:48 2020 +0800 nrelease/Makefile: Display help text when no target specified Make the 'help' target the default, so that the help text is shown when no target is specified. Before

git: adduser(8): Honor uidstart in adduser.conf when showing in the prompt

2020-05-11 Thread Aaron LI
commit d749dd6edb2825677c25756e5ea70325ce1fd125 Author: Aaron LI Date: Fri May 8 13:52:19 2020 +0800 adduser(8): Honor uidstart in adduser.conf when showing in the prompt When using 'uidstart' in /etc/adduser.conf, get the next available user ID and show it in the 'Uid [xxx

git: adduser(8): Allow standard IFS characters in passwords

2020-05-11 Thread Aaron LI
commit 72764df04a4016000343258264a9e9fa6d84ef0e Author: Aaron LI Date: Fri May 8 13:40:32 2020 +0800 adduser(8): Allow standard IFS characters in passwords Notably, the default IFS contains space/tab, thus any leading/trailing whitespace characters tend to be removed

git: installer: Allow special characters in passwords

2020-05-11 Thread Aaron LI
commit df29799be5111675853250904e87e4b54c4c Author: Aaron LI Date: Sun May 10 10:53:20 2020 +0800 installer: Allow special characters in passwords Store the password in an environment variable and pass it to the pw(8) command. This way of passing passwords allows

git: installer/dfuibe_installer: Clean up fn_root_passwd()

2020-05-11 Thread Aaron LI
commit f0557178fb97e1a891ad49667414d4bbda87c574 Author: Aaron LI Date: Fri May 8 22:54:39 2020 +0800 installer/dfuibe_installer: Clean up fn_root_passwd() Improve the logic of fn_root_passwd() by referring to fn_add_user(). Summary of changes: usr.sbin/installer

git: nrelease: Recopy passwd and master.passwd as well

2020-05-16 Thread Aaron LI
commit 22e9b157c9cf6e58d9e890d9cf2c37cade7ddbd3 Author: Aaron LI Date: Sat May 16 12:52:12 2020 +0800 nrelease: Recopy passwd and master.passwd as well Ports/packages may also install new users. While there, use '--yes' option for 'pkg autoremove' to clean a bit

git: DragonFly_RELEASE_5_8 nrelease: Recopy passwd and master.passwd as well

2020-05-16 Thread Aaron LI
commit bb46e096522cdc6be0096c83a1afc9edcb96c374 Author: Aaron LI Date: Sat May 16 12:52:12 2020 +0800 nrelease: Recopy passwd and master.passwd as well Ports/packages may also install new users. While there, use '--yes' option for 'pkg autoremove' to clean a bit

git: nrelease: Remove superfluous files

2020-05-16 Thread Aaron LI
commit 784d032713b9483b5003059734e00916d18342f4 Author: Aaron LI Date: Sat May 16 11:37:06 2020 +0800 nrelease: Remove superfluous files * The 'pwd.db' and 'spwd.db' files should be generated by pwd_mkdb(8). * The 'login.conf' is not customized and thus not needed

git: installer: Fix process killing issue in installer.sh

2020-05-16 Thread Aaron LI
commit 469fd6066cfafcc63a1257c6abfcf7a864676854 Author: Aaron LI Date: Sat May 16 14:43:20 2020 +0800 installer: Fix process killing issue in installer.sh The original way of obtaining PIDs is actually wrong, becuase it would get the user of processes instead of the process

git: nrelease: Use pw(8) and chpass(1) to setup 'installer' and 'root' users

2020-05-16 Thread Aaron LI
commit 04e94b32b029cd25e4d519cb800fbd623421da9a Author: Aaron LI Date: Sat May 16 12:45:42 2020 +0800 nrelease: Use pw(8) and chpass(1) to setup 'installer' and 'root' users Use pw(8) to add the 'installer' user and use chpass(1) to disable passwords for the 'installer

git: DragonFly_RELEASE_5_8 installer: Fix process killing issue in installer.sh

2020-05-16 Thread Aaron LI
commit 7c1fbd07546b7d0930d0b0c8981dd0d9ad3b7bff Author: Aaron LI Date: Sat May 16 14:43:20 2020 +0800 installer: Fix process killing issue in installer.sh The original way of obtaining PIDs is actually wrong, becuase it would get the user of processes instead of the process

git: tcpdump(8): Workaround compilation warnings and raise WARNS to 3

2020-05-18 Thread Aaron LI
commit 357a1ad3b4256a4352c824d31f49c0f69d815af6 Author: Aaron LI Date: Sun May 17 16:01:20 2020 +0800 tcpdump(8): Workaround compilation warnings and raise WARNS to 3 It's necessay to fix these compilation warnings in print-esp.c, otherwise we would be forced to use WARNS

git: contrib/tcpdump: Revert local modification for vendor update

2020-05-18 Thread Aaron LI
commit 9d89af74bf1d43ff53ed1258f5f3419c5b5be3e6 Author: Aaron LI Date: Tue May 19 06:39:55 2020 +0800 contrib/tcpdump: Revert local modification for vendor update Summary of changes: contrib/tcpdump/print-atalk.c | 4 ++-- contrib/tcpdump/print-pflog.c | 5 ++--- contrib/tcpdump

git: contrib/libpcap: Update README.DRAGONFLY

2020-05-18 Thread Aaron LI
commit 8cc3b6f660b48aafc074f690552c9b0074a67c67 Author: Aaron LI Date: Sun May 17 12:35:29 2020 +0800 contrib/libpcap: Update README.DRAGONFLY Summary of changes: contrib/libpcap/README.DRAGONFLY | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) http

git: vendor/LIBPCAP: Import libpcap 1.9.1

2020-05-18 Thread Aaron LI
commit 3a289941c307ff3d45415fd0d643fa7c8a113dff Author: Aaron LI Date: Mon May 18 22:42:47 2020 +0800 vendor/LIBPCAP: Import libpcap 1.9.1 Original source can be downloaded from: https://www.tcpdump.org/release/ file = libpcap-1.9.1.tar.gz date = 2019-10-01

git: contrib/tcpdump: Update README.DRAGONFLY

2020-05-18 Thread Aaron LI
commit e142722185005e7fb5125476c1da919b89da1308 Author: Aaron LI Date: Sun May 17 15:36:33 2020 +0800 contrib/tcpdump: Update README.DRAGONFLY Summary of changes: contrib/tcpdump/README.DRAGONFLY | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) http

git: libpcap: Regenerate config.h and update Makefile

2020-05-18 Thread Aaron LI
commit 82dc7b6f18c353ed818df00de102eb3bf98f46b7 Author: Aaron LI Date: Sun May 17 12:39:09 2020 +0800 libpcap: Regenerate config.h and update Makefile * Regenerate config.h * Update Makefile against to the vendor update Don't bump the libpcap so version because

git: contrib/libpcap: Apply patches from DPorts net/libpcap

2020-05-18 Thread Aaron LI
commit 33794c09bfbd5edf3611552ce4381ed8b3f43683 Author: Aaron LI Date: Mon May 18 23:13:32 2020 +0800 contrib/libpcap: Apply patches from DPorts net/libpcap Summary of changes: contrib/libpcap/gencode.c| 9 - contrib/libpcap/nametoaddr.c | 9 - contrib/libpcap

git: libpcap: Clean up Makefile

2020-05-18 Thread Aaron LI
commit 1ae0266592db7b4097917507f9edd37fa3ab5dd2 Author: Aaron LI Date: Sun May 17 08:52:01 2020 +0800 libpcap: Clean up Makefile * Group sections better and sort files * Add 'scanner.h' to SRCS and specify its dependency. Without this, just 'make' in the lib/libpcap

git: : Sync with libpcap 1.9.1

2020-05-18 Thread Aaron LI
commit a601fcf04a768e2f9392eca9cc2adfe47b21abf2 Author: Aaron LI Date: Sun May 17 11:32:30 2020 +0800 : Sync with libpcap 1.9.1 Our current is missing some macros for libpcap 1.9.1, so sync ours with the one from libpcap 1.9.1. FreeBSD is also using the from libpcap

git: vendor/TCPDUMP: Import tcpdump 4.9.3

2020-05-18 Thread Aaron LI
commit 411677ae3ecc884ce4f4bd3d53bab2b7f81cf321 Author: Aaron LI Date: Tue May 19 06:35:30 2020 +0800 vendor/TCPDUMP: Import tcpdump 4.9.3 Original source can be downloaded from: https://www.tcpdump.org/release/ file = tcpdump-4.9.3.tar.gz date = 2019-10-01

git: contrib/libpcap: Revert local modification for vendor update

2020-05-18 Thread Aaron LI
commit 2cc8cc5d7d1c6f8cefb085ed4325ca840775415c Author: Aaron LI Date: Mon May 18 22:48:07 2020 +0800 contrib/libpcap: Revert local modification for vendor update Summary of changes: contrib/libpcap/gencode.c | 4 ++-- contrib/libpcap/grammar.y | 4 ++-- contrib/libpcap/pcap

git: libpcap: Remove unused header file after the upgrade

2020-05-18 Thread Aaron LI
commit 2bdea504a0e65147caff27393bb0d7da7873499a Author: Aaron LI Date: Sun May 17 12:45:06 2020 +0800 libpcap: Remove unused header file after the upgrade Summary of changes: Makefile_upgrade.inc | 1 + 1 file changed, 1 insertion(+) http://gitweb.dragonflybsd.org/dragonfly.git

git: ndp(8): Tweak Makefile against the tcpdump update

2020-05-18 Thread Aaron LI
commit 6da4a6e95b75821c569d942e970b07d58d345ad8 Author: Aaron LI Date: Sun May 17 15:49:39 2020 +0800 ndp(8): Tweak Makefile against the tcpdump update The new tcpdump enables IPv6 by default, so there is no need to define the 'INET6' flag. Clean the style a bit

git: contrib/tcpdump: Apply our own modifications

2020-05-18 Thread Aaron LI
commit 5b8674c00a7f74e4ca6ab8b158845f54261b5316 Author: Aaron LI Date: Sun May 17 15:43:37 2020 +0800 contrib/tcpdump: Apply our own modifications Summary of changes: contrib/tcpdump/print-pflog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) http://gitweb.dragonflybsd.org

git: tcpdump(8): Regenerate config.h and update Makefile

2020-05-18 Thread Aaron LI
commit 0f0e3e8d87a5c1cd0991ebf5e864a3424acb6ec3 Author: Aaron LI Date: Sun May 17 15:44:20 2020 +0800 tcpdump(8): Regenerate config.h and update Makefile * Regenerate config.h * Update Makefile against to the vendor update * Define more macros / flags in Makefile

git: contrib/libpcap: Reapply our local modifications

2020-05-18 Thread Aaron LI
commit 34ad5a52ebb2c7f58f6c96e7f25e049aa81e3108 Author: Aaron LI Date: Sun May 17 12:37:55 2020 +0800 contrib/libpcap: Reapply our local modifications Summary of changes: contrib/libpcap/gencode.c | 4 ++-- contrib/libpcap/grammar.y | 4 ++-- contrib/libpcap/pcap-bpf.c | 6

git: calendar.1: Fix minor formatting issues

2020-09-11 Thread Aaron LI
commit 9c697e7d97d6baa26122897c91093020e3ba547b Author: Aaron LI Date: Fri Sep 11 23:02:26 2020 +0800 calendar.1: Fix minor formatting issues * Fix markup of the '-s' flag * Use 'Cm' to itemize the values of the '-s' flag * Use 'Rs' and 'Re' macros to format

git: ecclesiastical.c: Fix comment error to easter()

2020-09-14 Thread Aaron LI
commit 7db513258e8d5ff7cdf4f590463a8002a2e6230a Author: Aaron LI Date: Mon Sep 14 21:53:33 2020 +0800 ecclesiastical.c: Fix comment error to easter() Well, the comment of easter() was copied from orthodox_easter() but forgot to update it. Reported-by: Sascha Wildner

git: calendar.1: Fix a grammar mistake and avoid Pinyin symbols

2020-09-14 Thread Aaron LI
commit 567c7e6fd3ed90d13be686aa5b2fd01bd10950ca Author: Aaron LI Date: Mon Sep 14 21:52:02 2020 +0800 calendar.1: Fix a grammar mistake and avoid Pinyin symbols Summary of changes: usr.bin/calendar/calendar.1.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) http

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

2020-09-04 Thread Aaron LI
commit d19ef5a274debcb71f2e8cd8dce8b954dc73944b Author: Aaron LI Date: Sun Aug 2 22:17:59 2020 +0800 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 cale

git: DragonFly_RELEASE_5_8 Makefile.usr: Add '--ff-only' to 'git pull'

2020-08-01 Thread Aaron LI
commit e82029a82b9f6bc687b9c2fbc9c21fe63dde9e9f Author: Aaron LI Date: Sat Aug 1 14:34:55 2020 +0800 Makefile.usr: Add '--ff-only' to 'git pull' Since version 2.27, Git will warn the pulling if not specified how to reconcile divergent branch: warning: Pulling

git: Makefile.usr: Add '--ff-only' to 'git pull'

2020-08-01 Thread Aaron LI
commit 51cb2a6018a9c8f827e16ea33f03fdf13381f677 Author: Aaron LI Date: Sat Aug 1 14:34:55 2020 +0800 Makefile.usr: Add '--ff-only' to 'git pull' Since version 2.27, Git will warn the pulling if not specified how to reconcile divergent branch: warning: Pulling

git: make_autoclone_dev.9: Improve some description and markups

2020-06-30 Thread Aaron LI
commit ec90fa667d8bedc919f5b1ab6b2fe66cb55493d7 Author: Aaron LI Date: Tue Jun 30 23:53:55 2020 +0800 make_autoclone_dev.9: Improve some description and markups Summary of changes: share/man/man9/make_autoclone_dev.9 | 48 - 1 file changed, 21

git: tun/tap: Don't repeat ifnet_attach_event and IFAN_ARRAIVAL

2020-07-02 Thread Aaron LI
commit a13a0bb2ca25a65c4d4ed1eea7e9d32819f5e08a Author: Aaron LI Date: Sun Jun 28 23:20:53 2020 +0800 tun/tap: Don't repeat ifnet_attach_event and IFAN_ARRAIVAL * The if_attach() called in tuncreate() already invokes 'ifnet_attach_event' and announces IFAN_ARRAIVAL

git: tun/tap: Use make_only_dev() for the autoclone device

2020-07-02 Thread Aaron LI
commit 33c70ba7672d54fa4425cc04f741eeb23f36e091 Author: Aaron LI Date: Sun Jun 28 23:06:33 2020 +0800 tun/tap: Use make_only_dev() for the autoclone device It's recommended and more correct to use make_only_dev() for the autoclone device, because the later open action

git: if_clone: Extend if_clone_create() by an extra parameter

2020-07-02 Thread Aaron LI
commit bb54c3a2a4a6207be408250820bde132dab4af2d Author: Aaron LI Date: Thu Jul 2 22:47:27 2020 +0800 if_clone: Extend if_clone_create() by an extra parameter Currently, if_clone_create() accepts one caddr_t parameter that is passed with the ifreq->ifr_d

git: tun/tap: Use if_clone framework to clone from autoclone device

2020-06-27 Thread Aaron LI
commit 6289934442f4e1766483d8f59459764c5cfeaea0 Author: Aaron LI Date: Sat Jun 27 21:11:50 2020 +0800 tun/tap: Use if_clone framework to clone from autoclone device Before this change, the clone methods from autoclone device and if_clone is quite different, so the allocated

git: make_autoclone_dev.9: Several minor improvements

2020-06-27 Thread Aaron LI
commit d7e26e2bd526551864e6f3d03193a4eef6909dcf Author: Aaron LI Date: Sat Jun 27 21:30:28 2020 +0800 make_autoclone_dev.9: Several minor improvements * Remove the mention of private function 'devfs_clone_bitmap_fff()'. * Adjust the wording about the clone handler. * Add

git: tun/tap: Fix errno NODEV to NOENT in clone creation

2020-06-27 Thread Aaron LI
commit ef83271127badd5200204dddb1af879478fbe031 Author: Aaron LI Date: Sat Jun 27 19:23:00 2020 +0800 tun/tap: Fix errno NODEV to NOENT in clone creation I was thinking 'NODEV' means 'no such device' but it actually means 'operation not supported by device'... So change

git: if_clone: Fix a missing allocated unit free upon error

2020-06-27 Thread Aaron LI
commit f835013faa956129bbbf666f8b9bba8394ada9fb Author: Aaron LI Date: Sat Jun 27 19:36:11 2020 +0800 if_clone: Fix a missing allocated unit free upon error Summary of changes: sys/net/if_clone.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) http://gitweb.dragonflybsd.org

git: make_dev.9: Describe a bit more about make_only_dev()

2020-06-27 Thread Aaron LI
commit b217812bd64982a7dab28f494ed716f0be632e0f Author: Aaron LI Date: Sat Jun 27 21:23:33 2020 +0800 make_dev.9: Describe a bit more about make_only_dev() * Describe a bit more about the usage of make_only_dev(), mentioning make_autoclone_dev(), also improve a sensence

git: tun/tap: Do not flag cloned interface as manually made

2020-06-27 Thread Aaron LI
commit f25c93f9cd559d50b80055c22b551345bedd1469 Author: Aaron LI Date: Sat Jun 27 11:43:00 2020 +0800 tun/tap: Do not flag cloned interface as manually made Similar to the devices cloned via the autocloner device (i.e., /dev/tun, /dev/tap), don't flag devices cloned via

git: if_tap: Remove a debug message

2020-06-27 Thread Aaron LI
commit 9663a32d8b792bb5b337c4df3d6bdbeea07bfca9 Author: Aaron LI Date: Sat Jun 27 21:21:53 2020 +0800 if_tap: Remove a debug message Summary of changes: sys/net/tap/if_tap.c | 3 --- 1 file changed, 3 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff

git: make_autoclone_dev.9: Better describe devfs_clone_bitmap_get()

2020-06-27 Thread Aaron LI
commit 3dde329244f7c4df1cdc5e50a96517c734ce4d92 Author: Aaron LI Date: Sat Jun 27 21:28:22 2020 +0800 make_autoclone_dev.9: Better describe devfs_clone_bitmap_get() * Describe the 'limit' argument. * Describe the return value. * Adjust the description order

git: vknetd(8): Minor style improvements

2020-06-27 Thread Aaron LI
commit 54919c3b9f95e3828c672db912fbe68e33169ad0 Author: Aaron LI Date: Thu Aug 30 21:08:13 2018 +0800 vknetd(8): Minor style improvements Summary of changes: usr.sbin/vknetd/vknetd.c | 41 + 1 file changed, 21 insertions(+), 20 deletions(-) http

git: tun/tap: Return EEXIST in clone creation if softc found

2020-06-27 Thread Aaron LI
commit e877c31aa0323042d42074a30915e5c04b7e7bac Author: Aaron LI Date: Sat Jun 27 20:05:33 2020 +0800 tun/tap: Return EEXIST in clone creation if softc found With the old logic, an existing softc (e.g., created by cloning via autoclone device) may be used

git: tail(1): Add -v flag to always print a header

2020-06-20 Thread Aaron LI
commit f038181408e47684b271228c89bece66119a4bdb Author: Aaron LI Date: Sat Jun 20 11:52:32 2020 +0800 tail(1): Add -v flag to always print a header * Add the '-v' flag to always print a header for each file, even if only a single file is specified. Obtained from NetBSD

git: head(1): Minor cleanups

2020-06-20 Thread Aaron LI
commit e24ad2edd0ebb5d385531cc5778865b909a3b83a Author: Aaron LI Date: Fri Jun 19 13:13:39 2020 +0800 head(1): Minor cleanups * Add '__dead2' attribute to non-return function 'usage()'. * Move the 'first' out from the initializer part of the 'for' loop and change

git: head(1): Support '-q' and '-v' flags and improve man page

2020-06-20 Thread Aaron LI
commit f31df7b5941dbdc6e6bb5151595ec5f3fe75b0b9 Author: Aaron LI Date: Fri Jun 19 13:17:29 2020 +0800 head(1): Support '-q' and '-v' flags and improve man page * Support the '-q' flag to never print headers of each filename, and the '-v' flag to always print the headers

git: tail(1): Implement tac(1) as the reverse version of cat(1)

2020-06-20 Thread Aaron LI
commit b743b76f8c2cc8315de7eac87507463cccaded9c Author: Aaron LI Date: Sat Jun 20 15:10:41 2020 +0800 tail(1): Implement tac(1) as the reverse version of cat(1) The tac(1) is the reverse version of cat(1) and is implemented with 'tail -rq'. Update cat.1, rev.1

git: traceroute.8: Mention ping6(8) and traceroute6(8)

2020-06-26 Thread Aaron LI
commit 7c8d170e3a048eba6b042d4d904949df4fbafb77 Author: Aaron LI Date: Fri Jun 26 22:45:21 2020 +0800 traceroute.8: Mention ping6(8) and traceroute6(8) Summary of changes: usr.sbin/traceroute/traceroute.8 | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) http

git: ping.8: Mention ping6(8) and traceroute6(8)

2020-06-26 Thread Aaron LI
commit a7ccbcb31f0729ea49b5b1f7c9387366ebc1ac3e Author: Aaron LI Date: Fri Jun 26 22:43:28 2020 +0800 ping.8: Mention ping6(8) and traceroute6(8) Summary of changes: sbin/ping/ping.8 | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) http://gitweb.dragonflybsd.org

git: ifconfig(8): Render non-ASCII SSID names with UTF-8 locales

2020-06-26 Thread Aaron LI
commit d5e6c24f77ac1154d7c486381fc10f51c2d9e087 Author: Aaron LI Date: Sun Apr 12 20:56:39 2020 +0800 ifconfig(8): Render non-ASCII SSID names with UTF-8 locales Currently ifconfig(8) only prints the hex representation of ssid names with non-ASCII characters. Many modern

git: ifconfig(8): Make lagg creation more fault-tolerant

2020-06-26 Thread Aaron LI
commit 598a666bccff5d91ec5bc75a130e6b7d19147d49 Author: Aaron LI Date: Sun Apr 12 21:29:32 2020 +0800 ifconfig(8): Make lagg creation more fault-tolerant * Warn, don't exit, when SIOCSLAGGPORT returns an error. When we exit with an error during lagg creation, a single

git: ifconfig(8): Add '-f' option to print in more formats

2020-06-26 Thread Aaron LI
commit 51a3d09e9966badabd8cb22a3721055a7ff47e20 Author: Aaron LI Date: Fri Jun 26 14:02:58 2020 +0800 ifconfig(8): Add '-f' option to print in more formats * Add the '-f' option to control the output formats of addresses, inet (IPv4) subnet masks, inet6 (IPv6) prefix

git: ifconfig(8): Print more WPS attributes in verbose "list scan" output

2020-06-26 Thread Aaron LI
commit 2ecde6140905fddab3e25c30b54bfe405886f488 Author: Aaron LI Date: Tue May 5 10:58:20 2020 +0800 ifconfig(8): Print more WPS attributes in verbose "list scan" output * Move WPS-related defines to a dedicated file * Add handlers for more WPS

git: ipfw3: Fix several comments and error messages

2020-06-26 Thread Aaron LI
commit 1e831468c4b2ac63fde9c10100979d310441c9c5 Author: Aaron LI Date: Thu Feb 14 15:28:02 2019 +0800 ipfw3: Fix several comments and error messages Summary of changes: sbin/ipfw3/ipfw3.c | 4 ++-- sys/net/ipfw3/ip_fw3.c | 2 +- sys/netinet/in.h | 3 ++- 3 files changed, 5

git: DragonFly_RELEASE_5_8 if_clone: Fix a missing allocated unit free upon error

2020-06-28 Thread Aaron LI
commit cc61ed8e65d5be0ba6643e21ed8b4c85e1ccba7b Author: Aaron LI Date: Sat Jun 27 19:36:11 2020 +0800 if_clone: Fix a missing allocated unit free upon error Summary of changes: sys/net/if_clone.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) http://gitweb.dragonflybsd.org

git: ifconfig(8): Use getifaddrs(3) from libc

2020-06-26 Thread Aaron LI
commit 5ecbd7012b0fe835dcda54ca97b260ded1a4b136 Author: Aaron LI Date: Fri Jun 26 17:59:53 2020 +0800 ifconfig(8): Use getifaddrs(3) from libc Use libc's getifaddrs(3) instead of implementing its own version. Obtained from FreeBSD (revisions 166956 and 199770

git: ifconfig.8: Update to show '-d' and '-u' is mutually exclusive

2020-06-26 Thread Aaron LI
commit 7d438afad0520862de97054e705e9e7e184a5e3d Author: Aaron LI Date: Fri Jun 26 22:21:56 2020 +0800 ifconfig.8: Update to show '-d' and '-u' is mutually exclusive Summary of changes: sbin/ifconfig/ifconfig.8 | 18 -- sbin/ifconfig/ifconfig.c | 6 +++--- 2 files

git: ifconfig(8): Use correct interface name when setting flags

2020-06-26 Thread Aaron LI
commit 6cfdf6e4249caa6bec584bbc49fc88d7681dbfdf Author: Aaron LI Date: Fri Jun 26 15:53:07 2020 +0800 ifconfig(8): Use correct interface name when setting flags Obtained from FreeBSD (revision 187253). With this change, the comment to setifflags() is now obsolete, so

git: ifconfig(8): Group addresses of each interface by family

2020-06-26 Thread Aaron LI
commit 7fc7addcbc2bc5f6f644d5d161bce35ecbbebcca Author: Aaron LI Date: Fri Jun 26 20:56:17 2020 +0800 ifconfig(8): Group addresses of each interface by family Group the list of addresses associated with an interface by the address family. A stable sorting algorithm

git: ifconfig(8): Support to filter output by interface groups

2020-06-26 Thread Aaron LI
commit 80af6b5d1f3b09540f20bb00ab899d2d722b12e6 Author: Aaron LI Date: Fri Jun 26 22:34:43 2020 +0800 ifconfig(8): Support to filter output by interface groups Add options '-g ' and '-G ' to select and unselect interfaces by groups in the output of 'ifconfig -a', just

git: ifconfig(8): Speed up non-status operations to a single interface

2020-06-26 Thread Aaron LI
commit 028754e08bbbc6c906ce702fdebdc75f785d3037 Author: Aaron LI Date: Fri Jun 26 21:38:11 2020 +0800 ifconfig(8): Speed up non-status operations to a single interface When performing a non-status operation on a single interface (e.g., set address or flags

git: ifconfig(8): Eliminate trailing whitespace on inet6 and group lines

2020-06-26 Thread Aaron LI
commit a143db0917208ba06adacd7010fede195588a17d Author: Aaron LI Date: Sun Apr 12 21:53:32 2020 +0800 ifconfig(8): Eliminate trailing whitespace on inet6 and group lines Obtained from FreeBSD: https://github.com/freebsd/freebsd/commit

git: ifconfig(8): Drop two unused macros from ifieee80211.c

2020-06-26 Thread Aaron LI
commit 808e96707e9276922a8cca487369f5774f7c0e63 Author: Aaron LI Date: Sun Apr 12 21:36:22 2020 +0800 ifconfig(8): Drop two unused macros from ifieee80211.c Obtained from FreeBSD: https://github.com/freebsd/freebsd/commit/1ce3befafefa7226bcff3621562943176fe87ff3 Summary

git: mk/bsd.README: Document 'SYMLINKS' and update 'LINKS' and 'MLINKS'

2020-06-12 Thread Aaron LI
commit 342b7f2339da823e275ecf2a391b2c4c409c7ba7 Author: Aaron LI Date: Fri Jun 12 22:54:53 2020 +0800 mk/bsd.README: Document 'SYMLINKS' and update 'LINKS' and 'MLINKS' * Add description of 'SYMLINKS' that creates symbolic links. * 'MLINKS' creates hard links rather than

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

2020-06-12 Thread Aaron LI
commit 35a5a810a058efc26ee934f5bc6dd1e47524d396 Author: Aaron LI Date: Fri Jun 12 22:58:42 2020 +0800 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

git: initrd/mkinitrd.sh: Use 'du -t' to simplify size calculation

2020-06-12 Thread Aaron LI
commit 567f41d0d4858819ed504a528dd8fc96e8c76e06 Author: Aaron LI Date: Fri Jun 12 23:57:01 2020 +0800 initrd/mkinitrd.sh: Use 'du -t' to simplify size calculation The du(1)'s '-t' option calculates the apparent size, which is what we want here for determining the required

git: tools/pw-update.sh: Improve to update user/group

2020-12-29 Thread Aaron LI
commit 1bc30ec4482e6c2d6b7585df56dfd1c6b55c6144 Author: Aaron LI Date: Tue Dec 29 21:48:53 2020 +0800 tools/pw-update.sh: Improve to update user/group Before this change, this script would only add new users and/or groups, but wouldn't modify existing users/groups

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

2020-12-29 Thread Aaron LI
commit 1024901ca3ec56cec3cea9c3bc570317c1fed581 Author: Aaron LI Date: Tue Dec 29 22:06:59 2020 +0800 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

git: tools/pw-update.sh: No need to invoke pwd_mkdb(8)

2020-12-29 Thread Aaron LI
commit 7f8f07e30ef44c84c2c3045e1fcd1ffa07b98629 Author: Aaron LI Date: Tue Dec 29 21:51:13 2020 +0800 tools/pw-update.sh: No need to invoke pwd_mkdb(8) The pw(8) utility already handles the database update, so no need to manually invoke the pwd_mkdb(8). Summary of changes

git: devname.3: Update man page to align wht the code

2020-12-27 Thread Aaron LI
commit b58279655d00a35aa6d870925c8196df0558b172 Author: Aaron LI Date: Sun Dec 27 20:46:48 2020 +0800 devname.3: Update man page to align wht the code Summary of changes: lib/libc/gen/devname.3 | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) http

git: tools: Add pw-update.sh to add new users and groups

2020-12-27 Thread Aaron LI
commit 04e50ef7dc2e829d4bdf1fec25077e8586aa20b3 Author: Aaron LI Date: Sun Dec 27 17:21:01 2020 +0800 tools: Add pw-update.sh to add new users and groups This script is derived my 'dfly-update' tool [1], and will be used in 'make upgrade' to help add new users and groups

git: tools: Update commit-msg script a bit

2020-12-27 Thread Aaron LI
commit 3ea159d21ed3dbdaa587f79c9c4fd2ece13fe6e3 Author: Aaron LI Date: Sun Dec 27 11:40:11 2020 +0800 tools: Update commit-msg script a bit Summary of changes: tools/commit-msg | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) http://gitweb.dragonflybsd.org

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

2020-12-27 Thread Aaron LI
commit 929c21ed9c57d8ab299a32bab982cc617e036bad Author: Aaron LI Date: Sun Dec 27 17:35:13 2020 +0800 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

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

2020-12-27 Thread Aaron LI
commit db250a0c6bf2d0ad9b161e5ab1f115841a1f5b43 Author: Aaron LI Date: Sun Dec 27 17:59:23 2020 +0800 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

git: etc/Makefile: Minor style tweaks

2020-12-27 Thread Aaron LI
commit e9fc9437640aaa7e5656e3e5d23fe5b8442840f0 Author: Aaron LI Date: Sun Dec 27 18:02:02 2020 +0800 etc/Makefile: Minor style tweaks Summary of changes: etc/Makefile | 46 -- 1 file changed, 28 insertions(+), 18 deletions(-) http

git: Add nsmb.conf.5 man page

2020-12-27 Thread Aaron LI
commit 24e08a522d0ea79a33dac41a5239d8ce112f85ec Author: Aaron LI Date: Sun Dec 27 18:07:51 2020 +0800 Add nsmb.conf.5 man page Obtained-from: FreeBSD Summary of changes: share/man/man5/Makefile| 1 + share/man/man5/nsmb.conf.5 | 167

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

2020-12-27 Thread Aaron LI
> On Dec 27, 2020, at 18:41, Michael Neumann wrote: > > On Sun, Dec 27, 2020 at 02:10:03AM -0800, Aaron LI wrote: >> >> commit 929c21ed9c57d8ab299a32bab982cc617e036bad >> Author: Aaron LI >> Date: Sun Dec 27 17:35:13 2020 +0800 >> >>

git: net/ip_mroute: Fix 'struct igmpmsg' for x86_64

2020-12-25 Thread Aaron LI
commit bfb67b1bd1a4401995b5b7b592ef8628019b9113 Author: Uglymotha Date: Thu Dec 24 17:28:58 2020 +0100 net/ip_mroute: Fix 'struct igmpmsg' for x86_64 The `struct igmpmsg` currently uses `u_long` to define the unused fields instead of `uint32_t`. This breaks the mroute API

git: DragonFly_RELEASE_5_8 net/ip_mroute: Fix 'struct igmpmsg' for x86_64

2020-12-25 Thread Aaron LI
commit e34f6c2e58ca26ac09b29b0c09ea068b2d023678 Author: Uglymotha Date: Thu Dec 24 17:28:58 2020 +0100 net/ip_mroute: Fix 'struct igmpmsg' for x86_64 The `struct igmpmsg` currently uses `u_long` to define the unused fields instead of `uint32_t`. This breaks the mroute API

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

2020-12-30 Thread Aaron LI
commit 7de42e6a46f4e0634280894f5475f8e929d42a12 Author: Aaron LI Date: Wed Dec 30 22:33:50 2020 +0800 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

git: devname.3: Add a little example

2020-12-31 Thread Aaron LI
commit e73439e7d8b66e3326ad3a8caee9573192891ab8 Author: Aaron LI Date: Fri Jan 1 15:04:37 2021 +0800 devname.3: Add a little example Obtained from FreeBSD but with some updates. Summary of changes: lib/libc/gen/devname.3 | 15 +++ 1 file changed, 15 insertions

git: devname(3): Remove obsolete code that queries dev.db

2020-12-31 Thread Aaron LI
commit 9d755d93d0cfde15705f2c5f64e63f27ee6556b1 Author: Aaron LI Date: Fri Jan 1 14:28:58 2021 +0800 devname(3): Remove obsolete code that queries dev.db In the old days of static /dev, devname(3) would get the name by querying the /var/run/dev.db created by dev_mkdb(8

git: Remove obsolete dev_mkdb(8)

2020-12-31 Thread Aaron LI
commit 6b921297e7b5df59544411472dffe8fd22ab1068 Author: Aaron LI Date: Fri Jan 1 15:14:03 2021 +0800 Remove obsolete dev_mkdb(8) The devname(3) has long been updated to determine the device name via the 'kern.devname' sysctl provided by devfs(5). The dev.db created

git: libc/gen/devname.c: No need to include

2020-12-31 Thread Aaron LI
commit 2a9df6f47ec54d0a8042cb65e172351911e780ce Author: Aaron LI Date: Fri Jan 1 15:31:53 2021 +0800 libc/gen/devname.c: No need to include Summary of changes: lib/libc/gen/devname.c | 1 - 1 file changed, 1 deletion(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff

git: Use ${} instead of $() in various makefiles

2021-01-19 Thread Aaron LI
commit c6ecc293ce8e93b8d4edaa12241e09350a4d3f55 Author: Aaron LI Date: Sat Jan 16 17:00:59 2021 +0800 Use ${} instead of $() in various makefiles Also use ${.TARGET} and ${.ALLSRC] wherever impossible. Minor style adjustment in at(1)'s makefiles. Summary of changes

git: test/vmm: Refactor Makefile by using

2021-01-19 Thread Aaron LI
commit ee6c78698337d89198fe1f2d79fb871010379e5d Author: Aaron LI Date: Sat Jan 16 17:02:41 2021 +0800 test/vmm: Refactor Makefile by using Summary of changes: test/vmm/Makefile | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) http://gitweb.dragonflybsd.org

git: kern/makesyscalls.sh: Revert change to '#endif' comment

2021-01-19 Thread Aaron LI
commit ab262a76d59c19ab562a33e7e64950e09a6fcb7f Author: Aaron LI Date: Tue Jan 19 21:52:36 2021 +0800 kern/makesyscalls.sh: Revert change to '#endif' comment Well, I misread the '#ifdef _KERNEL' with '#ifndef', so the comment of '#endif' is right. Revert the recent change

git: nanosleep(2): Plug a memory disclourse and be POSIX-compliant

2021-01-19 Thread Aaron LI
commit 19432bfaa9c3c4915d970c0189a2c852f968651b Author: Aaron LI Date: Thu Jan 14 13:06:02 2021 +0800 nanosleep(2): Plug a memory disclourse and be POSIX-compliant The nanosleep1() called by sys_nanosleep() would only update rmt on EINTR, but it can also return other errors

git: nanosleep(2): Return EINVAL if tv_sec < 0 (POSIX-compliant)

2021-01-19 Thread Aaron LI
commit af23a4c2dab7b68bbde7d5141dbace6f93b11646 Author: Aaron LI Date: Mon Jan 18 12:41:41 2021 +0800 nanosleep(2): Return EINVAL if tv_sec < 0 (POSIX-compliant) When the requested sleep interval is negative, return EINVAL. This behavior is the same as Linux and makes

git: Implement clock_nanosleep(2) system call

2021-01-19 Thread Aaron LI
commit 86ccdacbb5c12b58383e4e562abc3f6c8240249a Author: Aaron LI Date: Sun Jan 17 16:08:41 2021 +0800 Implement clock_nanosleep(2) system call * Extend the nanosleep1() function in kern_time.c to support the clock_nanosleep(2) system call. Add {kern,sys}_clock_nanosleep

git: kern/makesyscalls.sh: Better place #undef and fix #endif comments

2021-01-19 Thread Aaron LI
commit 19244695915295de2e7d820953ab282c68b80b04 Author: Aaron LI Date: Thu Jan 14 19:24:42 2021 +0800 kern/makesyscalls.sh: Better place #undef and fix #endif comments * Move the placement of '#undef PAD_' so it just follows the end of syscall argument section

<    1   2   3   4   5   6   7   >