summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2011-07-20 11:31:38 +0000
committerLeonardo Arena <rnalrd@gmail.com>2011-07-20 11:32:05 +0000
commitcd4f2e1c4e9a4c16a11507831a67badab60506de (patch)
treedb5e382127955d95928a1cc88b38aea40ca2b938
parent30d2bab202c4f53515cfbec6e35b3cbf6ba3f421 (diff)
downloadaports-cd4f2e1c4e9a4c16a11507831a67badab60506de.tar.bz2
aports-cd4f2e1c4e9a4c16a11507831a67badab60506de.tar.xz
main/vlc: fix logging. Upgrade to 1.1.11
-rw-r--r--main/vlc/APKBUILD8
-rw-r--r--main/vlc/vlc-daemon.post-install2
-rw-r--r--main/vlc/vlc.confd2
3 files changed, 6 insertions, 6 deletions
diff --git a/main/vlc/APKBUILD b/main/vlc/APKBUILD
index da72136d1..c701b069f 100644
--- a/main/vlc/APKBUILD
+++ b/main/vlc/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Leonardo Arena <rnalrd@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vlc
-pkgver=1.1.10
-pkgrel=3
+pkgver=1.1.11
+pkgrel=0
pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player"
url="http://www.videolan.org/vlc/"
arch="all"
@@ -174,13 +174,13 @@ daemon() {
arch="noarch"
depends="vlc"
- mkdir -p "$subpkgdir"
+ mkdir -p "$subpkgdir"/var/log/vlc
cd "$pkgdir"
install -D -m755 ../../vlc.initd $subpkgdir/etc/init.d/vlc
install -D -m664 ../../vlc.confd $subpkgdir/etc/conf.d/vlc
}
-md5sums="066cb94b1e3aa848d828121354d6be4d vlc-1.1.10.tar.bz2
+md5sums="a64846d6f21ea179ae8e8bfb6f9447fe vlc-1.1.11.tar.bz2
ba24152286d98f8a367c7fd0cb8949f4 uclibc3.patch
d718e22a7de9f38579f276f720b2f36a uclibc-libcompat.patch
43bea31edd02de2b53075e5e883706db uclibc-inhibit-spawn.patch
diff --git a/main/vlc/vlc-daemon.post-install b/main/vlc/vlc-daemon.post-install
index e97c972c9..5c0a51ef4 100644
--- a/main/vlc/vlc-daemon.post-install
+++ b/main/vlc/vlc-daemon.post-install
@@ -1,3 +1,3 @@
#!/bin/sh
adduser -h /home/vlc -s /bin/sh -G audio -G video -D vlc &>/dev/null || true
-touch /var/log/vlc.log && chown vlc /var/log/vlc.log
+chown vlc /var/log/vlc
diff --git a/main/vlc/vlc.confd b/main/vlc/vlc.confd
index 3dc57ad8c..c42344b60 100644
--- a/main/vlc/vlc.confd
+++ b/main/vlc/vlc.confd
@@ -8,4 +8,4 @@
## --sout PARAMS encoding parameters
## Do NOT quote 'PARAMS' otherwise shell expansions will broke vlc
-VLC_OPTS="-vvv -I dummy alsa://hw:0,0 --daemon --file-logging --logfile /var/log/vlc.log --sout #transcode{acodec=mp3,ab=48,channels=1,samplerate=22050}:std{access=http,mux=ogg,dst=:8080}"
+VLC_OPTS="-vvv -I dummy alsa://hw:0,0 --daemon --file-logging --logfile /var/log/vlc/vlc.log --sout #transcode{acodec=mp3,ab=48,channels=1,samplerate=22050}:std{access=http,mux=ogg,dst=:8080}"