Guillem Jover
e9e4a60d7e
build: Use MKDIR_P variable instead of literal «mkdir -p»
2012-06-01 08:15:00 +02:00
Guillem Jover
309c82a016
Release libbsd 0.4.0
2012-05-29 07:33:16 +02:00
Guillem Jover
cd67cb1417
Use implicit <md5.h> from overlay instead explicit <bsd/md5.h>
...
This was assuming an installed <bsd/md5.h> on the system, due to the
build system not including -Iinclude/ anymore.
Regression introduced in commit 901ed630fc
.
2012-05-29 07:31:06 +02:00
Guillem Jover
1b5b1cd52a
Move mdX.3 man page to section 3bsd
...
This makes sure there will be no collisions on systems where a mdX.3
provided by a third party is already present.
2012-05-29 04:51:45 +02:00
Guillem Jover
ddefaae330
Do not quote man page titles
2012-05-29 04:51:45 +02:00
Guillem Jover
e7f3976088
Add email address to my name
2012-05-29 04:51:45 +02:00
Guillem Jover
e59ac2c96c
Clarify that the 4-clause BSD licenses are only for man pages
2012-05-29 04:51:45 +02:00
Guillem Jover
7cfa7e4304
Add new man page for tree(3)
...
Taken from FreeBSD.
2012-05-29 04:51:34 +02:00
Guillem Jover
7620fef70b
Remove UC Berkeley advertising clause
...
As per <ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change>.
2012-05-29 04:51:34 +02:00
Guillem Jover
08139dd50e
Add new man pages for bitstring(3) and queue(3)
...
Taken from FreeBSD.
2012-05-29 04:51:16 +02:00
Guillem Jover
d90ce079f7
Add new man pages for getprogname(3) and setprogname(3)
...
Taken from FreeBSD.
2012-05-29 04:51:16 +02:00
Guillem Jover
c1d086c224
Add new man page for setproctitle(3)
...
Taken from FreeBSD.
2012-05-29 04:51:16 +02:00
Guillem Jover
e37293a18a
Add <bitstring.h> for compatibility with NetBSD and OpenBSD
2012-05-29 04:51:16 +02:00
Guillem Jover
34bf1068a2
test: Add a unit test for endian encoder/decoder
2012-05-29 04:51:16 +02:00
Robert Millan
4eab0cc351
Add inline endian encoding/decoding functions
...
Taken from FreeBSD.
Signed-off-by: Guillem Jover <guillem@hadrons.org>
2012-05-29 04:51:09 +02:00
Guillem Jover
752997462a
Base getprogname() on program_invocation_short_name presence instead of glibc
2012-05-29 04:51:04 +02:00
Guillem Jover
d5d9186937
Base fpurge() implementation on __fpurge presence instead of glibc
2012-05-29 04:51:04 +02:00
Guillem Jover
f8e8063079
Base fgetln() implementation on getline presence instead of glibc
2012-05-29 04:51:04 +02:00
Guillem Jover
786d143920
test: Add new overlay unit test
2012-05-29 04:51:04 +02:00
Guillem Jover
866f73af91
Move overlay inclusions outside of header protection
...
Glibc tends to include standard headers with special definitions
that make few declarations or macros visible, this stomps over the
overlay #include_next <> logic.
Based-on-patch-by: Robert Millan <rmh@debian.org>
2012-05-29 04:51:04 +02:00
Guillem Jover
f71d8e0501
Remove bogus deprecation warning from <getopt.h>
2012-05-29 04:51:04 +02:00
Guillem Jover
0b96e1a218
Remove deprecated compatibility includes in headers
2012-05-29 04:51:04 +02:00
Guillem Jover
109cafb393
Remove deprecated headers
2012-05-29 04:51:04 +02:00
Robert Millan
6434858314
Add new expand_number() function
...
Taken from FreeBSD.
[guillem@hadrons.org:
- Include <stdint.h> in <bsd/libutil.h>. ]
Signed-off-by: Guillem Jover <guillem@hadrons.org>
2012-05-29 04:50:55 +02:00
Guillem Jover
943939d0e5
Add new closefrom() function
...
Code taken from sudo, man page from FreeBSD.
2012-05-29 04:36:23 +02:00
Guillem Jover
3d614131b5
Base errc() and warnc() on vwarnc() and verrc() respectively
2012-05-29 04:36:23 +02:00
Guillem Jover
8723226040
Use system __progname variable in progname module if available
2012-05-29 04:36:23 +02:00
Guillem Jover
b5cc17d664
Use getexecname() if available for getprogname()
...
This function is present on Solaris.
2012-05-29 04:36:23 +02:00
Guillem Jover
abf14c3940
test: Add new headers unit test
2012-05-29 04:36:23 +02:00
Guillem Jover
23973e2221
build: Add a test suite infrastructure
2012-05-29 04:36:23 +02:00
Guillem Jover
980f04f77b
build: Do not define already defined _GNU_SOURCE
...
The macro is defined by configure on config.h which is now implicitly
included by all source files.
2012-05-29 04:36:22 +02:00
Guillem Jover
8d2f12d7f0
build: Include <config.h> through -include for all source files
2012-05-29 04:36:22 +02:00
Guillem Jover
88004b30ff
build: Set -Wno-unused-parameter to default CFLAGS
2012-05-29 04:36:22 +02:00
Guillem Jover
dcaa93d984
build: Switch to autotools
2012-05-29 04:35:55 +02:00
Guillem Jover
0aa777f47e
Move .pc and .map files to src/
2012-01-03 07:02:37 +01:00
Guillem Jover
540ab03b18
Move man pages to man/
2012-01-03 07:02:34 +01:00
Guillem Jover
93321224f6
Rename version script from Versions to libbsd.map
2011-12-11 07:57:05 +01:00
Guillem Jover
2fb7200d45
Fix typos in source comments
...
Found by codespell.
2011-10-23 19:28:14 +02:00
Guillem Jover
0acd86f6eb
build: Use -isystem instead of -I
2011-07-09 22:28:10 +02:00
Guillem Jover
901ed630fc
build: Do not add -Iinclude/ to MK_CPPFLAGS
...
The source code should not be using any of the headers there.
2011-07-09 22:28:10 +02:00
Guillem Jover
059f89ca95
Add missing semicolon to bsd_getopt() declaration
...
Accidentally lost in commit 4a6303ba3b
.
2011-07-09 22:28:00 +02:00
Guillem Jover
4a6303ba3b
Constify bsd_getopt(3) arguments
...
This matches the standard declaration for getopt(3).
2011-06-08 02:10:38 +02:00
Guillem Jover
7446f029b5
Release libbsd 0.3.0
2011-06-02 19:20:55 +02:00
Guillem Jover
e80d338b18
Add a COPYING file to ease the distributors work
...
This file includes all the copyright and license notices from the source
code in a single place.
2011-06-02 19:20:55 +02:00
Guillem Jover
b891772ad6
Remove blank lines at EOF
2011-05-29 02:49:37 +02:00
Guillem Jover
b0eb19970a
Move bsd_getopt() from <bsd/getopt.h> to <bsd/unistd.h>
...
Deprecate <bsd/getopt.h>.
2011-05-29 02:41:16 +02:00
Guillem Jover
0bf3d3913f
Include the correct deprecated headeres when using the overlay
2011-05-29 02:41:15 +02:00
Guillem Jover
913cdd91b1
Do not use the same header inclusion protector for <nlist.h> and <bsd/nlist.h>
...
Regression introduced in commit f7caf2b30d
.
2011-05-29 02:39:44 +02:00
Guillem Jover
200eeb1265
Add LIBBSD_DISABLE_DEPRECATED to deprecated headers
...
When enabled this will make the inclusion of deprecated headers a
fatal error so that it's easier to spot.
2011-05-29 02:39:29 +02:00
Guillem Jover
fbd622971d
Condense and clarify header deprecation warnings
...
Mention the possibility of using libbsd-overlay.pc.
2011-05-28 10:58:26 +02:00