]> git.ipfire.org Git - thirdparty/libbsd.git/log
thirdparty/libbsd.git
15 years agoMake RCS macros take arguments
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>
15 years agoTrack bug IDs for __unused collision
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>
15 years agoAdd readpassphrase function
Guillem Jover [Fri, 23 Oct 2009 22:19:47 +0000 (00:19 +0200)] 
Add readpassphrase function

Taken from OpenBSD.

15 years agoAdd dehumanize_number function
Guillem Jover [Fri, 23 Oct 2009 22:17:57 +0000 (00:17 +0200)] 
Add dehumanize_number function

Taken from NetBSD.

15 years agoAdd strnvis and strnunvis functions
Guillem Jover [Fri, 23 Oct 2009 22:15:57 +0000 (00:15 +0200)] 
Add strnvis and strnunvis functions

Taken from OpenBSD.

15 years agoMove <bsd/ip_icmp.h> to <bsd/netinet/ip_icmp.h>
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>.

15 years agoAdd new <bsd/sys/tree.h> header
Guillem Jover [Sun, 11 Oct 2009 23:43:02 +0000 (01:43 +0200)] 
Add new <bsd/sys/tree.h> header

15 years agoMove <bsd/queue.h> to <bsd/sys/queue.h>
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>.

15 years agoMove <bsd/cdefs.h> to <bsd/sys/cdefs.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>.

15 years agoUpdate <sys/queue.h>
Guillem Jover [Sun, 11 Oct 2009 23:43:52 +0000 (01:43 +0200)] 
Update <sys/queue.h>

Taken from FreeBSD.

15 years agoAdd strtonum function
Guillem Jover [Sun, 11 Oct 2009 19:07:53 +0000 (21:07 +0200)] 
Add strtonum function

Taken from FreeBSD.

15 years agoDo not append a slash after DESTDIR
Guillem Jover [Fri, 23 Oct 2009 23:06:09 +0000 (01:06 +0200)] 
Do not append a slash after DESTDIR

15 years agoUpdate git web interface URL
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.

15 years agoRelease libbsd 0.1.6 0.1.6
Guillem Jover [Sun, 30 Aug 2009 10:18:11 +0000 (12:18 +0200)] 
Release libbsd 0.1.6

15 years agoFix typos in M32R local-elf.h endian definitions
Hirokazu Takata [Sun, 30 Aug 2009 10:16:01 +0000 (12:16 +0200)] 
Fix typos in M32R local-elf.h endian definitions

16 years agoRelease libbsd 0.1.5 0.1.5
Guillem Jover [Fri, 17 Jul 2009 11:37:38 +0000 (13:37 +0200)] 
Release libbsd 0.1.5

16 years agoAdd __pure2 dummy macro
Guillem Jover [Fri, 17 Jul 2009 11:35:37 +0000 (13:35 +0200)] 
Add __pure2 dummy macro

16 years agoAdd more dummy id macros
Guillem Jover [Fri, 17 Jul 2009 11:34:30 +0000 (13:34 +0200)] 
Add more dummy id macros

16 years agoFix typos in AVR32 and SH local-elf.h endian definitions
Nobuhiro Iwamatsu [Fri, 17 Jul 2009 10:50:07 +0000 (12:50 +0200)] 
Fix typos in AVR32 and SH local-elf.h endian definitions

16 years agoRelease libbsd 0.1.4 0.1.4
Guillem Jover [Fri, 29 May 2009 00:48:00 +0000 (02:48 +0200)] 
Release libbsd 0.1.4

16 years agoDefine N_SYMSIZE in case the system does not do it
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>
16 years agoCreate a relative symlink for .so if libdir and usrlibdir are the same
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

16 years agoChange @libdir@ in the pkg-config file to be $(usrlibdir)
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.

16 years agoPreserve the variables unexpanded in the pkg-config file
Guillem Jover [Mon, 25 May 2009 07:57:14 +0000 (09:57 +0200)] 
Preserve the variables unexpanded in the pkg-config file

16 years agoRelease libbsd 0.1.3 0.1.3
Guillem Jover [Mon, 25 May 2009 07:37:39 +0000 (09:37 +0200)] 
Release libbsd 0.1.3

