diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/zoneminder/APKBUILD | 62 | ||||
-rw-r--r-- | testing/zoneminder/zoneminder.initd | 47 | ||||
-rw-r--r-- | testing/zoneminder/zoneminder.post-upgrade | 7 |
3 files changed, 0 insertions, 116 deletions
diff --git a/testing/zoneminder/APKBUILD b/testing/zoneminder/APKBUILD deleted file mode 100644 index e1635b8844..0000000000 --- a/testing/zoneminder/APKBUILD +++ /dev/null @@ -1,62 +0,0 @@ -# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> -# Maintainer: -pkgname=zoneminder -pkgver=1.26.5 -pkgrel=2 -pkgdesc="Video camera surveillance system" -url="http://www.zoneminder.com/" -arch="x86_64" -license="GPL2+" -depends="apache2 ffmpeg libbz2 libjpeg-turbo mysql-client pcre perl - perl-archive-zip perl-date-manip perl-dbd-mysql perl-dbi - perl-device-serialport perl-libwww perl-mail-tools perl-mime-lite - perl-mime-tools perl-sys-mmap perl-time-hires php php-apache2 - php-mysql sudo x264" -makedepends="autoconf automake bash bzip2-dev ffmpeg-dev gnutls-dev - libgcrypt-dev libjpeg-turbo-dev mysql-dev pcre-dev perl-dev - php-cli" -install=$pkgname.post-upgrade -subpackages=$pkgname-doc -source="https://github.com/ZoneMinder/ZoneMinder/archive/v${pkgver}.tar.gz - $pkgname.initd" - -_builddir=$srcdir/ZoneMinder-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./bootstrap.sh - ZM_LOGDIR=/var/log ZM_RUNDIR=/var/run ZM_TMPDIR=/tmp ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --with-webdir=/var/www/localhost/htdocs \ - --with-cgidir=/var/www/cgi-bin \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - - make install DESTDIR=$pkgdir - chmod 1777 "$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="674afce36b8c197068d078835be61deb v1.26.5.tar.gz -96c4d7da0e51bbe0f845fee3427f6f46 zoneminder.initd" -sha256sums="a10acfea5066bd2fbcdcb40f2ddfa81a00f1eaf9123b6090aca69d3318281eec v1.26.5.tar.gz -3fcd14bb2c29808812737a2bed05bc77dbef5ac3e9092d96d4042ff88c17d626 zoneminder.initd" -sha512sums="0cd63d9271f8a8284597db41f52d8ba764bd3644c54be50a03c8b72695347104266ed14e1a399949d986af370a15885aceec833980f4cdc4f7b953ee74d44cce v1.26.5.tar.gz -7196c687b292ea8dae9a040154e2561d306d6557cd6b5282b102b162c591d41c1b25523fddc4ea52999b2ccd12c8335e52799443f5ffa2701370b9f4309b9662 zoneminder.initd" diff --git a/testing/zoneminder/zoneminder.initd b/testing/zoneminder/zoneminder.initd deleted file mode 100644 index ce600fdb54..0000000000 --- a/testing/zoneminder/zoneminder.initd +++ /dev/null @@ -1,47 +0,0 @@ -#!/sbin/runscript - -# init.d file for zoneminder -# Copyright (c) 2013 Kaarle Ritvanen - -name=zoneminder -command=/usr/bin/zmpkg.pl -extra_commands=setup - -depend() { - need apache2 - after mysql -} - -start() { - ebegin "Starting $name" - if status > /dev/null; then - ewarn "$name already started" - else - $command start - fi - eend $? -} - -stop() { - ebegin "Stopping $name" - if status > /dev/null; then - $command stop - else - ewarn "$name already stopped" - fi - eend $? -} - -status() { - status=$($command status) - echo $status - [ "$status" = running ] -} - -setup() { - . /etc/zm.conf - ebegin "Initializing $name database" - mysql -h $ZM_DB_HOST -u $ZM_DB_USER -p$ZM_DB_PASS \ - < $ZM_PATH_DATA/db/zm_create.sql - eend $? -} diff --git a/testing/zoneminder/zoneminder.post-upgrade b/testing/zoneminder/zoneminder.post-upgrade deleted file mode 100644 index 4dd9d91c2b..0000000000 --- a/testing/zoneminder/zoneminder.post-upgrade +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -# post-upgrade script for zoneminder -# Copyright (c) 2013 Kaarle Ritvanen - -sed -i 's/^\(ZM_VERSION=\).*/\1'$(cat /usr/share/zoneminder/version)/ \ - /etc/zm.conf |