Log

Author Commit Date CI Message
Guillem Jover 1f0b0b23 2010-01-30T22:40:01 build: Use CCLD instead of hardcoded gcc for linking
Guillem Jover 32d79b03 2010-01-30T22:39:18 build: By default set CC to gcc
Eric Smith 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.
Guillem Jover 11f2c32d 2010-01-30T22:00:18 Fix setprogname to strip leading paths from progname
Guillem Jover 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>
Guillem Jover 2872bfa1 2010-01-10T01:41:27 Add vis and unvis man pages Taken from OpenBSD.
Guillem Jover e544a41f 2010-01-10T01:37:18 Add dehumanize_number man page link
Guillem Jover 7b3873bc 2010-01-10T01:35:27 Update vis and unvis modules from OpenBSD
Guillem Jover 8103fe14 2010-01-10T01:33:07 Update strlcat and strlcpy from OpenBSD
Guillem Jover ddebbd67 2010-01-10T12:04:03 Release libbsd 0.2.0
Guillem Jover abe0a4a7 2010-01-10T11:02:13 Reformat code to KNF
Guillem Jover d63e0813 2010-01-10T00:57:07 Add arc4random_buf and arc4random_uniform functions Update arc4random module from FreeBSD.
Guillem Jover 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.
Guillem Jover 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.
Guillem Jover 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.
Guillem Jover 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.
Guillem Jover 98a2479f 2010-01-09T23:49:32 Add flopen function Taken from FreeBSD.
Guillem Jover 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.
Guillem Jover 9396cc62 2010-01-09T19:56:45 build: Do not duplicate generated filenames in several variables
Guillem Jover 7a70f1b0 2009-12-11T23:24:31 Move fmtcheck and fgetln declarations to <bsd/stdio.h> This is were they are located on the BSDs.
Guillem Jover ca28f280 2009-12-11T23:21:14 Move setmode and getmode declarations to <bsd/unistd.h> This is were they are located on the BSDs.
Guillem Jover 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.
Guillem Jover 3c9182b8 2009-12-11T23:12:26 Move arc4random declarations to <bsd/stdlib.h> This is were they are located on the BSDs.
Guillem Jover 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.
Guillem Jover 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.
Guillem Jover 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.
Guillem Jover 183cc3cb 2009-12-11T21:31:48 Correct library name in man pages
Thorsten Glaser 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>
Thorsten Glaser 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>
Thorsten Glaser 27842d7f 2009-12-10T21:00:45 Track bug IDs for __unused collision Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Guillem Jover c5398adf 2009-10-24T00:19:47 Add readpassphrase function Taken from OpenBSD.
Guillem Jover 538bc879 2009-10-24T00:17:57 Add dehumanize_number function Taken from NetBSD.
Guillem Jover 04250f6a 2009-10-24T00:15:57 Add strnvis and strnunvis functions Taken from OpenBSD.
Guillem Jover 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>.
Guillem Jover 614eb040 2009-10-12T01:43:02 Add new <bsd/sys/tree.h> header
Guillem Jover 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>.
Guillem Jover 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>.
Guillem Jover e51be45c 2009-10-12T01:43:52 Update <sys/queue.h> Taken from FreeBSD.
Guillem Jover 56ddcfe6 2009-10-11T21:07:53 Add strtonum function Taken from FreeBSD.
Guillem Jover 1bf8b96a 2009-10-24T01:06:09 Do not append a slash after DESTDIR
Guillem Jover 16e6ac99 2009-10-11T20:54:23 Update git web interface URL FreeDesktop.Org switched from gitweb to cgit.
Guillem Jover 56f2e55b 2009-08-30T12:18:11 Release libbsd 0.1.6
Hirokazu Takata 5ac14531 2009-08-30T12:16:01 Fix typos in M32R local-elf.h endian definitions
Guillem Jover 2543c5a7 2009-07-17T13:37:38 Release libbsd 0.1.5
Guillem Jover 33ef70b9 2009-07-17T13:35:37 Add __pure2 dummy macro
Guillem Jover 8ef0ecdf 2009-07-17T13:34:30 Add more dummy id macros
Nobuhiro Iwamatsu 66603975 2009-07-17T12:50:07 Fix typos in AVR32 and SH local-elf.h endian definitions
Guillem Jover 391c75b4 2009-05-29T02:48:00 Release libbsd 0.1.4
Guillem Jover 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>
Guillem Jover 5902730a 2009-05-29T02:28:49 Create a relative symlink for .so if libdir and usrlibdir are the same
Guillem Jover 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.
Guillem Jover 0bd48c4a 2009-05-25T09:57:14 Preserve the variables unexpanded in the pkg-config file
Guillem Jover d03b2b07 2009-05-25T09:37:39 Release libbsd 0.1.3
Guillem Jover cb1346e5 2009-05-25T09:25:13 Export public functions as extern C
Guillem Jover 61fa98ea 2009-05-25T09:12:45 Add missing <stdarg.h> include in <bsd/err.h>
Guillem Jover 931e0434 2009-05-25T08:56:34 Add new __RCSID macro Define it to nothing, so that source imported from BSDs can be easily compiled w/o needing to modify them.
Guillem Jover f984a700 2009-05-25T06:57:50 Release libbsd 0.1.2
Guillem Jover 326a3a76 2009-05-25T06:57:03 Install humanize_number(3) man page
Guillem Jover e4aff3d9 2009-05-25T06:41:42 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.
Gerardo Exequiel Pozzi c3feeb00 2009-05-22T20:44:35 Add some man page links Add man page links for strlcat, getmode and arc4random_*. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Guillem Jover 80c3954e 2009-05-25T06:23:01 Use the correct path when including a.out.h Reported-by: Aurélien Jarno <aurelien@aurel32.net>
Guillem Jover 4c3e03ef 2009-05-25T06:22:22 Add man/md5.3bsd to .gitignore
Guillem Jover 9b30dae9 2009-05-21T05:04:09 Fix typos (‘ELFDATA2MSG’ → ‘ELFDATA2MSB’)
Guillem Jover 25dd60b9 2009-05-20T05:14:32 Release libbsd 0.1.1
Guillem Jover 5b16707e 2009-05-20T05:13:31 Install nlist header and man page
Guillem Jover 1f0b016e 2009-05-20T04:20:21 Use UTF-8 copyright symbols for non-imported files
Guillem Jover dcaec44a 2009-05-20T04:11:57 Add nlist function
Guillem Jover 8dbfb352 2009-05-15T21:40:45 Add strmode function
Guillem Jover 74ae34e7 2009-05-15T21:26:09 Fix buffer leaks in fgetln Cache the size and the buffer allocated by getline as static variables.
Guillem Jover deb9f56c 2009-05-15T21:23:03 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>
Guillem Jover aefc6f44 2008-07-26T22:42:39 Do not include .gitignore in the dist tarball
Guillem Jover f2d93325 2008-07-26T22:39:29 Install md5.3 as md5.3bsd This man page is pretty common in other source projects, so we use a suffix to distinguish it.
Guillem Jover 5e1a7821 2008-07-26T22:36:14 Add a TODO list
Guillem Jover 4c9c8ed7 2008-07-26T22:35:31 Add a new header file to expose inet_net_pton prototype
Guillem Jover 6dc84320 2008-07-26T22:25:22 Add a micro version part
Guillem Jover acc23243 2008-07-12T08:00:17 Unify description
Guillem Jover 9a2b946f 2008-07-12T07:59:14 Move LIB_PKGCONFIG dependency to the libs target
Guillem Jover ad52f2eb 2008-07-12T07:55:57 Use sigprocmask instead of _sigprocmask
Guillem Jover 2729ca82 2008-07-12T07:53:03 Define default CFLAGS overridable by the environment
Guillem Jover 83210a83 2008-07-12T07:48:10 Switch remaining variables to single expanded ones
Guillem Jover 69c94c50 2008-07-12T07:46:53 Remove useless comment header
Guillem Jover 2d5c088a 2008-07-12T07:46:37 Move each groups of related files to their own line
Guillem Jover 3de930e6 2008-07-12T07:41:07 Make action targets PHONY
Guillem Jover e9cb0d1c 2008-07-12T07:37:13 New README file
Guillem Jover 87d6d656 2008-07-12T07:31:59 Automatically generate libbsd.pc from libbsd.pc.in
Guillem Jover ff8539bc 2008-07-12T07:29:24 Add new path variables
Guillem Jover 8c7f053a 2008-07-12T07:00:19 Automatically generate the ChangeLog on 'make dist'
Guillem Jover c1615a50 2008-07-12T06:46:18 Define a LIB_PKGCONFIG variable
Guillem Jover e42791d0 2008-07-12T06:41:10 Move filename related variables to the beginning of the file Switch them to single expanded varibles.
Guillem Jover 1e1ab187 2008-07-12T06:35:45 Define a LIB_VERSION variable
Guillem Jover ba7ece77 2008-07-09T09:25:34 Create an armored detached signature on 'make dist'
Guillem Jover 84d311d0 2008-07-09T09:07:58 Remove link_addr and link_ntoa symbols from the version script
Guillem Jover 38829bdc 2008-07-09T09:07:03 Add new setmode and getmode functions from FreeBSD
Guillem Jover a5f7d1a8 2008-07-09T09:04:51 Include the rest of the header files
Guillem Jover 8b95dc58 2008-07-09T09:04:27 Disable __bounded__ __attribute__
Guillem Jover 96358a2a 2008-07-09T08:47:09 Add support for 'make dist'
Guillem Jover fafffd1f 2008-07-09T08:26:07 fgetln: Fix coding style
Guillem Jover 47109e39 2008-07-09T08:22:30 fgetln: Fix function to make it actually work Reported by Thorsten Glaser.
Guillem Jover da92787d 2008-07-09T07:46:23 Ansify function arguments
Guillem Jover fc163cee 2008-07-09T07:23:49 Move version and library name to the beginning of the file