Gentoo Archives: gentoo-commits

From: "Ian Stakenvicius (axs)" <axs@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-client/seamonkey-bin: seamonkey-bin-2.33.1-r1.ebuild ChangeLog seamonkey-bin-2.31.ebuild
Date: Sun, 31 May 2015 14:35:04
Message-Id: 20150531143459.047ECA18@oystercatcher.gentoo.org
1 axs 15/05/31 14:34:59
2
3 Modified: ChangeLog
4 Added: seamonkey-bin-2.33.1-r1.ebuild
5 Removed: seamonkey-bin-2.31.ebuild
6 Log:
7 ported all-gentoo prefs from firefox-bin to address Logjam attack vector, bug 550288
8
9 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 2B6559ED)
10
11 Revision Changes Path
12 1.223 www-client/seamonkey-bin/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/ChangeLog?rev=1.223&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/ChangeLog?rev=1.223&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/ChangeLog?r1=1.222&r2=1.223
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/ChangeLog,v
21 retrieving revision 1.222
22 retrieving revision 1.223
23 diff -u -r1.222 -r1.223
24 --- ChangeLog 26 Mar 2015 11:36:44 -0000 1.222
25 +++ ChangeLog 31 May 2015 14:34:58 -0000 1.223
26 @@ -1,6 +1,14 @@
27 # ChangeLog for www-client/seamonkey-bin
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/ChangeLog,v 1.222 2015/03/26 11:36:44 ago Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/ChangeLog,v 1.223 2015/05/31 14:34:58 axs Exp $
31 +
32 +*seamonkey-bin-2.33.1-r1 (31 May 2015)
33 +
34 + 31 May 2015; Ian Stakenvicius (_AxS_) <axs@g.o>
35 + +files/all-gentoo-1-cve-2015-4000.js, +files/local-settings.js,
36 + +seamonkey-bin-2.33.1-r1.ebuild, -seamonkey-bin-2.31.ebuild:
37 + ported all-gentoo prefs from firefox-bin to address Logjam attack vector, bug
38 + 550288
39
40 26 Mar 2015; Agostino Sarubbo <ago@g.o> seamonkey-bin-2.33.1.ebuild:
41 Stable for x86, wrt bug #544056
42
43
44
45 1.1 www-client/seamonkey-bin/seamonkey-bin-2.33.1-r1.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/seamonkey-bin-2.33.1-r1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/seamonkey-bin/seamonkey-bin-2.33.1-r1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: seamonkey-bin-2.33.1-r1.ebuild
51 ===================================================================
52 # Copyright 1999-2015 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/www-client/seamonkey-bin/seamonkey-bin-2.33.1-r1.ebuild,v 1.1 2015/05/31 14:34:58 axs Exp $
55
56 EAPI="4"
57
58 # This list can be updated with scripts/get_langs.sh from the mozilla overlay
59 MOZ_LANGS=(be ca cs de en-GB en-US es-AR es-ES fi fr gl hu it ja lt nb-NO nl pl
60 pt-PT ru sk sv-SE tr uk zh-CN zh-TW)
61
62 MOZ_PV="${PV/_alpha/a}" # Handle alpha for SRC_URI
63 MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI
64 MOZ_PV="${MOZ_PV/_rc/rc}" # Handle rc for SRC_URI
65 MOZ_PN="${PN/-bin}"
66 MOZ_P="${MOZ_PN}-${MOZ_PV}"
67
68 MOZ_LANGPACK_PREFIX="${MOZ_PV}/langpack/${MOZ_P}."
69 MOZ_LANGPACK_SUFFIX=".langpack.xpi"
70
71 MOZ_FTP_URI="ftp://ftp.mozilla.org/pub/mozilla.org/${MOZ_PN}/releases/"
72
73 inherit eutils multilib mozextension pax-utils nsplugins fdo-mime gnome2-utils mozlinguas
74
75 DESCRIPTION="Mozilla Application Suite - web browser, email, HTML editor, IRC"
76 SRC_URI="${SRC_URI}
77 amd64? ( ${MOZ_FTP_URI}/${MOZ_PV}/contrib/${MOZ_P}.en-US.linux-x86_64.tar.bz2 -> ${PN}_x86_64-${PV}.tar.bz2 )
78 x86? ( ${MOZ_FTP_URI}/${MOZ_PV}/linux-i686/en-US/${MOZ_P}.tar.bz2 -> ${PN}_i686-${PV}.tar.bz2 )"
79 HOMEPAGE="http://www.seamonkey-project.org/"
80 RESTRICT="strip mirror"
81
82 KEYWORDS="-* ~amd64 ~x86"
83 SLOT="0"
84 LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
85 IUSE="startup-notification"
86
87 DEPEND="app-arch/unzip"
88 RDEPEND="dev-libs/atk
89 >=sys-apps/dbus-0.60
90 >=dev-libs/dbus-glib-0.72
91 >=dev-libs/glib-2.26:2
92 >=media-libs/alsa-lib-1.0.16
93 gnome-base/gconf
94 gnome-base/gnome-vfs
95 media-libs/fontconfig
96 >=media-libs/freetype-2.4.10
97 >=x11-libs/cairo-1.10[X]
98 x11-libs/gdk-pixbuf
99 >=x11-libs/gtk+-2.14:2
100 x11-libs/libX11
101 x11-libs/libXcomposite
102 x11-libs/libXdamage
103 x11-libs/libXext
104 x11-libs/libXfixes
105 x11-libs/libXrender
106 x11-libs/libXt
107 >=x11-libs/pango-1.22.0
108 virtual/freedesktop-icon-theme
109 "
110
111 QA_PREBUILT="
112 opt/${MOZ_PN}/*.so
113 opt/${MOZ_PN}/${MOZ_PN}
114 opt/${MOZ_PN}/${PN}
115 opt/${MOZ_PN}/components/*.so
116 opt/${MOZ_PN}/crashreporter
117 opt/${MOZ_PN}/webapprt-stub
118 opt/${MOZ_PN}/plugin-container
119 opt/${MOZ_PN}/mozilla-xremote-client
120 opt/${MOZ_PN}/updater
121 "
122
123 S="${WORKDIR}/${MOZ_PN}"
124
125 src_unpack() {
126 unpack ${A}
127
128 # Unpack language packs
129 mozlinguas_src_unpack
130 }
131
132 src_install() {
133 declare MOZILLA_FIVE_HOME=/opt/seamonkey
134
135 # Install seamonkey in /opt
136 dodir ${MOZILLA_FIVE_HOME%/*}
137 mv "${S}" "${D}${MOZILLA_FIVE_HOME}"
138
139 # Install language packs
140 mozlinguas_src_install
141
142 # Create /usr/bin/seamonkey-bin
143 dodir /usr/bin/
144 cat <<EOF >"${D}"/usr/bin/seamonkey-bin
145 #!/bin/sh
146 unset LD_PRELOAD
147 exec /opt/seamonkey/seamonkey "\$@"
148 EOF
149 fperms 0755 /usr/bin/seamonkey-bin
150
151 # Install icon and .desktop for menu entry
152 newicon "${D}${MOZILLA_FIVE_HOME}"/chrome/icons/default/default48.png ${PN}.png
153 domenu "${FILESDIR}/icon/${PN}.desktop"
154
155 if use startup-notification; then
156 echo "StartupNotify=true" >> "${D}"/usr/share/applications/${PN}.desktop
157 fi
158
159 # Fix prefs that make no sense for a system-wide install
160 insinto ${MOZILLA_FIVE_HOME}/defaults/pref/
161 doins "${FILESDIR}"/local-settings.js
162 # Copy preferences file so we can do a simple rename.
163 cp "${FILESDIR}"/all-gentoo-1-cve-2015-4000.js "${D}"${MOZILLA_FIVE_HOME}/all-gentoo.js
164
165 # revdep-rebuild entry
166 insinto /etc/revdep-rebuild
167 doins "${FILESDIR}"/10${PN} || die
168
169 # Handle plugins dir through nsplugins.eclass
170 share_plugins_dir
171
172 # Required in order to use plugins and even run seamonkey on hardened.
173 pax-mark mr "${ED}"/${MOZILLA_FIVE_HOME}/{seamonkey,seamonkey-bin,plugin-container}
174 }
175
176 pkg_preinst() {
177 gnome2_icon_savelist
178 }
179
180 pkg_postinst() {
181 # Update mimedb for the new .desktop file
182 fdo-mime_desktop_database_update
183 gnome2_icon_cache_update
184 }
185
186 pkg_postrm() {
187 gnome2_icon_cache_update
188 }