[arch-commits] Commit in tar/trunk (PKGBUILD)

2019-11-13 Thread Evangelos Foutras via arch-commits
Date: Wednesday, November 13, 2019 @ 17:21:10
  Author: foutrelis
Revision: 368328

[core] mass rebuild

Modified:
  tar/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-13 17:19:49 UTC (rev 368327)
+++ PKGBUILD2019-11-13 17:21:10 UTC (rev 368328)
@@ -4,7 +4,7 @@
 
 pkgname=tar
 pkgver=1.32
-pkgrel=2
+pkgrel=3
 pkgdesc='Utility used to store, backup, and transport files'
 arch=('x86_64')
 url='https://www.gnu.org/software/tar/'


[arch-commits] Commit in tar/trunk (PKGBUILD)

2019-10-06 Thread Sébastien Luttringer via arch-commits
Date: Sunday, October 6, 2019 @ 16:01:48
  Author: seblu
Revision: 363960

upgpkg: tar 1.32-2

https://www.archlinux.org/todo/base-group-removal/

Modified:
  tar/trunk/PKGBUILD

--+
 PKGBUILD |3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-06 15:56:38 UTC (rev 363959)
+++ PKGBUILD2019-10-06 16:01:48 UTC (rev 363960)
@@ -4,12 +4,11 @@
 
 pkgname=tar
 pkgver=1.32
-pkgrel=1
+pkgrel=2
 pkgdesc='Utility used to store, backup, and transport files'
 arch=('x86_64')
 url='https://www.gnu.org/software/tar/'
 license=('GPL3')
-groups=('base')
 depends=('glibc' 'acl' 'attr')
 options=('!emptydirs')
 validpgpkeys=('325F650C4C2B6AD58807327A3602B07F55D0C732') # Sergey Poznyakoff


[arch-commits] Commit in tar/trunk (PKGBUILD)

2019-02-23 Thread Sébastien Luttringer via arch-commits
Date: Saturday, February 23, 2019 @ 16:19:35
  Author: seblu
Revision: 346723

upgpkg: tar 1.32-1

Modified:
  tar/trunk/PKGBUILD

--+
 PKGBUILD |   12 +---
 1 file changed, 5 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-02-23 15:52:11 UTC (rev 346722)
+++ PKGBUILD2019-02-23 16:19:35 UTC (rev 346723)
@@ -3,8 +3,8 @@
 # Contributor: Andreas Radke 
 
 pkgname=tar
-pkgver=1.31
-pkgrel=2
+pkgver=1.32
+pkgrel=1
 pkgdesc='Utility used to store, backup, and transport files'
 arch=('x86_64')
 url='https://www.gnu.org/software/tar/'
@@ -13,11 +13,9 @@
 depends=('glibc' 'acl' 'attr')
 options=('!emptydirs')
 validpgpkeys=('325F650C4C2B6AD58807327A3602B07F55D0C732') # Sergey Poznyakoff
-source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig}
-   
'01.patch::https://git.savannah.gnu.org/cgit/tar.git/patch/?id=85c005ee1345c342f707f3c55317daf6cb050603')
-md5sums=('bc9a89da1185ceb2210de12552c43ce2'
- 'SKIP'
- 'c59638fdf88b94c46561fb68d869c5ff')
+source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
+md5sums=('83e38700a80a26e30b2df054e69956e5'
+ 'SKIP')
 
 prepare() {
   cd $pkgname-$pkgver


[arch-commits] Commit in tar/trunk (PKGBUILD)

2019-01-14 Thread Sébastien Luttringer via arch-commits
Date: Monday, January 14, 2019 @ 23:19:00
  Author: seblu
Revision: 344101

Use https in patch link

Modified:
  tar/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-01-14 22:15:14 UTC (rev 344100)
+++ PKGBUILD2019-01-14 23:19:00 UTC (rev 344101)
@@ -14,7 +14,7 @@
 options=('!emptydirs')
 validpgpkeys=('325F650C4C2B6AD58807327A3602B07F55D0C732') # Sergey Poznyakoff
 source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig}
-   
'01.patch::http://git.savannah.gnu.org/cgit/tar.git/patch/?id=85c005ee1345c342f707f3c55317daf6cb050603')
+   
'01.patch::https://git.savannah.gnu.org/cgit/tar.git/patch/?id=85c005ee1345c342f707f3c55317daf6cb050603')
 md5sums=('bc9a89da1185ceb2210de12552c43ce2'
  'SKIP'
  'c59638fdf88b94c46561fb68d869c5ff')


[arch-commits] Commit in tar/trunk (PKGBUILD)

2019-01-14 Thread Sébastien Luttringer via arch-commits
Date: Monday, January 14, 2019 @ 14:08:30
  Author: seblu
Revision: 344070

upgpkg: tar 1.31-2

- fix FS#61326

Modified:
  tar/trunk/PKGBUILD

--+
 PKGBUILD |   21 -
 1 file changed, 12 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-01-14 13:59:42 UTC (rev 344069)
+++ PKGBUILD2019-01-14 14:08:30 UTC (rev 344070)
@@ -4,7 +4,7 @@
 
 pkgname=tar
 pkgver=1.31
