1 |
vapier 12/02/05 04:29:53 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: tar-1.26-r1.ebuild |
5 |
Log: |
6 |
Add xattr support #382067 by Anthony Basile. |
7 |
|
8 |
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.164 app-arch/tar/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/tar/ChangeLog?rev=1.164&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/tar/ChangeLog?rev=1.164&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/tar/ChangeLog?r1=1.163&r2=1.164 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-arch/tar/ChangeLog,v |
20 |
retrieving revision 1.163 |
21 |
retrieving revision 1.164 |
22 |
diff -u -r1.163 -r1.164 |
23 |
--- ChangeLog 7 Jan 2012 00:00:26 -0000 1.163 |
24 |
+++ ChangeLog 5 Feb 2012 04:29:53 -0000 1.164 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for app-arch/tar |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/ChangeLog,v 1.163 2012/01/07 00:00:26 vapier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/ChangeLog,v 1.164 2012/02/05 04:29:53 vapier Exp $ |
30 |
+ |
31 |
+*tar-1.26-r1 (05 Feb 2012) |
32 |
+ |
33 |
+ 05 Feb 2012; Mike Frysinger <vapier@g.o> +tar-1.26-r1.ebuild, |
34 |
+ +files/tar-1.26-xattr.patch: |
35 |
+ Add xattr support #382067 by Anthony Basile. |
36 |
|
37 |
07 Jan 2012; Mike Frysinger <vapier@g.o> files/tar.1: |
38 |
Fix duplicate --one-file-system listing reported by Mikachu. |
39 |
|
40 |
|
41 |
|
42 |
1.1 app-arch/tar/tar-1.26-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/tar/tar-1.26-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/tar/tar-1.26-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: tar-1.26-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2012 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/tar-1.26-r1.ebuild,v 1.1 2012/02/05 04:29:53 vapier Exp $ |
52 |
|
53 |
EAPI="3" |
54 |
|
55 |
inherit flag-o-matic autotools |
56 |
|
57 |
DESCRIPTION="Use this to make tarballs :)" |
58 |
HOMEPAGE="http://www.gnu.org/software/tar/" |
59 |
SRC_URI="http://ftp.gnu.org/gnu/tar/${P}.tar.bz2 |
60 |
ftp://alpha.gnu.org/gnu/tar/${P}.tar.bz2 |
61 |
mirror://gnu/tar/${P}.tar.bz2" |
62 |
|
63 |
LICENSE="GPL-3" |
64 |
SLOT="0" |
65 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
66 |
IUSE="nls static userland_GNU xattr" |
67 |
|
68 |
RDEPEND="xattr? ( sys-apps/attr )" |
69 |
DEPEND="${RDEPEND} |
70 |
nls? ( >=sys-devel/gettext-0.10.35 )" |
71 |
|
72 |
src_prepare() { |
73 |
epatch "${FILESDIR}"/${P}-xattr.patch #382067 |
74 |
eautoreconf |
75 |
|
76 |
if ! use userland_GNU ; then |
77 |
sed -i \ |
78 |
-e 's:/backup\.sh:/gbackup.sh:' \ |
79 |
scripts/{backup,dump-remind,restore}.in \ |
80 |
|| die "sed non-GNU" |
81 |
fi |
82 |
} |
83 |
|
84 |
src_configure() { |
85 |
use static && append-ldflags -static |
86 |
FORCE_UNSAFE_CONFIGURE=1 \ |
87 |
econf \ |
88 |
--enable-backup-scripts \ |
89 |
--bindir="${EPREFIX}"/bin \ |
90 |
--libexecdir="${EPREFIX}"/usr/sbin \ |
91 |
$(usex userland_GNU "" "--program-prefix=g") \ |
92 |
$(use_enable nls) \ |
93 |
$(use_enable xattr) |
94 |
} |
95 |
|
96 |
src_install() { |
97 |
emake DESTDIR="${D}" install || die |
98 |
|
99 |
local p=$(usex userland_GNU "" "g") |
100 |
if [[ -z ${p} ]] ; then |
101 |
# a nasty yet required piece of baggage |
102 |
exeinto /etc |
103 |
doexe "${FILESDIR}"/rmt || die |
104 |
fi |
105 |
|
106 |
# autoconf looks for gtar before tar (in configure scripts), hence |
107 |
# in Prefix it is important that it is there, otherwise, a gtar from |
108 |
# the host system (FreeBSD, Solaris, Darwin) will be found instead |
109 |
# of the Prefix provided (GNU) tar |
110 |
if use prefix ; then |
111 |
dosym tar /bin/gtar |
112 |
fi |
113 |
|
114 |
dodoc AUTHORS ChangeLog* NEWS README* THANKS |
115 |
newman "${FILESDIR}"/tar.1 ${p}tar.1 |
116 |
mv "${ED}"/usr/sbin/${p}backup{,-tar} |
117 |
mv "${ED}"/usr/sbin/${p}restore{,-tar} |
118 |
} |