]>
git.ipfire.org Git - thirdparty/libbsd.git/log
Thorsten Glaser [Thu, 10 Dec 2009 20:02:30 +0000 (21:02 +0100)]
Make RCS macros take arguments
This was breaking code actually using those macros.
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Thorsten Glaser [Thu, 10 Dec 2009 20:00:45 +0000 (21:00 +0100)]
Track bug IDs for __unused collision
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Guillem Jover [Fri, 23 Oct 2009 22:19:47 +0000 (00:19 +0200)]
Add readpassphrase function
Taken from OpenBSD.
Guillem Jover [Fri, 23 Oct 2009 22:17:57 +0000 (00:17 +0200)]
Add dehumanize_number function
Taken from NetBSD.
Guillem Jover [Fri, 23 Oct 2009 22:15:57 +0000 (00:15 +0200)]
Add strnvis and strnunvis functions
Taken from OpenBSD.
Guillem Jover [Fri, 23 Oct 2009 21:31:07 +0000 (23:31 +0200)]
Move <bsd/ip_icmp.h> to <bsd/netinet/ip_icmp.h>
This maps more closely the location of the real header. For
transitional purposes keep a <bsd/ip_icmp.h> that warns and includes
<bsd/netinet/ip_icmp.h>.
Guillem Jover [Sun, 11 Oct 2009 23:43:02 +0000 (01:43 +0200)]
Add new <bsd/sys/tree.h> header
Guillem Jover [Sun, 11 Oct 2009 23:47:54 +0000 (01:47 +0200)]
Move <bsd/queue.h> to <bsd/sys/queue.h>
This maps more closely the location of the real header. For
transitional purposes keep a <bsd/queue.h> that warns and includes
<bsd/sys/queue.h>.
Guillem Jover [Fri, 23 Oct 2009 21:04:42 +0000 (23:04 +0200)]
Move <bsd/cdefs.h> to <bsd/sys/cdefs.h>
This maps more closely the location of the real header. For
transitional purposes keep a <bsd/cdefs.h> that warns and includes
<bsd/sys/cdefs.h>.
Guillem Jover [Sun, 11 Oct 2009 23:43:52 +0000 (01:43 +0200)]
Update <sys/queue.h>
Taken from FreeBSD.
Guillem Jover [Sun, 11 Oct 2009 19:07:53 +0000 (21:07 +0200)]
Add strtonum function
Taken from FreeBSD.
Guillem Jover [Fri, 23 Oct 2009 23:06:09 +0000 (01:06 +0200)]
Do not append a slash after DESTDIR
Guillem Jover [Sun, 11 Oct 2009 18:54:23 +0000 (20:54 +0200)]
Update git web interface URL
FreeDesktop.Org switched from gitweb to cgit.
Guillem Jover [Sun, 30 Aug 2009 10:18:11 +0000 (12:18 +0200)]
Release libbsd 0.1.6
Hirokazu Takata [Sun, 30 Aug 2009 10:16:01 +0000 (12:16 +0200)]
Fix typos in M32R local-elf.h endian definitions
Guillem Jover [Fri, 17 Jul 2009 11:37:38 +0000 (13:37 +0200)]
Release libbsd 0.1.5
Guillem Jover [Fri, 17 Jul 2009 11:35:37 +0000 (13:35 +0200)]
Add __pure2 dummy macro
Guillem Jover [Fri, 17 Jul 2009 11:34:30 +0000 (13:34 +0200)]
Add more dummy id macros
Nobuhiro Iwamatsu [Fri, 17 Jul 2009 10:50:07 +0000 (12:50 +0200)]
Fix typos in AVR32 and SH local-elf.h endian definitions
Guillem Jover [Fri, 29 May 2009 00:48:00 +0000 (02:48 +0200)]
Release libbsd 0.1.4
Guillem Jover [Fri, 29 May 2009 00:45:54 +0000 (02:45 +0200)]
Define N_SYMSIZE in case the system does not do it
Fixes build failures on some non-Linux ports.
Based-on-patch-by: Petr Salinger <Petr.Salinger@seznam.cz>
Guillem Jover [Fri, 29 May 2009 00:28:49 +0000 (02:28 +0200)]
Create a relative symlink for .so if libdir and usrlibdir are the same
Guillem Jover [Mon, 25 May 2009 08:02:26 +0000 (10:02 +0200)]
Change @libdir@ in the pkg-config file to be $(usrlibdir)
The variable in the .pc file points to the directory where the .so
symlink is present, which is never going to be something like /lib,
but something like /usr/lib.
Guillem Jover [Mon, 25 May 2009 07:57:14 +0000 (09:57 +0200)]
Preserve the variables unexpanded in the pkg-config file
Guillem Jover [Mon, 25 May 2009 07:37:39 +0000 (09:37 +0200)]
Release libbsd 0.1.3
Guillem Jover [Mon, 25 May 2009 07:25:13 +0000 (09:25 +0200)]
Export public functions as extern C
Guillem Jover [Mon, 25 May 2009 07:12:45 +0000 (09:12 +0200)]
Add missing <stdarg.h> include in <bsd/err.h>
Guillem Jover [Mon, 25 May 2009 06:56:34 +0000 (08:56 +0200)]
Add new __RCSID macro
Define it to nothing, so that source imported from BSDs can be easily
compiled w/o needing to modify them.
Guillem Jover [Mon, 25 May 2009 04:57:50 +0000 (06:57 +0200)]
Release libbsd 0.1.2
Guillem Jover [Mon, 25 May 2009 04:57:03 +0000 (06:57 +0200)]
Install humanize_number(3) man page
Guillem Jover [Mon, 25 May 2009 04:41:42 +0000 (06:41 +0200)]
Use N_SYMSIZE instead of directly accessing ‘struct exec’
On Linux alpha ‘struct exec’ does not have an a_syms member, and the
N_SYMSIZE is mapped to 0.
Gerardo Exequiel Pozzi [Fri, 22 May 2009 23:44:35 +0000 (20:44 -0300)]
Add some man page links
Add man page links for strlcat, getmode and arc4random_*.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Guillem Jover [Mon, 25 May 2009 04:23:01 +0000 (06:23 +0200)]
Use the correct path when including a.out.h
Reported-by: Aurélien Jarno <aurelien@aurel32.net>
Guillem Jover [Mon, 25 May 2009 04:22:22 +0000 (06:22 +0200)]
Add man/md5.3bsd to .gitignore
Guillem Jover [Thu, 21 May 2009 03:04:09 +0000 (05:04 +0200)]
Fix typos (‘ELFDATA2MSG’ → ‘ELFDATA2MSB’)
Guillem Jover [Wed, 20 May 2009 03:14:32 +0000 (05:14 +0200)]
Release libbsd 0.1.1
Guillem Jover [Wed, 20 May 2009 03:13:31 +0000 (05:13 +0200)]
Install nlist header and man page
Guillem Jover [Wed, 20 May 2009 02:20:21 +0000 (04:20 +0200)]
Use UTF-8 copyright symbols for non-imported files
Guillem Jover [Wed, 20 May 2009 02:11:57 +0000 (04:11 +0200)]
Add nlist function
Guillem Jover [Fri, 15 May 2009 19:40:45 +0000 (21:40 +0200)]
Add strmode function
Guillem Jover [Fri, 15 May 2009 19:26:09 +0000 (21:26 +0200)]
Fix buffer leaks in fgetln
Cache the size and the buffer allocated by getline as static variables.
Guillem Jover [Fri, 15 May 2009 19:23:03 +0000 (21:23 +0200)]
Change fgetln to return the correct length value
Set len to 0 on error conditions to mimmic FreeBSD behaviour, and return
the amount of read characters on success, instead of the allocated size
by getline.
Reported-by: Jief L. <jief1.l@gmail.com>
Guillem Jover [Sat, 26 Jul 2008 19:42:39 +0000 (22:42 +0300)]
Do not include .gitignore in the dist tarball
Guillem Jover [Sat, 26 Jul 2008 19:39:29 +0000 (22:39 +0300)]
Install md5.3 as md5.3bsd
This man page is pretty common in other source projects, so we use a
suffix to distinguish it.
Guillem Jover [Sat, 26 Jul 2008 19:36:14 +0000 (22:36 +0300)]
Add a TODO list
Guillem Jover [Sat, 26 Jul 2008 19:35:31 +0000 (22:35 +0300)]
Add a new header file to expose inet_net_pton prototype
Guillem Jover [Sat, 26 Jul 2008 19:25:22 +0000 (22:25 +0300)]
Add a micro version part
Guillem Jover [Sat, 12 Jul 2008 05:00:17 +0000 (08:00 +0300)]
Unify description
Guillem Jover [Sat, 12 Jul 2008 04:59:14 +0000 (07:59 +0300)]
Move LIB_PKGCONFIG dependency to the libs target
Guillem Jover [Sat, 12 Jul 2008 04:55:57 +0000 (07:55 +0300)]
Use sigprocmask instead of _sigprocmask
Guillem Jover [Sat, 12 Jul 2008 04:53:03 +0000 (07:53 +0300)]
Define default CFLAGS overridable by the environment
Guillem Jover [Sat, 12 Jul 2008 04:48:10 +0000 (07:48 +0300)]
Switch remaining variables to single expanded ones
Guillem Jover [Sat, 12 Jul 2008 04:46:53 +0000 (07:46 +0300)]
Remove useless comment header
Guillem Jover [Sat, 12 Jul 2008 04:46:37 +0000 (07:46 +0300)]
Move each groups of related files to their own line
Guillem Jover [Sat, 12 Jul 2008 04:41:07 +0000 (07:41 +0300)]
Make action targets PHONY
Guillem Jover [Sat, 12 Jul 2008 04:37:13 +0000 (07:37 +0300)]
New README file
Guillem Jover [Sat, 12 Jul 2008 04:31:59 +0000 (07:31 +0300)]
Automatically generate libbsd.pc from libbsd.pc.in
Guillem Jover [Sat, 12 Jul 2008 04:29:24 +0000 (07:29 +0300)]
Add new path variables
Guillem Jover [Sat, 12 Jul 2008 04:00:19 +0000 (07:00 +0300)]
Automatically generate the ChangeLog on 'make dist'
Guillem Jover [Sat, 12 Jul 2008 03:46:18 +0000 (06:46 +0300)]
Define a LIB_PKGCONFIG variable
Guillem Jover [Sat, 12 Jul 2008 03:41:10 +0000 (06:41 +0300)]
Move filename related variables to the beginning of the file
Switch them to single expanded varibles.
Guillem Jover [Sat, 12 Jul 2008 03:35:45 +0000 (06:35 +0300)]
Define a LIB_VERSION variable
Guillem Jover [Wed, 9 Jul 2008 06:25:34 +0000 (09:25 +0300)]
Create an armored detached signature on 'make dist'
Guillem Jover [Wed, 9 Jul 2008 06:07:58 +0000 (09:07 +0300)]
Remove link_addr and link_ntoa symbols from the version script
Guillem Jover [Wed, 9 Jul 2008 06:07:03 +0000 (09:07 +0300)]
Add new setmode and getmode functions from FreeBSD
Guillem Jover [Wed, 9 Jul 2008 06:04:51 +0000 (09:04 +0300)]
Include the rest of the header files
Guillem Jover [Wed, 9 Jul 2008 06:04:27 +0000 (09:04 +0300)]
Disable __bounded__ __attribute__
Guillem Jover [Wed, 9 Jul 2008 05:47:09 +0000 (08:47 +0300)]
Add support for 'make dist'
Guillem Jover [Wed, 9 Jul 2008 05:26:07 +0000 (08:26 +0300)]
fgetln: Fix coding style
Guillem Jover [Wed, 9 Jul 2008 05:22:30 +0000 (08:22 +0300)]
fgetln: Fix function to make it actually work
Reported by Thorsten Glaser.
Guillem Jover [Wed, 9 Jul 2008 04:46:23 +0000 (07:46 +0300)]
Ansify function arguments
Guillem Jover [Wed, 9 Jul 2008 04:23:49 +0000 (07:23 +0300)]
Move version and library name to the beginning of the file
Guillem Jover [Wed, 9 Jul 2008 04:22:30 +0000 (07:22 +0300)]
Renumber 4th clause from BSD license to 3rd
Those files have only three clauses.
Guillem Jover [Wed, 9 Jul 2008 04:17:20 +0000 (07:17 +0300)]
Remove RCS tag
Guillem Jover [Wed, 9 Jul 2008 04:16:20 +0000 (07:16 +0300)]
Add missing license headers
With permission from Robert Millan and Aurelien Jarno.
Guillem Jover [Wed, 18 Jun 2008 05:51:53 +0000 (08:51 +0300)]
Remove link_addr and link_ntoa functions
The address familiy used is kernel dependent, so the application will
have to be ported regardless.
Guillem Jover [Wed, 18 Jun 2008 05:47:58 +0000 (08:47 +0300)]
Add license header
Guillem Jover [Wed, 18 Jun 2008 05:44:18 +0000 (08:44 +0300)]
Add arc4random_stir and arc4random_addrandom functions
Guillem Jover [Wed, 18 Jun 2008 05:25:48 +0000 (08:25 +0300)]
Add a pkg-config file
Guillem Jover [Wed, 18 Jun 2008 05:19:41 +0000 (08:19 +0300)]
Replace current md5 code with one from MirBSD and OpenBSD
This adds the following public functions:
MD5Transform, MD5End, MD5File, MD5FileChunk, MD5Data
Guillem Jover [Wed, 18 Jun 2008 05:09:51 +0000 (08:09 +0300)]
Include missing stddef.h
Guillem Jover [Wed, 18 Jun 2008 05:05:23 +0000 (08:05 +0300)]
Add license header
With Hector's agreement.
Guillem Jover [Wed, 18 Jun 2008 05:00:10 +0000 (08:00 +0300)]
Add a .gitignore file
Guillem Jover [Wed, 18 Jun 2008 04:59:43 +0000 (07:59 +0300)]
Remove cruft macros and includes
Guillem Jover [Wed, 18 Jun 2008 04:49:44 +0000 (07:49 +0300)]
Add license header
Guillem Jover [Fri, 13 Jun 2008 03:49:03 +0000 (06:49 +0300)]
Remove ChangeLog file
Guillem Jover [Fri, 13 Jun 2008 02:25:57 +0000 (05:25 +0300)]
Sync humanize_number from NetBSD
Add the missing man page.
Guillem Jover [Fri, 13 Jun 2008 02:23:39 +0000 (05:23 +0300)]
Convert TNF licenses to new 2 clause variant
This follows NetBSD upstream:
<http://mail-index.netbsd.org/source-changes/2008/04/30/msg005553.html>
Robert Millan [Sun, 16 Mar 2008 17:20:48 +0000 (17:20 +0000)]
Add license header
Robert Millan [Sun, 16 Mar 2008 16:49:41 +0000 (16:49 +0000)]
Relicense err.c and progname.c to avoid trouble with 4-clause BSD code
Guillem Jover [Sun, 16 Mar 2008 16:46:29 +0000 (16:46 +0000)]
Remove UC Berkeley advertising clause
As per <ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change>.
Guillem Jover [Sun, 16 Mar 2008 14:30:51 +0000 (14:30 +0000)]
Remove UC Berkeley advertising clause
As per <ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change>.
Petr Salinger [Tue, 18 Dec 2007 14:20:20 +0000 (14:20 +0000)]
bsd/queue.h: Sync with current glibc variant from GNU/kFreeBSD
Petr Salinger [Tue, 9 Jan 2007 13:26:33 +0000 (13:26 +0000)]
bsd/bsd.h: Cleanup
Aurelien Jarno [Tue, 7 Nov 2006 23:41:16 +0000 (23:41 +0000)]
link_addr: New function
Petr Salinger [Fri, 25 Aug 2006 13:39:32 +0000 (13:39 +0000)]
humanize_number: New function
Robert Millan [Thu, 30 Mar 2006 13:53:34 +0000 (13:53 +0000)]
Robert Millan [Thu, 30 Mar 2006 11:14:56 +0000 (11:14 +0000)]
Duplicate setprogname argument
For some reason, accessing the argv vector directly may cause SIGSEV.
Robert Millan [Wed, 29 Mar 2006 13:55:22 +0000 (13:55 +0000)]
Add heapsort
Aurelien Jarno [Sun, 26 Mar 2006 17:10:13 +0000 (17:10 +0000)]
Fix some c++isms