summaryrefslogtreecommitdiffstats
path: root/usr.bin/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Add rctl(8), the utility to manage rctl rules.trasz2011-03-301-0/+1
| | | | | Sponsored by: The FreeBSD Foundation Reviewed by: kib (earlier version)
* Add the BSD-licensed Citrus iconv to the base system with default offgabor2011-02-251-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | setting. It can be built by setting the WITH_ICONV knob. While this knob is unset, the library part, the binaries, the header file and the metadata files will not be built or installed so it makes no impact on the system if left turned off. This work is based on the iconv implementation in NetBSD but a great number of improvements and feature additions have been included: - Some utilities have been added. There is a conversion table generator, which can compare conversion tables to reference data generated by GNU libiconv. This helps ensuring conversion compatibility. - UTF-16 surrogate support and some endianness issues have been fixed. - The rather chaotic Makefiles to build metadata have been refactored and cleaned up, now it is easy to read and it is also easier to add support for new encodings. - A bunch of new encodings and encoding aliases have been added. - Support for 1->2, 1->3 and 1->4 mappings, which is needed for transliterating with flying accents as GNU does, like "u. - Lots of warnings have been fixed, the major part of the code is now WARNS=6 clean. - New section 1 and section 5 manual pages have been added. - Some GNU-specific calls have been implemented: iconvlist(), iconvctl(), iconv_canonicalize(), iconv_open_into() - Support for GNU's //IGNORE suffix has been added. - The "-" argument for stdin is now recognized in iconv(1) as per POSIX. - The Big5 conversion module has been fixed. - The iconv.h header files is supposed to be compatible with the GNU version, i.e. sources should build with base iconv.h and GNU libiconv. It also includes a macro magic to deal with the char ** and const char ** incompatibility. - GNU compatibility: "" or "char" means the current local encoding in use - Various cleanups and style(9) fixes. Approved by: delphij (mentor) Obtained from: The NetBSD Project Sponsored by: Google Summer of Code 2009
* Flesh out WITHOUT_GROFF support to DTRT.uqs2011-02-221-2/+4
| | | | | | | | | | | | A full featured groff is required during buildworld, so build it always and don't rely on it being present on the host system. vgrind(1) is tightly coupled to a roff processor and will not be built/installed when groff is disabled. Also much of the roff'ed documentation under share/doc will not be built/installed when WITHOUT_GROFF is defined. Reviewed by: ru (partial)
* Retire GNU man in favor of the newly written BSDL version.gordon2010-10-031-1/+3
| | | | Approved by: wes (mentor)
* Move to using Makefile.arch to include the proper target-specific programs.imp2010-09-131-136/+57
|
* - Change default grep back to GNU version. BSD grep can be built with thegabor2010-08-231-4/+4
| | | | | | | | WITH_BSD_GREP knob. - Bump __FreeBSD_version Requested by: dougb Approved by: delphij (mentor)
* Update a stale comment about grep.delphij2010-08-111-1/+1
|
* Add BSD grep to the base system and make it our default grep.gabor2010-07-221-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Deliverables: Small and clean code (1,4 KSLOC vs GNU's 8,5 KSLOC), lower memory usage than GNU grep, GNU compatibility, BSD license. TODO: Performance is somewhat behind GNU grep but it is only significant for bigger searches. The reason is complex, the most important factor is that GNU grep uses lots of optimizations to improve the speed of the regex library. First, we need a modern regex library (practically by adopting TRE), add support for GNU-style non-standard regexes and then reevalute the performance issues and look for bottlenecks. In the meantime, for those, who need better performance, it is possible to build GNU grep by setting WITH_GNU_GREP. Approved by: delphij (mentor) Obtained from: OpenBSD (http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/grep/), freegrep (http://github.com/howardjp/freegrep) Sponsored by: Google SoC 2008 Portbuild tests run by: kris, pav, erwin Acknowledgements to: fjoe (as SoC 2008 mentor), everyone who helped in reviewing and testing
* Hook clang into the build on i386/amd64/powerpc.rdivacky2010-06-091-0/+5
| | | | Approved by: ed (mentor)
* Add a new build option, MAN_UTILS. This option lets you control buildingjkim2010-05-191-2/+6
| | | | | | | | | utilities and related support files for manual pages, which were previously controlled by MAN. For POLA, the default depends on MAN, i.e., WITHOUT_MAN implies WITHOUT_MAN_UTILS and WITH_MAN implies WITH_MAN_UTILS. This patch is slightly improved by me from: PR: misc/145212
* Import of liblzma, xz, xzdec, lzmainfo from vendor branchmm2010-05-101-0/+3
| | | | | | | | Add support for xz and lzma to lesspipe.sh (xzless, lzless) Bump __FreeBSD_version Approved by: delphij (mentor) MFC after: 2 weeks
* Add seq(1), a small utility to generate sequence number.delphij2010-02-191-0/+1
| | | | | Obtained from: NetBSD MFC after: 3 months
* bc and dc are not BSD version, not GNU version.imp2010-02-181-1/+1
|
* As it turns out, fmt(1) is being used by the base system as well as thedelphij2010-02-091-2/+1
| | | | | | | | | ports tree extensively and it is probably a good idea to keep it regardless of NO_MAIL setting. Reported by: Alexander Best Reviewed by: antoine X-MFC-With: r203584
* Connect smbfs related libraries and tool on sparc64.yongari2010-01-251-0/+4
| | | | Reviewed by: marius
* Unbreak world WITHOUT_OPENSSL:antoine2010-01-231-2/+4
| | | | the new dc(1) depends on crypto(3) and bc(1) depends on dc(1).
* Replace GNU bc/dc with BSDL versions ported from OpenBSD. They have a goodgabor2010-01-201-0/+2
| | | | | | | | | | compatibility level with the GNU counterparts and have shown to be mature enough. For now, the GNU versions aren't removed from the tree, just detached from the build. Sponsored by: Google Summer of Code 2008 Portbuild run by: erwin Approved by: delphij
* Add wtmpcvt(1).ed2010-01-141-0/+1
| | | | | | | | | | This utility allows users to convert their wtmp databases to the new format. It makes no sense for users to keep their wtmp log files if they are unable to view them. It basically copies ut_line into ut_id as well. This makes it possible for last(1) and ac(8) to match login records with their corresponding logout record.
* Connect unzip to the build.rdivacky2009-12-031-0/+1
| | | | | | Approved by: ed (mentor) Approved by: des (unzip author) Tested by: exp ports build (miwi)
* Add revoke(1).ed2009-06-151-0/+1
| | | | | | | | While hacking on TTY code, I often miss a small utility to revoke my own (pseudo-)terminals. This small utility is just a small wrapper around the revoke(2) call, so you can destroy your very own login sessions. Approved by: re
* Remove window(1) from the base system.ed2009-06-021-1/+0
| | | | | | | | | | | | | | | Some time ago Tom Rhodes sent me an email that he was willing to perform various cleanups to the window(1) source code. After some discussion, we both decided the best thing to do, was to move window(1) to the ports tree. The application isn't used a lot nowadays, mainly because it has been superseeded by screen, tmux, etc. A couple of hours ago Tom committed window(1) to ports (misc/window), so I'm removing it from the tree. I don't think people will really miss it, but I'm describing the change in UPDATING anyway. Discussed with: trhodes, pav, kib Approved by: re
* Add a new program, perror, which takes an errno as a command line argumentgnn2009-05-191-0/+1
| | | | | and outputs the associated textual message in the same way that perror(3) would if called within a program.
* Truss builds on mips, so don't filter it building there anymore.imp2009-02-151-1/+1
|
* Add back ar(1) which was accidentally decoupled in r183242.marius2008-09-241-0/+1
| | | | Approved by: sam
* add new build knobs and jigger some existing controls to improvesam2008-09-211-27/+75
| | | | | | | | control over the result of buildworld and installworld; this especially helps packaging systems such as nanobsd Reviewed by: various (posted to arch) MFC after: 1 month
* Add gprof MIPS MD header and enable building gprof.obrien2008-09-021-2/+0
| | | | Obtained from: Juniper Networks
* Truss and gprof doesn't build for MIPS.obrien2008-09-011-1/+3
|
* pkill(1) first appeared in /usr/bin, but later it was moved to /binyar2008-08-311-1/+0
| | | | | | | for the convenience of rc.d. Now it has happily lived there for quite a while. So move the pkill(1) source files from usr.bin to bin, too. Approved by: gad
* 1. Make the BSD version of cpio the default [1]dougb2008-06-161-1/+5
| | | | | | | | | | | | | | | | | a. The BSD version will be built and installed unless WITHOUT_BSD_CPIO is defined. b. The GNU version will not be built or installed unless WITH_GNU_CPIO is defined. If this is defined, the symlink in /usr/bin will be to the GNU version whether the BSD version is present or not. When these changes are MFCed the defaults should be flipped. 2. Add a knob to disable the building of GNU grep. This will make it easier for those that want to test the BSD version in the ports. Approved by: kientzle [1]
* Connect bsdcpio up to the build.kientzle2008-05-261-0/+1
| | | | | | | | | | | | | | | | | | | Starting now, there are two cpio programs in the base system: /usr/bin/gcpio - GNU cpio /usr/bin/bsdcpio - bsdcpio In addition, there is a symlink: /usr/bin/cpio -> /usr/bin/gcpio (default) /usr/bin/cpio -> /usr/bin/bsdcpio (WITH_BSDCPIO) In particular, WITH_BSDCPIO only controls the symlink; bsdcpio is always built regardless. Unless there are objections or problems, I intend: * to make /usr/bin/bsdcpio available in 7.1 * to have /usr/bin/cpio default to bsdcpio in 8.0 (WITH_GCPIO will be an option instead of WITH_BSDCPIO) * to leave /usr/bin/gcpio in the tree until 9.0
* Remove options MK_LIBKSE and DEFAULT_THREAD_LIB now that we no longerru2008-03-291-1/+1
| | | | build libkse. This should fix WITHOUT_LIBTHR builds as a side effect.
* uuidgen has been repo-copied from usr.bin/ to bin/ to match its "new"obrien2008-03-131-1/+0
| | | | (2007/04/09) installation location.
* - Add cpuset to the build.jeff2008-03-021-0/+1
| | | | Sponsored by: Nokia
* Hide BSD ar(1) under the MK_TOOLCHAIN option.ru2008-02-221-1/+2
| | | | Reviewed by: obrien
* Re-introduce the new BSDLed 'ar' to the build.obrien2008-02-221-0/+1
| | | | | | It is installed as "bsdar" unless WANT_BSDAR is defined. Discussed with: kaiw
* Back out previous commit. Restore Binutils ar as default. Disconnectkaiw2008-02-211-4/+0
| | | | | | 'BSD' ar to the build. Requested by: des
* * Connect ar(1) to the build and make it default ar. Rename GNUkaiw2008-02-211-0/+4
| | | | | | | | | | | | binutils ar and ranlib to gar and granlib, respectively. * Introduce a temporary variable WITH_GNUAR as a safety net. When buildworld with -DWITH_GNUAR, GNU binutils ar and ranlib will install as default ones and 'BSD' ar will be disabled. * Bump __FreeBSD_version to reflect the import of 'BSD' ar(1). Approved by: jkoshy (mentor)
* Fix disorder introduced in previous commit.ru2007-12-201-1/+1
|
* Pull ministat into the installed system and write it a man-page.phk2007-12-201-0/+1
| | | | (Repocopied from src/tools/tools/ministat)
* Connect procstat(1) to the build.rwatson2007-12-021-0/+1
|
* Tweak the handling of "WITHOUT_LIBPTHREAD". Also remove the accidentalobrien2007-10-091-1/+1
| | | | | | | treatment of 'LIBKSE' as an "old style" knob. Submitted by: ru Approved by: re(kensmith)
* Repo copy libpthreads to libkse.obrien2007-10-091-1/+1
| | | | | | This introduces the WITHOUT_LIBKSE nob, and changes WITHOUT_LIBPTHREADS to mean with neither threading libs. Approved by: re(kensmith)
* Always install libpthread.* symlinks if at least one ofru2007-10-011-2/+1
| | | | | | | | | | | | the threading libraries is built. This simplifies the logic in makefiles that need to check if the pthreads support is present. It also fixes a bug where we would build a threading library that we shouldn't have built: for example, building with WITHOUT_LIBTHR and the default value of DEFAULT_THREADING_LIB (libthr) would mistakenly build the libthr library, but not install it. Approved by: re (kensmith)
* Options spring cleanup:sepotvin2007-06-131-2/+0
| | | | | | | | | | - Add and document the KVM and KVM_SUPPORT options that are needed for the ifmcstats(3) makefile - Garbage collect unused variables - Add missing inclusion of bsd.own.mk where needed Approved by: kan (mentor) Reviewed by: ru
* Replace the GNU gzip with a slightly modified NetBSD gzip. Thedelphij2007-01-261-0/+1
| | | | | | | | | | | | | | | | | | | | | NetBSD version is a feature-to-feature re-implementation of GNU gzip using the freely-redistributable zlib and this version is expected to be mostly bug-to-bug compatible with the GNU implementation. - Because this is a piece of mature code and we want to make changes so it is added directly rather than importing to src/contrib. - Connect newly added code to src/usr.bin/ and rescue/rescue build. - Disconnect the GNU gzip code from build for now, they will be eventually removed completely. - Provide two new src.conf(5) knobs, WITHOUT_BZIP2_SUPPORT and WITHOUT_BZIP2. Tested by: kris (full exp-7 pointyhat build) Approved by: core (importing a 4-clause BSD licensed file) Approved by: re (adding new utility during -HEAD code slush)
* Retire objformat(1) as threatened in 2002.peter2007-01-251-1/+0
| | | | Laughed-at-by: kris
* - When building world WITHOUT_LIBPTHREAD, link libthr to libpthread.ru2006-11-261-5/+2
| | | | | - Don't build ngctl(8) and cached(8) if threading libs aren't built. - Fix various issues in a cached(8) makefile.
* Build libsmb and smbutil on ia64.marcel2006-08-221-0/+4
|
* Remove alpha left-overs.marcel2006-08-211-6/+1
|
* o By popular demand import getent(1) utility: a program retrievesmaxim2006-05-041-0/+1
| | | | | | | | | | | and displays entries from the administrative database specified by database, using the lookup order specified in nsswitch.conf(5). PR: bin/79903, bin/88460, bin/96536 Submitted by: Julien Gabel, Dan Nelson, Daniel J. O'Connor Obtained from: NetBSD Discussed with: ume, soc-bushman MFC after: 1 month
OpenPOWER on IntegriCloud