1 |
hollow 08/02/23 14:39:40 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: zoneminder-1.23.1.ebuild |
5 |
Log: |
6 |
version bump #204297, fixes #197621 |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 www-misc/zoneminder/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-misc/zoneminder/metadata.xml?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-misc/zoneminder/metadata.xml?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-misc/zoneminder/metadata.xml?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: metadata.xml |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/www-misc/zoneminder/metadata.xml,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- metadata.xml 12 Dec 2005 21:31:37 -0000 1.1 |
23 |
+++ metadata.xml 23 Feb 2008 14:39:39 -0000 1.2 |
24 |
@@ -1,5 +1,5 @@ |
25 |
<?xml version="1.0" encoding="UTF-8"?> |
26 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
27 |
<pkgmetadata> |
28 |
-<herd>web-apps</herd> |
29 |
+ <herd>web-apps</herd> |
30 |
</pkgmetadata> |
31 |
|
32 |
|
33 |
|
34 |
1.24 www-misc/zoneminder/ChangeLog |
35 |
|
36 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-misc/zoneminder/ChangeLog?rev=1.24&view=markup |
37 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-misc/zoneminder/ChangeLog?rev=1.24&content-type=text/plain |
38 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-misc/zoneminder/ChangeLog?r1=1.23&r2=1.24 |
39 |
|
40 |
Index: ChangeLog |
41 |
=================================================================== |
42 |
RCS file: /var/cvsroot/gentoo-x86/www-misc/zoneminder/ChangeLog,v |
43 |
retrieving revision 1.23 |
44 |
retrieving revision 1.24 |
45 |
diff -u -r1.23 -r1.24 |
46 |
--- ChangeLog 23 Feb 2008 13:56:33 -0000 1.23 |
47 |
+++ ChangeLog 23 Feb 2008 14:39:39 -0000 1.24 |
48 |
@@ -1,6 +1,14 @@ |
49 |
# ChangeLog for www-misc/zoneminder |
50 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
51 |
-# $Header: /var/cvsroot/gentoo-x86/www-misc/zoneminder/ChangeLog,v 1.23 2008/02/23 13:56:33 hollow Exp $ |
52 |
+# $Header: /var/cvsroot/gentoo-x86/www-misc/zoneminder/ChangeLog,v 1.24 2008/02/23 14:39:39 hollow Exp $ |
53 |
+ |
54 |
+*zoneminder-1.23.1 (23 Feb 2008) |
55 |
+ |
56 |
+ 23 Feb 2008; Benedikt Böhm <hollow@g.o> |
57 |
+ +files/1.23.1/Makefile.am.patch, +files/1.23.1/zm_create.sql.in.patch, |
58 |
+ +files/1.23.1/zm_mpeg_ofc.patch, +files/1.23.1/zm_remote_camera.patch, |
59 |
+ metadata.xml, +zoneminder-1.23.1.ebuild: |
60 |
+ version bump #204297, fixes #197621 |
61 |
|
62 |
23 Feb 2008; Benedikt Böhm <hollow@g.o> zoneminder-1.22.3.ebuild: |
63 |
ebuild cleanup wrt #208584, also fixes #207481 |
64 |
|
65 |
|
66 |
|
67 |
1.1 www-misc/zoneminder/zoneminder-1.23.1.ebuild |
68 |
|
69 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-misc/zoneminder/zoneminder-1.23.1.ebuild?rev=1.1&view=markup |
70 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-misc/zoneminder/zoneminder-1.23.1.ebuild?rev=1.1&content-type=text/plain |
71 |
|
72 |
Index: zoneminder-1.23.1.ebuild |
73 |
=================================================================== |
74 |
# Copyright 1999-2008 Gentoo Foundation |
75 |
# Distributed under the terms of the GNU General Public License v2 |
76 |
# $Header: /var/cvsroot/gentoo-x86/www-misc/zoneminder/zoneminder-1.23.1.ebuild,v 1.1 2008/02/23 14:39:39 hollow Exp $ |
77 |
|
78 |
inherit eutils webapp autotools depend.php depend.apache multilib |
79 |
|
80 |
WEBAPP_MANUAL_SLOT="yes" |
81 |
|
82 |
MY_PV=${PV/_/-} |
83 |
MY_PN="ZoneMinder" |
84 |
|
85 |
DESCRIPTION="ZoneMinder allows you to capture, analyse, record and monitor any cameras attached to your system." |
86 |
HOMEPAGE="http://www.zoneminder.com/" |
87 |
SRC_URI="http://www.zoneminder.com/downloads/${MY_PN}-${MY_PV}.tar.gz" |
88 |
|
89 |
LICENSE="GPL-2" |
90 |
KEYWORDS="~amd64 ~x86" |
91 |
IUSE="debug ffmpeg X10" |
92 |
SLOT="0" |
93 |
|
94 |
DEPEND="app-admin/sudo |
95 |
dev-libs/libpcre |
96 |
>=media-libs/jpeg-6b |
97 |
net-libs/gnutls |
98 |
>=dev-lang/perl-5.6.0 |
99 |
dev-perl/Archive-Tar |
100 |
dev-perl/Archive-Zip |
101 |
dev-perl/DateManip |
102 |
dev-perl/DBD-mysql |
103 |
dev-perl/DBI |
104 |
dev-perl/Device-SerialPort |
105 |
dev-perl/libwww-perl |
106 |
dev-perl/MIME-Lite |
107 |
dev-perl/MIME-tools |
108 |
dev-perl/PHP-Serialization |
109 |
virtual/perl-Getopt-Long |
110 |
virtual/perl-libnet |
111 |
virtual/perl-Sys-Syslog |
112 |
virtual/perl-Time-HiRes |
113 |
X10? ( dev-perl/X10 )" |
114 |
|
115 |
RDEPEND="dev-perl/DBD-mysql |
116 |
ffmpeg? ( media-video/ffmpeg ) |
117 |
media-libs/netpbm" |
118 |
|
119 |
# we cannot use need_httpd_cgi here, since we need to setup permissions for the |
120 |
# webserver in global scope (/etc/zm.conf etc), so we hardcode apache here. |
121 |
need_apache |
122 |
need_php_httpd |
123 |
|
124 |
S="${WORKDIR}"/${MY_PN}-${MY_PV} |
125 |
|
126 |
pkg_setup() { |
127 |
webapp_pkg_setup |
128 |
require_php_with_use mysql |
129 |
} |
130 |
|
131 |
src_unpack() { |
132 |
unpack ${A} |
133 |
cd "${S}" |
134 |
|
135 |
epatch "${FILESDIR}"/${PV}/Makefile.am.patch |
136 |
epatch "${FILESDIR}"/${PV}/zm_create.sql.in.patch |
137 |
epatch "${FILESDIR}"/${PV}/zm_mpeg_ofc.patch |
138 |
epatch "${FILESDIR}"/${PV}/zm_remote_camera.patch |
139 |
|
140 |
eautoreconf |
141 |
} |
142 |
|
143 |
src_compile() { |
144 |
econf --with-libarch=$(get_libdir) \ |
145 |
--with-mysql=/usr \ |
146 |
$(use_with ffmpeg ffmpeg /usr) \ |
147 |
$(use_enable debug) \ |
148 |
$(use_enable debug crashtrace) \ |
149 |
--with-webdir="${MY_HTDOCSDIR}" \ |
150 |
--with-cgidir="${MY_CGIBINDIR}" \ |
151 |
--with-webuser=apache \ |
152 |
--with-webgroup=apache \ |
153 |
|| die "econf failed" |
154 |
emake || die "emake failed" |
155 |
} |
156 |
|
157 |
src_install() { |
158 |
webapp_src_preinst |
159 |
|
160 |
keepdir /var/run/zm |
161 |
emake -j1 DESTDIR="${D}" install || die "emake install failed" |
162 |
|
163 |
fperms 0644 /etc/zm.conf |
164 |
|
165 |
keepdir /var/log/${PN} |
166 |
fowners apache:apache /var/log/${PN} |
167 |
fowners apache:apache /var/run/zm |
168 |
|
169 |
newinitd "${FILESDIR}"/init.d zoneminder |
170 |
newconfd "${FILESDIR}"/conf.d zoneminder |
171 |
|
172 |
dodoc AUTHORS ChangeLog INSTALL NEWS README TODO |
173 |
|
174 |
insinto /usr/share/${PN}/db |
175 |
doins db/zm_u* db/zm_create.sql |
176 |
|
177 |
for DIR in events images sound; do |
178 |
dodir "${MY_HTDOCSDIR}"/${DIR} |
179 |
webapp_serverowned "${MY_HTDOCSDIR}"/${DIR} |
180 |
done |
181 |
|
182 |
webapp_postinst_txt en "${FILESDIR}"/postinstall-2.txt |
183 |
webapp_postupgrade_txt en "${FILESDIR}"/postupgrade.txt |
184 |
|
185 |
webapp_src_install |
186 |
} |
187 |
|
188 |
|
189 |
|
190 |
-- |
191 |
gentoo-commits@l.g.o mailing list |