Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jan 2011 13:30:14 GMT
From:      "Richard E. Neese" <r.neese@gmail.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/154261: fix for freeswitch-core pkg-add
Message-ID:  <201101241330.p0ODUETP032935@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/154261; it has been noted by GNATS.

From: "Richard E. Neese" <r.neese@gmail.com>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc:  
Subject: Re: ports/154261: fix for freeswitch-core pkg-add
Date: Mon, 24 Jan 2011 08:23:07 -0500

 This is a multi-part message in MIME format.
 
 --Multipart=_Mon__24_Jan_2011_08_23_07_-0500_61l8Re3xdl6_ga.Q
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 
 On Mon, 24 Jan 2011 13:20:07 GMT
 FreeBSD-gnats-submit@FreeBSD.org wrote:
 
 > Thank you very much for your problem report.
 > It has the internal identification `ports/154261'.
 > The individual assigned to look at your
 > report is: freebsd-ports-bugs. 
 > 
 > You can access the state of your problem report at any time
 > via this link:
 > 
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=154261
 > 
 > >Category:       ports
 > >Responsible:    freebsd-ports-bugs
 > >Synopsis:       fix for freeswitch-core pkg-add
 > >Arrival-Date:   Mon Jan 24 13:20:07 UTC 2011
 
 
 -- 
 Richard E. Neese <r.neese@gmail.com>
 
 --Multipart=_Mon__24_Jan_2011_08_23_07_-0500_61l8Re3xdl6_ga.Q
 Content-Type: text/plain;
  name="freeswitch-core.diff"
 Content-Disposition: attachment;
  filename="freeswitch-core.diff"
 Content-Transfer-Encoding: 7bit
 
 Index: Makefile
 ===================================================================
 RCS file: /home/ncvs/ports/net/freeswitch-core/Makefile,v
 retrieving revision 1.18
 diff -u -r1.18 Makefile
 --- Makefile	24 Dec 2010 15:15:58 -0000	1.18
 +++ Makefile	24 Jan 2011 02:30:31 -0000
 @@ -292,9 +292,9 @@
  	@${CHOWN} -R ${FREESWITCH_USER}:${FREESWITCH_GROUP} ${VARBASE}/run/${BASE_PORTNAME}
  	@${CHOWN} -R ${FREESWITCH_USER}:${FREESWITCH_GROUP} ${VARBASE}/spool/${BASE_PORTNAME}
  	@for i in $$(${FIND} ${PREFIX}/etc/${BASE_PORTNAME}/conf/ -type f -name '*.sample'); do if [ ! -f $${i%.sample} ]; then ${CP} -p $$i $${i%.sample}; fi; done
 -	@${CHMOD} -R 775 ${PREFIX}/etc/${BASE_PORTNAME}/conf
 -	@${CHMOD} -R 775 ${VARBASE}/log/${BASE_PORTNAME}
 -	@${CHMOD} -R 775 ${VARBASE}/${BASE_PORTNAME}
 +	@${CHMOD} -R 744 ${PREFIX}/etc/${BASE_PORTNAME}/conf
 +	@${CHMOD} -R 744 ${VARBASE}/log/${BASE_PORTNAME}
 +	@${CHMOD} -R 744 ${VARBASE}/${BASE_PORTNAME}
  	@${ECHO_MSG} "This port chown -R various directories ${FREESWITCH_USER}:${FREESWITCH_GROUP} "
  	@${ECHO_MSG} "this is for port security . in the event something should stop working."
  	@${ECHO_MSG} "Please take the time to check chownership of the dir's"
 Index: pkg-plist
 ===================================================================
 RCS file: /home/ncvs/ports/net/freeswitch-core/pkg-plist,v
 retrieving revision 1.6
 diff -u -r1.6 pkg-plist
 --- pkg-plist	24 Dec 2010 15:15:58 -0000	1.6
 +++ pkg-plist	24 Jan 2011 02:30:31 -0000
 @@ -3,14 +3,13 @@
  bin/fs_cli
  bin/fs_ivrd
  bin/fsxs
 -bin/fs_encode
  bin/gentls_cert
 -bin/tone2wav
  etc/freeswitch/conf/autoload_configs/acl.conf.xml.sample
  etc/freeswitch/conf/autoload_configs/alsa.conf.xml.sample
  etc/freeswitch/conf/autoload_configs/callcenter.conf.xml.sample
  etc/freeswitch/conf/autoload_configs/cdr_csv.conf.xml.sample
  etc/freeswitch/conf/autoload_configs/cdr_pg_csv.conf.xml.sample
 +etc/freeswitch/conf/autoload_configs/cdr_sqlite.conf.xml.sample
  etc/freeswitch/conf/autoload_configs/cidlookup.conf.xml.sample
  etc/freeswitch/conf/autoload_configs/conference.conf.xml.sample
  etc/freeswitch/conf/autoload_configs/console.conf.xml.sample
 @@ -75,7 +74,6 @@
  etc/freeswitch/conf/dialplan/skinny-patterns/90-External.xml.sample
  etc/freeswitch/conf/dialplan/skinny-patterns/99-Default_Drop.xml.sample
  etc/freeswitch/conf/directory/default.xml.sample
 -etc/freeswitch/conf/mime.types.sample
  %%WITH_EXTENSIONS%%etc/freeswitch/conf/directory/default/1000.xml.sample
  %%WITH_EXTENSIONS%%etc/freeswitch/conf/directory/default/1001.xml.sample
  %%WITH_EXTENSIONS%%etc/freeswitch/conf/directory/default/1002.xml.sample
 @@ -129,8 +127,7 @@
  etc/freeswitch/conf/lang/ru/ru.xml.sample
  etc/freeswitch/conf/lang/ru/vm/sounds.xml.sample
  etc/freeswitch/conf/lang/ru/vm/tts.xml.sample
 -%%WITH_MODFREETDM%%etc/freeswitch/conf/m3ua.conf.sample
 -%%WITH_MODFREETDM%%etc/freeswitch/conf/mime.types.sample
 +etc/freeswitch/conf/mime.types.sample
  etc/freeswitch/conf/mrcp_profiles/loquendo-7-mrcp-v2.xml.sample
  etc/freeswitch/conf/mrcp_profiles/nuance-1.0.0-mrcp-v1.xml.sample
  etc/freeswitch/conf/mrcp_profiles/nuance-5.0-mrcp-v1.xml.sample
 @@ -152,7 +149,7 @@
  %%WITH_MODFREETDM%%etc/freeswitch/conf/wanpipe.conf.sample
  etc/freeswitch/conf/web-vm.tpl.sample
  %%WITH_MODFREETDM%%etc/freeswitch/conf/zt.conf.sample
 -@exec for i in $(find %D/etc/freeswitch/conf/ -type f -name *.sample); do if [ ! -f ${i%.sample} ]; then cp $i ${i%.sample}; fi; done
 +@exec for i in $(find %D/etc/freeswitch/conf/ -type f -name *.sample); do if [ ! -f ${i%%.sample} ]; then cp $i ${i%%.sample}; fi; done
  %%WITH_MODPOCKETSPHINX%%etc/freeswitch/grammar/default.dic
  %%WITH_MODPOCKETSPHINX%%etc/freeswitch/grammar/model/communicator/COPYING
  %%WITH_MODPOCKETSPHINX%%etc/freeswitch/grammar/model/communicator/feat.params
 @@ -259,6 +256,10 @@
  %%WITH_MODCALLCENTER%%lib/freeswitch/mod/mod_callcenter.so
  lib/freeswitch/mod/mod_cdr_csv.la
  lib/freeswitch/mod/mod_cdr_csv.so
 +%%WITH_MODCDRPGCSV%%lib/freeswitch/mod/mod_cdr_pg_csv.la
 +%%WITH_MODCDRPGCSV%%lib/freeswitch/mod/mod_cdr_pg_csv.so
 +lib/freeswitch/mod/mod_cdr_sqlite.la
 +lib/freeswitch/mod/mod_cdr_sqlite.so
  %%WITH_MODCELT%%lib/freeswitch/mod/mod_celt.la
  %%WITH_MODCELT%%lib/freeswitch/mod/mod_celt.so
  %%WITH_MODCIDLOOKUP%%lib/freeswitch/mod/mod_cidlookup.la
 @@ -313,6 +314,8 @@
  %%WITH_MODFLITE%%lib/freeswitch/mod/mod_flite.so
  %%WITH_MODFREETDM%%lib/freeswitch/mod/mod_freetdm.la
  %%WITH_MODFREETDM%%lib/freeswitch/mod/mod_freetdm.so
 +%%WITH_MODFSK%%lib/freeswitch/mod/mod_fsk.la
 +%%WITH_MODFSK%%lib/freeswitch/mod/mod_fsk.so
  lib/freeswitch/mod/mod_fsv.la
  lib/freeswitch/mod/mod_fsv.so
  lib/freeswitch/mod/mod_g723_1.la
 @@ -351,7 +354,6 @@
  %%WITH_MODPASTREAM%%lib/freeswitch/mod/mod_portaudio_stream.so
  %%WITH_MODPYTHON%%lib/freeswitch/mod/mod_python.la
  %%WITH_MODPYTHON%%lib/freeswitch/mod/mod_python.so
 -%%WITH_MODPYTHON%%%%PYTHON_SITELIBDIR%%/freeswitch.py
  %%WITH_MODRSS%%lib/freeswitch/mod/mod_rss.la
  %%WITH_MODRSS%%lib/freeswitch/mod/mod_rss.so
  %%WITH_MODSAYDE%%lib/freeswitch/mod/mod_say_de.la
 @@ -394,8 +396,8 @@
  lib/freeswitch/mod/mod_sofia.so
  %%WITH_MODSOUNDTOUCH%%lib/freeswitch/mod/mod_soundtouch.la
  %%WITH_MODSOUNDTOUCH%%lib/freeswitch/mod/mod_soundtouch.so
 -%%WITH_MODFAX%%lib/freeswitch/mod/mod_spandsp.la
 -%%WITH_MODFAX%%lib/freeswitch/mod/mod_spandsp.so
 +lib/freeswitch/mod/mod_spandsp.la
 +lib/freeswitch/mod/mod_spandsp.so
  lib/freeswitch/mod/mod_speex.la
  lib/freeswitch/mod/mod_speex.so
  lib/freeswitch/mod/mod_spidermonkey.la
 @@ -442,8 +444,8 @@
  www/freeswitch/htdocs/slimtest.htm
  @dirrm www/freeswitch/htdocs
  @dirrm www/freeswitch
 -@dirrm share/freeswitch/sounds
 -@dirrm share/freeswitch
 +@dirrmtry share/freeswitch/sounds
 +@dirrmtry share/freeswitch
  %%WITH_MODPERL%%@dirrm perl
  @dirrm lib/freeswitch/mod
  @dirrm lib/freeswitch/lib
 @@ -477,7 +479,7 @@
  @dirrm etc/freeswitch/conf/lang
  @dirrm etc/freeswitch/conf/jingle_profiles
  @dirrm etc/freeswitch/conf/ivr_menus
 -@dirrm etc/freeswitch/conf/directory/default
 +@DIRRM etc/freeswitch/conf/directory/default
  @dirrm etc/freeswitch/conf/directory
  @dirrm etc/freeswitch/conf/dialplan/skinny-patterns
  @dirrm etc/freeswitch/conf/dialplan/public
 @@ -486,22 +488,24 @@
  @dirrm etc/freeswitch/conf/autoload_configs
  @dirrm etc/freeswitch/conf
  @dirrm etc/freeswitch
 +@exec mkdir -p %D/etc/freeswitch/conf/directory/default
  @exec mkdir -p %D/etc/freeswitch/scripts
  @exec mkdir -p %D/share/freeswitch/sounds
  @cwd /var
 -@dirrm spool/freeswitch/voicemail
 -@dirrm log/freeswitch/xml_cdr
 -@dirrm log/freeswitch
 -@dirrm freeswitch/recordings
 -@dirrm freeswitch
 -@dirrm db/freeswitch
 +@dirrmtry spool/freeswitch/voicemail
 +@dirrmtry spool/freeswitch
 +@dirrmtry log/freeswitch/xml_cdr
 +@dirrmtry log/freeswitch
 +@dirrmtry freeswitch/recordings
 +@dirrmtry freeswitch
 +@dirrmtry db/freeswitch
  @exec mkdir -p %D/spool/freeswitch/voicemail
  @exec mkdir -p %D/log/freeswitch/
  @exec mkdir -p %D/log/freeswitch/xml_cdr
  @exec mkdir -p %D/freeswitch
  @exec mkdir -p %D/freeswitch/recordings
  @exec mkdir -p %D/db/freeswitch
 -@exec chown -R freeswitch:freeswitch spool/freeswitch/voicemail
 -@exec chown -R freeswitch:freeswitch log/freeswitch/xml_cdr
 -@exec chown -R freeswitch:freeswitch freeswitch/recordings
 -@exec chown -R freeswitch:freeswitch db/freeswitch
 +@exec chown -R freeswitch:freeswitch %D/spool/freeswitch/voicemail
 +@exec chown -R freeswitch:freeswitch %D/log/freeswitch/xml_cdr
 +@exec chown -R freeswitch:freeswitch %D/freeswitch/recordings
 +@exec chown -R freeswitch:freeswitch %D/db/freeswitch
 
 --Multipart=_Mon__24_Jan_2011_08_23_07_-0500_61l8Re3xdl6_ga.Q--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101241330.p0ODUETP032935>