]> git.ipfire.org Git - thirdparty/libbsd.git/log
thirdparty/libbsd.git
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>
17 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

17 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.

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

17 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

17 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

17 years agoDirectly call the function fmtcheck instead of using __weak_reference
Aurelien Jarno [Sun, 26 Mar 2006 17:09:24 +0000 (17:09 +0000)] 
Directly call the function fmtcheck instead of using __weak_reference

17 years agoMove shared library to /lib
Robert Millan [Sat, 25 Mar 2006 20:03:00 +0000 (20:03 +0000)] 
Move shared library to /lib

Needed by binaries in /bin and /sbin.

17 years agoFix install paths so that /usr/include also works
Robert Millan [Sun, 19 Mar 2006 11:12:07 +0000 (11:12 +0000)] 
Fix install paths so that /usr/include also works

17 years agoAdd vis and unvis
Robert Millan [Sun, 19 Mar 2006 10:25:49 +0000 (10:25 +0000)] 
Add vis and unvis

17 years agoFix syntax error
Robert Millan [Sat, 18 Mar 2006 12:53:39 +0000 (12:53 +0000)] 
Fix syntax error

17 years agoInitialize __progname as NULL
Robert Millan [Sat, 18 Mar 2006 09:19:50 +0000 (09:19 +0000)] 
Initialize __progname as NULL

17 years agoAdd getprogname and setprogname
Robert Millan [Fri, 17 Mar 2006 19:55:21 +0000 (19:55 +0000)] 
Add getprogname and setprogname

17 years agoDisable __unused
Guillem Jover [Wed, 15 Feb 2006 20:41:06 +0000 (20:41 +0000)] 
Disable __unused

It conflicts with a struct member in a Linux header.

17 years agoRemove unused includes and protect header
Guillem Jover [Tue, 14 Feb 2006 07:01:21 +0000 (07:01 +0000)] 
Remove unused includes and protect header

17 years agoRevert 39db45e45a8d49a92d1d897a532e48480e561f75
Guillem Jover [Tue, 14 Feb 2006 06:55:53 +0000 (06:55 +0000)] 
Revert 39db45e45a8d49a92d1d897a532e48480e561f75

17 years agoRemove commented out macros
Guillem Jover [Tue, 14 Feb 2006 06:45:41 +0000 (06:45 +0000)] 
Remove commented out macros

17 years agoMove some macros to cdefs.h
Guillem Jover [Tue, 14 Feb 2006 06:43:04 +0000 (06:43 +0000)] 
Move some macros to cdefs.h

17 years agoMove sources to src/
Guillem Jover [Tue, 14 Feb 2006 05:39:29 +0000 (05:39 +0000)] 
Move sources to src/

17 years agoAdd missing %
Guillem Jover [Tue, 14 Feb 2006 05:33:38 +0000 (05:33 +0000)] 
Add missing %

17 years agoMakefile: Cleanup
Guillem Jover [Tue, 14 Feb 2006 05:26:48 +0000 (05:26 +0000)] 
Makefile: Cleanup

(LIB_SRCS): Line wrap.
(LIB_INCLUDES): List only the files, automatically prefix the dir.
(LIB_MANS): Likewise.

17 years agoRemove optreset
Guillem Jover [Tue, 14 Feb 2006 05:22:15 +0000 (05:22 +0000)] 
Remove optreset

17 years agoFix ChangeLog format
Guillem Jover [Tue, 14 Feb 2006 05:17:19 +0000 (05:17 +0000)] 
Fix ChangeLog format

17 years agoAdd bsd_getopt
Robert Millan [Mon, 13 Feb 2006 20:56:47 +0000 (20:56 +0000)] 
Add bsd_getopt

17 years agoUse the same macro (_SYS_QUEUE_H) as <sys/queue.h> for header protection
Robert Millan [Mon, 13 Feb 2006 20:45:13 +0000 (20:45 +0000)] 
Use the same macro (_SYS_QUEUE_H) as <sys/queue.h> for header protection

This prevents collisions.

17 years agoRevert c849ba32af231fba36f4500d0d3290821f4dd7b7
Robert Millan [Mon, 13 Feb 2006 20:25:22 +0000 (20:25 +0000)] 
Revert c849ba32af231fba36f4500d0d3290821f4dd7b7

Will use bsd_getopt() wrapper instead.

17 years agoFix that FIXME
Robert Millan [Mon, 13 Feb 2006 13:02:11 +0000 (13:02 +0000)] 
Fix that FIXME

17 years agoreset_getopt: New function (borrowed from e2fsprogs)
Robert Millan [Mon, 13 Feb 2006 09:02:17 +0000 (09:02 +0000)] 
reset_getopt: New function (borrowed from e2fsprogs)

17 years agobsd/queue.h: Replace with patched copy of glibc's <sys/queue.h>
Robert Millan [Sat, 11 Feb 2006 07:06:17 +0000 (07:06 +0000)] 
bsd/queue.h: Replace with patched copy of glibc's <sys/queue.h>

This doesn't affect freebsd6-buildutils.

17 years agoAdd __unused
Robert Millan [Fri, 10 Feb 2006 15:22:58 +0000 (15:22 +0000)] 
Add __unused

17 years agoAdd errc, warnc, verrc and vwarnc
Robert Millan [Fri, 10 Feb 2006 14:59:03 +0000 (14:59 +0000)] 
Add errc, warnc, verrc and vwarnc

17 years agoMakefile: Fix typo
Aurelien Jarno [Tue, 20 Dec 2005 21:05:34 +0000 (21:05 +0000)] 
Makefile: Fix typo

17 years agoAdded manpages and fixed fmtcheck
Aurelien Jarno [Tue, 20 Dec 2005 20:29:47 +0000 (20:29 +0000)] 
Added manpages and fixed fmtcheck

17 years agofmtcheck: New function
Aurelien Jarno [Sun, 18 Dec 2005 04:02:56 +0000 (04:02 +0000)] 
fmtcheck: New function