Commit graph

96 commits

Author SHA1 Message Date
jperkin
c48c774b07 Use OPSYSVARS. 2016-02-25 09:28:36 +00:00
jperkin
f5d9dbe241 Add LICENSE (2-clause-bsd AND modified-bsd AND public-domain). 2016-01-29 10:53:07 +00:00
ryoon
d6870ca4aa Fix build under SCO OpenServer 5.0.7/3.2 2014-03-14 22:16:50 +00:00
jperkin
8466b0b129 Use CATMAN_SECTION_SUFFIX in packages which perform their own catman
page installation.
2013-09-12 11:18:40 +00:00
ryoon
ac7fc350cc Fix build on Cygwin.
__dev32_t is removed since 1.7.19 of cygwin.
Like http://mail-index.netbsd.org/source-changes/2013/06/14/msg044776.html .
2013-07-26 12:37:41 +00:00
asau
3ccd61af4d "user-destdir" is default these days 2012-09-11 19:46:58 +00:00
sbd
71f382d4a7 Setting NBPAX_PROGRAM_PREFIX?=nb by default requires archivers/pax to be
given a PKGREVISON bump so that the new setting will take effect.
2012-06-17 10:21:39 +00:00
cheusov
6a13d2c1a0 Remove GNU_PROGRAM_PREFIX variable (discussed in pkgsrc-users@) 2012-05-29 22:58:52 +00:00
fhajny
700d148d35 Only conflict with gtar-base and gcpio if NBPAX_PROGRAM_PREFIX empty. 2012-03-09 10:20:15 +00:00
joerg
562418d4d3 Honour MANINSTALL 2012-03-04 19:50:21 +00:00
obache
672770c815 Add workaround of lack of hard link support on BFS of Haiku.
Use symbolic link instead.
2010-07-06 23:36:51 +00:00
joerg
6c87bd2fe7 Pick up maintainership. 2010-03-21 16:50:41 +00:00
joerg
c0c745fb34 Apply patches from PR 34941 to match prototype and implementatio w.r.t
static.
2010-03-21 16:35:01 +00:00
wiz
a4eec2f4cc Reset maintainer, developer lost his commit bit. 2010-03-21 16:29:38 +00:00
obache
4136a5d21b Add Haiku support. patch taken from Haiku support for libarchive. 2010-01-30 08:46:20 +00:00
joerg
1f07e7d3f8 getline -> get_line 2009-08-06 13:54:03 +00:00
joerg
368d71b62e Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions. 2009-04-09 00:48:06 +00:00
joerg
a25e2945fb Play the CHECK_PERMS=no game here as well to avoid cyclic dependencies. 2009-03-05 00:27:31 +00:00
joerg
eac752d014 Don't depend on presence of u_int32_t, just use uint32_t. 2008-10-26 12:48:48 +00:00
dbj
9fb68869e1 fix bug in previous, make sure NBPAX_PROGRAM_PREFIX is always defined in PLIST 2008-07-20 23:49:35 +00:00
dbj
43c8f0b2ee re-add support for --program-prefix and NBPAX_PROGRAM_PREFIX pkgsrc var
PR pkg/37989
2008-07-20 23:31:50 +00:00
joerg
da712f263e Add a marker for bootstrap packages to allow special cases them during
bulk builds.
2008-06-19 18:36:51 +00:00
martin
d86d72404e Drop clauses 3 and 4 from TNF licenses 2008-04-29 05:46:08 +00:00
jlam
84fa8ca684 + Remove pkgtools/pax and pkgtools/tnftp as they are no longer different
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-03-06 04:45:58 +00:00
joerg
e9ce48a411 Merge a fix from NetBSD's src/bin/pax by tls:
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.
2008-02-07 22:27:53 +00:00
joerg
393d7edbe4 Revert pax large file support as it breaks bootstrap on various
platforms. Bump revision.
2007-11-11 16:51:27 +00:00
grant
6b3ffaad2b enable large filefile support, if applicable.
fixes tar/pax with >2gb files on 32bit Solaris.

bump PKGREVISION.
2007-10-27 11:19:04 +00:00
jlam
2761568ac2 Convert to use the features framework. 2007-09-08 21:57:57 +00:00
jlam
df7d10dbeb Convert all libnbcompat/buildlink3.mk references to inplace.mk. 2007-09-06 21:51:52 +00:00
joerg
70e41a9263 Fix build on NetBSD. Add QNX support based on patch from Sean Boudreau. 2007-09-06 20:10:22 +00:00
joerg
1b6ca55b58 Sync config.{guess,sub} with mk/gnu-configure. 2007-03-12 00:48:28 +00:00
rillig
48d928e216 Removed extra parentheses around simple return statements, to align with
the current NetBSD version.
2007-03-08 17:18:18 +00:00
rillig
c4ffd9c017 Merged the change from NetBSD's 1.51 to 1.52:
EROFS is not a critical error in a "mkdir -p".
2007-03-08 17:11:46 +00:00
reed
717e353fe6 To close my PR #22693.
If GTAR_PROGRAM_PREFIX is empty, then conflict with gtar-base.

If GNU_PROGRAM_PREFIX is empty, then conflict with gcpio.

Bump PKGREVISION.
2006-10-07 16:52:19 +00:00
obache
fb3b243239 Define `ISTAPE' even if tape unsupported platform.
Fix build problem on such platforms like Interix.
2006-09-03 12:13:13 +00:00
jlam
bc22bd5d44 For the pkgtools versions of mtree and pax, always use libnbcompat
"in-place", and for the normal versions of mtree and pax, always use
libnbcompat as a normal build dependency.
2006-07-14 20:11:10 +00:00
jlam
3b3d6f17ec Set the CATEGORIES separately for the archivers and pkgtools versions
of pax.
2006-07-14 19:45:12 +00:00
jlam
4660c9f359 Create a separate "pax" package in the pkgtools category that installs
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-14 19:38:47 +00:00
jlam
1f6cd0d27b Register this package when installed, and populate the PLIST. 2006-07-14 18:48:43 +00:00
rillig
dd7540a1d2 Fixed pkglint warnings. 2006-06-18 07:04:15 +00:00
rillig
ca9c50a7e1 Fixed pkglint warnings. 2006-05-17 06:12:27 +00:00
christos
03360d73b6 bump version 2006-02-02 19:29:09 +00:00
christos
c53c81e372 hack for solaris automounter. 2006-02-02 19:28:25 +00:00
minskim
3f8fb63c0c Update pax to 20051108. The previous version failed to handle the -X
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-12-01 03:00:01 +00:00
rillig
d67097247a Changed values of some variables to "yes" instead of #defined. 2005-05-31 21:39:29 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
tv
049d18c583 Don't "cp -p" for *source* files. Builds are usually done as an unprivileged
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.)
2005-01-06 05:32:29 +00:00
grant
495ab8cee9 update config.{sub,guess} for various bootstrap tools. fixes build on
newer platforms such as DragonFly.

fixes PR pkg/28579 from Todd Willey.
2004-12-12 00:46:28 +00:00
jlam
683567c435 Fix the version number of the package in the configure script, and modify
the Makefiles so that they can be built by really basic make programs.
2004-08-21 06:33:39 +00:00
jlam
6985e27f27 Check for a few more system headers after the update to pax-20040804. 2004-08-21 05:06:41 +00:00