aboutsummaryrefslogtreecommitdiffstats
path: root/testing/minidlna
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-10-05 13:33:41 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2014-10-05 13:33:41 +0200
commit32f6612ae3a8c02ba56e0a2bf9aded658cb82dde (patch)
treefa3a2f821df742ef0074520ca08a49709a3c0f30 /testing/minidlna
parentc8b3993f9f65f4c12fad193dfc5d15cde75783e3 (diff)
downloadaports-32f6612ae3a8c02ba56e0a2bf9aded658cb82dde.tar.bz2
aports-32f6612ae3a8c02ba56e0a2bf9aded658cb82dde.tar.xz
main/minidlna: move to main
Diffstat (limited to 'testing/minidlna')
-rw-r--r--testing/minidlna/APKBUILD71
-rw-r--r--testing/minidlna/minidlna.confd14
-rwxr-xr-xtesting/minidlna/minidlna.initd26
-rw-r--r--testing/minidlna/minidlna.pre-install6
4 files changed, 0 insertions, 117 deletions
diff --git a/testing/minidlna/APKBUILD b/testing/minidlna/APKBUILD
deleted file mode 100644
index e6d68aacd..000000000
--- a/testing/minidlna/APKBUILD
+++ /dev/null
@@ -1,71 +0,0 @@
-# Contributor: Carlo Landmeter <clandmeter@gmail.com>
-# Maintainer: Francesco Colista <francesco.colista@gmail.com>
-pkgname=minidlna
-pkgver=1.1.4
-pkgrel=0
-pkgdesc="A small dlna server"
-url="http://sourceforge.net/projects/minidlna/"
-arch="all"
-license="GPL"
-depends=
-depends_dev="libvorbis-dev libogg-dev libid3tag-dev libexif-dev libjpeg-turbo-dev
- sqlite-dev ffmpeg-dev flac-dev libiconv-dev"
-makedepends="$depends_dev"
-install="minidlna.pre-install"
-subpackages="$pkgname-doc"
-pkgusers="$pkgname"
-pkggroups="$pkgname"
-source="http://downloads.sourceforge.net/project/minidlna/minidlna/$pkgver/minidlna-$pkgver.tar.gz
- $pkgname.initd
- $pkgname.confd"
-
-_builddir="$srcdir/$pkgname-$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
- #update_config_sub || return 1
-}
-
-build() {
- cd "$_builddir"
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- || return 1
- make || return 1
-}
-
-package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
- mkdir -p "$pkgdir"/var/cache/$pkgname || return 1
- chown $pkgusers:$pkggroups \
- "$pkgdir"/var/cache/$pkgname || return 1
- install -m755 -D "$srcdir/$pkgname.initd" \
- "$pkgdir/etc/init.d/$pkgname" || return 1
- install -m644 -D "$srcdir/$pkgname.confd" \
- "$pkgdir/etc/conf.d/$pkgname" || return 1
- install -m755 -D "$pkgname.conf" \
- "$pkgdir"/etc/$pkgname.conf || return 1
- install -Dm644 "$srcdir"/$pkgname-$pkgver/minidlna.conf.5 \
- "$pkgdir"/usr/share/man/man5/minidlna.conf.5 || return 1
- install -Dm644 "$srcdir"/$pkgname-$pkgver/minidlnad.8 \
- "$pkgdir"/usr/share/man/man8/minidlnad.8 || return 1
-}
-
-md5sums="67c9e91285bc3801fd91a5d26ea775d7 minidlna-1.1.4.tar.gz
-5af7d64de1978260ef7eb441bb249310 minidlna.initd
-59d14c1bf3cd637138bfa58db7255d78 minidlna.confd"
-sha256sums="9814c04a2c506a0dd942c4218d30c07dedf90dabffbdef2d308a3f9f23545314 minidlna-1.1.4.tar.gz
-136b5d944d6104330ef3144501ba2a579baaee4d82704867596d7eb68aeeb0c5 minidlna.initd
-67603d65c6bd3918255f050cb5cfd6fc1373b024bca1ce728f03491a90d79e19 minidlna.confd"
-sha512sums="24c2d82222798278d60faa46c6d7b19e44a91868da869f7d2aa2bf3c68e343a6c2a323f67223ea69242919047b08f059ed9c7a49b0b516384244acd98b51db4e minidlna-1.1.4.tar.gz
-47579822f25716086a1f69996c60b5f051cf92403a2c56fff094a94468906aef9288d5cf12d9ecf9bf75557a5f2c29ce38c27a3fa9c9a9f3996189e1885e6e0d minidlna.initd
-e209848af0d79069ac989ad61d3be610b4c0c2783a207a50463a25ec3811b04d1da3a2acde54749878bec44e1567874ede827b978d5472c00f6a855663e5cbf8 minidlna.confd"
diff --git a/testing/minidlna/minidlna.confd b/testing/minidlna/minidlna.confd
deleted file mode 100644
index 97d15b00c..000000000
--- a/testing/minidlna/minidlna.confd
+++ /dev/null
@@ -1,14 +0,0 @@
-# /etc/conf.d/minidlna
-
-# Should minidlna rescan the entire collection on startup?
-# Warning: This may take a long time!
-RESCAN="false"
-
-# The location of the config file
-#CONFIG="/etc/minidlna.conf"
-
-# Specify the user/group minidlna should run as
-#M_USER="minidlna"
-#M_GROUP="minidlna"
-
-# vim: ft=gentoo-conf-d
diff --git a/testing/minidlna/minidlna.initd b/testing/minidlna/minidlna.initd
deleted file mode 100755
index b53d5ce2f..000000000
--- a/testing/minidlna/minidlna.initd
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/sbin/runscript
-
-name="MiniDLNA"
-configfile="${CONFIG:-/etc/minidlna.conf}"
-start_stop_daemon_args="--user ${M_USER:-minidlna} --group ${M_GROUP:-minidlna}"
-pidfile="/var/run/minidlna/minidlna.pid"
-command=/usr/sbin/minidlnad
-command_args="-f ${configfile} -P $pidfile"
-
-depend() {
- need net
-}
-
-start_pre() {
- if ! [ -f "${configfile}" ]; then
- eerror "${configfile} is missing"
- return 1
- fi
- if yesno "${RESCAN}"; then
- command_args="$command_args -R"
- fi
-
- checkpath --owner ${M_USER:-minidlna}:${M_GROUP:-minidlna} \
- --directory ${pidfile%/*}
-}
-
diff --git a/testing/minidlna/minidlna.pre-install b/testing/minidlna/minidlna.pre-install
deleted file mode 100644
index 78fb2d47d..000000000
--- a/testing/minidlna/minidlna.pre-install
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-addgroup -S minidlna 2>/dev/null
-adduser -S -H -h /var/run/minidlna -s /sbin/nologin -D -G minidlna \
- minidlna 2>/dev/null
-exit 0