48363b68 | 21-Dec-2024 |
Aaron LI <aly@aaronly.me> |
diff3(1): Rewrite Makefile by using SCRIPTS
Meanwhile, rename the script "diff3" to "diff3" to work with SCRIPTS. |
a95b5cf7 | 21-Dec-2024 |
Aaron LI <aly@aaronly.me> |
diff(1): Remove unnecessary "-Wall" COPTS
The "-Wall" option is already set by default. |
d775d69b | 21-Dec-2024 |
Aaron LI <aly@aaronly.me> |
sdiff(1): Remove unused stuff from Makefile |
f7ba04f4 | 21-Dec-2024 |
Aaron LI <aly@aaronly.me> |
sdiff(1): Remove Makefile.depend
That was auto-generated in FreeBSD's code base; we don't need it.
|
9b7e606c | 02-Dec-2023 |
Martin Neitzel <neitzel@marshlabs.gaertner.de> |
mail(1): Catch SIGWINCH to adapt to terminal size changes
Turn setscreensize() into a signal handler for SIGWINCH. This allows users to resize their terminal and have long subject lines become visi
mail(1): Catch SIGWINCH to adapt to terminal size changes
Turn setscreensize() into a signal handler for SIGWINCH. This allows users to resize their terminal and have long subject lines become visible in "h(eader)" listings without the need to restart mail(1).
Submit: https://bugs.dragonflybsd.org/issues/3375
show more ...
|
ab4c55c7 | 18-Dec-2024 |
Matthew Dillon <dillon@apollo.backplane.com> |
dsynth - Include "add" in "help" output.
* Include a blurb on the "add" directive in the dsynth help output.
Submitted-by: Pierre-Alain TORET <daftaupe@dragonflybsd.org> |
c9733229 | 08-Oct-2024 |
Matthew Dillon <dillon@apollo.backplane.com> |
world - Replace gnu diff, diff3, and sdiff with BSD versions
* Replace diff and diff3 with the OpenBSD diff and diff3, Replace sdiff with the FreeBSD sdiff, Remove the GNU diff, diff3, and sdiff
world - Replace gnu diff, diff3, and sdiff with BSD versions
* Replace diff and diff3 with the OpenBSD diff and diff3, Replace sdiff with the FreeBSD sdiff, Remove the GNU diff, diff3, and sdiff
* Basic testing with dsynth bulk to ensure no significant compatibility disruptions.
Submitted-by: Tyler <tyler.clark@foxide.xyz>
show more ...
|
2b0cb817 | 11-Sep-2024 |
Matthew Dillon <dillon@apollo.backplane.com> |
dsynth - Make dummy /usr/packages directory for pkg compatibility
* For the chroot, make /usr/packages for pkg compatibility. Certain pkg related temporary files are created there for reasons unk
dsynth - Make dummy /usr/packages directory for pkg compatibility
* For the chroot, make /usr/packages for pkg compatibility. Certain pkg related temporary files are created there for reasons unknown.
show more ...
|
3187ec28 | 21-Jul-2024 |
Aaron LI <aly@aaronly.me> |
less(1): Regenerate defines.h and update Makefile |
ba1276ac | 05-Jul-2024 |
Matthew Dillon <dillon@apollo.backplane.com> |
IMPORT openssh-9.8p1
* Fixes CVE-2024-6387-openssh
* NOTE that DragonFly is not known to be vulnerable to this CVE, but because it is a general signal race we are updating sshd anyway, just in
IMPORT openssh-9.8p1
* Fixes CVE-2024-6387-openssh
* NOTE that DragonFly is not known to be vulnerable to this CVE, but because it is a general signal race we are updating sshd anyway, just in case.
show more ...
|
7485684f | 03-Mar-2024 |
Aaron LI <aly@aaronly.me> |
Whitespace cleanups |
7364150d | 12-Mar-2024 |
Aaron LI <aly@aaronly.me> |
less(1): Fix the installation name of 'lesspipe.sh'
Don't change the installation name, as the exact name of 'lesspipe.sh' is used in 'zless.sh'. |
798ad93f | 11-Mar-2024 |
Aaron LI <aly@aaronly.me> |
less(1): Regenerate defines.h and update Makefiles
- Regenerate 'defines.h' as described in 'README.DRAGONFLY'. - Update the Makefiles for less(1), lessecho(1) and lesskey(1). - Install the lessecho
less(1): Regenerate defines.h and update Makefiles
- Regenerate 'defines.h' as described in 'README.DRAGONFLY'. - Update the Makefiles for less(1), lessecho(1) and lesskey(1). - Install the lessecho.1 man page.
show more ...
|
70bb9b56 | 06-Mar-2024 |
Aaron LI <aly@aaronly.me> |
sockstat(1): Fix and improve output formatting
The main issue with the old formatting was that the FD column was limited to 2 characters, so there would be no space between FD and PROTO columns.
In
sockstat(1): Fix and improve output formatting
The main issue with the old formatting was that the FD column was limited to 2 characters, so there would be no space between FD and PROTO columns.
Increase the FD column to 5 characters, and increase the PID column to 6 characters. In addition, refactor the output formatting code to clean up the mess.
While there, clean up the code a bit to save some type castings.
show more ...
|
9f7ef25b | 04-Mar-2024 |
Ricardo Branco <rbranco@suse.de> |
gzip(1): Set file flags after setting file times
Only set the source file flags on the target file after the timestamp has been set; otherwise setting the timestamp will fail if the flags don't perm
gzip(1): Set file flags after setting file times
Only set the source file flags on the target file after the timestamp has been set; otherwise setting the timestamp will fail if the flags don't permit it (i.e., uchg).
To reproduce the issue: $ /usr/bin/touch /tmp/foo $ /bin/chflags uchg /tmp/foo $ /usr/bin/gzip -v /tmp/foo gzip: couldn't utimes: /tmp/foo.gz: Operation not permitted
GitHub PR: https://github.com/DragonFlyBSD/DragonFlyBSD/pull/21 See also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=120208
show more ...
|
a4775f72 | 03-Mar-2024 |
Ricardo Branco <rbranco@suse.de> |
hexdump(1): Ignore zero st_size to work on pseudo-filesystems
hexdump(1) was not able to skip on files residing on pseudo-filesystems, for example: hexdump -s1 /proc/$$/status
GitHub PR: https://gi
hexdump(1): Ignore zero st_size to work on pseudo-filesystems
hexdump(1) was not able to skip on files residing on pseudo-filesystems, for example: hexdump -s1 /proc/$$/status
GitHub PR: https://github.com/DragonFlyBSD/DragonFlyBSD/pull/20
show more ...
|
5f8e6ce5 | 03-Mar-2024 |
Ricardo Branco <rbranco@suse.de> |
wc(1): Ignore zero st_size to work on pseudo-filesystems
Without this fix, 'wc -c' was failing on pseudo-filesystems, for example: wc -c /proc/$$/status
GitHub PR: https://github.com/DragonFlyBSD/D
wc(1): Ignore zero st_size to work on pseudo-filesystems
Without this fix, 'wc -c' was failing on pseudo-filesystems, for example: wc -c /proc/$$/status
GitHub PR: https://github.com/DragonFlyBSD/DragonFlyBSD/pull/19
show more ...
|
ad668869 | 02-Mar-2024 |
Aaron LI <aly@aaronly.me> |
netstat(1): Increase column width of interface name
Given that the interface can be renamed, the interface name may be generally longer, so increase the column width of interface name by 2 character
netstat(1): Increase column width of interface name
Given that the interface can be renamed, the interface name may be generally longer, so increase the column width of interface name by 2 characters (from 6 to 8).
Referred to FreeBSD.
show more ...
|
3da8e663 | 28-Feb-2024 |
Aaron LI <aly@aaronly.me> |
awk(1): Raise WARNS to 5 for internal 'maketab' tool |
edd1b3cf | 23-Jan-2024 |
Aaron LI <aly@aaronly.me> |
netstat(1): Fix alignment of 'Drop' and 'Time' columns |
49d2b1cb | 16-Jan-2024 |
Matthew Dillon <dillon@apollo.backplane.com> |
dsynth - Adjust /boot mounts for chroot
* Fix issue where Intel microcode couldn't be installed within the chroot due to trying to write into /boot.
* Replace /boot null-mount with a /boot tmpfs
dsynth - Adjust /boot mounts for chroot
* Fix issue where Intel microcode couldn't be installed within the chroot due to trying to write into /boot.
* Replace /boot null-mount with a /boot tmpfs and mkdir /boot/modules.local. Leave other /boot directories unpopulated for now (we'll fix that if we hit problems). i.e. no /boot/kernel or anything else is in the chroot any more.
* This also allows us to remove the /boot/modules.local tmpfs mount we had before, improving performance slightly.
Reported-by: tuxillo
show more ...
|
a361ab31 | 02-Jan-2024 |
Matthew Dillon <dillon@apollo.backplane.com> |
Add integrated dports build feature to build-all and install-all targets
When WITH_DPORTS=YES is used build-all and install-all, these targets will also build the base set of ports and all of their
Add integrated dports build feature to build-all and install-all targets
When WITH_DPORTS=YES is used build-all and install-all, these targets will also build the base set of ports and all of their dependencies using configuration data and the "dragonfly/base" dport found in "/usr/src/dports.base".
This feature is intended to be used by the nrelease build in an upcoming commit, and may also be used manually.
The /usr/dports tree must exist and contains the dports repo to use as the basis of the dports build. It will be null-mounted in the chroot and the "/usr/src/dports.base/dragonfly" directory will be null-mounted under it to provide the "dragonfly/base" meta-port. The DPORTSBASE make variable may be used to override the location of the main dports repo.
The build-all and install-all targets use a sophisticated chrooted environment to do a completely clean dports build with dsynth. It It will actually "make installworld" plus a clean "make distribution" inside the chroot environment to create the environment, and the host system's /etc/resolv.conf will be copied in.
build-all - Augmented when used WITH_DPORTS=YES install-all - Augmented when used WITH_DPORTS=YES buildportschroot - Build a fresh chroot environment for dsynth mountports - Do all null mounts and cp's needed for the env buildports - Run dsynth build dragonfly/base in the env installports - Install the built ports on the host system (see note) umountports - Remove the null mounts
WITH_DPORTS=YES - executes buildportschroot, mountports, buildports, and umountports when run from build-all.
executes mountports, installports, umountports when run from install-all.
DPORTSBASE=path - Defaults to /usr/dports, may be used to override the location where the main dports tree can be found.
NOTE: Installports may require interactivity as the base system might already have installed ports. Generally speaking it is best to not revert any ports you might already have installed, so feel free to tell it not to install anything.
* Added various make targets and augmented build-all and install-all
* /usr/local/sbin added and the stale /usr/pkg/bin removed from _HOSTPATH.
* Add /usr/src/dports.base infrastructure.
It contains the dsynth.ini and pkg.conf files that will be used for the local dsynth operations. Some paths are replaced with SED when copied to the chroot. The dsynth.ini is relative to the chroot.
It also contains the dragonfly/base dport which is the meta-port that dsynth will be told to build.
All other dports related files and directories are null-mounted from /usr/dports.
* Add /usr/distfiles.base to mtree/BSD.usr.dist. This directory is also created by the build if it does not exist since the host system might not have run a new installworld recently.
This directory will be used during build-all (buildports) to store the distfiles required to build dragonfly/base, so they only need to be fetched once.
* Add the "-C ConfigBase" option to dsynth to make running it from the chrooted environment easier. This overrides the /etc/dsynth directory and removes /etc/dsynth as a fallback.
* dsynth conditionalizes calling syscap_set() for backwards compatibility with older host systems that might not have been upgraded to include the feature yet.
show more ...
|
e43c2985 | 11-Dec-2023 |
Aaron LI <aly@aaronly.me> |
netstat(1): Update route.c to get rid of some file-global variables
No functional changes. |
04a3b05a | 11-Dec-2023 |
Aaron LI <aly@aaronly.me> |
netstat(1): Whitespace cleanups |
7d605468 | 10-Nov-2023 |
Aaron LI <aly@aaronly.me> |
netstat(1): Fix build against with <net/radix.h> gaining 'const' |