-pkgrel=1
+pkgrel=2
 pkgdesc='Utility used to store, backup, and transport files'
 arch=('x86_64')
 url='https://www.gnu.org/software/tar/'
@@ -13,19 +13,22 @@
 depends=('glibc' 'acl' 'attr')
 options=('!emptydirs')
 validpgpkeys=('325F650C4C2B6AD58807327A3602B07F55D0C732') # Sergey Poznyakoff
-source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
+source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig}
+   
'01.patch::http://git.savannah.gnu.org/cgit/tar.git/patch/?id=85c005ee1345c342f707f3c55317daf6cb050603')
 md5sums=('bc9a89da1185ceb2210de12552c43ce2'
- 'SKIP')
+ 'SKIP'
+ 'c59638fdf88b94c46561fb68d869c5ff')
 
 prepare() {
   cd $pkgname-$pkgver
   # apply patch from the source array (should be a pacman feature)
-  local filename
-  for filename in "${source[@]}"; do
-if [[ "$filename" =~ \.patch$ ]]; then
-  msg2 "Applying patch ${filename##*/}"
-  patch -p1 -N -i "$srcdir/${filename##*/}"
-fi
+  local src
+  for src in "${source[@]}"; do
+src="${src%%::*}"
+src="${src##*/}"
+[[ $src = *.patch ]] || continue
+msg2 "Applying patch $src..."
+patch -Np1 < "../$src"
   done
   :
 }


[arch-commits] Commit in tar/trunk (PKGBUILD)

2016-05-17 Thread Sébastien Luttringer
Date: Tuesday, May 17, 2016 @ 22:35:05
  Author: seblu
Revision: 268259

upgpkg: tar 1.29-1

Modified:
  tar/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-05-17 19:34:01 UTC (rev 268258)
+++ PKGBUILD2016-05-17 20:35:05 UTC (rev 268259)
@@ -4,8 +4,8 @@
 # Contributor: Andreas Radke 
 
 pkgname=tar
-pkgver=1.28
-pkgrel=2
+pkgver=1.29
+pkgrel=1
 pkgdesc='Utility used to store, backup, and transport files'
 arch=('i686' 'x86_64')
 url='http://www.gnu.org/software/tar/tar.html'
