aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2006-01-07 14:29:57 +0800
committerdougb <dougb@FreeBSD.org>2006-01-07 14:29:57 +0800
commitf22aefad354646e367125e29367738156d9ce45e (patch)
tree263b1289f4801350149db40a8f79e53ace385ecc /multimedia
parent11b367b069d969e162b021882dd5ad152744a56e (diff)
downloadfreebsd-ports-gnome-f22aefad354646e367125e29367738156d9ce45e.tar.gz
freebsd-ports-gnome-f22aefad354646e367125e29367738156d9ce45e.tar.zst
freebsd-ports-gnome-f22aefad354646e367125e29367738156d9ce45e.zip
Now that new style rc.d scripts are being run as part of the
base rcorder, hard coded variable values in these scripts are overriding the values in /etc/rc.conf[.local] (due to the way that variables from the latter are read at boot time). Therefore, change the boot scripts to set default values only if the variable is unset in /etc/rc.conf[.local]. This will allow the service to start at boot time if it's been enabled as the user would expect. This change will be a noop for users who have systems that have not yet been upgraded to the new rc.d code in the base. In many cases there are other variables in the scripts that should get similar treatment, however I did not change anything other than the _enable lines. I'll leave the rest up to the maintainers to do as they see fit. Bump PORTREVISION to make sure that users and packages pick up this change.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ffmpeg-devel/Makefile2
-rw-r--r--multimedia/ffmpeg-devel/files/ffserver.sh4
-rw-r--r--multimedia/ffmpeg/Makefile2
-rw-r--r--multimedia/ffmpeg/files/ffserver.sh4
4 files changed, 6 insertions, 6 deletions
diff --git a/multimedia/ffmpeg-devel/Makefile b/multimedia/ffmpeg-devel/Makefile
index a4b86d2c8dc7..c6e53334f673 100644
--- a/multimedia/ffmpeg-devel/Makefile
+++ b/multimedia/ffmpeg-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ffmpeg
DISTVERSION= 0.4.9.cvs.${RELEASE_DATE}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia audio ipv6 net
MASTER_SITES= ${MASTER_SITE_LOCAL}
# http://mplayerhq.hu/MPlayer/cvs/
diff --git a/multimedia/ffmpeg-devel/files/ffserver.sh b/multimedia/ffmpeg-devel/files/ffserver.sh
index 0ec0f5b65cf6..d0b554ee10fb 100644
--- a/multimedia/ffmpeg-devel/files/ffserver.sh
+++ b/multimedia/ffmpeg-devel/files/ffserver.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/multimedia/ffmpeg-devel/files/Attic/ffserver.sh,v 1.1 2004-12-05 18:12:41 lioux Exp $
+# $FreeBSD: /tmp/pcvs/ports/multimedia/ffmpeg-devel/files/Attic/ffserver.sh,v 1.2 2006-01-07 06:29:52 dougb Exp $
#
# PROVIDE: ffserver
@@ -12,7 +12,7 @@
#
#ffserver_enable="YES"
#
-ffserver_enable="NO"
+ffserver_enable="${ffserver_enable-NO}"
. %%RC_SUBR%%
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile
index 2db71b511c60..1d7158935370 100644
--- a/multimedia/ffmpeg/Makefile
+++ b/multimedia/ffmpeg/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ffmpeg
DISTVERSION= 0.4.9-pre1
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= multimedia audio net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ffmpeg
diff --git a/multimedia/ffmpeg/files/ffserver.sh b/multimedia/ffmpeg/files/ffserver.sh
index e95cbd7bb475..8ce57d4c8106 100644
--- a/multimedia/ffmpeg/files/ffserver.sh
+++ b/multimedia/ffmpeg/files/ffserver.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/multimedia/ffmpeg/files/Attic/ffserver.sh,v 1.1 2004-12-05 18:12:41 lioux Exp $
+# $FreeBSD: /tmp/pcvs/ports/multimedia/ffmpeg/files/Attic/ffserver.sh,v 1.2 2006-01-07 06:29:51 dougb Exp $
#
# PROVIDE: ffserver
@@ -12,7 +12,7 @@
#
#ffserver_enable="YES"
#
-ffserver_enable="NO"
+ffserver_enable="${ffserver_enable-NO}"
. %%RC_SUBR%%