head 1.11; access; symbols pkgsrc-2013Q2:1.11.0.18 pkgsrc-2013Q2-base:1.11 pkgsrc-2012Q4:1.11.0.16 pkgsrc-2012Q4-base:1.11 pkgsrc-2011Q4:1.11.0.14 pkgsrc-2011Q4-base:1.11 pkgsrc-2011Q2:1.11.0.12 pkgsrc-2011Q2-base:1.11 pkgsrc-2009Q4:1.11.0.10 pkgsrc-2009Q4-base:1.11 pkgsrc-2008Q4:1.11.0.8 pkgsrc-2008Q4-base:1.11 pkgsrc-2008Q3:1.11.0.6 pkgsrc-2008Q3-base:1.11 cube-native-xorg:1.11.0.4 cube-native-xorg-base:1.11 pkgsrc-2008Q2:1.11.0.2 pkgsrc-2008Q2-base:1.11 pkgsrc-2008Q1:1.9.0.12 pkgsrc-2008Q1-base:1.9 pkgsrc-2007Q4:1.9.0.10 pkgsrc-2007Q4-base:1.9 pkgsrc-2007Q3:1.9.0.8 pkgsrc-2007Q3-base:1.9 pkgsrc-2007Q2:1.9.0.6 pkgsrc-2007Q2-base:1.9 pkgsrc-2007Q1:1.9.0.4 pkgsrc-2007Q1-base:1.9 pkgsrc-2006Q4:1.9.0.2 pkgsrc-2006Q4-base:1.9 pkgsrc-2006Q3:1.8.0.6 pkgsrc-2006Q3-base:1.8 pkgsrc-2006Q2:1.8.0.4 pkgsrc-2006Q2-base:1.8 pkgsrc-2006Q1:1.8.0.2 pkgsrc-2006Q1-base:1.8 pkgsrc-2005Q4:1.5.0.2 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.3.0.2 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.1.1.1.0.4 pkgsrc-2005Q2-base:1.1.1.1 pkgsrc-2005Q1:1.1.1.1.0.2 pkgsrc-2005Q1-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.11 date 2008.04.10.03.20.49; author schmonz; state dead; branches; next 1.10; 1.10 date 2008.04.04.16.23.27; author schmonz; state Exp; branches; next 1.9; 1.9 date 2006.11.07.08.06.32; author schmonz; state dead; branches; next 1.8; 1.8 date 2006.02.22.13.46.19; author joerg; state Exp; branches; next 1.7; 1.7 date 2006.02.06.19.12.24; author joerg; state Exp; branches; next 1.6; 1.6 date 2006.01.24.21.50.30; author joerg; state Exp; branches; next 1.5; 1.5 date 2005.11.21.06.07.35; author schmonz; state dead; branches; next 1.4; 1.4 date 2005.11.21.05.37.36; author schmonz; state Exp; branches; next 1.3; 1.3 date 2005.08.18.19.20.34; author schmonz; state dead; branches; next 1.2; 1.2 date 2005.07.15.05.45.00; author schmonz; state Exp; branches; next 1.1; 1.1 date 2004.12.21.00.12.29; author schmonz; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2004.12.21.00.12.29; author schmonz; state Exp; branches; next ; desc @@ 1.11 log @Update to 1.104. From the changelog: - Fixed several typos in the installation files. - Renamed some files that differed only in upper/lower case. This should fix building on OSX. @ text @$NetBSD: patch-aa,v 1.10 2008/04/04 16:23:27 schmonz Exp $ --- INSTHIER.orig 2008-04-02 19:42:02.000000000 -0400 +++ INSTHIER @@@@ -158,7 +158,7 @@@@ d:::755:cli s::::cli:cli.a:../libbg-cli.a d:::755:crypto -s::::crypto:md5:../libbg-crypto.a +s::::crypto:md5.a:../libbg-crypto.a s::::crypto:sha1.a:../libbg-crypto.a s::::crypto:sha256.a:../libbg-crypto.a s::::crypto:sha512a.a:../libbg-crypto.a @ 1.10 log @Update to 1.103. From the changelog: - Added two missing header files: fmt/misc.h and fmt/multi.h - Added a ghash_set function (like ghash_add, but overwrites). - Added a set of "signalfd" functions as a generic self-pipe setup. - Added a random number generator based on SURF. @ text @d1 1 a1 1 $NetBSD$ @ 1.9 log @Update to 1.102. From the changelog: - Fixed a bug in resolve_ipv4name_n: when handling multiple IPs, it would always copy the first one multiple times. - Added more conversions to fmt_multi: S - formats a str m - formats the result of strerror(errno) - Fixed include compatibility problem in sys/tryclockgettime.c. Thanks Amitai Schlair - Added sysdep for __attribute__. - Marked some symbols as "weak" to prevent link errors if they aren't defined by programs using -lbg. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.8 2006/02/22 13:46:19 joerg Exp $ d3 11 a13 11 This patch is a context diff to hack around bugs in GNU patch. *** sys/tryclockgettime.c.orig Wed Feb 22 14:38:44 2006 --- sys/tryclockgettime.c Wed Feb 22 14:40:04 2006 *************** *** 2,3 **** --- 2,4 ---- + #include #include int main(void) @ 1.8 log @GNU patch seems to be too stupid to deal with the unified diff version of patch-aa, so convert it into a context diff. Found on OS X by schmonz@@. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.7 2006/02/06 19:12:24 joerg Exp $ @ 1.7 log @Add missing CVS ID to manual patch. @ text @d1 1 a1 1 $NetBSD$ d3 11 a13 7 --- sys/tryclockgettime.c.orig 2006-01-24 20:56:01.000000000 +0000 +++ sys/tryclockgettime.c 2006-01-24 20:55:51.000000000 +0000 @@@@ -2,3 +2,4 @@@@ +#include #include int main(void) @ 1.6 log @When checking for CLOCK_REALTIME and friends, include sys/time.h for DragonFly as well. @ text @d1 2 @ 1.5 log @Update to 1.028. From the changelog: - Added sysdep for dynamic linker functions (dlopen etc). - Fixed bug in self test for unix/selfpipe.c that caused problems with running make. - Switched from standard GPL to LGPL-2.1 license. @ text @d1 7 a7 26 $NetBSD: patch-aa,v 1.4 2005/11/21 05:37:36 schmonz Exp $ --- unix/selfpipe.c.orig 2005-08-23 14:23:05.000000000 -0400 +++ unix/selfpipe.c @@@@ -75,17 +75,18 @@@@ MAIN { int buf; int fd = selfpipe_init(); + pid_t pid = getpid(); puti("FD[0] >= 0", fds[0] >= 0); puti("FD[1] >= 0", fds[1] >= 0); puti("FD[0] != FD[1]", fds[0] != fds[1]); puti("Returned FD == FD[0]", fd == fds[0]); puti("read before SIGCHLD", read(fd, &buf, sizeof buf)); puti("errno is EAGAIN", errno == EAGAIN); - kill(0, SIGCHLD); + kill(pid, SIGCHLD); puti("read after SIGCHLD", read(fd, &buf, sizeof buf)); puti("second read", read(fd, &buf, sizeof buf)); - kill(0, SIGCHLD); - kill(0, SIGCHLD); + kill(pid, SIGCHLD); + kill(pid, SIGCHLD); puti("read after two SIGCHLDs", read(fd, &buf, sizeof buf)); puti("second read", read(fd, &buf, sizeof buf)); selfpipe_close(); @ 1.4 log @Add patch from author to fix the selfpipe test under some makes (at least the one in SuSE Linux 9.2). Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Update to 1.025. From the changelog: - Added the capability to bg-installer to handle multiple destinations within the same source list. - Renamed the "setmode" function in bg-installer that was causing compile problems on *BSD systems. - Added a sysdep for struct timespec and clock_gettime, which are defined if not present. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.2 2005/07/15 05:45:00 schmonz Exp $ d3 3 a5 9 --- bg-installer.c.orig 2005-07-11 00:47:35.000000000 -0400 +++ bg-installer.c @@@@ -151,7 +151,7 @@@@ static void show(char type, unsigned uid obuf_endl(&outbuf); } -static void setmode(const char* filename, +static void bgsetmode(const char* filename, unsigned uid, unsigned gid, unsigned mode) d7 20 a26 19 if (chown(filename, uid, gid) != 0) @@@@ -201,7 +201,7 @@@@ static void c(unsigned uid, unsigned gid if (!ibuf_copytofd(&in, out) || close(out) != 0) diefsys(1, "{Could not write '}s{'}", pathtmp.s); - setmode(pathtmp.s, uid, gid, mode); + bgsetmode(pathtmp.s, uid, gid, mode); if (rename(pathtmp.s, path.s) != 0) diefsys(1, "{Could not rename '}s{' to '}s{'}", pathtmp.s, path.s); ibuf_close(&in); @@@@ -224,7 +224,7 @@@@ static void d(unsigned uid, unsigned gid } else if (!S_ISDIR(st.st_mode)) dief(1, "{Path '}s{' exists but is not a directory}", path.s); - setmode(path.s, uid, gid, mode); + bgsetmode(path.s, uid, gid, mode); } if (opt_check) { @ 1.2 log @Update to 1.024. From the changelog: - Fixed (again) glob patterns to allow both "!" (like modern glob) or "^" (like existing shells) for negating character sets. - Tweaked str_alloc to use realloc when appropriate. - Fixed glob pattern matches to use "!" instead of "~" for negating character sets like all other globs use. - Fixed the installer libraries to include all the necessary object files for producing the installer/instcheck/instshow programs. - Added a generic installer program, similar to the "install" program included with ezmlm. - Fixed the instshow library to use and dispaly the install prefix just like the other instlib programs. - The installers now automatically create missing directories, and installs into temporary files that get renamed. - Added path_mkdirs function. - Fixed typo bug in str_catfv and str_copyfv that caused failures on (at least) PPC and S390 architectures. Thanks Gerrit Pape. - Fixed 32-to-64 bit sign extension bug in fmt_multi on some 64-bit platforms. Thanks Gerrit Pape. - installer/instcheck program libraries now optionally install into a prefix directory specified on the command line or with $install_prefix (which can be set on the make command line). - Installation is now done under seperate include/lib directories. - Added sysdep for "extern int daylight" (replaced by a macro if not present). - Fixed a couple of length counting bugs in the fmt number code. - Added multiple-item formatting functions fmt_multi (similar to printf, but safer), fmt_multiv, obuf_putf, str_catf, and str_copyf, as well as a set of formatted message functions. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Initial revision @ text @d3 5 a7 3 --- insthier.c.orig 2004-11-15 15:50:28.000000000 -0500 +++ insthier.c @@@@ -15,7 +15,7 @@@@ void insthier(void) d9 21 a29 15 bin = d(home, "bin", -1, -1, 0755); - inc = d(home, "include", -1, -1, 0755); + inc = d(home, "include/bglibs", -1, -1, 0755); cf(inc, "installer.h", -1, -1, 0644, "install/installer.h"); C(inc, sysdeps.h); @@@@ -111,7 +111,7 @@@@ void insthier(void) CF(vmailmgr, client.h); CF(vmailmgr, vpwentry.h); - lib = d(home, "lib", -1, -1, 0755); + lib = d(home, "lib/bglibs", -1, -1, 0755); c(lib, "libbg.a", -1, -1, 0644); d31 1 @ 1.1.1.1 log @Initial import of bglibs, a collection of miscellaneous libraries by Bruce Guenter. Required for the latest qmail-qfilter. @ text @@