aboutsummaryrefslogtreecommitdiff
path: root/misc/freeswitch-scripts
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2011-10-29 10:13:24 +0000
committerChris Rees <crees@FreeBSD.org>2011-10-29 10:13:24 +0000
commitca1e5a744b92e6949bc48233dbd6c04da086c68a (patch)
tree77937c3265fb36445e0ee1f3100242d7d82d6f52 /misc/freeswitch-scripts
parente2ea52499204a1df5aad3633690fcd4aea90ffc4 (diff)
downloadports-ca1e5a744b92e6949bc48233dbd6c04da086c68a.tar.gz
ports-ca1e5a744b92e6949bc48233dbd6c04da086c68a.zip
Notes
Diffstat (limited to 'misc/freeswitch-scripts')
-rw-r--r--misc/freeswitch-scripts/Makefile8
-rw-r--r--misc/freeswitch-scripts/distinfo4
-rw-r--r--misc/freeswitch-scripts/pkg-plist9
3 files changed, 13 insertions, 8 deletions
diff --git a/misc/freeswitch-scripts/Makefile b/misc/freeswitch-scripts/Makefile
index a1e55697909f..ea0fb4ac86d0 100644
--- a/misc/freeswitch-scripts/Makefile
+++ b/misc/freeswitch-scripts/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= freeswitch-scripts
-PORTVERSION= 201044
+PORTVERSION= 1.0.7
+PORTEPOCH= 1
CATEGORIES= misc
-MASTER_SITES= ftp://ftp.secure-computing.net/pub/freeswitch/ \
- ftp://ftp2.secure-computing.net/pub/freeswitch/
+MASTER_SITES= http://dl.dropbox.com/u/152504/
DISTNAME= ${BASE_PORTNAME}-${PORTVERSION}
DIST_SUBDIR= ${BASE_PORTNAME}
@@ -20,6 +20,8 @@ NO_BUILD= yes
BASE_PORTNAME= freeswitch
SUB_FILES= pkg-install
+RUN_DEPENDS= ${LOCALBASE}/bin/freeswitch:${PORTSDIR}/net/freeswitch-core
+
FREESWITCH_USER= freeswitch
FREESWITCH_GROUP= ${FREESWITCH_USER}
diff --git a/misc/freeswitch-scripts/distinfo b/misc/freeswitch-scripts/distinfo
index 40ee1bf569af..bc22dfefd368 100644
--- a/misc/freeswitch-scripts/distinfo
+++ b/misc/freeswitch-scripts/distinfo
@@ -1,2 +1,2 @@
-SHA256 (freeswitch/freeswitch-201044.tar.gz) = cea3583bcc1febc8b6ad85ca38c991d2d7319945784dd915834c1479b33bbd4b
-SIZE (freeswitch/freeswitch-201044.tar.gz) = 42320468
+SHA256 (freeswitch/freeswitch-1.0.7.tar.gz) = 3ad0abfa104b9ba3ca630791a3d9a394cc2a20c000f099aa5bae245fe290dbb4
+SIZE (freeswitch/freeswitch-1.0.7.tar.gz) = 36116855
diff --git a/misc/freeswitch-scripts/pkg-plist b/misc/freeswitch-scripts/pkg-plist
index 3c7a518c1559..2d5590492076 100644
--- a/misc/freeswitch-scripts/pkg-plist
+++ b/misc/freeswitch-scripts/pkg-plist
@@ -8,7 +8,9 @@ etc/freeswitch/scripts/.freeswitch-scripts
%%WITH_LUA%%etc/freeswitch/scripts/lua/helloworld.lua
%%WITH_LUA%%etc/freeswitch/scripts/lua/mwi_event.lua
%%WITH_LUA%%etc/freeswitch/scripts/lua/originate.lua
+%%WITH_LUA%%etc/freeswitch/scripts/lua/sound_test.lua
%%WITH_LUA%%etc/freeswitch/scripts/lua/zrtp_agent.lua
+%%WITH_PERL%%etc/freeswitch/scripts/perl/add_user
%%WITH_PERL%%etc/freeswitch/scripts/perl/FreeSWITCH-GizmoConfig.pl
%%WITH_PERL%%etc/freeswitch/scripts/perl/FreeSWITCH/ChangeLog
%%WITH_PERL%%etc/freeswitch/scripts/perl/FreeSWITCH/Client.pm
@@ -41,6 +43,7 @@ etc/freeswitch/scripts/.freeswitch-scripts
%%WITH_PERL%%etc/freeswitch/scripts/perl/multicast/send.pl
%%WITH_PERL%%etc/freeswitch/scripts/perl/mwi_event.pl
%%WITH_PERL%%etc/freeswitch/scripts/perl/originate.pl
+%%WITH_PERL%%etc/freeswitch/scripts/perl/randomize-passwords.pl
%%WITH_PERL%%etc/freeswitch/scripts/perl/rpc.cgi
%%WITH_PERL%%etc/freeswitch/scripts/perl/scenario/attended_transfer.button
%%WITH_PERL%%etc/freeswitch/scripts/perl/scenario/blind_transfer.button
@@ -89,6 +92,6 @@ etc/freeswitch/scripts/.freeswitch-scripts
%%WITH_PERL%%@dirrm etc/freeswitch/scripts/perl
%%WITH_LUA%%@dirrm etc/freeswitch/scripts/lua
%%WITH_JAVASCRIPT%%@dirrm etc/freeswitch/scripts/javascript/aadir
-%%WITH_JAVASCRIPT%%@dirrm etc/freeswitch/scripts/javascript
-@dirrmtry etc/freeswitch/scripts
-@dirrmtry etc/freeswitch
+%%WITH_JAVASCRIPT%%@dirrmtry etc/freeswitch/scripts/javascript
+@exec chown -R freeswitch:freeswitch %D/etc/freeswitch/scripts/
+@exec find %D/etc/freeswitch/. -type d | xargs chmod 774