Commit graph

54 commits

Author SHA1 Message Date
joerg
368d71b62e Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions. 2009-04-09 00:48:06 +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
joerg
440525b2cc No inttypes.h on SFU. From Hiroyuki Bessho in PR 40451. 2009-02-03 18:26:50 +00:00
joerg
95d38851cf Improve linux compat. From christos@. 2008-12-17 16:50:24 +00:00
dsainty
95db845e8d On Linux systems, don't use ext2_fs.h features if we don't have the header.
Fixes build of pkgsrc/archivers/bsdtar on some systems, no functional change
intended on systems that already successfully built.

Ok'd during freeze by joerg@ and agc@
2008-09-24 13:53:13 +00:00
joerg
489db20e86 Update libarchive and bsdtar to 2.5.5.
This further polishes bsdcpio and brings in a number of portability
fixes.

Revert temporary hack to not use vfork on IRIX.
2008-07-14 14:56:50 +00:00
joerg
7527c57d09 Merge changes from libarchive-2.5.5. 2008-07-14 14:54:31 +00:00
joerg
3ef5ccde2c Import libarchive-2.5.5. 2008-07-14 14:52:33 +00:00
joerg
5664f05a84 Add a temporary workaround for missing vfork on IRIX.
Fixes PR 38674, tested by tnn@.
2008-07-13 14:25:04 +00:00
joerg
ba5277fc06 Apply change 142573 from Perforce master:
Don't use case '1' ... '9', not ISO C.
2008-05-30 09:39:09 +00:00
joerg
de882dbdf9 Apply change 142518 from Perforce master to fix PR 38787:
Minor portability enhancement; define REG_BASIC if it's not
	 already defined.
2008-05-29 17:26:07 +00:00
joerg
bbbef11745 Update build glue for libarchive 2.5.4b. 2008-05-25 19:50:05 +00:00
joerg
8132a43ade Resolve conflicts. 2008-05-25 19:45:02 +00:00
joerg
02817a895b Import libarchive-2.5.4b. Major changes:
- much improved mtree support
- fix a number of non-exploitable integer and buffer overflows
- bsdtar get -s and SIGINFO/SIGUSR1 support
- fix hardlink extraction bug where latter hardlinks would overwrite the
  permissions of earlier entries even when they don't carry data
- fix bsdtar crashes on entries with empty filenames
2008-05-25 19:41:18 +00:00
joerg
dd46ea801f Update to libarchive-2.5.1b:
- Simplify character-translation logic.

pkgsrc:
Fix a bug in the linkresolver for tar format. When linkresolver is done,
the entry belongs to the caller, so don't keep a reference to it and use
the local copy for inode comparision.
2008-04-25 15:27:30 +00:00
joerg
65a789b8e7 Import libarchive-2.5.1b. 2008-04-25 15:07:17 +00:00
joerg
7de33aaac0 Fix builtin.mk for libarchive-2.5.0 and newer. 2008-04-11 20:37:06 +00:00
joerg
63350be898 Update libarchive and bsdtar to 1.5.0b.
- Improve hardlink handling of hardlinks in bsdcpio
- Extend linkify to handle all sane hardlink strategies
- Improve mtree support
- Make bsdtar and bsdcpio more like the NetBSD counterparts
- Drop uudecode dependency.
2008-03-29 14:41:01 +00:00
joerg
b79b94d318 Import libarchive-2.5.0b. 2008-03-29 14:34:00 +00:00
joerg
e0394bac7c Update to bsdtar-2.4.14 and libarchive-2.4.14. 2008-03-15 11:05:29 +00:00
joerg
c6d3f3d4a5 libarchive-2.4.14:
Fix mix-up of gname and uname on one place when writing pax archives.
Reported by tron@.
2008-03-15 10:52:20 +00:00
joerg
a91b2e794d Update build infrastructure for libarchive-2.4.13. 2008-02-26 13:54:14 +00:00
joerg
a16bb89200 Import libarchive-2.4.13. This brings a number of bugfixes, support for
more ZIP archives and a more complete cpio frontend.
2008-02-26 13:09:20 +00:00
joerg
9d0a207b56 Update to libarchive-2.4.0:
- portability fixes
- run format auction only once, simpler and more reliable
- speed up handling of uncompressed archives
- fix skipping of archive entries of exactly 4GB size on 32bit platforms
- fix reading files > 8 GB from tar archives
- many improvements for bsdcpio
2007-11-30 21:32:27 +00:00
joerg
00794f95ab Merge changes. 2007-11-30 21:29:06 +00:00
joerg
dbf9c010bd Import libarchive-2.4.0 2007-11-30 21:25:12 +00:00
joerg
21e04c04e3 Update libarchive to 2.2.8:
- bsdcpio now supports most of the older SUSv2 specs [not default yet]
- mtree reader to specify file arguments (experimental)
- handle gtar 1.17 sparse files (instead of the older 1.16)
- refined suid/sgid handling: it is optional if the bits can't be reset
  if owner restore is also not requested
