Commit graph

74 commits

Author SHA1 Message Date
sbd
a1a9959ef1 Don't include dependence buildlink3 if using the builtin library.
Patch by obache@
2011-11-13 08:11:28 +00:00
sbd
0dc6193f32 Recursive bump for archivers/libarchive buildlink addition. 2011-11-01 06:50:28 +00:00
sbd
dd22fee4e8 Add missing archivers/xz buildlink
Bump PKGREVISION
2011-11-01 06:43:16 +00:00
joerg
057f7e201f Revert, no unconditional pollution of environment via b3.mk. 2011-10-27 04:23:50 +00:00
cheusov
be48ee20ff Addon for previous commit (PR 45491) that actually fixes
archivers/libarchive but not bootstrap.
2011-10-26 11:08:37 +00:00
cheusov
4aac27f5a4 Workaround for PR 45491. It fixes bootstrap if
pkg://sfe/system/file-system/e2fsprogs@1.41.14 package is installed.
Approved by agc@.
2011-10-26 08:32:50 +00:00
joerg
573c1a6bf5 Bump libarchive and bsdtar to 2.8.4. 2010-07-09 12:03:55 +00:00
joerg
fbf70aed67 Merge libarchive-2.8.4 2010-07-09 12:02:41 +00:00
joerg
d1ed17333d Import libarchive-2.8.4:
- Improved reliability of hash function detection
- Fix issues on ancient FreeBSD, QNX, ancient NetBSD and Minix
2010-07-09 11:53:07 +00:00
joerg
2d0d9c47d0 libarchive 2.8.3 and bsdtar-2.8.3 2010-03-16 17:13:47 +00:00
joerg
374f74bb49 Merge 2010-03-16 17:12:54 +00:00
joerg
fb973fb373 libarchive-2.8.3: Build fix for Linux 2010-03-16 17:05:42 +00:00
joerg
15c6bb0417 Update build infrastructure for libarchive 2.8.2. 2010-03-14 18:40:15 +00:00
joerg
1e051b1f0f Merge. 2010-03-14 18:39:07 +00:00
joerg
393b7534a3 libarchive-2.8.2:
- Fix NULL deference for short self-extracting zip archives
- Don't dereference symlinks on Linux when reading ACLs
- Better detection of SHA2 support for old OpenSSL versions
- Fix parsing of input files for bsdtar -T
- Do not leak setup_xattr into the global namespace
- Fix build when an older libarchive is already installed
- Use O_BINARY opening files in bsdtar
- Include missing archive_crc32.h
- Correctly include iconv.h required by libxml2
2010-03-14 17:56:25 +00:00
joerg
53a518f45a Update build rules for bsdtar and libarchive 2.8.0 2010-02-20 03:56:14 +00:00
joerg
14b30e264b Merge again... 2010-02-20 03:54:07 +00:00
joerg
37312d59a9 Merge 2010-02-20 03:51:39 +00:00
joerg
6135a3d2ff Import libarchive 2.8.0:
- Infrastructure:
  - Allow command line tools as fallback for missing compression
    libraries. If compiled without gzip for example, gunzip will
    be used automatically.
  - Improved support for a number of platforms like high-resolution
    timestamps and Extended Attributes on various Unix systems
  - New convience interface for creating archives based on disk content,
    complement of the archive_write_disk interface.
- Frontends:
  - bsdcpio ready for public consumption
  - hand-written date parser replaces the yacc code
- Filter system:
  - Simplified read filter chains
  - Option support for filters
  - LZMA, XZ, uudecode handled
- Format support:
  - Write support for mtree files based on file system or archive
    content
  - Basic read support for Joliet
  - Write support for zip files
  - Write support for shar archives, both text-only and binary-safe
2010-02-20 03:48:25 +00:00
obache
3be6faa7ff include both inttypes.h and stdint.h. patch taken from upstream r897.
Fixes build failure on SUA 6.0.
2009-09-16 06:55:45 +00:00
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