[arch-commits] Commit in tar/trunk (PKGBUILD tar.1 tar.install)
Allan McRae
allan at archlinux.org
Mon Mar 15 10:32:04 UTC 2010
Date: Monday, March 15, 2010 @ 06:32:04
Author: allan
Revision: 72380
upgpkg: tar 1.23-1
upstream update, pull latest Debian man page
Modified:
tar/trunk/PKGBUILD
tar/trunk/tar.1
tar/trunk/tar.install
-------------+
PKGBUILD | 20 ++++++++++++--------
tar.1 | 38 ++++++++++++++++++++------------------
tar.install | 6 ++++--
3 files changed, 36 insertions(+), 28 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-03-15 07:08:59 UTC (rev 72379)
+++ PKGBUILD 2010-03-15 10:32:04 UTC (rev 72380)
@@ -1,26 +1,30 @@
# $Id$
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
pkgname=tar
-pkgver=1.22
+pkgver=1.23
pkgrel=1
pkgdesc="Utility used to store, backup, and transport files"
arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/tar/tar.html"
license=('GPL3')
groups=('base')
+depends=('glibc' 'sh')
+options=('!emptydirs')
install=tar.install
-url="http://www.gnu.org/software/tar/tar.html"
-depends=('glibc' 'bash' 'texinfo')
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.bz2 tar.1)
-md5sums=('07fa517027f426bb80f5f5ff91b63585'
- 'c7321066921766c14c4b23e3d598faaa')
+md5sums=('41e2ca4b924ec7860e51b43ad06cdb7e'
+ 'e0538778516a284e3558c454b2576c2f')
build() {
cd ${srcdir}/$pkgname-$pkgver
./configure --prefix=/usr --libexecdir=/usr/lib/tar --bindir=/bin
make || return 1
+}
+
+package() {
+ cd ${srcdir}/$pkgname-$pkgver
make DESTDIR=${pkgdir} install
install -D -m644 ../tar.1 ${pkgdir}/usr/share/man/man1/tar.1
-
- rm -rf ${pkgdir}/usr/share/info/dir
}
Modified: tar.1
===================================================================
--- tar.1 2010-03-15 07:08:59 UTC (rev 72379)
+++ tar.1 2010-03-15 10:32:04 UTC (rev 72380)
@@ -1,5 +1,5 @@
-.\" generated by script on Tue Aug 4 19:50:16 2009
-.Dd Aug 4, 2009
+.\" generated by script on Wed Mar 10 17:01:09 2010
+.Dd Mar 10, 2010
.Dt TAR 1
.Sh NAME
.Nm tar
@@ -54,8 +54,6 @@
.Bl -tag -width flag
.It \-[0\-7][lmh]
specify drive and density
-.It Fl ? , Fl \-help
-give this help list
.It Fl a , Fl \-auto\-compress
use archive suffix to determine the compression program
.It Fl \-add\-file Ns \= Ns Ar FILE
@@ -90,6 +88,8 @@
cancel the effect of --delay-directory-restore option
.It Fl \-exclude Ns \= Ns Ar PATTERN
exclude files, given as a PATTERN
+.It Fl \-exclude\-backups
+exclude backup and lock files
.It Fl \-exclude\-caches
exclude contents of directories containing CACHEDIR.TAG,
.It Fl \-exclude\-caches\-all
@@ -134,8 +134,6 @@
.It Fl \-format=v7
old V7 tar format
.El
-.It Fl \-HANG
-hang for SECS seconds (default 3600)
.It Fl \-hard\-dereference
follow hard links; archive and dump the files they refer to
.It Fl i , Fl \-ignore\-zeros
@@ -155,9 +153,9 @@
.It Fl \-index\-file Ns \= Ns Ar FILE
send verbose output to FILE
.It Fl j , Fl \-bzip2
-filter the archive through bzip2
+
.It Fl J , Fl \-xz
-filter the archive through xz
+
.It Fl k , Fl \-keep\-old\-files
don't replace existing files when extracting
.It Fl K , Fl \-starting\-file Ar MEMBER-NAME
@@ -168,10 +166,14 @@
print a message if not all links are dumped
.It Fl L , Fl \-tape\-length Ar NUMBER
change tape after writing NUMBER x 1024 bytes
+.It Fl \-level Ns \= Ns Ar NUMBER
+dump level for created listed-incremental archive
+.It Fl \-lzip
+
.It Fl \-lzma
-filter the archive through lzma
+
.It Fl \-lzop
-filter the archive through lzop
+
.It Fl m , Fl \-touch
don't extract file modified time
.It Fl M , Fl \-multi\-volume
@@ -247,11 +249,13 @@
.It Fl S , Fl \-sparse
handle sparse files efficiently
.It Fl \-same\-owner
-try extracting files with the same ownership
+try extracting files with the same ownership as exists in the archive (default for superuser)
.It Fl \-no\-same\-owner
-extract files as yourself
+extract files as yourself (default for ordinary users)
.It Fl \-no\-same\-permissions
apply the user's umask when extracting permissions from the archive (default for ordinary users)
+.It Fl \-no\-seek
+archive is not seekable
.It Fl \-show\-defaults
show tar defaults
.It Fl \-show\-omitted\-dirs
@@ -278,22 +282,20 @@
unquote filenames read with -T (default)
.It Fl \-no\-unquote
do not unquote filenames read with -T
-.It Fl \-usage
-give a short usage message
.It Fl \-utc
print file modification dates in UTC
.It Fl v , Fl \-verbose
verbosely list files processed
.It Fl V , Fl \-label Ar TEXT
create archive with volume name TEXT; at list/extract time, use TEXT as a globbing pattern for volume name
-.It Fl \-version
-print program version
.It Fl \-volno\-file Ns \= Ns Ar FILE
use/update the volume number in FILE
.It Fl w , Fl \-interactive , Fl \-confirmation
ask for confirmation for every action
.It Fl W , Fl \-verify
attempt to verify the archive after writing it
+.It Fl \-warning Ns \= Ns Ar KEYWORD
+warning control
.It Fl \-wildcards
use wildcards (default for exclusion)
.It Fl \-wildcards\-match\-slash
@@ -305,9 +307,9 @@
.It Fl X , Fl \-exclude\-from Ar FILE
exclude patterns listed in FILE
.It Fl z , Fl \-gzip , Fl \-gunzip Fl \-ungzip
-filter the archive through gzip
+
.It Fl Z , Fl \-compress , Fl \-uncompress
-filter the archive through compress
+
.El
.Sh ENVIRONMENT
The behavior of tar is controlled by the following environment variables,
Modified: tar.install
===================================================================
--- tar.install 2010-03-15 07:08:59 UTC (rev 72379)
+++ tar.install 2010-03-15 10:32:04 UTC (rev 72380)
@@ -2,8 +2,9 @@
filelist=(tar.info tar.info-1 tar.info-2)
post_install() {
+ [ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
- install-info $infodir/$file $infodir/dir 2> /dev/null
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
@@ -12,8 +13,9 @@
}
pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
- install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
done
}
More information about the arch-commits
mailing list