1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-30 08:19:09 +00:00
freebsd/usr.sbin
Colin Percival a9f5512f07 portsnap: Shorten 'Skipping' output lines
Portsnap uses patches opportunistically to reduce download bandwidth: It
attempts to fetch patches which could be useful, and then makes use of
whichever patches it actually gets.  (This solves the otherwise O(n^2)
issue for the server to build patches between every pair of versions.)

During the process of applying patches, portsnap prints lines of the
form "Skipping XXX-YYY (123 of 4567).\r", where the \r serves to allow
each of these (potentially many) lines to overwrite the previous one
on the console.  Unfortunately, XXX and YYY here are SHA256 hashes,
resulting in these lines wrapping on reasonable-width consoles.

Replace the hashes with abbreviations of the form "0123...cdef"
(cutting 64 characters down to 11) in order to keep lines to a
reasonable length.

The rather ugly shell code here is used to avoid forking additional
processes; it would be much cleaner using sed(1), but in my testing
the sed-based alternative increases CPU time consumption by 50%.

Requested by:	des
2021-06-29 11:00:54 -07:00
..
ac
accton
acpi Print DeviceHandle and PhysicalId in hex. 2021-02-05 16:15:53 -05:00
adduser
apm
apmd
arp arp(8): fixing the deletion failure of IEEE1394 associated addresses 2021-04-13 22:59:58 +00:00
audit
auditd
auditdistd
auditreduce
authpf authpf: Start using libpfctl 2021-05-07 22:13:31 +02:00
autofs autofs: best effort to maintain mounttab and mountdtab 2021-03-12 06:41:55 -09:00
bhyve bhyve: Fix NVMe iovec construction for large IOs 2021-06-27 15:14:52 -07:00
bhyvectl bhyve/snapshot: provide a way to send other messages/data to bhyve 2021-05-12 17:20:15 -08:00
bhyveload
binmiscctl binmiscctl: Avoid segfault with "binmiscctl add" and no extra params 2021-02-08 09:20:38 -05:00
blacklistctl
blacklistd
bluetooth iwmbtfw(8): Improve Intel 7260/7265 adaptors handling 2021-05-31 22:32:08 +03:00
boot0cfg
bootparamd bootparamd: Add missing __unused mark. 2021-01-03 00:40:34 +09:00
bsdconfig bsdconfig: add a new mirror in Bulgaria 2021-06-17 21:07:37 +08:00
bsdinstall bsdinstall: Avoid double-mounting /dev 2021-06-23 21:24:53 +00:00
bsnmpd pkgbase: Put the mibs and defs in the bnsmp package 2021-06-19 17:50:03 +02:00
btxld
camdd camdd(8): Fix the man page date 2020-12-19 13:17:25 +00:00
cdcontrol
certctl secure/caroot, certctl: Rename secure/caroot/blacklisted 2021-06-18 13:38:07 +01:00
chkgrp
chown fts_read: Handle error from a NULL return better. 2020-12-08 23:38:26 +00:00
chroot
ckdist fts_read: Handle error from a NULL return better. 2020-12-08 23:38:26 +00:00
clear_locks pkgbase: Create a FreeBSD-nfs package 2021-06-19 17:49:50 +02:00
config config(8): Remove obsolete 'config' directive. 2021-06-17 15:17:18 -06:00
cpucontrol cpucontrol: fix extended signature matching code to avoid fallthough 2021-06-14 17:34:07 -04:00
crashinfo crashinfo: Add references to the gdb port/package 2020-12-02 19:58:50 +00:00
cron cron: consume blanks in system crontabs before options 2021-03-03 23:23:31 -08:00
crunch Lift scope of buf[] to make it extend to a potential access via *basename 2020-12-10 09:31:05 +00:00
ctladm pkgbase: Move ctld/ctladm to iscsi package 2021-06-19 17:49:57 +02:00
ctld pkgbase: Move ctld/ctladm to iscsi package 2021-06-19 17:49:57 +02:00
cxgbetool cxgbetool(8): add a 'clip' subcommand to deal with the CLIP table. 2021-05-23 16:28:31 -07:00
daemon daemon: add some basic tests 2021-05-03 09:55:40 -06:00
dconschat dconschat: Remove support for FreeBSD 4.x and earlier. 2021-04-20 15:51:31 -06:00
devctl Add freeze/thaw description to devctl(8) 2021-06-01 12:33:12 +08:00
devinfo Fix devinfo typo. 2021-01-05 14:56:23 -05:00
diskinfo Make "diskinfo -i" also test 1MB reads. 2020-12-10 10:23:18 +00:00
dumpcis
editmap
edquota
efibootmgr efibootmgr: Check for efi supported after parsing args 2021-02-11 16:09:51 -07:00
efidp
efivar efivar: use bool for booleans 2021-04-09 16:36:44 -06:00
etcupdate secure/caroot, certctl: Rename secure/caroot/blacklisted 2021-06-18 13:38:07 +01:00
extattr
extattrctl
fdcontrol
fdformat
fdread
fdwrite
fifolog fifolog: Rename yyparse() to getdate_yyparse(). 2021-06-07 06:31:50 +00:00
flowctl
freebsd-update freebsd-update: improve mandoc db generation 2021-04-05 13:23:37 -04:00
fstyp fstyp(8): define HAVE_ZFS macro when built with zfs 2021-05-14 13:00:24 -08:00
ftp-proxy (t)ftp-proxy: use libpfctl 2021-04-10 11:16:02 +02:00
fwcontrol fwcontrol: Remove support for FreeBSD 4.x 2021-04-20 15:51:31 -06:00
getfmac
getpmac
gpioctl Provide userland notification of gpio pin changes ("userland gpio interrupts"). 2020-12-12 18:34:15 +00:00
gssd
gstat gstat(8): Bump .Dd 2021-01-06 19:04:09 +01:00
hyperv
i2c i2c(8): Add interpreted mode for batch/scripted i2c operations 2021-05-19 18:56:59 +00:00
ifmcstat
inetd inetd.conf: Wordsmith recommendation 2021-03-18 15:17:32 +01:00
iostat
iovctl
ip6addrctl
ipfwpcap
iscsid iscsid(8): fix memory leak by freeing the 'addr' 2020-12-29 14:53:06 +00:00
jail jail: Don't allow substitution of valueless jail parameters. 2021-06-18 09:44:37 -07:00
jexec
jls Bugfix to not hide jailparam flags, which for example changes the output 2020-12-15 20:56:35 +00:00
kbdcontrol
kbdmap
keyserv
kldxref kldxref: do not error out if specified path is not directory, for -d mode 2021-05-20 22:40:01 +03:00
lastlogin
lpr sys/*/conf/*, docs: fix links to handbook 2021-05-20 09:27:10 +01:00
lptcontrol
mailstats
mailwrapper
makefs makefs: Cast daddr_t to off_t before multiplication 2021-06-15 01:22:04 +01:00
makemap
manctl
memcontrol
mergemaster secure/caroot, certctl: Rename secure/caroot/blacklisted 2021-06-18 13:38:07 +01:00
mfiutil
mixer
mld6query
mlx5tool
mlxcontrol
mount_smbfs
mountd mountd(8): generate a syslog message when the "V4:" line is missing 2021-03-08 16:08:02 -08:00
moused moused(8): Fix a few mandoc warnings 2020-11-20 17:04:49 +00:00
mpsutil mpsutil: extend show adapter information, add NCQ control 2021-05-07 15:22:22 +03:00
mptable
mptutil
mtest
ndp Fix arp/ndp deletion broken by 2fe5a79425. 2021-02-19 21:17:17 +00:00
newsyslog periodic: add support for .xz and .zcat compressed logs 2021-06-02 17:28:28 +01:00
nfscbd pkgbase: Create a FreeBSD-nfs package 2021-06-19 17:49:50 +02:00
nfsd pkgbase: Create a FreeBSD-nfs package 2021-06-19 17:49:50 +02:00
nfsdumpstate pkgbase: Create a FreeBSD-nfs package 2021-06-19 17:49:50 +02:00
nfsrevoke pkgbase: Create a FreeBSD-nfs package 2021-06-19 17:49:50 +02:00
nfsuserd pkgbase: Create a FreeBSD-nfs package 2021-06-19 17:49:50 +02:00
ngctl build: remove LIBPTHREAD/LIBTHR build options 2021-01-22 12:33:27 -06:00
nghook
nmtree
nologin
nscd
ntp Disable stack gap for ntpd during build. 2021-05-21 15:33:06 +02:00
nvram
ofwdump
pciconf pciconf: Fix up pciconf -lc output 2021-06-01 10:55:44 -05:00
periodic periodic: by default, skip 221.backup-gpart in jails 2021-06-18 08:36:09 -06:00
pkg pkg(7): replace usage of sbuf(9) with open_memstream(3) 2021-04-29 06:41:59 +02:00
pmc libpmc: eliminate pmc_pmu_stat_mode() 2021-05-31 17:39:05 -03:00
pmcannotate
pmccontrol pmccontrol: improve -L with pmu-events 2021-05-31 17:39:05 -03:00
pmcstat pmcstat: fix the usage message for -t 2021-04-21 17:44:52 -03:00
pmcstudy
pnfsdscopymr pkgbase: Create a FreeBSD-nfs package 2021-06-19 17:49:50 +02:00
pnfsdsfile pkgbase: Create a FreeBSD-nfs package 2021-06-19 17:49:50 +02:00
pnfsdskill pkgbase: Create a FreeBSD-nfs package 2021-06-19 17:49:50 +02:00
pnpinfo
portsnap portsnap: Shorten 'Skipping' output lines 2021-06-29 11:00:54 -07:00
powerd
ppp sys/*/conf/*, docs: fix links to handbook 2021-05-20 09:27:10 +01:00
pppctl pkgbase: Put ppp in it's own package 2021-01-04 16:19:36 +01:00
praliases
praudit usr.sbin/praudit: Fix tests after 5619d49e07 2021-02-03 16:02:46 +00:00
prometheus_sysctl_exporter
pstat
pw pw(8): use openmemstream instead of sbuf(9) 2021-04-27 05:09:07 +02:00
pwd_mkdb
pwm usr.sbin/pwm/pwm add support for flags 2021-03-11 09:57:56 +01:00
quot
quotaon
rarpd
repquota
rip6query
rmt
route6d
rpc.lockd rpc.lockd: Use libc strnlen() instead of reimplementing it 2021-06-23 10:06:57 -04:00
rpc.statd
rpc.tlsclntd nfs-over-tls: add user space daemons rpc.tlsclntd and rpc.tlsservd 2021-02-18 14:15:03 -08:00
rpc.tlsservd nfs-over-tls: add user space daemons rpc.tlsclntd and rpc.tlsservd 2021-02-18 14:15:03 -08:00
rpc.umntall pkgbase: Create a FreeBSD-nfs package 2021-06-19 17:49:50 +02:00
rpc.yppasswdd
rpc.ypupdated
rpc.ypxfrd
rpcbind
rrenumd
rtadvctl usr.sbin/rtadvctl: Remove support for FreeBSD 9.x. 2021-01-01 16:06:08 -08:00
rtadvd
rtprio
rtsold rtsold: Fix validation of RDNSS options 2021-03-21 14:19:42 -04:00
rwhod
sa
sendmail
service service(8): use an environment more consistent with init(8) 2021-03-03 12:25:11 -06:00
services_mkdb usr.sbin/services_mkdb: plug memory leak when line was blank. 2021-03-30 15:21:37 -07:00
sesutil
setfib
setfmac fts_read: Handle error from a NULL return better. 2020-12-08 23:38:26 +00:00
setpmac
smbmsg
snapinfo
spi
spkrtest
spray
syslogd syslogd: fix WITHOUT_INET builds 2021-06-12 22:25:35 -06:00
sysrc
tcpdchk
tcpdmatch
tcpdrop
tcpdump
tests
traceroute
traceroute6 traceroute6: Properly calculate UDP checksum 2021-05-03 13:24:30 -04:00
trim trim(8): Fix a few issues reported by mandoc 2020-12-19 13:56:19 +00:00
trpt
tzsetup
uathload
uefisign uefisign: fix SizeOfHeaders sanity check. 2021-06-03 15:22:14 -06:00
ugidfw
uhsoctl
unbound Fix local-unbound setup for some IPv6 deployments. 2021-03-10 15:53:22 +00:00
usbconfig
usbdump usbdump: style: Sort case statements alphabetically 2021-06-04 16:47:28 -06:00
utx
valectl netmap: several typo fixes 2021-04-02 07:01:20 +00:00
vidcontrol
vigr
vipw
wake
watch
watchdogd
wlandebug wlandebug.8: remove Xref for missing manpages 2021-03-15 10:04:13 +01:00
wpa wpa: The ap library is not needed by wpa_supplicant or wpa_cli 2021-06-13 22:55:07 -07:00
yp_mkdb
ypbind
ypldap
yppoll
yppush
ypserv
ypset
zic
zonectl Cross-reference camcontrol(8) and zonectl(8) man pages. 2021-04-10 10:13:29 +01:00
zzz
Makefile pkgbase: Move ctld/ctladm to iscsi package 2021-06-19 17:49:57 +02:00
Makefile.amd64 Remove kgmon(8) 2021-04-04 00:50:28 +03:00
Makefile.arm Remove kgmon(8) 2021-04-04 00:50:28 +03:00
Makefile.arm64
Makefile.i386 Remove kgmon(8) 2021-04-04 00:50:28 +03:00
Makefile.inc
Makefile.mips
Makefile.powerpc
Makefile.riscv