ports/154261: fix for freeswitch-core pkg-add

Richard E. Neese r.neese at gmail.com
Mon Jan 24 13:30:15 UTC 2011


The following reply was made to PR ports/154261; it has been noted by GNATS.

From: "Richard E. Neese" <r.neese at gmail.com>
To: FreeBSD-gnats-submit at FreeBSD.org, freebsd-ports-bugs at 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 at 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 at 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
 - at 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
 + at 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
 - at dirrm share/freeswitch/sounds
 - at dirrm share/freeswitch
 + at dirrmtry share/freeswitch/sounds
 + at 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
 - at dirrm etc/freeswitch/conf/directory/default
 + at 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
 + at 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
 - at dirrm spool/freeswitch/voicemail
 - at dirrm log/freeswitch/xml_cdr
 - at dirrm log/freeswitch
 - at dirrm freeswitch/recordings
 - at dirrm freeswitch
 - at dirrm db/freeswitch
 + at dirrmtry spool/freeswitch/voicemail
 + at dirrmtry spool/freeswitch
 + at dirrmtry log/freeswitch/xml_cdr
 + at dirrmtry log/freeswitch
 + at dirrmtry freeswitch/recordings
 + at dirrmtry freeswitch
 + at 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
 - at exec chown -R freeswitch:freeswitch spool/freeswitch/voicemail
 - at exec chown -R freeswitch:freeswitch log/freeswitch/xml_cdr
 - at exec chown -R freeswitch:freeswitch freeswitch/recordings
 - at exec chown -R freeswitch:freeswitch db/freeswitch
 + at exec chown -R freeswitch:freeswitch %D/spool/freeswitch/voicemail
 + at exec chown -R freeswitch:freeswitch %D/log/freeswitch/xml_cdr
 + at exec chown -R freeswitch:freeswitch %D/freeswitch/recordings
 + at exec chown -R freeswitch:freeswitch %D/db/freeswitch
 
 --Multipart=_Mon__24_Jan_2011_08_23_07_-0500_61l8Re3xdl6_ga.Q--



More information about the freebsd-ports-bugs mailing list