Aurelien Jarno
acb7c42d7c
Add reallocf function
2011-02-23 14:44:37 +01:00
Guillem Jover
06a60a166a
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>
2010-01-31 14:13:24 +01:00
Guillem Jover
51863b6cf9
build: Use new AR variable instead of hardcoded command
2010-01-30 22:43:56 +01:00
Guillem Jover
08afd5d4c9
build: Refactor COMPILER and LINK commands into new variables
2010-01-30 22:42:00 +01:00
Guillem Jover
1f0b0b23cd
build: Use CCLD instead of hardcoded gcc for linking
2010-01-30 22:40:01 +01:00
Guillem Jover
32d79b0310
build: By default set CC to gcc
2010-01-30 22:39:18 +01:00
Eric Smith
cd730a02c3
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.
2010-01-30 22:13:18 +01:00
Guillem Jover
ddebbd6792
Release libbsd 0.2.0
2010-01-10 15:29:51 +01:00
Guillem Jover
2872bfa151
Add vis and unvis man pages
...
Taken from OpenBSD.
2010-01-10 15:29:51 +01:00
Guillem Jover
e544a41f62
Add dehumanize_number man page link
2010-01-10 15:29:51 +01:00
Guillem Jover
d63e081303
Add arc4random_buf and arc4random_uniform functions
...
Update arc4random module from FreeBSD.
2010-01-10 15:29:50 +01:00
Guillem Jover
3fed78e5b0
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.
2010-01-10 15:29:50 +01:00
Guillem Jover
2a81893cc0
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.
2010-01-10 15:29:46 +01:00
Guillem Jover
98a2479f0b
Add flopen function
...
Taken from FreeBSD.
2010-01-10 13:36:38 +01:00
Guillem Jover
57cc5326cf
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.
2010-01-10 13:36:38 +01:00
Guillem Jover
9e4adc4633
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.
2010-01-10 13:36:38 +01:00
Guillem Jover
db406fe24c
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.
2010-01-10 13:36:35 +01:00
Guillem Jover
9396cc62cf
build: Do not duplicate generated filenames in several variables
2010-01-09 19:56:45 +01:00
Guillem Jover
7a70f1b019
Move fmtcheck and fgetln declarations to <bsd/stdio.h>
...
This is were they are located on the BSDs.
2009-12-12 01:13:29 +01:00
Guillem Jover
ca28f28046
Move setmode and getmode declarations to <bsd/unistd.h>
...
This is were they are located on the BSDs.
2009-12-12 01:11:56 +01:00
Guillem Jover
c5398adfe2
Add readpassphrase function
...
Taken from OpenBSD.
2009-12-10 20:54:03 +01:00
Guillem Jover
538bc87998
Add dehumanize_number function
...
Taken from NetBSD.
2009-12-10 20:54:00 +01:00
Guillem Jover
5c078ce2f5
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>.
2009-10-24 01:47:26 +02:00
Guillem Jover
614eb0402a
Add new <bsd/sys/tree.h> header
2009-10-24 01:47:25 +02:00
Guillem Jover
b6e8469059
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>.
2009-10-24 01:47:25 +02:00
Guillem Jover
d3e14ea99e
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>.
2009-10-24 01:47:22 +02:00
Guillem Jover
56ddcfe65a
Add strtonum function
...
Taken from FreeBSD.
2009-10-24 01:11:23 +02:00
Guillem Jover
1bf8b96ac8
Do not append a slash after DESTDIR
2009-10-24 01:11:23 +02:00
Guillem Jover
56f2e55b7a
Release libbsd 0.1.6
2009-08-30 12:18:28 +02:00
Guillem Jover
2543c5a78b
Release libbsd 0.1.5
2009-07-17 13:37:38 +02:00
Guillem Jover
391c75b427
Release libbsd 0.1.4
2009-05-29 02:48:00 +02:00
Guillem Jover
5902730a03
Create a relative symlink for .so if libdir and usrlibdir are the same
2009-05-29 02:28:49 +02:00
Guillem Jover
42601170ac
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.
2009-05-25 10:02:26 +02:00
Guillem Jover
0bd48c4a4d
Preserve the variables unexpanded in the pkg-config file
2009-05-25 09:57:14 +02:00
Guillem Jover
d03b2b07fc
Release libbsd 0.1.3
2009-05-25 09:37:39 +02:00
Guillem Jover
f984a7006b
Release libbsd 0.1.2
2009-05-25 06:57:50 +02:00
Guillem Jover
326a3a7619
Install humanize_number(3) man page
2009-05-25 06:57:03 +02:00
Gerardo Exequiel Pozzi
c3feeb0092
Add some man page links
...
Add man page links for strlcat, getmode and arc4random_*.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-05-25 06:32:45 +02:00
Guillem Jover
25dd60b9cc
Release libbsd 0.1.1
2009-05-20 05:14:32 +02:00
Guillem Jover
5b16707e95
Install nlist header and man page
2009-05-20 05:13:31 +02:00
Guillem Jover
dcaec44a6f
Add nlist function
2009-05-20 04:14:19 +02:00
Guillem Jover
8dbfb3529b
Add strmode function
2009-05-20 04:14:07 +02:00
Guillem Jover
aefc6f441a
Do not include .gitignore in the dist tarball
2008-07-26 22:42:39 +03:00
Guillem Jover
f2d93325e6
Install md5.3 as md5.3bsd
...
This man page is pretty common in other source projects, so we use a
suffix to distinguish it.
2008-07-26 22:39:29 +03:00
Guillem Jover
4c9c8ed74c
Add a new header file to expose inet_net_pton prototype
2008-07-26 22:35:31 +03:00
Guillem Jover
6dc84320cc
Add a micro version part
2008-07-26 22:25:22 +03:00
Guillem Jover
9a2b946fce
Move LIB_PKGCONFIG dependency to the libs target
2008-07-12 08:09:09 +03:00
Guillem Jover
2729ca824d
Define default CFLAGS overridable by the environment
2008-07-12 08:09:09 +03:00
Guillem Jover
83210a83a4
Switch remaining variables to single expanded ones
2008-07-12 08:09:09 +03:00
Guillem Jover
69c94c50d9
Remove useless comment header
2008-07-12 08:09:09 +03:00