summaryrefslogtreecommitdiff
path: root/archivers/gtar-base/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-08-17 16:28:18 +0000
committerwiz <wiz@pkgsrc.org>2014-08-17 16:28:18 +0000
commit0cc81602c67e643821a07323154bbbacdad90536 (patch)
tree8f1ce30129c24cb425db3083f563c7ead982a850 /archivers/gtar-base/Makefile
parentec2d826e1116572a595d580ba28b47b5dc02532e (diff)
downloadpkgsrc-0cc81602c67e643821a07323154bbbacdad90536.tar.gz
Update gtar to 1.28. Add a Makefile.common and use it.
Use official man page, now that there is one. version 1.28, 2014-07-28 * New checkpoint action: totals The --checkpoint-action=totals option instructs tar to output the total number of bytes transferred at each checkpoint. * Extended checkpoint format specification. New conversion specifiers are implemented. Some of them take optional arguments, supplied in curly braces between the percent sign and the specifier letter. %d - Number of seconds since tar started. %{r,w,d}T - I/O totals; optional arguments supply prefixes to be used before number of bytes read, written and deleted, correspondingly. %{FMT}t - Current local time using FMT as strftime(3) format. If {FMT} is omitted, use %c. %{N}* - Pad output with spaces to the Nth column, or to the current screen width, if {N} is not given. %c - A shortcut for "%{%Y-%m-%d %H:%M:%S}t: %ds, %{read,wrote}T%*\r" * New option --one-top-level The option --one-top-level tells tar to extract all files into a subdirectory named by the base name of the archive (minus standard compression suffixes recognizable by --auto-compress). When used with an argument, as in --one-top-level=DIR, the files are extracted into the supplied DIRectory. This ensures that no archive members are extracted outside of the specified directory, even if the archive is crafted so as to put them elsewhere. * New option --sort The --sort=ORDER option instructs tar to sort directory entries according to ORDER. It takes effect when creating archives. Available ORDERs are: none (the default), name and inode. The latter may be absent, if the underlying system does not provide the necessary information. Using --sort=name ensures the member ordering in the created archive is uniform and reproducible. Using --sort=inode reduces the number of disk seeks made when creating the archive and thus can considerably speed up archivation. * New exclusion options --exclude-ignore=FILE Before dumping a directory check if it contains FILE, and if so read exclude patterns for this directory from FILE. --exclude-ignore-recursive=FILE Same as above, but the exclusion patterns read from FILE remain in effect for any subdirectory, recursively. --exclude-vcs-ignores Read exclude tags from VCS ignore files, where such files exist. Supported VCS's are: CVS, Git, Bazaar, Mercurial. * Tar refuses to read input from and write output to a tty device. * Manpages This release includes official tar(1) and rmt(8) manpages. Distribution maintainers are kindly asked to use these instead of the home-made pages they have been providing so far.
Diffstat (limited to 'archivers/gtar-base/Makefile')
-rw-r--r--archivers/gtar-base/Makefile32
1 files changed, 4 insertions, 28 deletions
diff --git a/archivers/gtar-base/Makefile b/archivers/gtar-base/Makefile
index e19801cd67b..b6b0ea10348 100644
--- a/archivers/gtar-base/Makefile
+++ b/archivers/gtar-base/Makefile
@@ -1,25 +1,17 @@
-# $NetBSD: Makefile,v 1.84 2014/08/04 10:27:29 joerg Exp $
+# $NetBSD: Makefile,v 1.85 2014/08/17 16:28:18 wiz Exp $
#
# Please run 'make files/gtar.1' when updating version of this package
# to regenerate the man page. converters/help2man is needed.
-DISTNAME= tar-1.27.1
+.include "../../archivers/gtar/Makefile.common"
+
PKGNAME= ${DISTNAME:S/tar/gtar-base/}
-PKGREVISION= 1
SVR4_PKGNAME= gtarb
-CATEGORIES= archivers
-MASTER_SITES= ${MASTER_SITE_GNU:=tar/}
-EXTRACT_SUFX= .tar.bz2
-
-MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://www.gnu.org/software/tar/tar.html
COMMENT= The GNU tape archiver with remote magnetic tape support
LICENSE= gnu-gpl-v3
CONFLICTS= gcpio-[0-9]*
-PKG_INSTALLATION_TYPES= overwrite pkgviews
-
USE_FEATURES= snprintf
USE_PKGLOCALEDIR= yes
USE_TOOLS+= msgfmt
@@ -70,24 +62,8 @@ SYMLINKS= bin/gtar ${PKGGNUDIR}bin/tar \
SYMLINKS+= libexec/grmt ${PKGGNUDIR}libexec/rmt
.endif
-.if ${OS_VARIANT} == "SCOOSR5"
-# SCO OpenServer 5.0.7/3.2 has strtoimax() declaration in inttypes.h,
-# but libc.so has no implementation. And gnulib in GNU tar 1.27 has broken
-# strtoimax() support. We have to use BSDL implementation instead.
-pre-configure:
- cd ${WRKSRC} && ${CC} -c -o strtoimax.o strtoimax.c
-.endif
-
-files/gtar.1: build
- ${ECHO} .\\\" > ${FILESDIR}/gtar.1
- ${ECHO} .\\\" \$$""NetBSD\$$ >> ${FILESDIR}/gtar.1
- help2man --name "The GNU version of the tar archiving utility" \
- --info-page tar ${WRKSRC}/src/tar | \
- ${SED} '/help2man/d' >> ${FILESDIR}/gtar.1
-
post-install:
- ${INSTALL_MAN} ${FILESDIR}/gtar.1 \
- ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/gtar.1
+ ${INSTALL_DATA} ${WRKSRC}/doc/tar.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/gtar.1
.for o n in ${SYMLINKS}
${LN} -sf ${PREFIX}/${o} ${DESTDIR}${PREFIX}/${n}
.endfor