Commit graph

56 commits

Author SHA1 Message Date
joerg
065e67e3c0 pax-20210219: ignore error from lchmod, if it was not supported.
This is seen on Linux and results in error building boost.
2021-02-19 13:23:08 +00:00
rillig
a02ce26178 all: migrate several HOMEPAGEs to https
pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
2020-01-18 23:29:55 +00:00
rillig
a928eff0ca archivers: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-02 22:54:25 +00:00
triaxx
c20ba9288e pax: add <sys/sysmacros.h> for Linux
* On Arch Linux, the build failed, makedev(3) indicates
  #include <sys/sysmacros.h>
* On Debian Buster, the build succeed but a big warning is displayed:
    warning: In the GNU C Library, "minor" is defined
    by <sys/sysmacros.h>. For historical compatibility, it is
    currently defined by <sys/types.h> as well, but we plan to
    remove this soon. To use "minor", include <sys/sysmacros.h>
    directly. If you did not intend to use a system-defined macro
    "minor", you should undefine it after including <sys/types.h>.
2018-10-29 20:18:02 +00:00
jperkin
3d781ada16 pax: Ensure large files are supported on SunOS.
Bump PKGREVISION.
2018-04-07 08:57:01 +00:00
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
jperkin
8466b0b129 Use CATMAN_SECTION_SUFFIX in packages which perform their own catman
page installation.
2013-09-12 11:18:40 +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
wiz
a4eec2f4cc Reset maintainer, developer lost his commit bit. 2010-03-21 16:29:38 +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
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
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
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
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
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
jlam
ff44898db4 Update archivers/pax to 20040802 (latest version on src HEAD). Changes
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-21 03:28:49 +00:00
jlam
896e92919d If LIBNBCOMPAT_STYLE is set to "inplace", then build and use a local
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-14 02:33:32 +00:00
grant
e399158ba6 bump to 20040703. 2004-07-03 02:50:32 +00:00
grant
5123eb9e1b bump to 20040626. 2004-06-26 13:31:47 +00:00
grant
64c34cde46 bump to 20040620. 2004-06-20 10:11:56 +00:00
jlam
326169077a USE_BUILDLINK3 must be set to "yes" or "no", not defined/undefined. 2004-03-23 04:40:59 +00:00
xtraeme
6c39a6eab6 bl3ify 2004-03-11 18:03:49 +00:00
grant
8b8e7d1cf0 bump version to 20031220. 2003-12-20 04:47:38 +00:00
erh
5d4fd31572 Bump to 20031205. Add support for AIX. 2003-12-05 16:38:38 +00:00
grant
20360d359c sync with NetBSD-current's pax-20030923. 2003-09-23 14:37:41 +00:00
grant
8ac42db09b bump version to 20030915 after latest changes. 2003-09-15 04:39:14 +00:00