@@ -15,7 +15,7 @@
 options=('!emptydirs')
 validpgpkeys=('325F650C4C2B6AD58807327A3602B07F55D0C732') # Sergey Poznyakoff
 source=("ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
-md5sums=('49b6306167724fe48f419a33a5beb857'
+md5sums=('a1802fec550baaeecff6c381629653ef'
  'SKIP')
 
 build() {


[arch-commits] Commit in tar/trunk (PKGBUILD tar.install)

2016-05-14 Thread Sébastien Luttringer
Date: Saturday, May 14, 2016 @ 15:22:58
  Author: seblu
Revision: 267969

upgpkg: tar 1.28-2

https://www.archlinux.org/todo/hooks-part-1/

Modified:
  tar/trunk/PKGBUILD
Deleted:
  tar/trunk/tar.install

-+
 PKGBUILD|3 +--
 tar.install |   22 --
 2 files changed, 1 insertion(+), 24 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-05-14 13:15:30 UTC (rev 267968)
+++ PKGBUILD2016-05-14 13:22:58 UTC (rev 267969)
@@ -5,7 +5,7 @@
 
 pkgname=tar
 pkgver=1.28
-pkgrel=1
+pkgrel=2
 pkgdesc='Utility used to store, backup, and transport files'
 arch=('i686' 'x86_64')
 url='http://www.gnu.org/software/tar/tar.html'
@@ -13,7 +13,6 @@
 groups=('base')
 depends=('glibc' 'acl' 'attr')
 options=('!emptydirs')
-install=tar.install
 validpgpkeys=('325F650C4C2B6AD58807327A3602B07F55D0C732') # Sergey Poznyakoff
 source=("ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
 md5sums=('49b6306167724fe48f419a33a5beb857'

Deleted: tar.install
===
--- tar.install 2016-05-14 13:15:30 UTC (rev 267968)
+++ tar.install 2016-05-14 13:22:58 UTC (rev 267969)
@@ -1,22 +0,0 @@
-# vim:set ts=2 sw=2 et:
-
-infodir=usr/share/info
-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.gz" "$infodir/dir" 2> /dev/null
-  done
-}
-
-post_upgrade() {
-  post_install "$1"
-}
-
-pre_remove() {
-  [[ -x usr/bin/install-info ]] || return 0
-  for file in "${filelist[@]}"; do
-install-info --delete "$infodir/$file.gz" "$infodir/dir" 2> /dev/null
-  done
-}


[arch-commits] Commit in tar/trunk (PKGBUILD tar.install)

2014-07-29 Thread Sébastien Luttringer
Date: Tuesday, July 29, 2014 @ 12:20:41
  Author: seblu
Revision: 218321

upgpkg: tar 1.28-1

- upstream bump
- maintainer update
- full deps
- sebluify pkgbuild
- bashify .install

Modified:
  tar/trunk/PKGBUILD
  tar/trunk/tar.install

-+
 PKGBUILD|   27 +++
 tar.install |   17 +
 2 files changed, 24 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-07-29 10:12:56 UTC (rev 218320)
+++ PKGBUILD2014-07-29 10:20:41 UTC (rev 218321)
@@ -1,34 +1,37 @@
 # $Id$
-# Maintainer: Allan McRae al...@archlinux.org
+# Mainainer: Sébastien Seblu Luttringer se...@archlinux.org
+# Contributor: Allan McRae al...@archlinux.org
 # Contributor: Andreas Radke andy...@archlinux.org
 
 pkgname=tar
-pkgver=1.27.1
+pkgver=1.28
 pkgrel=1
-pkgdesc=Utility used to store, backup, and transport files
+pkgdesc='Utility used to store, backup, and transport files'
 arch=('i686' 'x86_64')
-url=http://www.gnu.org/software/tar/tar.html;
+url='http://www.gnu.org/software/tar/tar.html'
 license=('GPL3')
 groups=('base')
-depends=('glibc' 'sh')
+depends=('glibc' 'acl' 'attr')
 options=('!emptydirs')
 install=tar.install
-source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
-md5sums=('e0382a4064e09a4943f3adeff1435978'
+source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
+md5sums=('49b6306167724fe48f419a33a5beb857'
  'SKIP')
 
 build() {
-  cd ${srcdir}/$pkgname-$pkgver
+  cd $pkgname-$pkgver
   ./configure --prefix=/usr --libexecdir=/usr/lib/tar
   make
 }
 
 check() {
-  cd ${srcdir}/$pkgname-$pkgver
+  cd $pkgname-$pkgver
   make check
 }
-  
+
 package() {
-  cd ${srcdir}/$pkgname-$pkgver
-  make DESTDIR=${pkgdir} install
+  cd $pkgname-$pkgver
+  make DESTDIR=$pkgdir install
 }
+
+# vim:set ts=2 sw=2 et:

Modified: tar.install
===
--- tar.install 2014-07-29 10:12:56 UTC (rev 218320)
+++ tar.install 2014-07-29 10:20:41 UTC (rev 218321)
@@ -1,21 +1,22 @@
+# vim:set ts=2 sw=2 et:
+
 infodir=usr/share/info
 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.gz $infodir/dir 2 /dev/null
+  [[ -x usr/bin/install-info ]] || return 0
+  for file in ${filelist[@]}; do
+install-info $infodir/$file.gz $infodir/dir 2 /dev/null
   done
 }
 
 post_upgrade() {
-  post_install $1
+  post_install $1
 }
 
 pre_remove() {
-  [ -x usr/bin/install-info ] || return 0
-  for file in ${filelist[@]}; do
-install-info --delete $infodir/$file.gz $infodir/dir 2 /dev/null
+  [[ -x usr/bin/install-info ]] || return 0
+  for file in ${filelist[@]}; do
+install-info --delete $infodir/$file.gz $infodir/dir 2 /dev/null
   done
 }
-



[arch-commits] Commit in tar/trunk (PKGBUILD)

2013-11-17 Thread Allan McRae
Date: Monday, November 18, 2013 @ 01:52:35
  Author: allan
Revision: 199880

upgpkg: tar 1.27.1-1

upstream update

Modified:
  tar/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-11-18 00:18:54 UTC (rev 199879)
+++ PKGBUILD2013-11-18 00:52:35 UTC (rev 199880)
@@ -3,7 +3,7 @@
 # Contributor: Andreas Radke andy...@archlinux.org
 
 pkgname=tar
-pkgver=1.27
+pkgver=1.27.1
 pkgrel=1
 pkgdesc=Utility used to store, backup, and transport files
 arch=('i686' 'x86_64')
@@ -14,7 +14,7 @@
 options=('!emptydirs')
 install=tar.install
 source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
-md5sums=('3484fc42b7a82b82f2305b2971aa0e56'
+md5sums=('e0382a4064e09a4943f3adeff1435978'
  'SKIP')
 
 build() {



[arch-commits] Commit in tar/trunk (PKGBUILD tar.1)

2013-10-05 Thread Allan McRae
Date: Sunday, October 6, 2013 @ 02:46:26
  Author: allan
Revision: 195941

upgpkg: tar 1.27-1

upstream update, remove man page not supplied by upstream

Modified:
  tar/trunk/PKGBUILD
Deleted:
  tar/trunk/tar.1

--+
 PKGBUILD |   21 ---
 tar.1|  367 -
 2 files changed, 5 insertions(+), 383 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-10-05 22:28:35 UTC (rev 195940)
+++ PKGBUILD2013-10-06 00:46:26 UTC (rev 195941)
@@ -3,8 +3,8 @@
 # Contributor: Andreas Radke andy...@archlinux.org
 
 pkgname=tar
-pkgver=1.26
-pkgrel=4
+pkgver=1.27
+pkgrel=1
 pkgdesc=Utility used to store, backup, and transport files
 arch=('i686' 'x86_64')
 url=http://www.gnu.org/software/tar/tar.html;
@@ -13,19 +13,10 @@
 depends=('glibc' 'sh')
 options=('!emptydirs')
 install=tar.install
-source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}
-tar.1)
-md5sums=('0ced6f20b9fa1bea588005b5ad4b52c1'
- '6618d5fe7785e138c27d7d6a24e998b2'
- 'e97e7343f4e23724b4c48bca2f033e38')
+source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
+md5sums=('3484fc42b7a82b82f2305b2971aa0e56'
+ 'SKIP')
 
-prepare() {
-  cd ${srcdir}/$pkgname-$pkgver
-
-  # fix build failure with glibc-2.16
-  sed -i -e '/gets is a/d' gnu/stdio.in.h
-}
-
 build() {
   cd ${srcdir}/$pkgname-$pkgver
   ./configure --prefix=/usr --libexecdir=/usr/lib/tar
@@ -40,6 +31,4 @@
 package() {
   cd ${srcdir}/$pkgname-$pkgver
   make DESTDIR=${pkgdir} install
-  
-  install -Dm644 ${srcdir}/tar.1 ${pkgdir}/usr/share/man/man1/tar.1
 }

Deleted: tar.1
===
--- tar.1   2013-10-05 22:28:35 UTC (rev 195940)
+++ tar.1   2013-10-06 00:46:26 UTC (rev 195941)
@@ -1,367 +0,0 @@
-.\ generated by script on Fri Aug 19 16:19:30 2011
-.Dd Aug 19, 2011
-.Dt TAR 1
-.Sh NAME
-.Nm tar
-.Nd The GNU version of the tar archiving utility
-.Sh SYNOPSIS
-.Nm tar
-.Oo Fl Oc Cm A Fl \-catenate \-concatenate Cm \||\| c Fl \-create Cm \||\| d 
Fl \-diff \-compare Cm \||\| Fl \-delete Cm \||\| r Fl \-append Cm \||\| t Fl 
\-list Cm \||\| Fl \-test\-label Cm \||\| u Fl \-update Cm \||\| x Fl \-extract 
\-get
-.Op Ar options
-.Op Ar pathname ...
-.Sh DESCRIPTION
-.Nm Tar
-stores and extracts files from a tape or disk archive.
-.Pp
-The first argument to
-tar
-should be a function; either one of the letters
-.Cm Acdrtux ,
-or one of the long function names.
-A function letter need not be prefixed with ``\-'', and may be combined
-with other single-letter options.
-A long function name must be prefixed with
-.Cm \\-\\- .
-Some options take a parameter; with the single-letter form
-these must be given as separate arguments.
-With the long form, they may be given by appending
-.Cm = Ns Ar value
-to the option.
-.Sh FUNCTION LETTERS
-Main operation mode:
-.Bl -tag -width flag
-.It Fl A , Fl \-catenate , Fl \-concatenate
-append tar files to an archive
-.It Fl c , Fl \-create
-create a new archive
-.It Fl d , Fl \-diff , Fl \-compare
-find differences between archive and file system
-.It Fl \-delete
-delete from the archive (not on mag tapes!)
-.It Fl r , Fl \-append
-append files to the end of an archive
-.It Fl t , Fl \-list
-list the contents of an archive
-.It Fl \-test\-label
-test the archive volume label and exit
-.It Fl u , Fl \-update
-only append files newer than copy in archive
-.It Fl x , Fl \-extract , Fl \-get
-extract files from an archive
-.El
-.Sh OTHER OPTIONS
-Operation modifiers:
-.Bl -tag -width flag
-.It \-[0\-7][lmh]
-specify drive and density
-.It Fl a , Fl \-auto\-compress
-use archive suffix to determine the compression program
-.It Fl \-add\-file Ns \= Ns Ar FILE
-add given FILE to the archive (useful if its name starts with a dash)
-.It Fl \-anchored
-patterns match file name start
-.It Fl \-no\-anchored
-patterns match after any `/' (default for exclusion)
-.It Fl \-atime\-preserve
-preserve access times on dumped files, either by restoring the times
-.It Fl \-no\-auto\-compress
-do not use archive suffix to determine the compression program
-.It Fl b , Fl \-blocking\-factor Ar BLOCKS
-BLOCKS x 512 bytes per record
-.It Fl B , Fl \-read\-full\-records
-reblock as we read (for 4.2BSD pipes)
-.It Fl \-backup
-backup before removal, choose version CONTROL
-.It Fl C , Fl \-directory Ar DIR
-change to directory DIR
-.It Fl \-check\-device
-check device numbers when creating incremental archives (default)
-.It Fl \-no\-check\-device
-do not check device numbers when creating incremental archives
-.It Fl \-checkpoint
-display progress messages every NUMBERth record (default 10)
-.It Fl \-checkpoint\-action Ns \= Ns Ar ACTION
-execute ACTION on each checkpoint
-.It Fl \-delay\-directory\-restore
-delay setting modification times and permissions of extracted
-.It Fl \-no\-delay\-directory\-restore
-cancel the effect of 

[arch-commits] Commit in tar/trunk (PKGBUILD)

2013-05-29 Thread Allan McRae
Date: Thursday, May 30, 2013 @ 05:50:09
  Author: allan
Revision: 186604

upgpkg: tar 1.26-4

/usr move

Modified:
  tar/trunk/PKGBUILD

--+
 PKGBUILD |6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-05-30 03:48:37 UTC (rev 186603)
+++ PKGBUILD2013-05-30 03:50:09 UTC (rev 186604)
@@ -4,7 +4,7 @@
 
 pkgname=tar
 pkgver=1.26
-pkgrel=3
+pkgrel=4
 pkgdesc=Utility used to store, backup, and transport files
 arch=('i686' 'x86_64')
 url=http://www.gnu.org/software/tar/tar.html;
@@ -41,9 +41,5 @@
   cd ${srcdir}/$pkgname-$pkgver
   make DESTDIR=${pkgdir} install
   
-  # probably needed for compatibility
-  install -dm755 ${pkgdir}/bin
-  ln -s ../usr/bin/tar ${pkgdir}/bin/tar
-  
   install -Dm644 ${srcdir}/tar.1 ${pkgdir}/usr/share/man/man1/tar.1
 }



[arch-commits] Commit in tar/trunk (PKGBUILD)

2013-04-15 Thread Allan McRae
Date: Tuesday, April 16, 2013 @ 06:30:33
  Author: allan
Revision: 182904

upgpkg: tar 1.26-3

rebuild of old package, move to /usr/bin and add symlink

Modified:
  tar/trunk/PKGBUILD

--+
 PKGBUILD |   14 +++---
 1 file changed, 11 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-04-16 04:08:54 UTC (rev 182903)
+++ PKGBUILD2013-04-16 04:30:33 UTC (rev 182904)
@@ -4,7 +4,7 @@
 
 pkgname=tar
 pkgver=1.26
-pkgrel=2
+pkgrel=3
 pkgdesc=Utility used to store, backup, and transport files
 arch=('i686' 'x86_64')
 url=http://www.gnu.org/software/tar/tar.html;
@@ -19,13 +19,16 @@
  '6618d5fe7785e138c27d7d6a24e998b2'
  'e97e7343f4e23724b4c48bca2f033e38')
 
-build() {
+prepare() {
   cd ${srcdir}/$pkgname-$pkgver
 
   # fix build failure with glibc-2.16
   sed -i -e '/gets is a/d' gnu/stdio.in.h
+}
 
-  ./configure --prefix=/usr --libexecdir=/usr/lib/tar --bindir=/bin
+build() {
+  cd ${srcdir}/$pkgname-$pkgver
+  ./configure --prefix=/usr --libexecdir=/usr/lib/tar
   make
 }
 
@@ -37,5 +40,10 @@
 package() {
   cd ${srcdir}/$pkgname-$pkgver
   make DESTDIR=${pkgdir} install
+  
+  # probably needed for compatibility
+  install -dm755 ${pkgdir}/bin
+  ln -s ../usr/bin/tar ${pkgdir}/bin/tar
+  
   install -Dm644 ${srcdir}/tar.1 ${pkgdir}/usr/share/man/man1/tar.1
 }



[arch-commits] Commit in tar/trunk (PKGBUILD)

2012-09-19 Thread Allan McRae
Date: Wednesday, September 19, 2012 @ 23:31:27
  Author: allan
Revision: 166859

fix build failure with glibc-2.16

Modified:
  tar/trunk/PKGBUILD

--+
 PKGBUILD |3 +++
 1 file changed, 3 insertions(+)

Modified: PKGBUILD
===
--- PKGBUILD2012-09-20 03:29:26 UTC (rev 166858)
+++ PKGBUILD2012-09-20 03:31:27 UTC (rev 166859)
@@ -22,6 +22,9 @@
 build() {
   cd ${srcdir}/$pkgname-$pkgver
 
+  # fix build failure with glibc-2.16
+  sed -i -e '/gets is a/d' gnu/stdio.in.h
+
   ./configure --prefix=/usr --libexecdir=/usr/lib/tar --bindir=/bin
   make
 }



[arch-commits] Commit in tar/trunk (PKGBUILD tar.1)

2011-11-03 Thread Allan McRae
Date: Thursday, November 3, 2011 @ 10:11:43
  Author: allan
Revision: 141952

signing rebuild, update man page

Modified:
  tar/trunk/PKGBUILD
  tar/trunk/tar.1

--+
 PKGBUILD |7 ---
 tar.1|9 ++---
 2 files changed, 10 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-11-03 13:36:47 UTC (rev 141951)
+++ PKGBUILD2011-11-03 14:11:43 UTC (rev 141952)
@@ -4,7 +4,7 @@
 
 pkgname=tar
 pkgver=1.26
-pkgrel=1
+pkgrel=2
 pkgdesc=Utility used to store, backup, and transport files
 arch=('i686' 'x86_64')
 url=http://www.gnu.org/software/tar/tar.html;
@@ -13,10 +13,11 @@
 depends=('glibc' 'sh')
 options=('!emptydirs')
 install=tar.install
-source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz
+source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}
 tar.1)
 md5sums=('0ced6f20b9fa1bea588005b5ad4b52c1'
- 'e0538778516a284e3558c454b2576c2f')
+ '6618d5fe7785e138c27d7d6a24e998b2'
+ 'e97e7343f4e23724b4c48bca2f033e38')
 
 build() {
   cd ${srcdir}/$pkgname-$pkgver

Modified: tar.1
===
--- tar.1   2011-11-03 13:36:47 UTC (rev 141951)
+++ tar.1   2011-11-03 14:11:43 UTC (rev 141952)
@@ -1,5 +1,5 @@
-.\ generated by script on Wed Mar 10 17:01:09 2010
-.Dd Mar 10, 2010
+.\ generated by script on Fri Aug 19 16:19:30 2011
+.Dd Aug 19, 2011
 .Dt TAR 1
 .Sh NAME
 .Nm tar
@@ -110,6 +110,8 @@
 run script at end of each tape (implies -M)
 .It Fl \-force\-local
 archive file is local even if it has a colon
+.It Fl \-full\-time
+print file time to its full resolution
 .It Fl g , Fl \-listed\-incremental Ar FILE
 handle new GNU-format incremental backup
 .It Fl G , Fl \-incremental
@@ -283,7 +285,7 @@
 .It Fl \-no\-unquote
 do not unquote filenames read with -T
 .It Fl \-utc
-print file modification dates in UTC
+print file modification times in UTC
 .It Fl v , Fl \-verbose
 verbosely list files processed
 .It Fl V , Fl \-label Ar TEXT
@@ -329,6 +331,7 @@
 .Fl \-file
 is not specified.
 If this environment variable is unset, use stdin or stdout instead.
+.It Ev TAR_LONGLINK_100
 .El
 .Sh EXAMPLES
 Create archive.tar from files foo and bar.



[arch-commits] Commit in tar/trunk (PKGBUILD)

2011-06-28 Thread Allan McRae
Date: Wednesday, June 29, 2011 @ 00:33:10
  Author: allan
Revision: 129859

move make check into check function

Modified:
  tar/trunk/PKGBUILD

--+
 PKGBUILD |4 
 1 file changed, 4 insertions(+)

Modified: PKGBUILD
===
--- PKGBUILD2011-06-29 04:32:30 UTC (rev 129858)
+++ PKGBUILD2011-06-29 04:33:10 UTC (rev 129859)
@@ -23,6 +23,10 @@
 
   ./configure --prefix=/usr --libexecdir=/usr/lib/tar --bindir=/bin
   make
+}
+
+check() {
+  cd ${srcdir}/$pkgname-$pkgver
   make check
 }
   



[arch-commits] Commit in tar/trunk (PKGBUILD tar.install)

2011-03-13 Thread Allan McRae
Date: Sunday, March 13, 2011 @ 06:37:30
  Author: allan
Revision: 114404

upgpkg: tar 1.26-1
upstream update

Modified:
  tar/trunk/PKGBUILD
  tar/trunk/tar.install

-+
 PKGBUILD|6 +++---
 tar.install |2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-03-13 10:06:36 UTC (rev 114403)
+++ PKGBUILD2011-03-13 10:37:30 UTC (rev 114404)
@@ -3,7 +3,7 @@
 # Contributor: Andreas Radke andy...@archlinux.org
 
 pkgname=tar
-pkgver=1.25
+pkgver=1.26
 pkgrel=1
 pkgdesc=Utility used to store, backup, and transport files
 arch=('i686' 'x86_64')
@@ -13,9 +13,9 @@
 depends=('glibc' 'sh')
 options=('!emptydirs')
 install=tar.install
-source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.bz2
+source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz
 tar.1)
-md5sums=('6e497f861c77bbba2f7da4e10270995b'
+md5sums=('0ced6f20b9fa1bea588005b5ad4b52c1'
  'e0538778516a284e3558c454b2576c2f')
 
 build() {

Modified: tar.install
===
--- tar.install 2011-03-13 10:06:36 UTC (rev 114403)
+++ tar.install 2011-03-13 10:37:30 UTC (rev 114404)
@@ -1,4 +1,4 @@
-infodir=/usr/share/info
+infodir=usr/share/info
 filelist=(tar.info tar.info-1 tar.info-2)
 
 post_install() {



[arch-commits] Commit in tar/trunk (PKGBUILD tar-1.24-directory-change-issue.patch)

2010-10-30 Thread Allan McRae
Date: Saturday, October 30, 2010 @ 04:57:43
  Author: allan
Revision: 97410

upgpkg: tar 1.24-1
upstream update and patch

Added:
  tar/trunk/tar-1.24-directory-change-issue.patch
Modified:
  tar/trunk/PKGBUILD

---+
 PKGBUILD  |   21 --
 tar-1.24-directory-change-issue.patch |   97 
 2 files changed, 112 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-10-30 01:21:13 UTC (rev 97409)
+++ PKGBUILD2010-10-30 08:57:43 UTC (rev 97410)
@@ -3,8 +3,8 @@
 # Contributor: Andreas Radke andy...@archlinux.org
 
 pkgname=tar
-pkgver=1.23
-pkgrel=3
+pkgver=1.24
+pkgrel=1
 pkgdesc=Utility used to store, backup, and transport files
 arch=('i686' 'x86_64')
 url=http://www.gnu.org/software/tar/tar.html;
@@ -15,16 +15,25 @@
 install=tar.install
 source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.bz2
 tar.1
-tar-1.22-fortifysourcessigabrt.patch)
-md5sums=('41e2ca4b924ec7860e51b43ad06cdb7e'
+tar-1.22-fortifysourcessigabrt.patch
+tar-1.24-directory-change-issue.patch)
+md5sums=('ba905d8b1dcf06254e8025cc4468d8e5'
  'e0538778516a284e3558c454b2576c2f'
- 'ab85070f3b950789900adfbaac3b28da')
+ 'ab85070f3b950789900adfbaac3b28da'
+ 'f7598695d12918ab23ce7cb52ccffc5a')
 
 build() {
   cd ${srcdir}/$pkgname-$pkgver
+  
+  # http://www.mail-archive.com/bug-...@gnu.org/msg02601.html
   patch -Np1 -i $srcdir/tar-1.22-fortifysourcessigabrt.patch
+  
+  # http://git.savannah.gnu.org/cgit/tar.git/commit/?id=acb77ac5
+  patch -Np1 -i $srcdir/tar-1.24-directory-change-issue.patch
+
   ./configure --prefix=/usr --libexecdir=/usr/lib/tar --bindir=/bin
-  make || return 1
+  make
+  make check
 }
   
 package() {

Added: tar-1.24-directory-change-issue.patch
===
--- tar-1.24-directory-change-issue.patch   (rev 0)
+++ tar-1.24-directory-change-issue.patch   2010-10-30 08:57:43 UTC (rev 
97410)
@@ -0,0 +1,97 @@
+From acb77ac5bd4bf9248070c9c512525eee8258aebd Mon Sep 17 00:00:00 2001
+From: Paul Eggert egg...@cs.ucla.edu
+Date: Tue, 26 Oct 2010 03:20:19 +
+Subject: tar: fix bug with -C and extracting directories
+
+Problem reported by Denis Excoffier in
+http://lists.gnu.org/archive/html/bug-tar/2010-10/msg00034.html.
+
+* src/extract.c (extract_dir): Use mkdirat, not mkdir.
+* tests/extrac16.at: New file, to test for this bug.
+* tests/Makefile.am (TESTSUITE_AT): Add it.
+* tests/testsuite.at: Include it.
+
+This file is a placeholder. It will be replaced with the actual ChangeLog
+by make dist.  Run make ChangeLog if you wish to create it earlier.
+---
+diff --git a/src/extract.c b/src/extract.c
+index 0d23d4a..98236ac 100644
+--- a/src/extract.c
 b/src/extract.c
+@@ -777,7 +777,7 @@ extract_dir (char *file_name, int typeflag)
+ 
+   for (;;)
+ {
+-  status = mkdir (file_name, mode);
++  status = mkdirat (chdir_fd, file_name, mode);
+   if (status == 0)
+   {
+ current_mode = mode  ~ current_umask;
+diff --git a/tests/Makefile.am b/tests/Makefile.am
+index d29563a..b71e83c 100644
+--- a/tests/Makefile.am
 b/tests/Makefile.am
+@@ -82,6 +82,7 @@ TESTSUITE_AT = \
+  extrac13.at\
+  extrac14.at\
+  extrac15.at\
++ extrac16.at\
+  filerem01.at\
+  filerem02.at\
+  gzip.at\
+diff --git a/tests/extrac16.at b/tests/extrac16.at
+new file mode 100644
+index 000..625e579
+--- a/dev/null
 b/tests/extrac16.at
+@@ -0,0 +1,36 @@
++# Process this file with autom4te to create testsuite. -*- Autotest -*-
++
++# Test suite for GNU tar.
++# Copyright (C) 2010 Free Software Foundation, Inc.
++
++# This program is free software; you can redistribute it and/or modify
++# it under the terms of the GNU General Public License as published by
++# the Free Software Foundation; either version 3, or (at your option)
++# any later version.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++# GNU General Public License for more details.
++
++# You should have received a copy of the GNU General Public License
++# along with this program.  If not, see http://www.gnu.org/licenses/.
++
++# written by Paul Eggert from a bug report by Denis Excoffier
++# http://lists.gnu.org/archive/html/bug-tar/2010-10/msg00034.html
++
++# Check extraction of empty directory with -C.
++
++AT_SETUP([extract empty directory with -C])
++AT_KEYWORDS([extract extrac16])
++
++AT_TAR_CHECK([
++mkdir src src/a src/a/b dest
++touch src/a/c
++
++tar -cf archive.tar -C src a 
++tar -xf archive.tar -C dest
++],
++[0],[],[],[],[],[gnu])
++
++AT_CLEANUP
+diff --git a/tests/testsuite.at b/tests/testsuite.at
+index c386892..40f0e41 100644
+--- 

[arch-commits] Commit in tar/trunk (PKGBUILD)

2010-05-29 Thread Allan McRae
Date: Saturday, May 29, 2010 @ 10:13:27
  Author: allan
Revision: 81388

upgpkg: tar 1.23-3
actually apply patch...

Modified:
  tar/trunk/PKGBUILD

--+
 PKGBUILD |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-05-29 13:59:23 UTC (rev 81387)
+++ PKGBUILD2010-05-29 14:13:27 UTC (rev 81388)
@@ -4,7 +4,7 @@
 
 pkgname=tar
 pkgver=1.23
-pkgrel=2
+pkgrel=3
 pkgdesc=Utility used to store, backup, and transport files
 arch=('i686' 'x86_64')
 url=http://www.gnu.org/software/tar/tar.html;
@@ -22,6 +22,7 @@
 
 build() {
   cd ${srcdir}/$pkgname-$pkgver
+  patch -Np1 -i $srcdir/tar-1.22-fortifysourcessigabrt.patch
   ./configure --prefix=/usr --libexecdir=/usr/lib/tar --bindir=/bin
   make || return 1
 }



[arch-commits] Commit in tar/trunk (PKGBUILD tar-1.22-fortifysourcessigabrt.patch)

2010-05-22 Thread Allan McRae
Date: Saturday, May 22, 2010 @ 07:23:58
  Author: allan
Revision: 80798

upgpkg: tar 1.23-2
patch to fix buffer overflow

Added:
  tar/trunk/tar-1.22-fortifysourcessigabrt.patch
Modified:
  tar/trunk/PKGBUILD

--+
 PKGBUILD |   11 +++
 tar-1.22-fortifysourcessigabrt.patch |   32 
 2 files changed, 39 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-05-22 10:22:59 UTC (rev 80797)
+++ PKGBUILD2010-05-22 11:23:58 UTC (rev 80798)
@@ -4,7 +4,7 @@
 
 pkgname=tar
 pkgver=1.23
-pkgrel=1
+pkgrel=2
 pkgdesc=Utility used to store, backup, and transport files
 arch=('i686' 'x86_64')
 url=http://www.gnu.org/software/tar/tar.html;
@@ -13,9 +13,12 @@
 depends=('glibc' 'sh')
 options=('!emptydirs')
 install=tar.install
-source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.bz2 tar.1)
+source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.bz2
+tar.1
+tar-1.22-fortifysourcessigabrt.patch)
 md5sums=('41e2ca4b924ec7860e51b43ad06cdb7e'
- 'e0538778516a284e3558c454b2576c2f')
+ 'e0538778516a284e3558c454b2576c2f'
+ 'ab85070f3b950789900adfbaac3b28da')
 
 build() {
   cd ${srcdir}/$pkgname-$pkgver
@@ -26,5 +29,5 @@
 package() {
   cd ${srcdir}/$pkgname-$pkgver
   make DESTDIR=${pkgdir} install
-  install -D -m644 ../tar.1 ${pkgdir}/usr/share/man/man1/tar.1
+  install -Dm644 ${srcdir}/tar.1 ${pkgdir}/usr/share/man/man1/tar.1
 }

Added: tar-1.22-fortifysourcessigabrt.patch
===
--- tar-1.22-fortifysourcessigabrt.patch(rev 0)
+++ tar-1.22-fortifysourcessigabrt.patch2010-05-22 11:23:58 UTC (rev 
80798)
@@ -0,0 +1,32 @@
+diff -urNp tar-1.22-orig/src/create.c tar-1.22/src/create.c
+--- tar-1.22-orig/src/create.c 2009-07-09 18:38:37.0 +0200
 tar-1.22/src/create.c  2009-07-09 18:43:44.0 +0200
+@@ -578,7 +578,10 @@ write_gnu_long_link (struct tar_stat_inf
+   GNAME_TO_CHARS (tmpname, header-header.gname);
+   free (tmpname);
+ 
+-  strcpy (header-header.magic, OLDGNU_MAGIC);
++  /* OLDGNU_MAGIC is string with 7 chars + NULL */
++  strncpy (header-header.magic, OLDGNU_MAGIC, sizeof(header-header.magic));
++  strncpy (header-header.version, OLDGNU_MAGIC+sizeof(header-header.magic),
++   sizeof(header-header.version));
+   header-header.typeflag = type;
+   finish_header (st, header, -1);
+ 
+@@ -908,9 +911,13 @@ start_header (struct tar_stat_info *st)
+   break;
+ 
+ case OLDGNU_FORMAT:
+-case GNU_FORMAT:   /*FIXME?*/
+-  /* Overwrite header-header.magic and header.version in one blow.  */
+-  strcpy (header-header.magic, OLDGNU_MAGIC);
++case GNU_FORMAT:
++  /* OLDGNU_MAGIC is string with 7 chars + NULL */
++  strncpy (header-header.magic, OLDGNU_MAGIC,
++   sizeof(header-header.magic));
++  strncpy (header-header.version,
++   OLDGNU_MAGIC+sizeof(header-header.magic),
++   sizeof(header-header.version));
+   break;
+ 
+ case POSIX_FORMAT:



[arch-commits] Commit in tar/trunk (PKGBUILD tar.1 tar.install)

2010-03-15 Thread Allan McRae
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
===
--- PKGBUILD2010-03-15 07:08:59 UTC (rev 72379)
+++ PKGBUILD2010-03-15 10:32:04 UTC (rev 72380)
@@ -1,26 +1,30 @@
 # $Id$
-# Maintainer: Andreas Radke andy...@archlinux.org
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Andreas Radke andy...@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