16 years agoExport public functions as extern C
Guillem Jover [Mon, 25 May 2009 07:25:13 +0000 (09:25 +0200)] 
Export public functions as extern C

16 years agoAdd missing <stdarg.h> include in <bsd/err.h>
Guillem Jover [Mon, 25 May 2009 07:12:45 +0000 (09:12 +0200)] 
Add missing <stdarg.h> include in <bsd/err.h>

16 years agoAdd new __RCSID macro
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.

16 years agoRelease libbsd 0.1.2 0.1.2
Guillem Jover [Mon, 25 May 2009 04:57:50 +0000 (06:57 +0200)] 
Release libbsd 0.1.2

16 years agoInstall humanize_number(3) man page
Guillem Jover [Mon, 25 May 2009 04:57:03 +0000 (06:57 +0200)] 
Install humanize_number(3) man page

16 years agoUse N_SYMSIZE instead of directly accessing ‘struct exec’
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.

16 years agoAdd some man page links
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>
16 years agoUse the correct path when including a.out.h
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>
16 years agoAdd man/md5.3bsd to .gitignore
Guillem Jover [Mon, 25 May 2009 04:22:22 +0000 (06:22 +0200)] 
Add man/md5.3bsd to .gitignore

16 years agoFix typos (‘ELFDATA2MSG’ → ‘ELFDATA2MSB’)
Guillem Jover [Thu, 21 May 2009 03:04:09 +0000 (05:04 +0200)] 
Fix typos (‘ELFDATA2MSG’ → ‘ELFDATA2MSB’)

16 years agoRelease libbsd 0.1.1 0.1.1
Guillem Jover [Wed, 20 May 2009 03:14:32 +0000 (05:14 +0200)] 
Release libbsd 0.1.1

16 years agoInstall nlist header and man page
Guillem Jover [Wed, 20 May 2009 03:13:31 +0000 (05:13 +0200)] 
Install nlist header and man page

16 years agoUse UTF-8 copyright symbols for non-imported files 0.1.0
Guillem Jover [Wed, 20 May 2009 02:20:21 +0000 (04:20 +0200)] 
Use UTF-8 copyright symbols for non-imported files

16 years agoAdd nlist function
Guillem Jover [Wed, 20 May 2009 02:11:57 +0000 (04:11 +0200)] 
Add nlist function

16 years agoAdd strmode function
Guillem Jover [Fri, 15 May 2009 19:40:45 +0000 (21:40 +0200)] 
Add strmode function

16 years agoFix buffer leaks in fgetln
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.

16 years agoChange fgetln to return the correct length value
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>
16 years agoDo not include .gitignore in the dist tarball 0.0.1
Guillem Jover [Sat, 26 Jul 2008 19:42:39 +0000 (22:42 +0300)] 
Do not include .gitignore in the dist tarball

16 years agoInstall md5.3 as md5.3bsd
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.

16 years agoAdd a TODO list
Guillem Jover [Sat, 26 Jul 2008 19:36:14 +0000 (22:36 +0300)] 
Add a TODO list

16 years agoAdd a new header file to expose inet_net_pton prototype
Guillem Jover [Sat, 26 Jul 2008 19:35:31 +0000 (22:35 +0300)] 
Add a new header file to expose inet_net_pton prototype

16 years agoAdd a micro version part
Guillem Jover [Sat, 26 Jul 2008 19:25:22 +0000 (22:25 +0300)] 
Add a micro version part

17 years agoUnify description 0.0
Guillem Jover [Sat, 12 Jul 2008 05:00:17 +0000 (08:00 +0300)] 
Unify description

17 years agoMove LIB_PKGCONFIG dependency to the libs target
Guillem Jover [Sat, 12 Jul 2008 04:59:14 +0000 (07:59 +0300)] 
Move LIB_PKGCONFIG dependency to the libs target

17 years agoUse sigprocmask instead of _sigprocmask
Guillem Jover [Sat, 12 Jul 2008 04:55:57 +0000 (07:55 +0300)] 
Use sigprocmask instead of _sigprocmask

