Sascha Wildner [Wed, 22 Nov 2017 14:06:23 +0000 (15:06 +0100)]
Remove various former kernel config options for good.
Sascha Wildner [Wed, 22 Nov 2017 13:47:44 +0000 (14:47 +0100)]
kernel: Remove old SHOW_BUSYBUFS kernel configuration option.
It was removed in
5e13112632fcc46beba13acf879e178aba56391c.
zrj [Wed, 22 Nov 2017 06:26:59 +0000 (08:26 +0200)]
kernel: Remove <sys/inflate.h> inclusion from files that don't need it.
The <sys/inflate.h> is only needed for:
* sys/kern/imgact_gzip.c
* sys/kern/inflate.c
zrj [Tue, 21 Nov 2017 15:57:31 +0000 (17:57 +0200)]
inet6: Remove few unneeded <net/zlib.h> headers.
No functional change.
Tomohiro Kusumi [Tue, 21 Nov 2017 21:28:02 +0000 (23:28 +0200)]
kqueue: Fix kqueue(2) EVFILT_FS section
Fix
05d3db1bc901548d6335d701c773c537d4ef42fd.
EVFILT_FS filter currently does not use ident. It can be any value
to catch mount/umount.
FreeBSD kqueue(2) man page doesn't have description on EVFILT_FS
by the way, while the code was taken from FreeBSD for mount/umount.
Sascha Wildner [Tue, 21 Nov 2017 14:24:22 +0000 (15:24 +0100)]
kmalloc.9: Remove some obsolete information.
Sascha Wildner [Tue, 21 Nov 2017 07:25:48 +0000 (08:25 +0100)]
Revert "kprintf.9: Remove unneeded header."
This reverts commit
dbb5d235a84b2aa354a9d5745aa6a02ac9a26c50.
The header was actually useful because <sys/syslog.h> has the
priority definitions.
Sascha Wildner [Tue, 21 Nov 2017 07:09:29 +0000 (08:09 +0100)]
kprintf.9: Remove unneeded header.
Reported-by: zrj
Sascha Wildner [Mon, 20 Nov 2017 06:55:32 +0000 (07:55 +0100)]
Remove unused <{cpu,machine}/coredump.h> header.
Matthew Dillon [Sat, 18 Nov 2017 19:01:47 +0000 (11:01 -0800)]
vkernel - Sync to recent API changes (3)
* Fix va page offset in returned value.
Matthew Dillon [Sat, 18 Nov 2017 18:43:37 +0000 (10:43 -0800)]
vkernel - Sync to recent API changes (2)
* Refactor uservtophys() to use vm_fault_page(). The pmap
lookup isn't going to work coupled with the fuword style
test because the vkernel's copyin/copyout/fuword/etc code
doesn't fault the underlying page into the pmap.
Matthew Dillon [Sat, 18 Nov 2017 18:13:01 +0000 (10:13 -0800)]
vkernel - Sync to recent API changes
* Add uservtophys() to the vkernel code. This is a bit of a quick hack
but it should work. It won't be efficient, though.
* vkernel compiles again and appears to run ok.
Matthew Dillon [Sat, 18 Nov 2017 17:08:45 +0000 (09:08 -0800)]
kernel - Fix vclean assertion due to short-cut taken by TMPFS
* Allow a vnode being destroyed to have a dirty VM object. TMPFS
doesn't bother to cleanup VM objects when destroying file nodes
(e.g. when a file that is no longer referenced is removed), and
can leave dirty pages present in the underlying object.
* Fixes occassional kernel assertions related to tmpfs (that only
tend to occur with specific use cases).
Reported-by: zrj
Sascha Wildner [Sat, 18 Nov 2017 12:30:57 +0000 (13:30 +0100)]
libc/citrus: Catch a NULL pointer earlier, check for empty string later.
This fixes a gcc8 warning.
Taken-from: NetBSD (Revisions 1.20-1.22)
Sascha Wildner [Sat, 18 Nov 2017 12:01:04 +0000 (13:01 +0100)]
Remove the NO_CRYPT build option.
It has been broken for a long time without anyone complaining about and
we don't want to maintain it either.
In-discussion-with: zrj
Sascha Wildner [Sat, 18 Nov 2017 01:32:47 +0000 (02:32 +0100)]
<sys/indefinite2.h>: Fix header name.
This is never reached (<sys/globaldata.h> comes in via <sys/indefinite.h>
as it seems), but fix anyway.
Sascha Wildner [Fri, 17 Nov 2017 17:44:54 +0000 (18:44 +0100)]
kernel: Remove some semicolons at the end of macro definitions.
Sascha Wildner [Fri, 17 Nov 2017 17:35:23 +0000 (18:35 +0100)]
kernel: Remove some unnecessary semicolons.
Sascha Wildner [Fri, 17 Nov 2017 17:34:14 +0000 (18:34 +0100)]
kernel: Remove two final \ in macro definitions.
zrj [Fri, 17 Nov 2017 12:40:56 +0000 (14:40 +0200)]
LTO: Disable safety feature.
No longer can reproduce boot issue in the padlock/padlock_rng codes.
The -flto-partition=one can be supplied together with -flto as needed.
zrj [Fri, 17 Nov 2017 10:50:35 +0000 (12:50 +0200)]
LTO: Pass CFLAGS to compiler for kernel module linking too.
Forgot to git add it in
fa8104330967fab6248da216251a4382b39b1dab.
Linker still could link LTO'ed *.o objects, because ld is invoked by cc
with explicitly passed -plugin option that loads the liblto_plugin.so.
This only slightly changes how LTO is performed on kernel modules.
Note: this will need to be adjusted for clang -flto compatibility
when I will update the clangb version in git module.
Reported-by: dillon
zrj [Fri, 17 Nov 2017 10:21:09 +0000 (12:21 +0200)]
gcc47: Backport static initialization acceptance.
I only backporting these so that failing to accept drm/i915 _MMIO() stuff
would *not* be used as an argument to remove gcc47 alternative compiler
from base, just because "oh look it does not compile the i915.ko".
The gcc47 is likely the last C compiler compilable with C compiler able
to bootstrap the c++ compiler that is used on x86_64 anymore.
If anyone has/works on simple C compiler that could boostrap modern gcc,
you know where I hanging out and I gladly replace gcc47 with it in base.
It only takes few lines to accept updated drm/i915 "features".
It still warns with -pedantic:
/usr/src/sys/dev/drm/i915/intel_pm.c:3925:3: warning: initializer element is not constant [-pedantic]
/usr/src/sys/dev/drm/i915/intel_pm.c:3925:3: warning: (near initialization for 'wm0_pipe_reg[0]') [-pedantic]
/usr/src/sys/dev/drm/i915/intel_pm.c:3926:3: warning: initializer element is not constant [-pedantic]
/usr/src/sys/dev/drm/i915/intel_pm.c:3926:3: warning: (near initialization for 'wm0_pipe_reg[1]') [-pedantic]
/usr/src/sys/dev/drm/i915/intel_pm.c:3927:3: warning: initializer element is not constant [-pedantic]
/usr/src/sys/dev/drm/i915/intel_pm.c:3927:3: warning: (near initialization for 'wm0_pipe_reg[2]') [-pedantic]
...
So far i915 is the only place in kernel that does this, please lets keep it at this.
Check C99 Standard: Section 6.7.8 for more info.
Taken-from: gcc trunk (216416 + 216440 revisions)
zrj [Fri, 17 Nov 2017 10:17:27 +0000 (12:17 +0200)]
tftp(1): Avoid symbol conflict with ncurses.
The usr.bin/tftp/main.c: int trace;
while lib_trace.c: void trace(const unsigned int){};
This breaks -flto -static link against LTO'ed libncurses.a.
Fix it by just renaming: s/trace/tftp_trace/g.
zrj [Fri, 17 Nov 2017 10:03:18 +0000 (12:03 +0200)]
ftp(1): Avoid symbol conflict with ncurses.
The contrib/tnftp/src/ftp_var.h: GLOBAL int trace;
while lib_trace.c: void trace(const unsigned int){};
This breaks -flto -static link against LTO'ed libncurses.a.
Since it is in contrib code, just -Dtrace it.
zrj [Fri, 17 Nov 2017 09:20:44 +0000 (11:20 +0200)]
backgammon(6): Avoid symbol issue with ncurses lib.
The backgammon(6) has: back.k: extern int raw;
while in ncurses tinfo/lib_raw.c: int raw(void){}.
This breaks -flto -static link against LTO'ed libncurses.a.
So just rename backgammon global raw to bgraw.
Just for the fun of it, note that init.c: struct termios bgraw;
NetBSD already have it fixed in games/backgammon/.
Also still not clear how to do with
c5e1790f6b.
Sascha Wildner [Fri, 17 Nov 2017 08:02:47 +0000 (09:02 +0100)]
Fix some trailing whitespace in sys/conf and sys/config.
Submitted-by: zrj
zrj [Thu, 16 Nov 2017 13:28:59 +0000 (15:28 +0200)]
banner(1): Remove (void) casts.
Forgot about these. Sorry.
zrj [Thu, 16 Nov 2017 13:27:21 +0000 (15:27 +0200)]
games: Remove (void) casts.
No functional change.
zrj [Thu, 16 Nov 2017 12:38:47 +0000 (14:38 +0200)]
fortune(6): Add few fortunes.
zrj [Thu, 16 Nov 2017 12:31:47 +0000 (14:31 +0200)]
Bring in OpenBSD's tetris(6).
Will be handy to test upcoming ncurses update.
Taken-from: OpenBSD
zrj [Thu, 16 Nov 2017 12:27:33 +0000 (14:27 +0200)]
Bring in OpenBSD's boggle(6).
As per README, stuff is addictive!
Pointed-by: Thierry
Taken-from: OpenBSD
Sascha Wildner [Wed, 15 Nov 2017 19:38:16 +0000 (20:38 +0100)]
newfs_hammer.8: Fix up the HISTORY section.
Reported-by: kerma (Michael)
zrj [Tue, 14 Nov 2017 20:30:57 +0000 (22:30 +0200)]
cpdup(1): Whitespace cleanup.
No functional change.
zrj [Tue, 14 Nov 2017 19:25:48 +0000 (21:25 +0200)]
btools: Strip host lib deps for bin/cpdup.
Disable last libmd.a user in btools.
MD5 functionality (cpdup -m) for buildworld is redundant.
zrj [Tue, 14 Nov 2017 22:25:35 +0000 (00:25 +0200)]
btools: Strip libmd dep for usr.bin/sort.
Implement SORT_RANDOM option and do not use if BOOTSTRAPPING.
This option is useless for a buildworld/buildkernel.
This allows to have sort(1) that only depends on libc.
zrj [Tue, 14 Nov 2017 18:41:00 +0000 (20:41 +0200)]
btools: Strip libpthread dep for usr.bin/sort.
This is one in particular was annoying me for long. It has a potential of using
ptreads for sorting speed up. Running parallel sort(1) in various buildworld
places actually can result in less performance on maximum parallel builds due
to interference with other cpu cores and we can not be sure about the state of
host's static libpthread lib. Also, so far I did not noticed any performance
degradation when sort is used without threads support for buildworld purposes.
This utility (in btools case) is compiled statically so bringing whole pthreads
static lib into memory has a bigger penalty then in most cases sorting anyway.
This a single btools/ctools case that depends on -lpthread. Having a slim,
more stable buildings tools is prefered than dubious compilation speed
enhancements for critical buildworld infrastructure.
The libmd.a dependency will be revemoved in separate patch.
zrj [Tue, 14 Nov 2017 18:04:06 +0000 (20:04 +0200)]
btools: Remove usr.bin/bzip2 from the list.
The bzip2 and its variants are not used during buildworld/buildkernel.
So avoid yet another dependency on host lib (libz2.a).
Only places i could find it referenced were:
* etc/man.conf - for manpage compression (we only do and trac .gz ones).
* etc/release - for compressing the kernel sources (that is outside build
and already have a dependencies from DPorts).
zrj [Tue, 14 Nov 2017 17:01:06 +0000 (19:01 +0200)]
ncurses: Privatize the last public header.
Just move it with rest of privatized ncurses headers. Only user in base is
usr.sbin/installer/dfuife_curses/ and include path is already handled there.
As of this moment we are sure that none of private ncurses bits are used for
bootstrapping the world (non-interactive make/shell scripts redirected to
file should not care about colors anyway or try to format the layout).
No functional change.
zrj [Tue, 14 Nov 2017 15:47:20 +0000 (17:47 +0200)]
btools: Remove /bin/csh from the list.
Our buildworld infrastructure does not use it (/bin/sh is used).
The csh is quite a complicated shell (ncurses, crypto deps).
One place less to trip while upgrading to newer releases.
This should simplify all the private libs handling.
zrj [Tue, 14 Nov 2017 15:42:31 +0000 (17:42 +0200)]
btools: Do not link with LIBEDIT for bin/sh.
The -DNO_HISTORY already disables all libprivate_edit functionality and
libncurses is only a dep for libedit. Simply remove extra dependencies.
Keeps btools slim and cleaner.
zrj [Tue, 14 Nov 2017 15:25:55 +0000 (17:25 +0200)]
ncurses: Hook in fully bootstrapped tic_next.
This hopefully will allow for better future bootstraps better and w/o hacks.
Problem with tic(1) is his special knowledge through <progs.priv.h> header.
Because it is not a standard application (that uses only public headers) we
simply cannot expect to just compile three new main sources sources + link
with previously built libncurses.a from older release. Also, tic(1) during
buildworld builds terminfo binary database for the *new* ncurses lib version
and not for the *old* one. So full bootstrap is in order.
Note, share/terminfo database can still be built by a world installed tic(1).
zrj [Tue, 14 Nov 2017 12:23:22 +0000 (14:23 +0200)]
ncurses: Add hostprog variant of tic.
Tic(1) uses some of internal bits of ncurses implementation.
* For now include a basic set of libncurses.
* Link this tic with wide version of ncurses.
* Adjust sources a bit for future reference.
zrj [Tue, 14 Nov 2017 09:24:44 +0000 (11:24 +0200)]
ncurses: Move in panel handling to Makefile.sources.
While there, install panel.h header only from a single place.
Previously it was installing it from both libpanel and libpanelw.
The libpanelw lib is currently unused in the world tree, while the
libpanel is only used by installer.
No functional change.
zrj [Mon, 13 Nov 2017 17:12:40 +0000 (19:12 +0200)]
ncurses: Separate generators and sources list.
Keeps everything concentrated outside libncurses lib.
Add a bit of source sorting too.
No functional change, just moving stuff around.
zrj [Mon, 13 Nov 2017 14:04:15 +0000 (16:04 +0200)]
ncurses: Do not use LIB_SUFFIX.
In preparations for update.
While there, remove two unused variables.
zrj [Wed, 15 Nov 2017 19:34:07 +0000 (21:34 +0200)]
Revert "bootstrap: Expand BOOTSTRAPPING case to avoid warning."
This reverts commit
6b9ba3e86a05417c2af9786967ec92fc136cffde.
zrj [Wed, 15 Nov 2017 19:33:49 +0000 (21:33 +0200)]
Revert "Hack-fix buildworld after the ncurses upgrade."
This reverts commit
6d3bd8e3942560036cf2aec0d98a65819c5f3b4c.
Sascha Wildner [Wed, 15 Nov 2017 19:08:20 +0000 (20:08 +0100)]
Fix some typos in manual pages.
zrj [Wed, 15 Nov 2017 16:55:34 +0000 (18:55 +0200)]
banner.1: Adjust for 80 columns terminals.
Sascha Wildner [Wed, 15 Nov 2017 16:25:23 +0000 (17:25 +0100)]
kernel/hammer2: Fix compilation without INVARIANTS.
Reported-by: ohum
zrj [Wed, 15 Nov 2017 13:56:43 +0000 (15:56 +0200)]
Bring in OpenBSD's banner(1).
I find it more pleasing to the eyes than banner(6).
While there, constify array in lpd(8) too.
Taken-from: OpenBSD
zrj [Wed, 15 Nov 2017 12:12:16 +0000 (14:12 +0200)]
intro.6: Remove reference to dm(8).
zrj [Wed, 15 Nov 2017 11:42:55 +0000 (13:42 +0200)]
banner(6): Move to games/ where it belongs.
I somehow managed to miss this one when prepping the
07917fe88dd.
Now all (6) utilities are really in games/.
Only a single (6) manpage is outside games/
share/man/man6/intro.6
It stays there.
Sascha Wildner [Wed, 15 Nov 2017 14:43:49 +0000 (15:43 +0100)]
Remove some more old openssl(1) related manual pages and MLINKS.
I had overlooked them in
f694fa517c2628d79a49719e25f72134babbdd0c.
Reported-by: zrj
Peeter Must [Wed, 15 Nov 2017 08:54:05 +0000 (10:54 +0200)]
test - Test commit.
Sascha Wildner [Tue, 14 Nov 2017 09:32:23 +0000 (10:32 +0100)]
libcrypto: Remove unused old version and date in Makefile.inc.
Matthew Dillon [Mon, 13 Nov 2017 22:03:20 +0000 (14:03 -0800)]
kernel - Fix mtime for deferred writes from mmap R+W
* When a program modifies a file via a shared R+W mmap and does not
msync() it, the pages do not get synchronized to the filesystem until
potentially up to 30 seconds later. Our filesystems then record a
mtime as-of when that synchronization occurs rather than when the
modification was made to the pages.
* We cannot easily determine when the modification was made, but we do
track close()'s on file pointers that were opened writable. So what
we do is record the timestamp as of the last close() of a file pointer
that was opened for writing. Then later on we pages are synchronizded,
we use this timestamp for any mtime update. It isn't perfect, but its
better than it was before.
* This is not a perfect fix. The mtime really needs to be updated at the
time of the close() in this situation as well, but it will fix 'make'
related issues for files that are modified with mmap rather than
write() (aka such as ld.gold appears to do).
Reported-by: zrj
Sascha Wildner [Mon, 13 Nov 2017 11:47:15 +0000 (12:47 +0100)]
Remove various old openssl(1) related manual pages.
Sascha Wildner [Mon, 13 Nov 2017 08:51:29 +0000 (09:51 +0100)]
mtree: Fix owner for several directories in /usr/share.
Only /usr/share/man/cat* directories should have owner 'man'.
0ba28897abadbf broke this by removing needed '/set uname=root' lines
in BSD.usr.dist.
While here, remove some trailing whitespace.
In-discussion-with: zrj
zrj [Sun, 12 Nov 2017 11:09:52 +0000 (13:09 +0200)]
strfile(8): Convert to use big endian format.
Produce architecture independent .dat files.
This temporarilly will break fortunes from DPorts.
sorry
Taken-from: FreeBSD
zrj [Sun, 12 Nov 2017 10:03:58 +0000 (12:03 +0200)]
games: Move out non (6) utilities from /usr/games/.
The strfile(8) and unstr(8) are pretty generic on their own and do not belong
in /usr/games/ (with all NO_GAMES stuff). All (6) utilities are still in games.
* Move stfile(8) and unstr(8) to usr.bin/.
* Move out strfile from btools and convert it to hostprog (like nvi).
* Compile strfile.nx only if NO_SHARE is not set.
While there, apply 3rd to usr.bin/vi too (somehow skipped it in
bf31779ebd).
Eitan Adler [Sat, 11 Nov 2017 20:07:25 +0000 (12:07 -0800)]
tools/commitsd - Remove it
This generates information for a CVS database. Something that both
DragonFly and FreeBSD have stopped using years ago.
Sascha Wildner [Sun, 12 Nov 2017 07:54:40 +0000 (08:54 +0100)]
Makefile_upgrade.inc: Fix path.
Reported-by: zrj
zrj [Sat, 11 Nov 2017 18:46:31 +0000 (20:46 +0200)]
cvs: Fix perl shebangs in contrib scripts.
zrj [Sat, 11 Nov 2017 18:48:02 +0000 (20:48 +0200)]
Cleanup leftover libs.
On one of my test setups these were sitting since 2016-03-10.
Reported-by: swildner
Peeter Must [Tue, 7 Nov 2017 12:48:52 +0000 (14:48 +0200)]
drm - Add i915_sysctl_init callback.
* This sets the hw.dri.%i.busid and hw.dri.%i.modesetting
sysctls so that applications like mesa loader can retrieve
pci id information at startup. Taken from
sys/dev/drm/radeon/radeon_drv.c.
Suggested-by: zrj
Sascha Wildner [Sat, 11 Nov 2017 15:18:00 +0000 (16:18 +0100)]
kernel/wlan: Sync Makefile with FreeBSD a bit.
Make wlan_rssadapt a module of its own. This also is in line with how
wlan is compiled into the kernel.
zrj [Sat, 11 Nov 2017 14:22:08 +0000 (16:22 +0200)]
rogue(6): Fix potion mixing.
Taken-from: freebsd-ports(games/bsdgnames)
zrj [Sat, 11 Nov 2017 14:15:12 +0000 (16:15 +0200)]
hack(6): Update gethdate().
Taken-from: OpenBSD
zrj [Sat, 11 Nov 2017 13:49:01 +0000 (15:49 +0200)]
battlestar(6): Add few patches.
Taken-from: freebsd-ports(games/bsdgames)
zrj [Sat, 22 Jul 2017 13:19:21 +0000 (16:19 +0300)]
dm(8): Retire the Dungeon Master.
One setgid utility less in base + it was shadowing dm(4).
Approved-by: swildner
zrj [Sat, 22 Jul 2017 12:14:59 +0000 (15:14 +0300)]
games: Mark utilities that write to /var/games/ directory.
Make them available for users in games group only.
This will allow to tighten security a bit.
While there, add missing creation of /var/games/atc_score.
zrj [Sat, 22 Jul 2017 10:24:59 +0000 (13:24 +0300)]
Jailbreak games from Dungeon Master.
TooManySecrets
zrj [Sat, 11 Nov 2017 11:19:34 +0000 (13:19 +0200)]
PRIV: Remove OpenSSL entries from mtree.
Enough time has passed and nothing should be using these by now.
zrj [Sat, 11 Nov 2017 10:53:10 +0000 (12:53 +0200)]
upgrade: Avoid confussion.
Some people tend to skip over entries in UPDATING and miss important details.
Convert REMOVE_OPENSSL_FILES to an action that actually warns user about it.
Files being removed(optionally) are peformed as a last step in make upgrade
step in constrast to standard TO_REMOVE that does it before updating /etc/ dir.
It should be assumed that users are allowed and will use REMOVE_DEPRECATED=yes
in their /etc/make.conf, so anything requiring user intervention should still
go in etc/Makefile: upgrade_check: target (like it already does for mailers).
Addition is not a magic fix for all problems and should be used responsibly!
While there, convert old pam removal using csh to plain TO_REMOVE.
Approved-after-very-long-discussions-by: swildner
zrj [Sat, 11 Nov 2017 10:37:39 +0000 (12:37 +0200)]
buildworld: Really support static toolchain.
Not to be used for day-to-day stuff, testing and experimenting feature only.
This includes the cross-tools and would come very helpful when we will make
a switch for /libexec/ld-elf.so runtime linker.
zrj [Sat, 11 Nov 2017 09:51:56 +0000 (11:51 +0200)]
musycc: Tidy up a bit.
It has been sitting in a dark corner for too long.
zrj [Sat, 11 Nov 2017 08:01:34 +0000 (10:01 +0200)]
Clean up a bit after the recent changes.
Manpage was removed in
5e46054208ba7328a97fb412f9b23afdc9cc70ef.
zrj [Sat, 11 Nov 2017 09:55:51 +0000 (11:55 +0200)]
Adjust path after libpam changes.
Reported-by: swildner
zrj [Fri, 10 Nov 2017 18:30:05 +0000 (20:30 +0200)]
world: Attempt to fix NOSHARED MINUSLPAM handling.
* Add missing LIBYPCLNT as a dependency. TODO: NO_NIS handling.
* Add missing LIBSSH (only needed in case of pam_ssh module).
* Add missing LIBRECRYPTO too.
* Introduce LDFLAGSPAM helper for priv libs.
Now NOSHARED=yes buildworld is possible and it is usable. Dynamic .so libraries
are still built, just not used during linking of executables (with exceptions).
There should be no issues building standard buildworld over static one.
Keep in mind that static built utilities like su(1), login(1) will still try to
dlopen() the shared pam modules (and fail with sorry "Service unavailable")
followed by fallback case of loading static modules through openpam_static().
Because of that syslog and console will get spammed on any login attempts with:
_ login: in try_dlopen(): /usr/lib/security/pam_opie.so.2: Service unavailable
_ login: in try_dlopen(): /usr/lib/security/pam_unix.so.2: Service unavailable
...
_ su: in try_dlopen(): /usr/lib/security/pam_rootok.so.2: Service unavailable
_ su: in try_dlopen(): /usr/lib/security/pam_self.so.2: Service unavailable
Because libpam.a can still be linked in dynamic exec, not disabling warnings.
Currently used OpenPAM Micrampelis is quite stale (at the moment newest release
is Resedacea). Also with OpenSSH update there might be an API issue.
Please report any breakages on master.
zrj [Fri, 10 Nov 2017 18:27:35 +0000 (20:27 +0200)]
LIBPRIV: Add few missing ${LIBRECRYPTO} dependencies.
Mainly to satisfy the NOSHARED build.
zrj [Fri, 10 Nov 2017 18:18:38 +0000 (20:18 +0200)]
xz(1): Add missing dependency.
Satisfies NOSHARED build, liblzma is linked against libpthread.
zrj [Fri, 10 Nov 2017 18:17:31 +0000 (20:17 +0200)]
unzip(1): Add missing dependencies.
Satisfies NOSHARED build.
zrj [Fri, 10 Nov 2017 18:15:04 +0000 (20:15 +0200)]
fstat(1): Attempt to fix a symbol conflict with libkvm.a
Need to be rechecked deeper.
zrj [Fri, 10 Nov 2017 18:07:13 +0000 (20:07 +0200)]
world: Enforce non static linkage for a few PROG cases.
The keyserv case is still to be decided.
zrj [Fri, 10 Nov 2017 18:03:37 +0000 (20:03 +0200)]
buildworld: Mark few special PROG cases.
When NOSHARED is set it leads to undesirable link commands having both -shared
and -static arguments. Avoid that.
Eitan Adler [Sat, 11 Nov 2017 07:03:06 +0000 (23:03 -0800)]
mailaddr(7): wave goodbye
The information here is somewhere between ancient to obsolete.
It refers to a time in the internet's history when manual routing
was still useful, talks about UUCP as if its modern, and refers
to documents which I had trouble tracking down.
It seems unlikely that a manual page in this form would be useful, so
just remove it.
Also committed in: FreeBSD r325702
Eitan Adler [Sat, 11 Nov 2017 06:46:42 +0000 (22:46 -0800)]
ascii.7: Sync with FreeBSD
- Add a binary table
- Use uppercase names
Eitan Adler [Sat, 11 Nov 2017 06:42:08 +0000 (22:42 -0800)]
bsd-family-tree: Sync with FreeBSD
- fix naming for older macOS
- OBSD 6.2; FBSD 11.1, 10.4; DF 5
zrj [Thu, 9 Nov 2017 14:57:23 +0000 (16:57 +0200)]
libpam: Play some 4D chess for static pam modules support.
We need A, B, C and D. C depends on A, B depends on D, A&B and C&D are both
built in pairs. So split A&B and hope for the best.
PAM modules were moved in closer to support this in the previous commit.
Also use workaround to get matching set pointers. Might be a pam bug.
Now su(1), login(1) and friends are usable in -static compilations with
pending buildworld support patches.
No functional change to usual case of shared libpam.so.
Partially-taken-from: FreeBSD
zrj [Thu, 9 Nov 2017 13:01:57 +0000 (15:01 +0200)]
libpam: Reorganize libpam build structure.
In preparations for hooking back the openpam_static.c
No functional change except for debug info (paths have changed).
zrj [Thu, 9 Nov 2017 18:24:56 +0000 (20:24 +0200)]
sys/linker_set.h: Allow to declare empty data sets.
At first I thought it would be useful for OpenPAM static modules, but in case
when none of the static pam modules are linked in it is best to disable the
libpam OPENPAM_STATIC_MODULES option when it soon get enabled.
This weak version of SET_DECLARE() might still come in handy later on.
If set is empty, weak symbols of set begin/end pointers evaluate as 'NULL'
when they are not present. Also, this way we would make sure that in places
like bootloaders and kernel we are going to use non empty sets.
zrj [Thu, 9 Nov 2017 18:20:33 +0000 (20:20 +0200)]
telnetd: Hide global debug symbol.
Fixes an issue with OpenPAM static linkage against pam_ssh using libssh.a.
While there, add missing va_end().
zrj [Thu, 9 Nov 2017 18:18:26 +0000 (20:18 +0200)]
telnet(1): Do not use debug as global symbol.
Avoid issues with static linking.
zrj [Thu, 9 Nov 2017 18:16:21 +0000 (20:16 +0200)]
telnetd: Remove old DragonFly tags.
zrj [Thu, 9 Nov 2017 18:11:12 +0000 (20:11 +0200)]
telnet(1): Whitespace cleanup.
While there, adjust manpage too.
Sepherosa Ziehau [Wed, 18 Oct 2017 13:08:47 +0000 (21:08 +0800)]
re: Sync with Realtek's re-1.94
Add two more chips' support.
Tested-by: zrj, Daniel Bilik <ddb neosystem org>
Sepherosa Ziehau [Mon, 6 Nov 2017 13:24:23 +0000 (21:24 +0800)]
bus: Properly implement bus_space_{map,unmap}()
Sascha Wildner [Fri, 10 Nov 2017 13:03:14 +0000 (14:03 +0100)]
libm: Fix misleading indent.
Found-by: gcc8
Sascha Wildner [Fri, 10 Nov 2017 12:50:52 +0000 (13:50 +0100)]
libc: Move unused rcsid[] etc. constants into the
comments.
Found-by: gcc8