summaryrefslogtreecommitdiff
path: root/archivers/pax
AgeCommit message (Collapse)AuthorFilesLines
2009-08-06getline -> get_linejoerg1-10/+10
2009-04-09Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions.joerg1-2/+1
2009-03-05Play the CHECK_PERMS=no game here as well to avoid cyclic dependencies.joerg1-1/+2
2008-10-26Don't depend on presence of u_int32_t, just use uint32_t.joerg3-8/+8
2008-07-20fix bug in previous, make sure NBPAX_PROGRAM_PREFIX is always defined in PLISTdbj1-4/+4
2008-07-20re-add support for --program-prefix and NBPAX_PROGRAM_PREFIX pkgsrc vardbj5-1910/+2410
PR pkg/37989
2008-06-19Add a marker for bootstrap packages to allow special cases them duringjoerg1-1/+2
bulk builds.
2008-04-29Drop clauses 3 and 4 from TNF licensesmartin6-51/+9
2008-03-06+ Remove pkgtools/pax and pkgtools/tnftp as they are no longer differentjlam3-49/+37
from archivers/pax and net/tnftp, respectively. In the past, the pkgtools version of these packages installed into ${PKG_TOOLS_BIN}, but this was changed in: pkgtools/pax/Makefile:1.15 pkgtools/tnftp/Makefile:1.3 + Get rid of archivers/pax/Makefile.common and net/tnftp/Makefile.common by merging them into their respective Makefiles. The Makefile.common files existed solely for inclusion by the pkgtools versions of these packages, but with the removal of those packages, these files are now unnecessary. + Add full DESTDIR support to archivers/pax and net/tnftp. + Modify the bootstrap to build archivers/pax and net/tnftp instead of the pkgtools versions of these packages.
2008-02-07Merge a fix from NetBSD's src/bin/pax by tls:joerg6-30/+38
Teach set_ftime about symbolic links, because it has to know: on some Linux systems, when we build as a tool we think we have lutimes but it doesn't work on some filesystems at runtime. A bit ugly but effective and without use of AC_TRY_RUN in the tool build. Tidier (than mine) set_ftime reorganization from christos. Bump version to 20080110.
2007-11-11Revert pax large file support as it breaks bootstrap on variousjoerg4-2726/+1891
platforms. Bump revision.
2007-10-27enable large filefile support, if applicable.grant4-1891/+2726
fixes tar/pax with >2gb files on 32bit Solaris. bump PKGREVISION.
2007-09-08Convert to use the features framework.jlam1-2/+3
2007-09-06Convert all libnbcompat/buildlink3.mk references to inplace.mk.jlam1-2/+2
2007-09-06Fix build on NetBSD. Add QNX support based on patch from Sean Boudreau.joerg3-11/+16
2007-03-12Sync config.{guess,sub} with mk/gnu-configure.joerg2-361/+481
2007-03-08Removed extra parentheses around simple return statements, to align withrillig14-439/+439
the current NetBSD version.
2007-03-08Merged the change from NetBSD's 1.51 to 1.52:rillig1-2/+3
EROFS is not a critical error in a "mkdir -p".
2006-10-07To close my PR #22693.reed1-1/+10
If GTAR_PROGRAM_PREFIX is empty, then conflict with gtar-base. If GNU_PROGRAM_PREFIX is empty, then conflict with gcpio. Bump PKGREVISION.
2006-09-03Define `ISTAPE' even if tape unsupported platform.obache1-3/+1
Fix build problem on such platforms like Interix.
2006-07-14For the pkgtools versions of mtree and pax, always use libnbcompatjlam2-8/+3
"in-place", and for the normal versions of mtree and pax, always use libnbcompat as a normal build dependency.
2006-07-14Set the CATEGORIES separately for the archivers and pkgtools versionsjlam2-3/+4
of pax.
2006-07-14Create a separate "pax" package in the pkgtools category that installsjlam2-28/+37
into ${PKG_TOOLS_BIN}. This package is used in the case where pax is a requirement for the pkg_install tools. The archivers/pax package is now a normal package with no special PKG_PRESERVE flags set.
2006-07-14Register this package when installed, and populate the PLIST.jlam2-5/+11
2006-06-18Fixed pkglint warnings.rillig1-5/+5
2006-05-17Fixed pkglint warnings.rillig1-2/+2
2006-02-02bump versionchristos1-2/+2
2006-02-02hack for solaris automounter.christos1-2/+4
2005-12-01Update pax to 20051108. The previous version failed to handle the -Xminskim24-297/+607
option, which is used in print/teTeX3-texmf. The only difference from the pax in src is that tar does not support the --chroot option if fchroot(2) is not available. Major changes and bug fixes since 20040802: PR/18759: FUKAUMI Naoki: pax/tar dot-dot handling broken PR/18840: Frederick Bruckman: Fix for PR/18663 incomplete pax symlink handling This patch makes ``--insecure'' do something. Now if ``--insecure'' is not set (the default) we do a realpath(3) in all the pathnames that we are trying to create and if either realpath fails, or the path is outside our working directory, we print a warning and die. This maybe too strict and might fail on valid archives that create symlinks and directories in the wrong order. PR/31923: Sergey Svishchev: pax-as-tar ignores -k, overwrites existing files Fix from Onno van der Linden PR/30132: Juan RP: tar --chroot refuses to extract files. fchroot() changes the effective path, so we need to call updatepath(). Apply user supplied patterns first before applying actions for -A. This way pax behavior WRT to patterns lines up with the example in the documentation and how other implementations do it as well since -A is a non-standard option/behavior. Fixes items noted in PR#23776 Add an option --chroot to tar. Causes it to chroot(".") before doing an extract. With -h this will cause existing absolute symlinks to be treated as relative to the current directory. Helps sysinst handle existing symlinks in the target system. Remove 'L' from the usage (got spilt into 'h' and 'H' many moons ago) Add 'S' to usage, and put into correct place in options list. PR/27213: Greg A. Woods: pax doesn't honour SIGPIPE when listing But always exit, not just on SIGPIPE. Properly handle "cpio" archives where the last hardlink includes the data of a file. This fixes PR bin/26514. PR/20228: Simon Burge: pax has problems reading a particular cpio archive The problem here is that the archive is too short (< 512 bytes). The buffer routines, try to read at least 512 bytes, even when we try to determine what format file we have, which is wrong. Don't leave arcn->org_name pointing to ftent->fts_path, if we being cpio then ftent is freed just below. Take a copy of the name and point org_name at the copy. Should fix PR/30627 (the fix in the PR will break pax and tar!) PR/30167: J.T. Conklin: NetBSD tar does not support GNU tar --no-recursion flag Fix from PR#29290. Properly terminate the cpio_longopts struct so an unknown option doesn't run off the end and core dump Fix broken cpio(1) option handling: - "cpio -i -t" should list the contents of a file, not extract it. - Don't extract a file when only option "-d" is given. Patch supplied by Paul Ripke in PR bin/26513. PR/27212: Greg A. Woods: Accept "-C <dirname>" inside filelists in addition to "-C\n<dirname>". But we are not making it the default output option as the patch suggests. PR/19490: Julio Merino: Teach tar about --sparse, -S option. Do it for cpio too. PR/27208: Greg A. Woods: pax must call options() before using syswarn() or tty_warn() PR/20071: Perry Metzger: --extract handling is broken. This patch fixes Perry's example.
2005-05-31Changed values of some variables to "yes" instead of #defined.rillig1-7/+7
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-01-06Don't "cp -p" for *source* files. Builds are usually done as an unprivilegedtv1-2/+2
user, so it's not nice to try to use an option that will try to chown if the repository isn't owned by the builder. (Some OS's do in fact cause an error when the chown in "cp -p" fails.)
2004-12-12update config.{sub,guess} for various bootstrap tools. fixes build ongrant2-173/+374
newer platforms such as DragonFly. fixes PR pkg/28579 from Todd Willey.
2004-08-21Fix the version number of the package in the configure script, and modifyjlam3-19/+16
the Makefiles so that they can be built by really basic make programs.
2004-08-21Check for a few more system headers after the update to pax-20040804.jlam3-10/+17
2004-08-21Mirror change in archivers/mtree by <heinz> on 2004/04/16:jlam7-15/+179
Introduce HAVE_FILE_FLAGS if the system declares UF_SETTABLE and SF_SETTABLE in addition to member 'st_flags' of struct stat. Use HAVE_FILE_FLAGS instead of HAVE_STRUCT_STAT_ST_FLAGS. This avoids confusion on UnixWare which has 'st_flags' but does _not_ support file flags.
2004-08-21Update archivers/pax to 20040802 (latest version on src HEAD). Changesjlam30-170/+759
from previous include: - include a pax2nbcompat script to ease importing from src HEAD into pkgsrc. * for copy mode, show more meaningful information on SIGINFO.
2004-08-14If LIBNBCOMPAT_STYLE is set to "inplace", then build and use a localjlam1-2/+9
version of libnbcompat instead of requiring libnbcompat to be installed. This simplifies testing of bootstrap packages without root privileges on a system that has already been bootstrapped.
2004-08-13Check for all system headers needed in the sources.jlam3-278/+559
2004-07-03bump to 20040703.grant1-2/+2
2004-07-03sync with src:grant1-13/+19
Salvage the `create parent directories and try again' path which is removed by the previous commit.
2004-06-26bump to 20040626.grant1-2/+2
2004-06-26sync with src:grant1-2/+8
break out of the loop and avoid the infinite loop if attempts to create, unlink and create all fail.
2004-06-26sync with src:grant1-4/+9
don't attempt to remove the current directory.
2004-06-20bump to 20040620.grant1-2/+2
2004-06-20sync pax with src/ from 20040620, includes many bug fixes includinggrant18-179/+291
properly handling broken archives.
2004-04-12pax does not support tape drives on Unixware at the moment.heinz1-2/+2
2004-03-23USE_BUILDLINK3 must be set to "yes" or "no", not defined/undefined.jlam1-2/+2
2004-03-11Wrap physical mt operations in SUPPORT_TAPE, and define that if either oftv2-6/+47
<sys/mtio.h> or <sys/tape.h> is available.
2004-03-11bl3ifyxtraeme1-3/+3