17 years agoDefine default CFLAGS overridable by the environment
Guillem Jover [Sat, 12 Jul 2008 04:53:03 +0000 (07:53 +0300)] 
Define default CFLAGS overridable by the environment

17 years agoSwitch remaining variables to single expanded ones
Guillem Jover [Sat, 12 Jul 2008 04:48:10 +0000 (07:48 +0300)] 
Switch remaining variables to single expanded ones

17 years agoRemove useless comment header
Guillem Jover [Sat, 12 Jul 2008 04:46:53 +0000 (07:46 +0300)] 
Remove useless comment header

17 years agoMove each groups of related files to their own line
Guillem Jover [Sat, 12 Jul 2008 04:46:37 +0000 (07:46 +0300)] 
Move each groups of related files to their own line

17 years agoMake action targets PHONY
Guillem Jover [Sat, 12 Jul 2008 04:41:07 +0000 (07:41 +0300)] 
Make action targets PHONY

17 years agoNew README file
Guillem Jover [Sat, 12 Jul 2008 04:37:13 +0000 (07:37 +0300)] 
New README file

17 years agoAutomatically generate libbsd.pc from libbsd.pc.in
Guillem Jover [Sat, 12 Jul 2008 04:31:59 +0000 (07:31 +0300)] 
Automatically generate libbsd.pc from libbsd.pc.in

17 years agoAdd new path variables
Guillem Jover [Sat, 12 Jul 2008 04:29:24 +0000 (07:29 +0300)] 
Add new path variables

17 years agoAutomatically generate the ChangeLog on 'make dist'
Guillem Jover [Sat, 12 Jul 2008 04:00:19 +0000 (07:00 +0300)] 
Automatically generate the ChangeLog on 'make dist'

17 years agoDefine a LIB_PKGCONFIG variable
Guillem Jover [Sat, 12 Jul 2008 03:46:18 +0000 (06:46 +0300)] 
Define a LIB_PKGCONFIG variable

17 years agoMove filename related variables to the beginning of the file
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.

17 years agoDefine a LIB_VERSION variable
Guillem Jover [Sat, 12 Jul 2008 03:35:45 +0000 (06:35 +0300)] 
Define a LIB_VERSION variable

17 years agoCreate an armored detached signature on 'make dist'
Guillem Jover [Wed, 9 Jul 2008 06:25:34 +0000 (09:25 +0300)] 
Create an armored detached signature on 'make dist'

17 years agoRemove link_addr and link_ntoa symbols from the version script
Guillem Jover [Wed, 9 Jul 2008 06:07:58 +0000 (09:07 +0300)] 
Remove link_addr and link_ntoa symbols from the version script

17 years agoAdd new setmode and getmode functions from FreeBSD
Guillem Jover [Wed, 9 Jul 2008 06:07:03 +0000 (09:07 +0300)] 
Add new setmode and getmode functions from FreeBSD

17 years agoInclude the rest of the header files
Guillem Jover [Wed, 9 Jul 2008 06:04:51 +0000 (09:04 +0300)] 
Include the rest of the header files

17 years agoDisable __bounded__ __attribute__
Guillem Jover [Wed, 9 Jul 2008 06:04:27 +0000 (09:04 +0300)] 
Disable __bounded__ __attribute__

17 years agoAdd support for 'make dist'
Guillem Jover [Wed, 9 Jul 2008 05:47:09 +0000 (08:47 +0300)] 
Add support for 'make dist'

17 years agofgetln: Fix coding style
Guillem Jover [Wed, 9 Jul 2008 05:26:07 +0000 (08:26 +0300)] 
fgetln: Fix coding style

17 years agofgetln: Fix function to make it actually work
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.

17 years agoAnsify function arguments
Guillem Jover [Wed, 9 Jul 2008 04:46:23 +0000 (07:46 +0300)] 
Ansify function arguments

17 years agoMove version and library name to the beginning of the file
Guillem Jover [Wed, 9 Jul 2008 04:23:49 +0000 (07:23 +0300)] 
Move version and library name to the beginning of the file

