summaryrefslogtreecommitdiffstats
path: root/lib/libutil/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2019-10-24The ber_* namespace is used by liblber since time immemorial,tb1-3/+4
so move our BER API to the unused ober_* prefix to avoid some breakage in ports. Problem diagnosed by jmatthew with ber_free() in samba, but there are many others as pointed out by sthen. tests & ok rob ok sthen (who had an almost identical diff for libutil) "go head hit it" deraadt
2019-08-30uucplock(3) is incorrectly named in some places, it is actually uu_lock(3)deraadt1-2/+2
(more unclear is if anything in ports uses this, as our base no longer does)
2019-05-15Split ber.3 into logical parts. Further tweaking will be done in tree.rob1-2/+4
Discussed with and ok jmc@, schwarze@, claudio@
2019-05-11The BER API is currently used by ldap, ldapd, ldapctl, ypldap, snmpd, androb1-4/+5
snmpctl. Separate copies of ber.[ch] have existed and been maintained in sync in ldap, ldapd, ypldap and snmpd. This commit moves the BER API into /usr/lib/libutil. All current consumers already link libutil. ldapd and snmpd regress passes, and release builds. With help from tb@ and guenther@. ok deraadt@, tb@
2017-12-14Make a few internal symbols static and add a Symbols.map version scriptkettenis1-1/+3
to control which symbols are exported from the shared library. ok guenther@, deraadt@, jca@
2016-03-30for some time now mandoc has not required MLINKS to functionjmc1-57/+1
correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung
2014-06-02merge ohash into 1 source file, then we can revisit next roadmap items.deraadt1-6/+3
ok espie
2014-05-12move the ohash functions into libutil by popular demand.espie1-1/+21
It's not a standard interface, so it doesn't belong in libc. I hate duplicating the code in client programs, so do beck@, kettenis@, schwarze@, millert@, miod@... and they agree with libutil.
2013-06-03Add bcrypt_pbkdf, a password based key derivation function using bcrypt.tedu1-3/+5
Technically, it's a slight variant of bcrypt better suited for use as a pluggable hash with PKCS #5 PBKDF2. ok djm (also tweak pkcs5_pbkdf2() prototype to have consistent types.)
2012-09-06move pkcs5_pbkdf5 function to libutil so everybody can play with ittedu1-3/+4
ok deraadt jsing matthew
2012-08-02remove leftover NOLINT, WANTLINT, LINTFLAGS, LOBJ vars and lint targets.okan1-2/+1
ok guenther@
2010-11-17Document isduid(3).jsing1-3/+3
Tweaks from jmc@ ok jmc@ krw@
2010-11-15Factor out DUID identification code so that it can easily be reused.jsing1-4/+4
ok krw@
2010-05-26Move imsg into libutil and add a man page.nicm1-4/+28
Minor bump for libutil. Previous versions of this diff and man page looked at by various people. "you should just commit" deraadt
2009-10-28Do not need -DLIBC_SCCS anymorederaadt1-2/+1
2005-11-24use WANTLINT= (on all architectures)deraadt1-1/+2
2004-07-13passwd.conf has been deprecated since login.conf was imported.millert1-4/+3
Today it finally dies. Based on a diff from Gabriel Kihlman.
2003-07-23move junk (bad code, terrible APIs) to the only program that uses it;deraadt1-15/+4
millert ok
2003-05-15New: fmt_scaled() and scan_scaled() convert to and from "human readable"ian1-3/+6
or scaled numbers. fmt_scaled, and the format, based on Ken Stailey's code for "df -h"; scan_scaled is new. Significantly commented on and reworked by pjanzen@; other comments from millert@. OK pjanzen@.
2001-09-29re-enable pidfile(3). ok millert@jakob1-3/+3
2001-09-29jakob did not even do a make build, sighderaadt1-3/+3
2001-09-28add pidfile(3) - write a daemon pid file. ok deraadt@, millert@.jakob1-3/+3
2000-11-27MLINK check_expire.3 -> login_check_expire.3millert1-1/+2
2000-11-27first cut at a man page for login_check_expire()millert1-4/+4
2000-11-26login_check_expire(3), a helper function for use with BSD authentication.millert1-4/+4
This lives in libutil because it uses pw_lock(3) and friends. Needs a man page (soon!).
1999-11-11add man page for login_fbtab()ericj1-3/+2
1999-09-21Add opendisk from NetBSD.csapuntz1-3/+3
Add OpenBSD tags to files
1999-07-20Added fparseln from NetBSD.jakob1-3/+4
ok deraadt@
1998-06-08Add uu_lock_txfr() for donating locks to another process.brian1-1/+2
Reviewed by: Theo
1997-11-09Introduce uu_lock(), uu_unlock() and uu_lockerr()bri1-3/+7
into libutil. Obtained from: FreeBSD Reviewed by: Theo
1997-06-17Add support to handle password files in directories other than /etcniklas1-1/+3
1997-04-27COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIPmillert1-2/+2
This fixes namespace problems where STRIP is sometimes used as the name of the strip(1) to use and other times used as the flag to send install(1) when stripping (or not). COPY doesn't have this problem (yet) but was poorly named.
1997-02-16added password configuration access function, used to determineprovos1-2/+2
password cipher type at the moment
1996-12-23add readlabelfs.3downsj1-2/+2
1996-12-08install -> ${INSTALL}, -c -> ${COPY}downsj1-2/+2
1996-12-03Add readlabelfs().downsj1-2/+2
1996-07-31someone want to write login_fbtab.3?deraadt1-1/+2
1996-07-31login_fbtab() in libutilderaadt1-2/+2
1996-06-17opendev.3: opendev(3) man pagedownsj1-3/+3
1996-06-17util.h: new resting placedownsj1-2/+2
opendev.h: ok, so I merged it with util.h opendev.h: use util.h everything else: use "util.h"
1996-06-17Add opendev(3) to libutil. Used by mt(1), soon by disklabel(8), maybedownsj1-5/+11
others. This is a generic version of the code used by mt(1).
1996-06-12add /sbin/scsi from FreeBSD -- a good start!deraadt1-3/+19
1996-05-22libutilderaadt1-3/+19
1995-10-18initial import of NetBSD treederaadt1-0/+8