aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-05-02 11:03:00 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-05-02 11:03:38 +0200
commit4d521660193f6bd246543e0693785e33c3b495d8 (patch)
treed84c37cef41ac74604412af6632099f6642872a6 /testing
parentc981623a91e2d7713086882486935db8fdaba87f (diff)
downloadaports-4d521660193f6bd246543e0693785e33c3b495d8.tar.bz2
aports-4d521660193f6bd246543e0693785e33c3b495d8.tar.xz
main/tvheadend: move to main and upgrade to latest snapshot
Diffstat (limited to 'testing')
-rw-r--r--testing/tvheadend-git/APKBUILD82
-rw-r--r--testing/tvheadend-git/tvheadend-git.confd3
-rw-r--r--testing/tvheadend-git/tvheadend-git.initd32
-rw-r--r--testing/tvheadend-git/tvheadend-git.pre-install5
4 files changed, 0 insertions, 122 deletions
diff --git a/testing/tvheadend-git/APKBUILD b/testing/tvheadend-git/APKBUILD
deleted file mode 100644
index b2a9560d09..0000000000
--- a/testing/tvheadend-git/APKBUILD
+++ /dev/null
@@ -1,82 +0,0 @@
-# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
-pkgname=tvheadend-git
-pkgver=0_git20150402
-pkgrel=0
-pkgdesc="TV Streaming server for linux"
-url="http://www.lonelycoder.com/hts/tvheadend_overview.html"
-arch="all"
-license="GPL3"
-depends=""
-depends_dev="openssl-dev"
-makedepends="$depends_dev findutils bash git python linux-headers
- bsd-compat-headers"
-pkgusers="$pkgname"
-pkggroups="$pkgname"
-install="$pkgname.pre-install"
-subpackages="$pkgname-doc"
-source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.gz
- $pkgname.initd
- $pkgname.confd"
-giturl="git://github.com/tvheadend/tvheadend.git"
-disturl="dev.alpinelinux.org:/archive/$pkgname/"
-
-_builddir="$srcdir/$pkgname-$pkgver"
-
-snapshot() {
- abuild clean
- mkdir -p "$srcdir" && cd "$srcdir"
- git clone $giturl $pkgname || return 1
- local _version=${verbase:-0}_git$(date +%Y%m%d -d \
- @$(git --git-dir $pkgname/.git log -1 --format=%ct))
- mv $pkgname $pkgname-$_version
- tar zcf $pkgname-$_version.tar.gz $pkgname-$_version
- rsync --progress -La $pkgname-$_version.tar.gz \
- $disturl || return 1
- cd $startdir
- sed -i -e "s/^pkgver=.*/pkgver=${_version}/" \
- APKBUILD || return 1
- abuild checksum
-}
-
-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"
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --localstatedir=/var \
- --disable-libav \
- || return 1
- make || return 1
-}
-
-package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
- install -m755 -D "$srcdir"/$pkgname.initd \
- "$pkgdir"/etc/init.d/$pkgname || return 1
- install -m755 -D "$srcdir"/$pkgname.confd \
- "$pkgdir"/etc/conf.d/$pkgname || return 1
- install -d -o $pkgname -g $pkgname \
- "$pkgdir/etc/$pkgname" || return 1
-}
-
-md5sums="179ac8598c2d2bfdd508a5d480e67454 tvheadend-git-0_git20150402.tar.gz
-c68694d41e7ce0d94913e4332c060618 tvheadend-git.initd
-17cf7dfaf27706409a004c246c1a2c3c tvheadend-git.confd"
-sha256sums="57f8fe863c97952e3dd4917ba304cdf84d3bfe9c4dcf62d25ca0935f2ec20a1c tvheadend-git-0_git20150402.tar.gz
-58891cd106314b7cb61f0ce68b58ebf58fd0bfe8b0cce03949b828ae90f53ee9 tvheadend-git.initd
-4d4cb6071eac087d91858fedfaf1ce57bae78cab008658dc6b7a0d5c62d1762e tvheadend-git.confd"
-sha512sums="34e57bef3d562d576022c5803f7fe8932aa999a8e28f02c94778c7841568df36c0fc35e02378cada4ae40957bd8ce2d581952c0e4ada3a3fe9245185c79ca056 tvheadend-git-0_git20150402.tar.gz
-7727ae66b8c6cb8f8348e05229622251270366c781ced57539490910275e190a052b9438ff5e0e0ed515896e01460d451866396400c99e9e519a4a1176657f18 tvheadend-git.initd
-20fa0004877d74e40e4e98023284f088432c3fec12ef8bfccde40a49a122669a8a6c2a6d5211517a8dd7fd3a9646b08c3296929360a20ad6683ba90a9086b734 tvheadend-git.confd"
diff --git a/testing/tvheadend-git/tvheadend-git.confd b/testing/tvheadend-git/tvheadend-git.confd
deleted file mode 100644
index 32dfe2526c..0000000000
--- a/testing/tvheadend-git/tvheadend-git.confd
+++ /dev/null
@@ -1,3 +0,0 @@
-TVHBIN="/usr/bin/tvheadend"
-TVHUSER="tvheadend"
-TVHCONF="/etc/tvheadend"
diff --git a/testing/tvheadend-git/tvheadend-git.initd b/testing/tvheadend-git/tvheadend-git.initd
deleted file mode 100644
index b72df33788..0000000000
--- a/testing/tvheadend-git/tvheadend-git.initd
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/sbin/runscript
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting tvheadend"
-
- checkconf || return 1
-
- start-stop-daemon --start \
- --exec ${TVHBIN} -- \
- -C -f -u ${TVHUSER} \
- -c ${TVHCONF}
- eend $?
-}
-
-stop() {
- ebegin "Stopping tvheadend"
- start-stop-daemon --stop --quiet \
- --retry TERM/30/KILL/5 \
- --pidfile /var/run/tvheadend.pid
- eend $?
-}
-
-checkconf() {
- if [ ! -d "$TVHCONF" ]; then
- eerror "config directory does not exist!"
- return 1
- fi
-}
diff --git a/testing/tvheadend-git/tvheadend-git.pre-install b/testing/tvheadend-git/tvheadend-git.pre-install
deleted file mode 100644
index a74b0c9234..0000000000
--- a/testing/tvheadend-git/tvheadend-git.pre-install
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-adduser -H -h /usr/share/tvheadend -g tvheadend -D -s /sbin/nologin tvheadend 2>/dev/null
-addgroup tvheadend video 2>/dev/null
-addgroup tvheadend usb 2>/dev/null
-exit 0