summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra-testing')
-rw-r--r--abs/extra-testing/mediaserv/PKGBUILD5
-rw-r--r--abs/extra-testing/mediaserv/mediaserv.no_daemon.patch17
2 files changed, 20 insertions, 2 deletions
diff --git a/abs/extra-testing/mediaserv/PKGBUILD b/abs/extra-testing/mediaserv/PKGBUILD
index f58aaa3..c117dbe 100644
--- a/abs/extra-testing/mediaserv/PKGBUILD
+++ b/abs/extra-testing/mediaserv/PKGBUILD
@@ -3,17 +3,18 @@
pkgname=mediaserv
pkgver=0.05
-pkgrel=2
+pkgrel=3
pkgdesc="On-deman transcoding server for videos, targetting the Nokia Internet Tablets."
arch=('i686' 'x86_64')
license=('ARTISTIC')
depends=('tablet-encode' 'perl-xml-rss')
install=(mediaserv.install)
url="http://mediautils.garage.maemo.org/tablet-encode.html"
-source=(https://garage.maemo.org/frs/download.php/2632/mediaserv-0.05.tar.gz linhes-mediaserv.tar.bz2)
+source=(https://garage.maemo.org/frs/download.php/2632/mediaserv-0.05.tar.gz linhes-mediaserv.tar.bz2 mediaserv.no_daemon.patch)
build() {
cd ${srcdir}/mediaserv
+ patch -Np1 -i ${startdir}/src/mediaserv.no_daemon.patch || return 1
mkdir -p $startdir/pkg/usr/bin
mkdir -p $startdir/pkg/usr/share/doc/mediaserv
mkdir -p $startdir/pkg/myth/mediaserv
diff --git a/abs/extra-testing/mediaserv/mediaserv.no_daemon.patch b/abs/extra-testing/mediaserv/mediaserv.no_daemon.patch
new file mode 100644
index 0000000..b659354
--- /dev/null
+++ b/abs/extra-testing/mediaserv/mediaserv.no_daemon.patch
@@ -0,0 +1,17 @@
+--- mediaserv/mediaserv.orig 2009-06-15 03:16:53.000000000 +0000
++++ mediaserv/mediaserv 2009-06-15 03:17:29.000000000 +0000
+@@ -608,10 +608,10 @@
+ # daemonize - daemonize the parent/control app
+ #
+ sub daemonize {
+- my $pid = fork; # Fork off the main process
+- defined ($pid) or die "Cannot start daemon: $!";
+- print "Parent daemon running.\n" if $pid; # If we have a PID, the parent daemonized okay
+- exit if $pid; # Return control to the user
++# my $pid = fork; # Fork off the main process
++# defined ($pid) or die "Cannot start daemon: $!";
++ print "Parent daemon running.\n" ; # If we have a PID, the parent daemonized okay
++# exit if $pid; # Return control to the user
+
+ # Now we're a daemonized parent process!
+