Commit graph

34 commits

Author SHA1 Message Date
joerg
0268c554bd Remove @dirrm entries from PLISTs 2009-06-14 17:38:38 +00:00
schmonz
35e0f4f7cc Update to 1.106. From the changelog:
- Fixed installation of msg/debug.h header file.
- Fixed envstr_unset to remove all instances of the given name.
- Added sysdep for d_ino and d_type in struct dirent.
- Fixed the path_match function to match filenames containing pattern
    characters (ie [filename] etc) the same way shells do.
- Files generated by cli-generate now indicate the source .cli file.
- Fixed the debug messages to not enable any by default.
- Modified the build procedure to build all sources with libtool.
    This should fix problems with parallel make.
2009-04-07 02:59:04 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
schmonz
89baa3dc3b Bump default BUILDLINK_API_DEPENDS to 1.104 (the latest). 2008-04-12 20:56:25 +00:00
schmonz
2cca0ba1ce 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.
2008-04-10 03:20:49 +00:00
schmonz
64393ea2a7 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.
2008-04-04 16:23:27 +00:00
markd
68f0f6eced Fix Solaris issues by linking socket libraries where required.
OKed schmonz.
2006-12-29 22:00:17 +00:00
schmonz
86320ee816 The self-tests fail on OS X. This may or may not be a real problem,
but the test suite returning a error code before install definitely
is. Make the tests available via TEST_TARGET instead of as part of
the default build, fixing installation on OS X. Bump BUILDLINK_API_DEPENDS
to the version most bgware wants these days.

No change to installed package, hence no PKGREVISION.
2006-12-28 03:20:32 +00:00
schmonz
0a41fc4f96 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.
2006-11-07 08:06:32 +00:00
schmonz
d1b23714b0 Bump default dependency so dependent packages get shared bglibs. 2006-08-02 02:30:28 +00:00
schmonz
a0aa1134a5 Update to 1.100. From the changelog:
* This package now builds and installs as a shared library. Requires
    libtool to be installed.

- Added support to bg-installer for installing shared libraries
    with libtool.

- Fixed a bug in counting the length of signed and unsigned long
    long integers (0 was counted as having zero length).

- Fixed bug in error return of ibuf_openreadclose. Thanks Gerrit
    Pape.
2006-07-29 00:58:51 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
schmonz
cff4e9bbec Update to 1.041. From the changelog:
- Modified cli-generate to add man page and HTML output options, and
  more formatting commands.

- Tweaked the hmac_finish prototype to properly indicate that the
  midstate is const and unmodified by the function.
2006-03-23 20:17:10 +00:00
joerg
d2adabea21 Correctly depend on perl and embedded the right location into
cli-generate. Bump revision.
2006-02-24 14:55:45 +00:00
joerg
9d00248cf6 Correct checksum after warning. 2006-02-22 13:52:12 +00:00
joerg
b4ec054e1d 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@.
2006-02-22 13:46:19 +00:00
schmonz
b2bbb775e2 Update to 1.040 and fix pkglint warnings. From the changelog:
- Added cli-generate, a program to produce C header and source from
  command-line interface description files.

- Modified the crypto HMAC code to do precalculation of the intermediate
  hash results.

- Fixed base64 decoding on systems where char is unsigned by default.
  Thanks Gerrit Pape.

- Tweaked the ghash_add function to return a pointer to the newly
  created entry (since some uses will want to use it immediately).

- Stop blocking SIGSEGV with the sig_all_* functions, as this has
  resulted in bugs causing endless signal loops.
2006-02-20 02:59:51 +00:00
joerg
708cae052b Add missing CVS ID to manual patch. 2006-02-06 19:12:24 +00:00
joerg
b633f725fa When checking for CLOCK_REALTIME and friends, include sys/time.h for
DragonFly as well.
2006-01-24 21:50:30 +00:00
schmonz
aa90aa4e88 Update to 1.031. From the changelog:
- Added a RFC 2104 generic HMAC (keyed hashing for message
  authentication) routine to the crypto section, with control blocks for
  MD5, SHA1, SHA256, SHA384, and SHA512.

- Added support for UID and GID names (instead of just numbers) in
  bg-installer.
2005-12-02 17:18:05 +00:00
schmonz
a3c27f0aa2 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.
2005-11-21 06:07:35 +00:00
schmonz
f8a276d8d4 Add patch from author to fix the selfpipe test under some makes
(at least the one in SuSE Linux 9.2). Bump PKGREVISION.
2005-11-21 05:37:36 +00:00
schmonz
2b8e0c4858 Introduce DJB_MAKE_TARGETS boolean, on by default, off in the
following packages because they don't use "it" and "setup check"
as BUILD_TARGET and INSTALL_TARGET, respectively:

devel/bglibs
mail/mailfront
mail/qmail-qfilter
sysutils/memtester
sysutils/qlogtools

Since there's only one consumer of BGWARE_INSTALLER, and future
bgware will use bg-installer from bglibs, move the do-install
routine directly into qlogtools.
2005-08-24 04:47:10 +00:00
schmonz
69b41afe8c Update to 1.027. From the changelog:
- Fixed numberic export glitch in vpwentry_export.
- Fixed dependancies to let "make -j" work properly.
- Added some pre-computed .lib files (such as socket.lib).
2005-08-23 19:33:52 +00:00
schmonz
a04259642c Update to 1.026. From the changelog:
- Fixed negative indexing bugs in str_findprev* and ibuf_getstr_crlf
  functions. Thanks Gerrit Pape.

- Added the capability to bg-installer to optionally run commands based
  on the existance of the source (or another) file.

- Fixed bg-installer to not create directories in "dry-run" mode.
2005-08-19 20:46:45 +00:00
schmonz
4879c3a912 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.
2005-08-18 19:20:34 +00:00
schmonz
3528aeb78c 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.
2005-07-15 05:45:00 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
schmonz
0f55d7d583 Take advantage of mk/djbware.mk. 2005-03-23 00:51:09 +00:00
schmonz
21af779684 In packages with djb-style compile scripts, properly enquote ${CC}
and ${CFLAGS}. This fixes the build of net/djbdns, as well as any
other of these packages passing down PKG_SYSCONFDIR via CFLAGS, as
well as being more generally correct for arbitrary user-defined
CFLAGS. Suggested by jlam.

For consistency across djbware in pkgsrc:

* In math/djbfft's and sysutils/daemontools's do-configure targets,
  remove leading @ from ${ECHO} lines; from the former, also remove
  unneeded single quotes from one such line.

* Rename net/publicfile's pre-build and sysutils/service-config's
  post-patch targets to do-configure.

* In sysutils/checkpassword's do-configure target, reorder creation
  of conf-cc, conf-ld, and conf-home.

All of the affected packages have been verified to compile.

XXX These packages probably have enough build goo in common to
XXX warrant an mk/djbware.mk. I'll investigate this post-freeze.
2005-03-13 03:25:43 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
schmonz
17366ce0fa Initial import of bglibs, a collection of miscellaneous libraries
by Bruce Guenter. Required for the latest qmail-qfilter.
2004-12-21 00:12:29 +00:00