17 years agoRenumber 4th clause from BSD license to 3rd
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.

17 years agoRemove RCS tag
Guillem Jover [Wed, 9 Jul 2008 04:17:20 +0000 (07:17 +0300)] 
Remove RCS tag

17 years agoAdd missing license headers
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.

17 years agoRemove link_addr and link_ntoa functions
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.

17 years agoAdd license header
Guillem Jover [Wed, 18 Jun 2008 05:47:58 +0000 (08:47 +0300)] 
Add license header

17 years agoAdd arc4random_stir and arc4random_addrandom functions
Guillem Jover [Wed, 18 Jun 2008 05:44:18 +0000 (08:44 +0300)] 
Add arc4random_stir and arc4random_addrandom functions

17 years agoAdd a pkg-config file
Guillem Jover [Wed, 18 Jun 2008 05:25:48 +0000 (08:25 +0300)] 
Add a pkg-config file

17 years agoReplace current md5 code with one from MirBSD and OpenBSD
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

17 years agoInclude missing stddef.h
Guillem Jover [Wed, 18 Jun 2008 05:09:51 +0000 (08:09 +0300)] 
Include missing stddef.h

17 years agoAdd license header
Guillem Jover [Wed, 18 Jun 2008 05:05:23 +0000 (08:05 +0300)] 
Add license header

With Hector's agreement.

17 years agoAdd a .gitignore file
Guillem Jover [Wed, 18 Jun 2008 05:00:10 +0000 (08:00 +0300)] 
Add a .gitignore file

17 years agoRemove cruft macros and includes
Guillem Jover [Wed, 18 Jun 2008 04:59:43 +0000 (07:59 +0300)] 
Remove cruft macros and includes

17 years agoAdd license header
Guillem Jover [Wed, 18 Jun 2008 04:49:44 +0000 (07:49 +0300)] 
Add license header

17 years agoRemove ChangeLog file
Guillem Jover [Fri, 13 Jun 2008 03:49:03 +0000 (06:49 +0300)] 
Remove ChangeLog file

17 years agoSync humanize_number from NetBSD
Guillem Jover [Fri, 13 Jun 2008 02:25:57 +0000 (05:25 +0300)] 
Sync humanize_number from NetBSD

Add the missing man page.

17 years agoConvert TNF licenses to new 2 clause variant
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>

17 years agoAdd license header
Robert Millan [Sun, 16 Mar 2008 17:20:48 +0000 (17:20 +0000)] 
Add license header

17 years agoRelicense err.c and progname.c to avoid trouble with 4-clause BSD code
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

17 years agoRemove UC Berkeley advertising clause
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>.

17 years agoRemove UC Berkeley advertising clause
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>.

17 years agobsd/queue.h: Sync with current glibc variant from GNU/kFreeBSD
Petr Salinger [Tue, 18 Dec 2007 14:20:20 +0000 (14:20 +0000)] 
bsd/queue.h: Sync with current glibc variant from GNU/kFreeBSD

17 years agobsd/bsd.h: Cleanup
Petr Salinger [Tue, 9 Jan 2007 13:26:33 +0000 (13:26 +0000)] 
bsd/bsd.h: Cleanup

17 years agolink_addr: New function
Aurelien Jarno [Tue, 7 Nov 2006 23:41:16 +0000 (23:41 +0000)] 
link_addr: New function

17 years agohumanize_number: New function
Petr Salinger [Fri, 25 Aug 2006 13:39:32 +0000 (13:39 +0000)] 
humanize_number: New function

17 years agoRevert 1d87476250217a87319df48a8f473415c0515106
Robert Millan [Thu, 30 Mar 2006 13:53:34 +0000 (13:53 +0000)] 
Revert 1d87476250217a87319df48a8f473415c0515106

17 years agoDuplicate setprogname argument
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.

17 years agoAdd heapsort
Robert Millan [Wed, 29 Mar 2006 13:55:22 +0000 (13:55 +0000)] 
Add heapsort

17 years agoFix some c++isms
Aurelien Jarno [Sun, 26 Mar 2006 17:10:13 +0000 (17:10 +0000)] 
Fix some c++isms