summaryrefslogtreecommitdiff
path: root/distrib/special
AgeCommit message (Collapse)Author
2013-03-28switch to the new resolver implementation.Eric Faurot
requested by many.
2013-01-08Remove unnecessary dependencies (-lkvm)Alexandr Shadchin
ok deraadt@
2012-11-23Use the libutil imsg framework rather than a hand-rolled localKenneth R Westerback
version. This is the last hand-rolled imsg implementation I could spot. Doesn't seem to break sparc64. Suggested by chris@, tweaks from brad@ and reyk@. ok reyk@
2012-11-09Oops. Special dhclient also needs to forget about inet.c.Kenneth R Westerback
Spotted by naddy@
2012-10-30Nuke dhclient-script and dhclient.conf 'script' directive. Do allKenneth R Westerback
interface and route configuration via ioctl's and routing sockets. This will break configurations using local enhancements of dhclient-script, which will now require alternate arrangements. Committing early to allow time to identify and develop required alternatives. Several proddings by deraadt@.
2012-09-10compile as much as possible on the install media with -fno-stack-protector.Theo de Raadt
yeah, you heard right..
2012-09-07handle pkcs5_pbkdf2() falloutTheo de Raadt
2012-08-21Build sed in distrib/ just like everything else. Simplifies PIE work sincePascal Stumpf
we can now use NOPIE= for it. Note that NOPIE= is still a no-op atm. ok deraadt@
2012-03-04In preparation for getline and getdelim additions to libc, rename getline()Federico G. Schwindt
occurrences to get_line(). Based on a diff from Jan Klemkow <j-dot-klemkow-at-wemelug-dot-de> to tech.
2012-01-18Add support for C99 %ls, %lc, and %l[ format directives to scanf(3).Stefan Sperling
Based on code from FreeBSD. Tested by myself (full release/install cycle on i386 and sparc64) and ajacoutot. Man page help from jmc.
2011-10-06Get rid of special binaries which are no longer necesssary.Theo de Raadt
Note: more stays, though we currently use less on the media -- that is because if less grows too fat in the future, we would be able to switch to more. Discussed with nicm.
2011-09-17Add SMALL infrastructure to ping.Christiano F. Haesbaert
ok mcbride@ sthen@
2011-09-16Merge in less 444 plus local changesAlexandr Shadchin
ok nicm@
2010-11-23do not print the terminating null character after stringsAlexander Hall
ok deraadt@
2010-10-29nroff->mandoc; ok schwarzeJason McIntyre
2010-10-18Add wpakey/-wpakey options. This was originally written by halex andTheo de Raadt
has gone many times around now (it is smaller now). man page diff coming soon. Fits onto the media that need it. ok halex
2010-10-13Put sha1.c here too, to gain savings from the -OsTheo de Raadt
2010-07-28Fix fallout from the utf-8 commit (segfaults in disklabel on install media).Stefan Sperling
Sorry about that. ok sthen deraadt
2010-07-27Replace the single-byte placeholders for the multi-byte/wide-characterStefan Sperling
conversion interfaces of libc (mbrtowc(3) and friends) with new implementations that internally call an API based on NetBSD's citrus. This allows us to support locales with multi-byte character encodings. Provide two implementations of the citrus-based API: one based on the old single-byte placeholders for use with our existing single-byte character locales (C, ISO8859-*, KOI8, CP1251, etc.), and one that provides support for UTF-8 encoded characters (code based on FreeBSD's implementation). Install the en_US.UTF-8 ctype locale support file, and allow the UTF-8 ctype locale to be enabled via setlocale(3) (export LC_CTYPE='en_US.UTF-8'). A lot of programs, especially from ports, will now start using UTF-8 if the UTF-8 locale is enabled. Use at your own risk, and please report any breakage. Note that ncurses-based programs cannot display UTF-8 right now, this is being worked on. To prevent install media growth, add vfprintf(3) and mbrtowc(3) to libstubs. The mbrtowc stub was copied unchanged from its old single-byte placeholder. vfprintf.c doesn't need to be copied, just put in .PATH (hint by fgsch@). Testing by myself, naddy, sthen, nicm, espie, armani, Dmitrij D. Czarkoff. ok matthieu espie millert sthen nicm deraadt
2010-07-02tags.c isn't needed at all, so exclude the entire object instead ofPhilip Guenthe
commenting it out top-to-bottom ok deraadt@
2010-07-02An entire 1.5KB .o file was linked, but not actually used.Theo de Raadt
2010-07-02Build grep with -DSMALL, ok teduNicholas Marriott
2010-04-28rename BS so we don't collide with the ocurses define,Jonathan Gray
makes gcc4 happy. ok deraadt@ 'Looks safe' miod@
2010-04-03Add hw.product to the bsd.rd sysctl(8) binary. ok deraadt@Miod Vallat
2010-03-31Make a -DSMALL version of date(1) for the mediaTheo de Raadt
2010-01-14Same type of as in libc/libc/gen/readpassphrase.c 1.22. ReceivingTheo de Raadt
multiple signals into one variable means older signals are dropped. ok dtucker
2010-01-13errors spotted by lintTheo de Raadt
2009-11-18More shrinkage, a bit for ramdisks but mostly for static binaries:Philip Guenthe
- wrap with #ifndef NO_LOG_BAD_DNS_RESPONSES libc code that uses p_class() and p_type() for diagnostics, then add that define to libstub to avoid pulling in res_debug_syms.o - split rcmd() and ruserok() into separate files, as nothing uses both - split readdir_r() to its own file - split syslog_r() from syslog(), as the latter needs localtime(); many binaries no longer need to pull in all the time code after this; switch from usleep() to nanosleep() while we're at it (The profit of analysis of -Wl,-M,--cref output) Chops 888kB from /bin and /sbin on i386 ok deraadt@, miod@
2009-10-28Use a Makefile.inc to share all the -Os and such options we useTheo de Raadt
2009-10-28Strip the YP code from the binaries on the ramdisk by building with -UYPPhilip Guenthe
the six files from libc that are directly pulled in. ok deraadt@
2009-10-28use the special versions of ed(1), mt(1), and restore(8) which are a lotTheo de Raadt
smaller ok guenther
2009-10-28compile the install media mt(1) without RMT supportTheo de Raadt
ok guenther
2009-10-28compile ramdisk restore(1) without remote-restore (ie. rcmd) supportTheo de Raadt
since rcmd is stupid without ssh being on the media
2009-10-28compile ramdisk ed(1) without -DDES supportTheo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-10-11Enable kbd on landisk and socppc. -moj ok miod@Mats O Jansson
2009-06-04add -DINET6 to CFLAGS to make the client handle the bracketed IPv6 hostAlexander Hall
name notation ok deraadt@
2009-06-03Add hw.machine and kern.osrelease to install media sysctl. UsingKenneth R Westerback
these rather than hard coded variables allows the rationalization of the greeting by moving it into dot.profile. Whack at dot.profile a lot. Eliminate the 'Proceed with ...' question as unneeded. Eliminate welcome(). ok deraadt@ "I like" todd@
2009-05-05socks5 has been removed; use dante insteadMartynas Venckus
sure theo
2009-05-05sync with the ftp changesMartynas Venckus
2009-04-20- add missing header for strcmp() .Jasper Lievisse Adriaanse
- add hw.model which could help future sgi install scripts with deciding which kernel to pick "commit" deraadt@
2009-04-19If hw.ncpufound > 1, have the install script automatically prefer to useTheo de Raadt
bsd.mp instead of bsd (using -- mv bsd bsd.sp; mv bsd.mp bsd). anyone who brings up boot.conf is an i386 bigot. tested on almost all platforms that can do this, ok various people
2009-04-19optimize for size (3k). "makes sense" millert@Martynas Venckus
2009-04-19sort listTheo de Raadt
2009-04-19Use sysctl -n hw.disknames instead of the custom disknames programTheo de Raadt
2009-04-19A mini sysctl(8) that only knows a few variables we need to know inTheo de Raadt
the install script. For now, just hw.disknames
2009-04-17A very small sha256 program for the base media. Use it by piping dataTheo de Raadt
through it... input | sha256 outfile | output, then check the contents of outfile after.
2009-04-17Pull sha2.c from libc into libstubs, but compile it with -DSHA256_ONLYTheo de Raadt
so that it is a lot smaller.
2008-09-15Use LDSTATIC for -static not LDFLAGS. okay millert@ kettenis@Kurt Miller
2008-05-13Disable more wscons bits on socppc.Miod Vallat