Update to 1.1.1. Add option to allow vlc to run as the root user, and enable

this option for SERVER_ONLY builds.

PR:		ports/148921
Submitted by:	Douglas Carmichael <dcarmich@dcarmichael.net>
Approved by:	kwm (mentor)
This commit is contained in:
Joseph S. Atkinson 2010-07-26 16:18:23 +00:00
parent 54685f75ff
commit 51a10f96cf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=258289
3 changed files with 10 additions and 16 deletions

View file

@ -6,8 +6,7 @@
#
PORTNAME= vlc
DISTVERSION= 1.1.0
PORTREVISION= 1
DISTVERSION= 1.1.1
PORTEPOCH= 3
CATEGORIES= multimedia audio ipv6 net www
MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION}/ \
@ -60,6 +59,7 @@ OPTIONS= A52 "A52 DVD audio decoder" On \
PULSE "Pulse Audio support" Off \
QT4 "Qt4 Interface" On \
REALAUDIO "Real Audio(R) support" On \
RUNROOT "Enable running as root" Off \
SAMBA "SAMBA Access module" On \
SCHROED "Enable Schroedinger decoder" Off \
SDL "SDL video output" On \
@ -133,6 +133,7 @@ WITHOUT_DVDNAV=yes
.if defined(WITH_SERVER_ONLY)
WITHOUT_LUA=yes
WITHOUT_QT4=yes
WITH_RUNROOT=yes
WITHOUT_V4L=yes
WITHOUT_XCB=yes
.endif
@ -464,6 +465,10 @@ CONFIGURE_ARGS+=--disable-real --disable-realrtsp
CONFIGURE_ARGS+=--enable-real --enable-realrtsp
.endif
.if defined(WITH_RUNROOT)
CONFIGURE_ARGS+=--enable-run-as-root
.endif
.if !defined(WITHOUT_SAMBA)
LIB_DEPENDS+= smbclient.0:${PORTSDIR}/net/samba-libsmbclient
CONFIGURE_ARGS+=--enable-smb

View file

@ -1,3 +1,3 @@
MD5 (vlc-1.1.0.tar.bz2) = e2142957137b183a5ad0a4827c39f655
SHA256 (vlc-1.1.0.tar.bz2) = a9fb2c5cc400464bbb53ba6feb94f14884f3c76d52eac1ee4c2953a1ce63f1c8
SIZE (vlc-1.1.0.tar.bz2) = 23908512
MD5 (vlc-1.1.1.tar.bz2) = 7e177faa61450ce752b0fd89ecc81fed
SHA256 (vlc-1.1.1.tar.bz2) = 9129a0fdff4a91ac6bea1a8a63a643ffe185aa98d928e77efdb80e77e7d54251
SIZE (vlc-1.1.1.tar.bz2) = 23955671

View file

@ -1,11 +0,0 @@
--- ./modules/access/file.c.orig 2010-06-22 02:05:28.000000000 -0400
+++ ./modules/access/file.c 2010-06-22 02:05:57.000000000 -0400
@@ -96,7 +96,7 @@
if (fstatvfs (fd, &stf))
return false;
/* fstatvfs() is in POSIX, but MNT_LOCAL is not */
- return !(s.f_flag & MNT_LOCAL);
+ return !(stf.f_flag & MNT_LOCAL);
#elif defined (HAVE_LINUX_MAGIC_H)
struct statfs stf;