From 4fee3b1193dca42f7d4ef895f84705218f098970 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Tue, 7 Aug 2012 14:00:01 -0500
Subject: tar 1.26 -glibc patch

---
 abs/core/tar/PKGBUILD    | 12 +++++++-----
 abs/core/tar/__changelog |  3 ++-
 abs/core/tar/tar.1       |  9 ++++++---
 3 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/abs/core/tar/PKGBUILD b/abs/core/tar/PKGBUILD
index 3bde59b..e7ac2e4 100644
--- a/abs/core/tar/PKGBUILD
+++ b/abs/core/tar/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id$
+# $Id: PKGBUILD 142080 2011-11-04 23:36:17Z allan $
 # Maintainer: Allan McRae <allan@archlinux.org>
 # Contributor: Andreas Radke <andyrtr@archlinux.org>
 
 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,15 +13,17 @@ groups=('base')
 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
+  sed -i '/gets is a security hole/d' gnu/stdio.in.h
 
-  FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/usr --libexecdir=/usr/lib/tar --bindir=/bin
+  ./configure --prefix=/usr --libexecdir=/usr/lib/tar --bindir=/bin
   make
 }
 
diff --git a/abs/core/tar/__changelog b/abs/core/tar/__changelog
index 4c86946..ad7bc8d 100644
--- a/abs/core/tar/__changelog
+++ b/abs/core/tar/__changelog
@@ -1 +1,2 @@
-added FORCE_UNSAFE_CONFIGURE=1 to configure line of PKGBUILD
+  sed -i '/gets is a security hole/d' gnu/stdio.in.h 
+
diff --git a/abs/core/tar/tar.1 b/abs/core/tar/tar.1
index 872c8dc..75bbcd3 100644
--- a/abs/core/tar/tar.1
+++ b/abs/core/tar/tar.1
@@ -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 @@ use archive file or device ARCHIVE
 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 @@ unquote filenames read with -T (default)
 .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 @@ Device or file to use for the archive if
 .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.
-- 
cgit v0.12