aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2013-12-06 09:33:23 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2013-12-06 09:36:15 +0000
commit852a1a74e5b532965abd604ba5a0a7baa81eefcb (patch)
tree85dd083f35fdac1b1662b65b9489b635e3f294ec /testing
parente74994e0562cf1974a2f9040906d3d09f74356b6 (diff)
downloadaports-852a1a74e5b532965abd604ba5a0a7baa81eefcb.tar.bz2
aports-852a1a74e5b532965abd604ba5a0a7baa81eefcb.tar.xz
testing/minidlna: fixed bin name in the initd, added conf file and sqlite dir
Diffstat (limited to 'testing')
-rw-r--r--testing/minidlna/APKBUILD13
-rw-r--r--testing/minidlna/minidlna.initd2
2 files changed, 10 insertions, 5 deletions
diff --git a/testing/minidlna/APKBUILD b/testing/minidlna/APKBUILD
index 8223e7e5fc..3b055116f0 100644
--- a/testing/minidlna/APKBUILD
+++ b/testing/minidlna/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=minidlna
pkgver=1.1.0
-pkgrel=0
+pkgrel=1
pkgdesc="A small dlna server"
url="http://sourceforge.net/projects/minidlna/"
arch="all"
@@ -13,6 +13,8 @@ depends_dev="libvorbis-dev libogg-dev libid3tag-dev libexif-dev jpeg-dev
makedepends="$depends_dev"
install="minidlna.pre-install"
subpackages=""
+pkgusers="$pkgname"
+pkggroups="$pkgname"
source="http://downloads.sourceforge.net/project/minidlna/minidlna/$pkgver/minidlna-$pkgver.tar.gz
$pkgname.initd
$pkgname.confd"
@@ -42,16 +44,19 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
+ mkdir -p "$pkgdir"/var/cache/$pkgname
+ chown $pkgusers:$pkggroups "$pkgdir"/var/cache/$pkgname
install -m755 -D "$srcdir/$pkgname.initd" "$pkgdir/etc/init.d/$pkgname"
install -m644 -D "$srcdir/$pkgname.confd" "$pkgdir/etc/conf.d/$pkgname"
+ install -m755 -D "$pkgname.conf" "$pkgdir"/etc/$pkgname.conf
}
md5sums="26484a84af3fceafdee26595aae097f7 minidlna-1.1.0.tar.gz
-dd648eaeb559a6608523dc19cd849f54 minidlna.initd
+b87ac6bcab9f51bc79daa4141bd4e9a7 minidlna.initd
59d14c1bf3cd637138bfa58db7255d78 minidlna.confd"
sha256sums="c2ef2ebe4311d08a60a87ec0c86fbe5e7f4fd25b947841f1d71b0508c60a90e2 minidlna-1.1.0.tar.gz
-3b15cbc67174e84ead68bc51e859ff9efd52b3e6d4e3d6dc2d1a4bdd701d34fb minidlna.initd
+d3f2c77adb61de55dd857b1dde2a8494c85f9e4642d4a23527cbdf0496ef073b minidlna.initd
67603d65c6bd3918255f050cb5cfd6fc1373b024bca1ce728f03491a90d79e19 minidlna.confd"
sha512sums="9240d857fc3927c06183c04c4d657c1b2b0596f63dbc549f331b52032698349e82244870f2ebf6f8bc8bf0ff5f2ff88df69b53d280f5e5f9b618a5de58ac6f57 minidlna-1.1.0.tar.gz
-2fefc230dcc72ed445392d178ba5952cfa91eab6ee2d73e3d8c2b2f283289f89f6444a6d178e7f67494016b0d8c732a0e4ff99e58c3a4e084ef77ad3b5231265 minidlna.initd
+db407248d7f3a711c9da3400319fd83e6531424993924d1755ebb53a1a94b12e3816355e4fa2d0f4be707785f820d6b7b5667c9a71a5364600748b647b179eab minidlna.initd
e209848af0d79069ac989ad61d3be610b4c0c2783a207a50463a25ec3811b04d1da3a2acde54749878bec44e1567874ede827b978d5472c00f6a855663e5cbf8 minidlna.confd"
diff --git a/testing/minidlna/minidlna.initd b/testing/minidlna/minidlna.initd
index a31c5aea97..5236551907 100644
--- a/testing/minidlna/minidlna.initd
+++ b/testing/minidlna/minidlna.initd
@@ -3,7 +3,7 @@
name="MiniDLNA"
configfile="${CONFIG:-/etc/minidlna.conf}"
start_stop_daemon_args="--user ${M_USER:-minidlna} --group ${M_GROUP:-minidlna}"
-command=/usr/sbin/minidlna
+command=/usr/sbin/minidlnad
command_args="-f ${configfile}"
depend() {