Commit graph

30 commits

Author SHA1 Message Date
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
tnn
23ff34e8fc Declare inline functions also as static. Fixes build with Sun Studio. 2009-02-27 14:35:25 +00:00
joerg
f605fec2db Mark as destdir ready. 2008-07-14 12:55:56 +00:00
apb
ab1b7cb653 HOMEPAGE= http://librsync.sourceforge.net/
The old web page at http://www.nongnu.org/rdiff-backup
reditrects to http://rdiff-backup.stanford.edu/, but that's
about rdiff-backup, not about librsync.
2008-04-22 18:17:35 +00:00
snj
10b5f45d07 As noted by Andreas Wrede in PR pkg/35677, librsync will stall on
transfers of files over 4 Gb, especially between 32 <-> 64 bit hosts.

Apply a fix from upstream CVS (slightly different in form from one of
the patches submitted in this PR).

Bump PKGREVISION.
2007-02-20 19:15:03 +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
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +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
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
wiz
f0d8b7c807 Reset maintainer to tech-pkg, since email bounced. 2005-07-14 13:52:13 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
adam
70291e1454 Changes 0.9.7:
* Yet more large file support fixes.
 * C++ support for easy #include <librsync.h> in C++.
 * Removed Debian files from dist tarball.
 * Changed rdiff to an installed program on "make install".
 * Refactored delta calculation code to be cleaner and faster.
 * #879763: Fixed mdfour to work on little-endian machines which don't
   like unaligned word access.  This should make librsync work on
   pa-risc, and it makes it slightly faster on ia64.
 * #1022764: Fix corrupted encoding of some COPY commands in large
   files.
 * #1024881: Print long integers directly, rather than via casts to
   double.
 * Fix printf formats for size_t: both the format and the argument
   should be cast to long.
2004-11-25 14:25:22 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
snj
e45a5ebc04 No longer used. 2004-04-18 23:32:12 +00:00
snj
21eba9bd2c Convert to buildlink3. 2004-04-18 23:31:34 +00:00
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
salo
f35979c642 PKGREVISION++ due to devel/popt update. 2003-11-12 01:31:47 +00:00
abs
9e2dfb9e02 Revert last - already fixed by seb. Do not bump PKGREVISION as
unnecessary in first place. Illumination provided by wiz.
2003-08-28 14:49:11 +00:00
abs
43f0d41853 Update librsync to 0.9.6nb1
Add missing entry to buildlink2.mk - from Sebastian Prause
2003-08-27 15:33:33 +00:00
seb
c0104fc17e Add missing include file to BUILDLINK_FILES.librsync. 2003-08-22 16:14:17 +00:00
abs
8544ac6e44 Update librsync to 0.9.6: - Required for updated rdiff-backup
* Large file support fixes.
    * [v]snprintf or _[v]snprintf autoconf replacement function fix.
    * Changed installed include file from rsync.h to librsync.h.
    * Migration to sourceforge for hosting.
    * Rollsum bugfix that produces much smaller deltas.
    * Memory leaks bugfix patches.
    * mdfour bigendian and >512M bugfix, plus optimisations patch.
    * autoconf/automake updates and cleanups for autoconf 2.53.
    * Windows compilation patch, heavily modified.
    * MacOSX compilation patch, modified to autoconf vararg macro fix.
    * Debian package build scripts patch.
2003-08-14 12:02:04 +00:00
martti
e69ab8c365 COMMENT should start with a capital letter. 2003-07-21 16:35:12 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
agc
582c3f53ca Add a buildlink2 file for this package. 2002-10-15 13:55:46 +00:00
agc
b8e98b26ad Initial import of librsync-0.9.5.1 into the NetBSD Packages Collection.
Provided in PR 18576 by "David S." <dgs@malign.rad.washington.edu>

Librsync is a library for calculating and applying network deltas,
with an interface designed to ease integration into diverse network
applications.  Librsync encapsulates the core algorithms of the rsync
protocol, which help with efficient calculation of the differences
between two files.  The rsync algorithm is different from most
differencing algorithms because it does not require the presence of
the two files to calculate the delta.  Instead, it requires a set of
checksums of each block of one file, which together form a signature
for that file.  Blocks at any point in the other file which have the
same checksum are likely to be identical, and whatever remains is the
difference.
2002-10-15 13:49:19 +00:00