|
540ab03b
|
2011-12-31T06:50:40
|
|
Move man pages to man/
|
|
93321224
|
2011-12-11T07:57:05
|
|
Rename version script from Versions to libbsd.map
|
|
2fb7200d
|
2011-10-23T19:27:44
|
|
Fix typos in source comments
Found by codespell.
|
|
0acd86f6
|
2011-07-05T21:01:57
|
|
build: Use -isystem instead of -I
|
|
901ed630
|
2011-07-05T21:01:18
|
|
build: Do not add -Iinclude/ to MK_CPPFLAGS
The source code should not be using any of the headers there.
|
|
059f89ca
|
2011-07-05T20:59:04
|
|
Add missing semicolon to bsd_getopt() declaration
Accidentally lost in commit 4a6303ba3b64504ab0077b9cfebd2a4b918d531d.
|
|
4a6303ba
|
2011-06-08T02:10:38
|
|
Constify bsd_getopt(3) arguments
This matches the standard declaration for getopt(3).
|
|
7446f029
|
2011-06-02T19:16:57
|
|
Release libbsd 0.3.0
|
|
e80d338b
|
2011-06-02T19:14:44
|
|
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.
|
|
b891772a
|
2011-05-29T02:49:14
|
|
Remove blank lines at EOF
|
|
b0eb1997
|
2011-05-28T11:40:36
|
|
Move bsd_getopt() from <bsd/getopt.h> to <bsd/unistd.h>
Deprecate <bsd/getopt.h>.
|
|
0bf3d391
|
2011-05-28T10:39:54
|
|
Include the correct deprecated headeres when using the overlay
|
|
913cdd91
|
2011-05-28T06:35:18
|
|
Do not use the same header inclusion protector for <nlist.h> and <bsd/nlist.h>
Regression introduced in commit f7caf2b30da93d46528ec706dffaf5cbde5266d9.
|
|
200eeb12
|
2011-05-27T21:58:20
|
|
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.
|
|
755d86be
|
2011-05-27T21:39:14
|
|
Rename LIBBSD_CLEAN_INCLUDES to LIBBSD_DISABLE_DEPRECATED
|
|
cd4996ce
|
2011-05-27T21:23:18
|
|
Namespace header protector in <bsd/sys/cdefs.h> with LIBBSD_SYS_
|
|
a7dd4457
|
2011-05-27T21:13:18
|
|
Add new <bsd/sys/poll.h> header
|
|
8be40010
|
2011-05-27T20:37:10
|
|
Add new <bsd/sys/endian.h> header
|
|
fbd62297
|
2011-05-27T22:11:28
|
|
Condense and clarify header deprecation warnings
Mention the possibility of using libbsd-overlay.pc.
|
|
e1f2a6f8
|
2011-05-25T21:27:58
|
|
Add new __packed, __aligned and __nonnull attributes
|
|
87dd203c
|
2011-05-25T21:27:12
|
|
Define __dead2 and __pure2 to actual gcc attributes if possible
|
|
de206287
|
2011-05-25T21:25:54
|
|
Define <sys/cdefs.h> attributes conditional to the supported gcc version
|
|
71e5db4c
|
2011-05-25T21:02:40
|
|
Define _SYS_CDEFS_H and _SYS_CDEFS_H after including <sys/cdefs.h>
This makes sure the “standard” inclusion protectors are in place, as at
least some FreeBSD kernel headers expect these to be defined to do some
sanity checks.
|
|
9d042171
|
2011-05-25T07:38:36
|
|
Map getopt to bsd_getopt if we are using the overlay
This will ensure the code can safely and correctly use optreset
transparently.
|
|
17a9a847
|
2011-05-25T07:36:19
|
|
Rename transparent support to overlay
This affects the pkg-config file now named libbsd-overlay.pc, and the
macro to use the overlay LIBBSD_OVERLAY.
|
|
94fe901e
|
2011-05-14T18:12:48
|
|
Abort compilation if fgetln cannot be wrapped
|
|
28585a58
|
2011-05-14T17:58:08
|
|
Add fpurge function
|
|
b36c59c0
|
2011-02-23T12:39:58
|
|
Conditionalize <time.h> inclusion from <bsd/bsd.h>
This was added long time ago to fix some software which was implicitly
depending on the header through some other header, and to avoid having
to modify such software. Conditionalize it on LIBBSD_CLEAN_INCLUDES,
so that buildability can be tested for its future removal.
|
|
8b6a7477
|
2011-02-23T12:38:42
|
|
Conditionalize temporary compatibility inclusions
These inclusions were in place for backward compatibility purposes,
when the headers were split so that code using them would not break.
Make it possible for applications to disable them by defining
LIBBSD_CLEAN_INCLUDES so that buildability can be tested and fixed
before they get removed in a subsequent release.
|
|
c594192b
|
2011-05-14T14:17:44
|
|
Correct library name in man pages
|
|
8478e574
|
2011-02-23T13:14:22
|
|
Update libbsd header references in man pages
Point to the namespaced path for libbsd specific headers.
|
|
f7caf2b3
|
2011-02-23T11:07:30
|
|
Move all header files to /usr/include/bsd/ and deprecate /usr/include/
First stage of the transition to avoid possible clashes with other
software by moving out of the way the remaining headers from
/usr/include/.
At least nlist.h is known to cause file conflicts with some libelf
implementations. libutil.h is not really complete and might cause
confusion if software detects its availability w/o someone actually
checking. And lastly vis.h is not known to cause any problem and it's
complete, but better be safe than sorry.
The compatibility headers will be removed in a later release.
|
|
520682e5
|
2011-02-23T14:04:57
|
|
Add support for transparent compilation
This means that software being ported should not need to be modified in
the usual case, as the libbsd headers will take over the standard
namespace and fill the missing gaps, and include the system headers.
To use this the new libbsd-transparent.pc file can be used through
pkg-config, which should end up doing the right thing.
|
|
4c01261f
|
2011-02-23T14:15:43
|
|
Move each version symbol declaration into its own line
|
|
8a99226f
|
2011-02-23T14:01:06
|
|
Generalize pkg-config file handling
Use a make pattern for the .pc rule to allow using more than one .pc
file. And generalize the .gitignore entry.
|
|
1497d347
|
2011-02-25T13:52:59
|
|
Initialize __progname to program_invocation_short_name
As we do not have cooperation from the crt0 code to set __progname, we
have to set it ourselves from getprogname() in case it's NULL. On GNU
systems we can use program_invocation_short_name which is actually set
on crt0.
|
|
741eb587
|
2011-02-22T20:44:21
|
|
Add missing prototypes for arc4random_buf and arc4random_uniform
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=34511
|
|
9baf9640
|
2011-02-22T20:19:37
|
|
Add new <bsd/sys/bitstring.h> header
Taken from FreeBSD.
|
|
4b95e82a
|
2011-02-25T18:48:10
|
|
Add new radixsort and sradixsort functions
Taken from FreeBSD.
|
|
c766e58a
|
2011-02-25T18:25:17
|
|
Add man pages for heapsort and mergesort
Taken from FreeBSD, originally as qsort.3 but qsort references stripped.
|
|
be6ab549
|
2011-02-25T18:17:16
|
|
Add new mergesort function
Taken from FreeBSD.
|
|
5b19adfa
|
2010-12-17T10:50:56
|
|
Add getpeereid function
|
|
acb7c42d
|
2010-07-30T08:00:41
|
|
Add reallocf function
|
|
06a60a16
|
2010-01-31T14:13:24
|
|
build: Use proper user variables during build
To compile we need to use CPPFLAGS and CFLAGS, to link CFLAGS and
LDFLAGS. Rename MK_CFLAGS to MK_CPPFLAGS as those are only relevant
at compilation time.
Reported-by: Eric Smith <eric@brouhaha.com>
|
|
51863b6c
|
2010-01-30T22:43:29
|
|
build: Use new AR variable instead of hardcoded command
|
|
08afd5d4
|
2010-01-30T22:42:00
|
|
build: Refactor COMPILER and LINK commands into new variables
|
|
1f0b0b23
|
2010-01-30T22:40:01
|
|
build: Use CCLD instead of hardcoded gcc for linking
|
|
32d79b03
|
2010-01-30T22:39:18
|
|
build: By default set CC to gcc
|
|
cd730a02
|
2010-01-30T22:13:18
|
|
build: Install shared library with 755 permission
The Makefile should install the shared library with 755 permission
rather than 644. That's standard practice, and required when building
RPMs on Fedora to get a debuginfo package.
|
|
11f2c32d
|
2010-01-30T22:00:18
|
|
Fix setprogname to strip leading paths from progname
|
|
30c79408
|
2010-01-21T14:34:55
|
|
Make setprogname and getprogname arguments and return value const
This is more correct as the strings are not going to be changed, and it
matches the function signatures on other BSDs.
Suggested-by: Aurelien Jarno <aurel32@debian.org>
|
|
ddebbd67
|
2010-01-10T12:04:03
|
|
Release libbsd 0.2.0
|
|
abe0a4a7
|
2010-01-10T11:02:13
|
|
Reformat code to KNF
|
|
2872bfa1
|
2010-01-10T01:41:27
|
|
Add vis and unvis man pages
Taken from OpenBSD.
|
|
e544a41f
|
2010-01-10T01:37:18
|
|
Add dehumanize_number man page link
|
|
7b3873bc
|
2010-01-10T01:35:27
|
|
Update vis and unvis modules from OpenBSD
|
|
8103fe14
|
2010-01-10T01:33:07
|
|
Update strlcat and strlcpy from OpenBSD
|
|
d63e0813
|
2010-01-10T00:57:07
|
|
Add arc4random_buf and arc4random_uniform functions
Update arc4random module from FreeBSD.
|
|
3fed78e5
|
2010-01-10T00:37:03
|
|
Replace setproctitle dummy macro with a function stub
This way we can replace it later on with a real implementation so that
applications can immediately benefit from it w/o the need to recompile
them.
|
|
2a81893c
|
2010-01-10T00:10:21
|
|
Add pidfile functions
Taken from FreeBSD.
Remove MAXPATHLEN from ‘struct pidfh’ and allocate pf_path dynamically,
as some systems do not have such limits. Use dev_t instead of __dev_t.
Replace EDOOFUS with EINVAL.
|
|
98a2479f
|
2010-01-09T23:49:32
|
|
Add flopen function
Taken from FreeBSD.
|
|
57cc5326
|
2010-01-09T20:17:16
|
|
Move man pages to the same directory as the source code
This matches BSD style source tree, and makes it easier to see what's
missing.
|
|
9e4adc46
|
2009-12-13T01:52:03
|
|
build: Untangle the package version from the soversion
Add a new script to generate the package version from git. Use that for
the pkg-config file and the tarball name.
|
|
db406fe2
|
2009-12-12T01:46:25
|
|
build: Make dist use files from git plus few autogenerated ones
To avoid forgetting to include files, we'll use “git ls-files” and will
include few precious autogenerated files that cannot be generated later
on w/o git. This includes mainly the ChangeLog.
|
|
9396cc62
|
2010-01-09T19:56:45
|
|
build: Do not duplicate generated filenames in several variables
|
|
7a70f1b0
|
2009-12-11T23:24:31
|
|
Move fmtcheck and fgetln declarations to <bsd/stdio.h>
This is were they are located on the BSDs.
|
|
ca28f280
|
2009-12-11T23:21:14
|
|
Move setmode and getmode declarations to <bsd/unistd.h>
This is were they are located on the BSDs.
|
|
dd2756e0
|
2009-12-11T23:13:42
|
|
Mark inclusion of <time.h> from <bsd/bsd.h> deprecated
This will be removed at some point in the future.
|
|
3c9182b8
|
2009-12-11T23:12:26
|
|
Move arc4random declarations to <bsd/stdlib.h>
This is were they are located on the BSDs.
|
|
4d17a18d
|
2009-12-11T23:06:27
|
|
Deprecate <bsd/inet.h>
The only function declared in that header file was inet_net_pton, which
is already provided by glibc. Will be removed on the next SONAME bump.
|
|
7da57b29
|
2009-12-11T23:01:02
|
|
Remove traces of fgetwln, it was never included
This function was exposed in the header file and the versioning symbol
file, but the actual code was never here.
|
|
254808d9
|
2009-12-11T23:26:44
|
|
Define NetBSD version 5.0 for .Nx to avoid groff warning
This is a temporary workaround, the proper fix is to get groff to know
newest BSD versions.
|
|
183cc3cb
|
2009-12-11T21:31:48
|
|
Correct library name in man pages
|
|
c17c7e13
|
2009-12-10T18:07:25
|
|
Expand on API guarantee for fgetln
OpenBSD has begun using the API guarantee that *len is not 0 if
the fgetln(3) return value is not NULL; document this explicitly
in the manpage and add a comment to the function implementation
that this doesn’t need to be checked because getdelim/getline have
similar guarantees.
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
|
|
a5dbef45
|
2009-12-10T21:02:30
|
|
Make RCS macros take arguments
This was breaking code actually using those macros.
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
|
|
27842d7f
|
2009-12-10T21:00:45
|
|
Track bug IDs for __unused collision
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
|
|
c5398adf
|
2009-10-24T00:19:47
|
|
Add readpassphrase function
Taken from OpenBSD.
|
|
538bc879
|
2009-10-24T00:17:57
|
|
Add dehumanize_number function
Taken from NetBSD.
|
|
04250f6a
|
2009-10-24T00:15:57
|
|
Add strnvis and strnunvis functions
Taken from OpenBSD.
|
|
5c078ce2
|
2009-10-23T23:31:07
|
|
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>.
|
|
614eb040
|
2009-10-12T01:43:02
|
|
Add new <bsd/sys/tree.h> header
|
|
b6e84690
|
2009-10-12T01:47:54
|
|
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>.
|
|
d3e14ea9
|
2009-10-23T23:04:42
|
|
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>.
|
|
e51be45c
|
2009-10-12T01:43:52
|
|
Update <sys/queue.h>
Taken from FreeBSD.
|
|
56ddcfe6
|
2009-10-11T21:07:53
|
|
Add strtonum function
Taken from FreeBSD.
|
|
1bf8b96a
|
2009-10-24T01:06:09
|
|
Do not append a slash after DESTDIR
|
|
16e6ac99
|
2009-10-11T20:54:23
|
|
Update git web interface URL
FreeDesktop.Org switched from gitweb to cgit.
|
|
56f2e55b
|
2009-08-30T12:18:11
|
|
Release libbsd 0.1.6
|
|
5ac14531
|
2009-08-30T12:16:01
|
|
Fix typos in M32R local-elf.h endian definitions
|
|
2543c5a7
|
2009-07-17T13:37:38
|
|
Release libbsd 0.1.5
|
|
33ef70b9
|
2009-07-17T13:35:37
|
|
Add __pure2 dummy macro
|
|
8ef0ecdf
|
2009-07-17T13:34:30
|
|
Add more dummy id macros
|
|
66603975
|
2009-07-17T12:50:07
|
|
Fix typos in AVR32 and SH local-elf.h endian definitions
|
|
391c75b4
|
2009-05-29T02:48:00
|
|
Release libbsd 0.1.4
|
|
45783ae4
|
2009-05-29T02:45:54
|
|
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>
|
|
5902730a
|
2009-05-29T02:28:49
|
|
Create a relative symlink for .so if libdir and usrlibdir are the same
|
|
42601170
|
2009-05-25T10:02:26
|
|
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.
|
|
0bd48c4a
|
2009-05-25T09:57:14
|
|
Preserve the variables unexpanded in the pkg-config file
|
|
d03b2b07
|
2009-05-25T09:37:39
|
|
Release libbsd 0.1.3
|
|
cb1346e5
|
2009-05-25T09:25:13
|
|
Export public functions as extern C
|