Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-arch/tar: ChangeLog tar-1.19-r1.ebuild
Date: Mon, 10 Dec 2007 08:39:47
Message-Id: E1J1eAu-0003Cv-Ix@stork.gentoo.org
1 vapier 07/12/10 08:39:40
2
3 Modified: ChangeLog
4 Added: tar-1.19-r1.ebuild
5 Log:
6 Fix from upstream for an update regression #200315 by Billy DeVincentis.
7 (Portage version: 2.1.4_rc9)
8
9 Revision Changes Path
10 1.125 app-arch/tar/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/tar/ChangeLog?rev=1.125&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/tar/ChangeLog?rev=1.125&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/tar/ChangeLog?r1=1.124&r2=1.125
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-arch/tar/ChangeLog,v
19 retrieving revision 1.124
20 retrieving revision 1.125
21 diff -u -r1.124 -r1.125
22 --- ChangeLog 1 Dec 2007 17:07:05 -0000 1.124
23 +++ ChangeLog 10 Dec 2007 08:39:40 -0000 1.125
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-arch/tar
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/ChangeLog,v 1.124 2007/12/01 17:07:05 corsair Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/ChangeLog,v 1.125 2007/12/10 08:39:40 vapier Exp $
29 +
30 +*tar-1.19-r1 (10 Dec 2007)
31 +
32 + 10 Dec 2007; Mike Frysinger <vapier@g.o>
33 + +files/tar-1.19-update-flag.patch, +tar-1.19-r1.ebuild:
34 + Fix from upstream for an update regression #200315 by Billy DeVincentis.
35
36 01 Dec 2007; Markus Rothe <corsair@g.o> tar-1.19.ebuild:
37 Stable on ppc64
38
39
40
41 1.1 app-arch/tar/tar-1.19-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/tar/tar-1.19-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/tar/tar-1.19-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: tar-1.19-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2007 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-arch/tar/tar-1.19-r1.ebuild,v 1.1 2007/12/10 08:39:40 vapier Exp $
51
52 inherit flag-o-matic eutils
53
54 DESCRIPTION="Use this to make tarballs :)"
55 HOMEPAGE="http://www.gnu.org/software/tar/"
56 SRC_URI="http://ftp.gnu.org/gnu/tar/${P}.tar.bz2
57 ftp://alpha.gnu.org/gnu/tar/${P}.tar.bz2
58 mirror://gnu/tar/${P}.tar.bz2"
59
60 LICENSE="GPL-3"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
63 IUSE="nls static userland_GNU"
64
65 RDEPEND=""
66 DEPEND="${RDEPEND}
67 nls? ( >=sys-devel/gettext-0.10.35 )"
68
69 src_unpack() {
70 unpack ${A}
71 cd "${S}"
72 epatch "${FILESDIR}"/${P}-gnu-inline.patch #198817
73 epatch "${FILESDIR}"/${P}-update-flag.patch #200315
74
75 if ! use userland_GNU ; then
76 sed -i \
77 -e 's:/backup\.sh:/gbackup.sh:' \
78 scripts/{backup,dump-remind,restore}.in \
79 || die "sed non-GNU"
80 fi
81 }
82
83 src_compile() {
84 local myconf
85 use static && append-ldflags -static
86 use userland_GNU || myconf="--program-prefix=g"
87 # Work around bug in sandbox #67051
88 gl_cv_func_chown_follows_symlink=yes \
89 econf \
90 --enable-backup-scripts \
91 --bindir=/bin \
92 --libexecdir=/usr/sbin \
93 $(use_enable nls) \
94 ${myconf} || die
95 emake || die "emake failed"
96 }
97
98 src_install() {
99 local p=""
100 use userland_GNU || p=g
101
102 emake DESTDIR="${D}" install || die "make install failed"
103
104 if [[ -z ${p} ]] ; then
105 # a nasty yet required piece of baggage
106 exeinto /etc
107 doexe "${FILESDIR}"/rmt || die
108 fi
109
110 dodoc AUTHORS ChangeLog* NEWS README* PORTS THANKS
111 newman "${FILESDIR}"/tar.1 ${p}tar.1
112 mv "${D}"/usr/sbin/${p}backup{,-tar}
113 mv "${D}"/usr/sbin/${p}restore{,-tar}
114
115 rm -f "${D}"/usr/$(get_libdir)/charset.alias
116 }
117
118
119
120 --
121 gentoo-commits@g.o mailing list