Gentoo Archives: gentoo-commits

From: "Ian Stakenvicius (axs)" <axs@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-portage/eix: metadata.xml ChangeLog eix-0.28.2.ebuild eix-0.28.1-r1.ebuild
Date: Fri, 01 Feb 2013 14:10:34
Message-Id: 20130201141029.D8B7C2171D@flycatcher.gentoo.org
1 axs 13/02/01 14:10:29
2
3 Modified: metadata.xml ChangeLog
4 Added: eix-0.28.2.ebuild
5 Removed: eix-0.28.1-r1.ebuild
6 Log:
7 version bump, contains new strong-security flag which (for now) enables the new safety features of clang[static-analyzer] and gcc-4.8
8
9 (Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 2B6559ED)
10
11 Revision Changes Path
12 1.23 app-portage/eix/metadata.xml
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/eix/metadata.xml?rev=1.23&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/eix/metadata.xml?rev=1.23&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/eix/metadata.xml?r1=1.22&r2=1.23
17
18 Index: metadata.xml
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-portage/eix/metadata.xml,v
21 retrieving revision 1.22
22 retrieving revision 1.23
23 diff -u -r1.22 -r1.23
24 --- metadata.xml 19 Sep 2012 19:43:19 -0000 1.22
25 +++ metadata.xml 1 Feb 2013 14:10:29 -0000 1.23
26 @@ -18,6 +18,7 @@
27 <flag name="optimization">Accept upstream's choices for CXXFLAGS/LDFLAGS for optimization. Absense of this USE flag does not strip user's *FLAGS</flag>
28 <flag name="security">This adds some checks which can prevent certain exploits if e.g. the eix code has a bug. If you use the hardened toolchain, using this flag does not increase security and can even lead to problems. </flag>
29 <flag name="strong-optimization">Adds several more agressive CXXFLAGS/LDFLAGS for optimization like graphite (if available). May cause trouble with some buggy compiler versions. Absense of this USE flag does not strip user's *FLAGS</flag>
30 + <flag name="strong-security">Add many checks to prevent exploits if eix code has a bug. This will slow down eix considerably. Use only if you are paranoid or have reasons to suspect a bug.</flag>
31 <flag name="sqlite">Compile in support for portage's sqlite backend; to actually use it you need additional configuration of portage and eix</flag>
32 <flag name="tools">Create separate binary for script helper tools; useful if they are called extremely often</flag>
33 </use>
34
35
36
37 1.445 app-portage/eix/ChangeLog
38
39 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/eix/ChangeLog?rev=1.445&view=markup
40 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/eix/ChangeLog?rev=1.445&content-type=text/plain
41 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/eix/ChangeLog?r1=1.444&r2=1.445
42
43 Index: ChangeLog
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/app-portage/eix/ChangeLog,v
46 retrieving revision 1.444
47 retrieving revision 1.445
48 diff -u -r1.444 -r1.445
49 --- ChangeLog 25 Jan 2013 13:53:30 -0000 1.444
50 +++ ChangeLog 1 Feb 2013 14:10:29 -0000 1.445
51 @@ -1,6 +1,14 @@
52 # ChangeLog for app-portage/eix
53 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
54 -# $Header: /var/cvsroot/gentoo-x86/app-portage/eix/ChangeLog,v 1.444 2013/01/25 13:53:30 axs Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/app-portage/eix/ChangeLog,v 1.445 2013/02/01 14:10:29 axs Exp $
56 +
57 +*eix-0.28.2 (01 Feb 2013)
58 +
59 + 01 Feb 2013; Ian Stakenvicius <axs@g.o> -eix-0.28.1-r1.ebuild,
60 + -files/eix-0.28.1-overlay-number-regression.patch, +eix-0.28.2.ebuild,
61 + metadata.xml:
62 + version bump, contains new strong-security flag which (for now) enables the
63 + new safety features of clang[static-analyzer] and gcc-4.8
64
65 *eix-0.28.1-r1 (25 Jan 2013)
66
67
68
69
70 1.1 app-portage/eix/eix-0.28.2.ebuild
71
72 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/eix/eix-0.28.2.ebuild?rev=1.1&view=markup
73 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/eix/eix-0.28.2.ebuild?rev=1.1&content-type=text/plain
74
75 Index: eix-0.28.2.ebuild
76 ===================================================================
77 # Copyright 1999-2013 Gentoo Foundation
78 # Distributed under the terms of the GNU General Public License v2
79 # $Header: /var/cvsroot/gentoo-x86/app-portage/eix/eix-0.28.2.ebuild,v 1.1 2013/02/01 14:10:29 axs Exp $
80
81 EAPI=5
82
83 PLOCALES="de ru"
84 inherit bash-completion-r1 eutils multilib l10n
85
86 DESCRIPTION="Search and query ebuilds, portage incl. local settings, ext. overlays, version changes, and more"
87 HOMEPAGE="http://eix.berlios.de"
88 SRC_URI="mirror://berlios/${PN}/${P}.tar.xz"
89
90 LICENSE="GPL-2"
91 SLOT="0"
92 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
93 IUSE="clang debug +dep doc nls optimization security strong-security strong-optimization sqlite tools zsh-completion"
94
95 RDEPEND="app-shells/push
96 sqlite? ( >=dev-db/sqlite-3 )
97 nls? ( virtual/libintl )"
98 DEPEND="${RDEPEND}
99 app-arch/xz-utils
100 clang? ( sys-devel/clang )
101 nls? ( sys-devel/gettext )"
102
103 pkg_setup() {
104 case " ${REPLACING_VERSIONS}" in
105 *\ 0.[0-9].*|*\ 0.1[0-9].*|*\ 0.2[0-4].*|*\ 0.25.0*)
106 local eixcache="${EROOT}/var/cache/${PN}"
107 test -f "${eixcache}" && rm -f -- "${eixcache}";;
108 esac
109 }
110
111 src_prepare() {
112 epatch_user
113 }
114
115 src_configure() {
116 econf $(use_with sqlite) $(use_with doc extra-doc) \
117 $(use_with zsh-completion) \
118 $(use_enable nls) $(use_enable tools separate-tools) \
119 $(use_enable security) $(use_enable optimization) \
120 $(use_enable strong-security) \
121 $(use_enable strong-optimization) $(use_enable debug debugging) \
122 $(use_with prefix always-accept-keywords) \
123 $(use_with dep dep-default) \
124 $(use_with clang nongnu-cxx clang++) \
125 --with-ebuild-sh-default="/usr/$(get_libdir)/portage/bin/ebuild.sh" \
126 --with-portage-rootpath="${ROOTPATH}" \
127 --with-eprefix-default="${EPREFIX}" \
128 --docdir="${EPREFIX}/usr/share/doc/${PF}" \
129 --htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
130 }
131
132 src_install() {
133 default
134 dobashcomp bash/eix
135 keepdir "/var/cache/${PN}"
136 fowners portage:portage "/var/cache/${PN}"
137 fperms 775 "/var/cache/${PN}"
138 }
139
140 pkg_postinst() {
141 # fowners in src_install doesn't work for owner/group portage:
142 # merging changes this owner/group back to root.
143 use prefix || chown portage:portage "${EROOT}var/cache/${PN}"
144 local obs="${EROOT}var/cache/eix.previous"
145 ! test -f "${obs}" || ewarn "Found obsolete ${obs}, please remove it"
146 }