OpenBSD CVS

CVS log for src/lib/libutil/Makefile


[BACK] Up to [local] / src / lib / libutil

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.45 / (download) - annotate - [select for diffs], Tue Dec 12 15:49:21 2023 UTC (5 months, 4 weeks ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, HEAD
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored)

Move ibuf API from imsg_init.3 to ibuf_add.3

Document all new functions added and adjust examples in imsg_init.3
to follow the new way of handling messages.
OK tb@

Revision 1.44 / (download) - annotate - [select for diffs], Thu Oct 24 12:39:26 2019 UTC (4 years, 7 months ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.43: +4 -3 lines
Diff to previous 1.43 (colored)

The ber_* namespace is used by liblber since time immemorial,
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

Revision 1.43 / (download) - annotate - [select for diffs], Fri Aug 30 03:57:56 2019 UTC (4 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

uucplock(3) is incorrectly named in some places, it is actually uu_lock(3)
(more unclear is if anything in ports uses this, as our base no longer does)

Revision 1.42 / (download) - annotate - [select for diffs], Wed May 15 03:11:52 2019 UTC (5 years ago) by rob
Branch: MAIN
Changes since 1.41: +4 -2 lines
Diff to previous 1.41 (colored)

Split ber.3 into logical parts. Further tweaking will be done in tree.

Discussed with and ok jmc@, schwarze@, claudio@

Revision 1.41 / (download) - annotate - [select for diffs], Sat May 11 17:46:02 2019 UTC (5 years, 1 month ago) by rob
Branch: MAIN
Changes since 1.40: +5 -4 lines
Diff to previous 1.40 (colored)

The BER API is currently used by ldap, ldapd, ldapctl, ypldap, snmpd, and
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@

Revision 1.40 / (download) - annotate - [select for diffs], Thu Dec 14 09:27:44 2017 UTC (6 years, 5 months ago) by kettenis
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.39: +3 -1 lines
Diff to previous 1.39 (colored)

Make a few internal symbols static and add a Symbols.map version script
to control which symbols are exported from the shared library.

ok guenther@, deraadt@, jca@

Revision 1.39 / (download) - annotate - [select for diffs], Wed Mar 30 06:38:43 2016 UTC (8 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.38: +1 -57 lines
Diff to previous 1.38 (colored)

for some time now mandoc has not required MLINKS to function
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

Revision 1.38 / (download) - annotate - [select for diffs], Mon Jun 2 18:52:03 2014 UTC (10 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.37: +3 -6 lines
Diff to previous 1.37 (colored)

merge ohash into 1 source file, then we can revisit next roadmap items.
ok espie

Revision 1.37 / (download) - annotate - [select for diffs], Mon May 12 19:09:00 2014 UTC (10 years, 1 month ago) by espie
Branch: MAIN
Changes since 1.36: +21 -1 lines
Diff to previous 1.36 (colored)

move the ohash functions into libutil by popular demand.
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.

Revision 1.36 / (download) - annotate - [select for diffs], Mon Jun 3 21:07:02 2013 UTC (11 years ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.35: +5 -3 lines
Diff to previous 1.35 (colored)

Add bcrypt_pbkdf, a password based key derivation function using bcrypt.
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.)

Revision 1.35 / (download) - annotate - [select for diffs], Thu Sep 6 19:41:59 2012 UTC (11 years, 9 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.34: +4 -3 lines
Diff to previous 1.34 (colored)

move pkcs5_pbkdf5 function to libutil so everybody can play with it
ok deraadt jsing matthew

Revision 1.34 / (download) - annotate - [select for diffs], Thu Aug 2 13:38:39 2012 UTC (11 years, 10 months ago) by okan
Branch: MAIN
Changes since 1.33: +1 -2 lines
Diff to previous 1.33 (colored)

remove leftover NOLINT, WANTLINT, LINTFLAGS, LOBJ vars and lint targets.

ok guenther@

Revision 1.33 / (download) - annotate - [select for diffs], Wed Nov 17 10:10:31 2010 UTC (13 years, 6 months ago) by jsing
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

Document isduid(3).

Tweaks from jmc@

ok jmc@ krw@

Revision 1.32 / (download) - annotate - [select for diffs], Mon Nov 15 15:07:40 2010 UTC (13 years, 6 months ago) by jsing
Branch: MAIN
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

Factor out DUID identification code so that it can easily be reused.

ok krw@

Revision 1.31 / (download) - annotate - [select for diffs], Wed May 26 16:44:32 2010 UTC (14 years ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.30: +28 -4 lines
Diff to previous 1.30 (colored)

Move imsg into libutil and add a man page.

Minor bump for libutil.

Previous versions of this diff and man page looked at by various people.

"you should just commit" deraadt

Revision 1.30 / (download) - annotate - [select for diffs], Wed Oct 28 00:04:26 2009 UTC (14 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.29: +1 -2 lines
Diff to previous 1.29 (colored)

Do not need -DLIBC_SCCS anymore

Revision 1.29 / (download) - annotate - [select for diffs], Thu Nov 24 20:49:23 2005 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.28: +2 -1 lines
Diff to previous 1.28 (colored)

use WANTLINT= (on all architectures)

Revision 1.28 / (download) - annotate - [select for diffs], Tue Jul 13 21:09:48 2004 UTC (19 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.27: +3 -4 lines
Diff to previous 1.27 (colored)

passwd.conf has been deprecated since login.conf was imported.
Today it finally dies.  Based on a diff from Gabriel Kihlman.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Jul 23 23:10:25 2003 UTC (20 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.26: +4 -15 lines
Diff to previous 1.26 (colored)

move junk (bad code, terrible APIs) to the only program that uses it;
millert ok

Revision 1.26 / (download) - annotate - [select for diffs], Thu May 15 01:26:26 2003 UTC (21 years, 1 month ago) by ian
Branch: MAIN
Changes since 1.25: +6 -3 lines
Diff to previous 1.25 (colored)

New: fmt_scaled() and scan_scaled() convert to and from "human readable"
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@.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Sep 29 17:45:35 2001 UTC (22 years, 8 months ago) by jakob
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

re-enable pidfile(3). ok millert@

Revision 1.24 / (download) - annotate - [select for diffs], Sat Sep 29 10:56:29 2001 UTC (22 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

jakob did not even do a make build, sigh

Revision 1.23 / (download) - annotate - [select for diffs], Fri Sep 28 20:16:42 2001 UTC (22 years, 8 months ago) by jakob
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

add pidfile(3) - write a daemon pid file. ok deraadt@, millert@.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Nov 27 06:36:26 2000 UTC (23 years, 6 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.21: +2 -1 lines
Diff to previous 1.21 (colored)

MLINK check_expire.3 -> login_check_expire.3

Revision 1.21 / (download) - annotate - [select for diffs], Mon Nov 27 05:55:47 2000 UTC (23 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

first cut at a man page for login_check_expire()

Revision 1.20 / (download) - annotate - [select for diffs], Sun Nov 26 01:27:19 2000 UTC (23 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored)

login_check_expire(3), a helper function for use with BSD authentication.
This lives in libutil because it uses pw_lock(3) and friends.  Needs
a man page (soon!).

Revision 1.19 / (download) - annotate - [select for diffs], Thu Nov 11 06:30:40 1999 UTC (24 years, 7 months ago) by ericj
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.18: +2 -3 lines
Diff to previous 1.18 (colored)

add man page for login_fbtab()

Revision 1.18 / (download) - annotate - [select for diffs], Tue Sep 21 04:52:45 1999 UTC (24 years, 8 months ago) by csapuntz
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)



Add opendisk from NetBSD.

Add OpenBSD tags to files

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jul 20 16:38:56 1999 UTC (24 years, 10 months ago) by jakob
Branch: MAIN
Changes since 1.16: +4 -3 lines
Diff to previous 1.16 (colored)

Added fparseln from NetBSD.
ok deraadt@

Revision 1.16 / (download) - annotate - [select for diffs], Mon Jun 8 20:28:23 1998 UTC (26 years ago) by brian
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored)

Add uu_lock_txfr() for donating locks to another process.
Reviewed by: Theo

Revision 1.15 / (download) - annotate - [select for diffs], Sun Nov 9 00:29:13 1997 UTC (26 years, 7 months ago) by bri
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.14: +7 -3 lines
Diff to previous 1.14 (colored)

Introduce uu_lock(), uu_unlock() and uu_lockerr()
into libutil.
Obtained from: FreeBSD
Reviewed by: Theo

Revision 1.14 / (download) - annotate - [select for diffs], Tue Jun 17 10:10:41 1997 UTC (27 years ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.13: +3 -1 lines
Diff to previous 1.13 (colored)

Add support to handle password files in directories other than /etc

Revision 1.13 / (download) - annotate - [select for diffs], Sun Apr 27 20:56:18 1997 UTC (27 years, 1 month ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIP
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.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Feb 16 19:59:17 1997 UTC (27 years, 3 months ago) by provos
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

added password configuration access function, used to determine
password cipher type at the moment

Revision 1.11 / (download) - annotate - [select for diffs], Mon Dec 23 08:25:30 1996 UTC (27 years, 5 months ago) by downsj
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

add readlabelfs.3

Revision 1.10 / (download) - annotate - [select for diffs], Sun Dec 8 15:22:34 1996 UTC (27 years, 6 months ago) by downsj
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

install -> ${INSTALL}, -c -> ${COPY}

Revision 1.9 / (download) - annotate - [select for diffs], Tue Dec 3 01:05:35 1996 UTC (27 years, 6 months ago) by downsj
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Add readlabelfs().

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jul 31 17:46:51 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

someone want to write login_fbtab.3?

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jul 31 17:44:20 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

login_fbtab() in libutil

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jun 17 08:17:32 1996 UTC (28 years ago) by downsj
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

opendev.3: opendev(3) man page

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jun 17 07:46:01 1996 UTC (28 years ago) by downsj
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

util.h: new resting place
opendev.h: ok, so I merged it with util.h
opendev.h: use util.h
everything else: use "util.h"

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jun 17 06:35:32 1996 UTC (28 years ago) by downsj
Branch: MAIN
Changes since 1.3: +11 -5 lines
Diff to previous 1.3 (colored)

Add opendev(3) to libutil.  Used by mt(1), soon by disklabel(8), maybe
others.  This is a generic version of the code used by mt(1).

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jun 12 11:21:32 1996 UTC (28 years ago) by deraadt
Branch: MAIN
Changes since 1.2: +19 -3 lines
Diff to previous 1.2 (colored)

add /sbin/scsi from FreeBSD -- a good start!

Revision 1.2 / (download) - annotate - [select for diffs], Wed May 22 11:34:58 1996 UTC (28 years ago) by deraadt
Branch: MAIN
Changes since 1.1: +19 -3 lines
Diff to previous 1.1 (colored)

libutil

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:43:13 1995 UTC (28 years, 8 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:43:13 1995 UTC (28 years, 8 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.