- fixes for QNX from Sean Boudreau
2007-09-15 11:50:58 +00:00
joerg
0b70660c7a Import libarchive-2.2.8 2007-09-15 11:39:49 +00:00
joerg
b62131d7a8 Switch to in-tree libarchive-2.2.6. 2007-08-13 18:24:43 +00:00
joerg
e8b53a3960 Update in-tree libarchive to 2.2.6. This merges the local changes
and some bugfixes from FreeBSD.
2007-08-13 18:17:26 +00:00
joerg
d401093c27 Import libarchive-2.2.5 with three modifications sent upstream:
- optional building of bsdtar
- optional dynamic linkage of bsdtar
- fixed libtool use for bsdtar linkage
- include of pre-built getdate.c
2007-08-03 12:55:52 +00:00
joerg
427f8d80bb Add builtin detection for libarchive 1.3 and later. 2007-08-03 11:18:33 +00:00
joerg
55d26dcac8 Update libarchive to 2.2.5. Biggest changes are:
- massive performance improvements, up to 40% for bsdtar compared to 1.x
- support for external (de)compressors, ar-chives and many other goodies.
2007-07-29 17:35:14 +00:00
lkundrak
47425214bb Fix for FreeBSD-SA-07:05.libarchive CVE-2007-3641, CVE-2007-3644 and
CVE-2007-3645.  PKGREVISION bump.
2007-07-13 09:26:31 +00:00
xtraeme
9c90393702 Add this, required by a new pkg. 2007-02-20 23:16:18 +00:00
joerg
aea9f31ecd DESTDIR support. 2006-11-14 13:50:13 +00:00
adrianp
52b0fc8fd3 Update to 1.3.1
Sep 05, 2006: libarchive 1.3.1 released
Sep 5, 2006: Bump version to 1.3 for new I/O wrappers.
Sep 4, 2006: New memory and FILE read/write wrappers.
Sep 4, 2006: libarchive test harness is now minimally functional;
    it's located a few minor bugs in error-handling logic

Fix a denial of service security issue via FreeBSD:
If the end of an archive is reached while attempting to "skip" past a
region of an archive, libarchive will enter an infinite loop wherein it
repeatedly attempts (and fails) to read further data.
2006-11-10 00:29:44 +00:00
joerg
da3ec6bb3a Update to 1.2.57 which includes a better replacement for patch-aa.
While here, don't patch away tar.5, it is about the tape archive format
and not about bsdtar. It belongs into the package for that reason.
2006-08-20 14:56:03 +00:00
joerg
3e4a2943c2 Update to libarchive-1.2.55, featuring minor bugfixes. 2006-08-19 20:46:54 +00:00
xtraeme
7a424916ca Update to 1.2.53:
* Incorporated Jaakko Heinonen's still-experimental support for extended
  attributes (Currently Linux-only.).
* Reorganized distribution package: There is now one tar.gz file that
  builds both libarchive and bsdtar.
* correctly read cpio device entries, write Pax attribute entry names.
* Experimental 'tp' format support in libarchive. Feedback appreciated;
  this is not enabled by archive_read_support_format_all()
2006-05-01 09:02:38 +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
xtraeme
b36bf56512 ENOTIME to mantain these packages, feel free to pick it up if you are
insterested.
2006-02-12 15:24:14 +00:00
tv
1a7f282c3f Fix build on Interix by including <stdlib.h> to get [u]intptr_t.
(Actually in stddef.h, but that would require yet another autoconf check.)
2005-10-31 14:36:08 +00:00
xtraeme
fe1984764b Update to 1.02.036.
Changes:

	* Use GNU libtool to build shared libraries on many systems.
2005-10-13 21:34:16 +00:00
xtraeme
fd76685837 Update to 1.02.030, changes were bugfixes and documentation
improvements.
2005-08-27 12:06:22 +00:00
rillig
a6acc73f98 Reformatted to get rid of trailing whitespace. 2005-05-23 08:04:06 +00:00
xtraeme
3d199bdf29 Update to 1.02.023.
Changes:

* Extended Zip/Zip64 support
* Bugfixes
2005-05-04 20:41:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
xtraeme
822baf1f45 Update to 1.02.016.
o archive_read_extract can now handle very long pathnames
	  (tested with pathnames up to 1MB).
	o New dir-walk code now defaults to physical traversals.
	o fix a gzip decompression issue and add better error reporting
	  for certain file I/O and decompression errors.
2005-03-21 22:56:24 +00:00
tv
df1dcd0fed Don't include <inttypes.h> unconditionally. Unfortunately, HAVE_INTTYPES_H
is not available in the generated archive.h, so put in an __INTERIX
conditional (for now -- but this means a PKGREVISION bump, sigh).
2005-03-19 04:43:41 +00:00