summaryrefslogtreecommitdiff
path: root/main/zoneminder
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-06-18 12:23:43 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2014-06-18 12:24:21 +0200
commit6c794889a47dc6021dca48156af9c6e9d312e11d (patch)
treef46dac236ec26ac03d16532918f1e88f8ad24625 /main/zoneminder
parenta1116db5707a67ebbd7f5fbdf2e48ac24c30b4b1 (diff)
downloadaports-6c794889a47dc6021dca48156af9c6e9d312e11d.zip
main/zoneminder: remove tmp and enable mmap
Diffstat (limited to 'main/zoneminder')
-rw-r--r--main/zoneminder/APKBUILD12
-rw-r--r--main/zoneminder/zoneminder.initd1
2 files changed, 6 insertions, 7 deletions
diff --git a/main/zoneminder/APKBUILD b/main/zoneminder/APKBUILD
index b196e3b7a9d..c109f43b349 100644
--- a/main/zoneminder/APKBUILD
+++ b/main/zoneminder/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=zoneminder
pkgver=1.27.0
-pkgrel=2
+pkgrel=3
pkgdesc="Video camera surveillance system"
url="http://www.zoneminder.com/"
arch="x86_64"
@@ -36,6 +36,7 @@ build() {
ZM_LOGDIR=/var/log ZM_RUNDIR=/var/run ZM_TMPDIR=/tmp ./configure \
--prefix=/usr \
--sysconfdir=/etc \
+ --enable-mmap=yes \
--with-webdir=/var/www/localhost/htdocs \
--with-cgidir=/var/www/cgi-bin \
|| return 1
@@ -45,19 +46,18 @@ build() {
package() {
cd "$_builddir"
make install DESTDIR=$pkgdir
- chmod 1777 "$pkgdir/tmp"
+ rmdir "$pkgdir/tmp"
find "$pkgdir" -name perllocal.pod -delete
-
echo -n $pkgver > "$pkgdir/usr/share/$pkgname/version"
install -D -m 755 "$srcdir/$pkgname.initd" "$pkgdir/etc/init.d/$pkgname"
}
md5sums="9ff149baa1a0d04931fbafcdb3200fab zoneminder-1.27.0.tar.gz
-96c4d7da0e51bbe0f845fee3427f6f46 zoneminder.initd
+a22f2c550cc5c01d11f345113fed2008 zoneminder.initd
d148970bda67b1e257bb3e1f48404f91 musl-fix.patch"
sha256sums="2f31c10e6c5930aedfa9f08edfa074ef1b168e5bdffb77a147d4e631bfb03ef2 zoneminder-1.27.0.tar.gz
-3fcd14bb2c29808812737a2bed05bc77dbef5ac3e9092d96d4042ff88c17d626 zoneminder.initd
+eafd064606cdb56373735cc70cfc841beb5b5d1bf3d9924127d320b281c36449 zoneminder.initd
d5c1ce946c44e1979cc144f36930827da725919b9d53c1aee0e8749c4ff719d9 musl-fix.patch"
sha512sums="8a349558399381a9062365ddc8bd8f815e3800929914096b2e4ea63e4d6dd12054f7b849fab5bea4bcfc87ea60739479a55734c7075a74aab0622d35f1d2bb14 zoneminder-1.27.0.tar.gz
-7196c687b292ea8dae9a040154e2561d306d6557cd6b5282b102b162c591d41c1b25523fddc4ea52999b2ccd12c8335e52799443f5ffa2701370b9f4309b9662 zoneminder.initd
+07e711032ddbdc12b1a706d6c7ec715f005bf6dd4abc5225e3d539b24f5b79e37bdd277d3a65ed2b485d5de6755d1b1602fce6f879d1eff148a1581a3e1b0e8b zoneminder.initd
b62533a7d025afb9852b9ac6b10b20f030a900f34b16808f655c8e558a2bcf62c1913e278d7a6c8c600d0e4844d846c8cec43a9daf78332da2c1e8816a65776f musl-fix.patch"
diff --git a/main/zoneminder/zoneminder.initd b/main/zoneminder/zoneminder.initd
index ce600fdb542..f7adfcfd006 100644
--- a/main/zoneminder/zoneminder.initd
+++ b/main/zoneminder/zoneminder.initd
@@ -8,7 +8,6 @@ command=/usr/bin/zmpkg.pl
extra_commands=setup
depend() {
- need apache2
after mysql
}