Gentoo Archives: gentoo-commits

From: "Anthony G. Basile (blueness)" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apps/gallery: gallery-3.0.9.ebuild ChangeLog
Date: Sun, 30 Jun 2013 15:39:43
Message-Id: 20130630153939.E10062171C@flycatcher.gentoo.org
1 blueness 13/06/30 15:39:39
2
3 Modified: ChangeLog
4 Added: gallery-3.0.9.ebuild
5 Log:
6 Version bump, addresses security issues
7
8 (Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
9
10 Revision Changes Path
11 1.204 www-apps/gallery/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/gallery/ChangeLog?rev=1.204&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/gallery/ChangeLog?rev=1.204&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/gallery/ChangeLog?r1=1.203&r2=1.204
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-apps/gallery/ChangeLog,v
20 retrieving revision 1.203
21 retrieving revision 1.204
22 diff -u -r1.203 -r1.204
23 --- ChangeLog 3 Jun 2013 02:17:36 -0000 1.203
24 +++ ChangeLog 30 Jun 2013 15:39:39 -0000 1.204
25 @@ -1,6 +1,11 @@
26 # ChangeLog for www-apps/gallery
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-apps/gallery/ChangeLog,v 1.203 2013/06/03 02:17:36 blueness Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-apps/gallery/ChangeLog,v 1.204 2013/06/30 15:39:39 blueness Exp $
30 +
31 +*gallery-3.0.9 (30 Jun 2013)
32 +
33 + 30 Jun 2013; Anthony G. Basile <blueness@g.o> +gallery-3.0.9.ebuild:
34 + Version bump, addresses security issues
35
36 *gallery-3.0.8 (03 Jun 2013)
37
38
39
40
41 1.1 www-apps/gallery/gallery-3.0.9.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/gallery/gallery-3.0.9.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/gallery/gallery-3.0.9.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gallery-3.0.9.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/www-apps/gallery/gallery-3.0.9.ebuild,v 1.1 2013/06/30 15:39:39 blueness Exp $
51
52 EAPI="5"
53
54 inherit webapp
55
56 DESCRIPTION="Web based (PHP Script) photo album viewer/creator"
57 HOMEPAGE="http://gallery.menalto.com/"
58 SRC_URI="mirror://sourceforge/gallery/${PN}/${P}.zip"
59
60 LICENSE="GPL-2"
61 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
62 IUSE="ffmpeg +gd imagemagick mysql mysqli"
63
64 # Build depend is on unzip
65 DEPEND="app-arch/unzip"
66
67 #PHP flags
68 PHP_REQUIRED_FLAGS="ctype,filter,iconv,json,simplexml,tokenizer,unicode"
69 PHP_OPTIONAL_FLAGS="gd?,mysql?,mysqli?"
70
71 # No forced dependency on
72 # mysql? ( virtual/mysql )
73 # which may live on another server
74 RDEPEND="
75 imagemagick? ( || (
76 media-gfx/imagemagick
77 media-gfx/graphicsmagick[imagemagick]
78 ) )
79 ffmpeg? ( virtual/ffmpeg )
80 >=dev-lang/php-5.2.3[${PHP_REQUIRED_FLAGS},${PHP_OPTIONAL_FLAGS}]
81 virtual/httpd-php"
82
83 REQUIRED_USE="
84 || ( gd imagemagick )
85 || ( mysql mysqli )"
86
87 S="${WORKDIR}/${PN}3"
88
89 src_install() {
90 webapp_src_preinst
91
92 rm LICENSE
93 insinto "${MY_HTDOCSDIR}"
94 doins -r .
95
96 keepdir "${MY_HTDOCSDIR}"/var
97 webapp_serverowned "${MY_HTDOCSDIR}"/var
98
99 webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
100 webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt
101
102 webapp_src_install
103 }
104
105 pkg_postinst() {
106 ewarn
107 ewarn "\033[1;33m**************************************************\033[00m"
108 ewarn
109 ewarn "gallery3 requires short_open_tag to be enabled."
110 ewarn "You need to edit \"/etc/php/apache2-php5.?/php.ini\","
111 ewarn "set short_open_tag to \"On\" and then restart apache."
112 ewarn
113 ewarn "This ebuild does not depend on mysql or mariadb,"
114 ewarn "because the database may run on different host. But"
115 ewarn "you will need to run a database server somewhere."
116 ewarn
117 ewarn "\033[1;33m**************************************************\033[00m"
118 ewarn
119
120 einfo
121 einfo "\033[1;32m**************************************************\033[00m"
122 einfo
123 einfo "To see the post install instructions, do"
124 einfo
125 einfo " webapp-config --show-postinst ${PN} ${PVR}"
126 einfo
127 einfo "or for the post upgrade instructions, do"
128 einfo
129 einfo " webapp-config --show-postupgrade ${PN} ${PVR}"
130 einfo
131 einfo "\033[1;32m**************************************************\033[00m"
132 einfo
133 }