Date: Mon, 14 May 2012 15:30:14 GMT From: Rich Neese <r.neese@gmail.com> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: misc/167876: update of misc/freeswitch-scripts Message-ID: <201205141530.q4EFUEPt002536@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/167876; it has been noted by GNATS. From: Rich Neese <r.neese@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org Cc: Subject: Re: misc/167876: update of misc/freeswitch-scripts Date: Mon, 14 May 2012 11:26:02 -0400 This is a multi-part message in MIME format. --------------040308020001050402010404 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 5/14/2012 9:20 AM, FreeBSD-gnats-submit@FreeBSD.org wrote: > Thank you very much for your problem report. > It has the internal identification `misc/167876'. > The individual assigned to look at your > report is: freebsd-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=167876 > >> Category: misc >> Responsible: freebsd-bugs >> Synopsis: update of misc/freeswitch-scripts >> Arrival-Date: Mon May 14 13:20:10 UTC 2012 mover port to freeswitch12-scripts --------------040308020001050402010404 Content-Type: text/plain; charset=windows-1252; name="freeswitch12-scripts.shar" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="freeswitch12-scripts.shar" # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # freeswitch12-scripts # freeswitch12-scripts/files # freeswitch12-scripts/files/pkg-install.in # freeswitch12-scripts/Makefile # freeswitch12-scripts/distinfo # freeswitch12-scripts/pkg-descr # freeswitch12-scripts/pkg-plist # echo c - freeswitch12-scripts mkdir -p freeswitch12-scripts > /dev/null 2>&1 echo c - freeswitch12-scripts/files mkdir -p freeswitch12-scripts/files > /dev/null 2>&1 echo x - freeswitch12-scripts/files/pkg-install.in sed 's/^X//' >freeswitch12-scripts/files/pkg-install.in << 'ef783a3ade4ef55536a3b138ec5065a3' X#!/bin/sh X# $FreeBSD: ports/misc/freeswitch-scripts/files/pkg-install.in,v 1.1 2010/12/17 21:42:33 jpaetzel Exp $ X# X Xif [ "$2" != "PRE-INSTALL" ]; then X exit 0 Xfi X XFREESWITCHUSER=freeswitch XFREESWITCHGROUP=${FREESWITCHUSER} XFREESWITCHUID=610 XFREESWITCHGID=${FREESWITCHUID} X Xif ! pw groupshow "${FREESWITCHGROUP}" 2>/dev/null 1>&2; then X if pw groupadd ${FREESWITCHGROUP} -g ${FREESWITCHGID}; then X echo "Added group \"${FREESWITCHGROUP}\"." X else X echo "Adding group \"${FREESWITCHGROUP}\" failed..." X exit 1 X fi Xfi X Xif ! pw usershow "${FREESWITCHUSER}" 2>/dev/null 1>&2; then X if pw useradd ${FREESWITCHUSER} -u ${FREESWITCHUID} -g ${FREESWITCHGROUP} -h - \ X -s "/sbin/nologin" -d "/nonexistent" \ X -c "FREESWITCH Owner"; \ X then X echo "Added user \"${FREESWITCHUSER}\"." X else X echo "Adding user \"${FREESWITCHUSER}\" failed..." X exit 1 X fi Xfi X Xexit 0 ef783a3ade4ef55536a3b138ec5065a3 echo x - freeswitch12-scripts/Makefile sed 's/^X//' >freeswitch12-scripts/Makefile << 'ff35a7713e8841df636093b65b544a28' X X# Ports collection makefile for: freeswitch12-scripts X# Date created: May 14, 2012 X# Whom: Richard Neese <r.neese@gmail.com> X# X# $FreeBSD:$ X# X XPORTNAME= freeswitch XDISTVERSION= 1.2.rc2 XPORTEPOCH= 1 XCATEGORIES= misc XMASTER_SITES= http://files.freeswitch.org/ XPKGNAMESUFFIX= -scripts XDISTFILES= ${PORTNAME}-${DISTVERSION}.tar.bz2 XDIST_SUBDIR= ${PORTNAME} X XMAINTAINER= r.neese@gmail.com XCOMMENT= FreeSwitch Scripts X XRUN_DEPENDS= ${LOCALBASE}/bin/freeswitch:${PORTSDIR}/net/freeswitch12-core X XNO_BUILD= yes XBASE_PORTNAME= freeswitch XSUB_FILES= pkg-install X XFREESWITCH_USER= freeswitch XFREESWITCH_GROUP= ${FREESWITCH_USER} X XWRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}/scripts X XOPTIONS= JAVASCRIPT "Install FreeSWITCH JAVASCRIPTS" off \ X PERL "Install FreeSWITCH Perl Scripts" off \ X PYTHON "Install FreeSWITCH Python Scripts" off \ X PHP "Install FreeSWITCH PHP Scripts" off \ X RSS "Install FreeSWITCH RSS Scripts" off \ X LUA "Install FreeSWITCH LUA Scripts" off X X.include <bsd.port.options.mk> X X.for i in ${OPTIONS:Non:Noff:C/".*"//} X.if defined(WITH_${i}) XPLIST_SUB+= ${i}="" X.else XPLIST_SUB+= ${i}="@comment " X.endif X.endfor X Xpre-install: X @${SH} ${PKGINSTALL} ${BASE_PORTNAME} PRE-INSTALL X X.if ! exists(${PREFIX}/etc/${BASE_PORTNAME}/scripts) X ${MKDIR} ${PREFIX}/etc/${BASE_PORTNAME}/scripts X ${CHOWN} ${FREESWITCH_USER}:${FREESWITCH_GROUP} ${PREFIX}/etc/${BASE_PORTNAME}/scripts X.endif X ${TOUCH} ${PREFIX}/etc/${BASE_PORTNAME}/scripts/.freeswitch-scripts X ${CHOWN} ${FREESWITCH_USER}:${FREESWITCH_GROUP} ${PREFIX}/etc/${BASE_PORTNAME}/scripts/.freeswitch-scripts X Xdo-install: X.if defined(WITH_JAVASCRIPT) X @${RM} ${WRKSRC}/javascript/ps_pizza.js X @${RM} ${WRKSRC}/javascript/pizza.js X @cd ${WRKSRC}; ${FIND} javascript \ X | ${CPIO} -pdm -R ${FREESWITCH_USER}:${FREESWITCH_GROUP} ${PREFIX}/etc/${BASE_PORTNAME}/scripts X.endif X X.if defined(WITH_PERL) X @cd ${WRKSRC}; ${FIND} perl \ X | ${CPIO} -pdm -R ${FREESWITCH_USER}:${FREESWITCH_GROUP} ${PREFIX}/etc/${BASE_PORTNAME}/scripts X.endif X X.if defined(WITH_PYTHON) X @cd ${WRKSRC}; ${FIND} python \ X | ${CPIO} -pdm -R ${FREESWITCH_USER}:${FREESWITCH_GROUP} ${PREFIX}/etc/${BASE_PORTNAME}/scripts X X.endif X X.if defined(WITH_PHP) X @cd ${WRKSRC}; ${FIND} php \ X | ${CPIO} -pdm -R ${FREESWITCH_USER}:${FREESWITCH_GROUP} ${PREFIX}/etc/${BASE_PORTNAME}/scripts X.endif X X.if defined(WITH_RSS) X @cd ${WRKSRC}; ${FIND} rss \ X | ${CPIO} -pdm -R ${FREESWITCH_USER}:${FREESWITCH_GROUP} ${PREFIX}/etc/${BASE_PORTNAME}/scripts X.endif X X.if defined(WITH_LUA) X @cd ${WRKSRC}; ${FIND} lua \ X | ${CPIO} -pdm -R ${FREESWITCH_USER}:${FREESWITCH_GROUP} ${PREFIX}/etc/${BASE_PORTNAME}/scripts X.endif X X.include <bsd.port.mk> ff35a7713e8841df636093b65b544a28 echo x - freeswitch12-scripts/distinfo sed 's/^X//' >freeswitch12-scripts/distinfo << 'dc49c8d3d4cf5b877bc541b5eae169d2' XSHA256 (freeswitch/freeswitch-1.2.rc2.tar.bz2) = bbf9b3f6e7a7569b9594b5852d1b8a95266ef3276df222776ac84667adb6cc08 XSIZE (freeswitch/freeswitch-1.2.rc2.tar.bz2) = 38075354 dc49c8d3d4cf5b877bc541b5eae169d2 echo x - freeswitch12-scripts/pkg-descr sed 's/^X//' >freeswitch12-scripts/pkg-descr << '8bde43d152a891667d9175abf6570143' Xport for Various Freeswitch scripts . 8bde43d152a891667d9175abf6570143 echo x - freeswitch12-scripts/pkg-plist sed 's/^X//' >freeswitch12-scripts/pkg-plist << 'f5bb30a0c3f6946fe513479cfd9c3af6' X%%ETCDIR%%/scripts/.freeswitch-scripts X%%WITH_JAVASCRIPT%%%%ETCDIR%%/scripts/javascript/aadir/README X%%WITH_JAVASCRIPT%%%%ETCDIR%%/scripts/javascript/aadir/aadir.js X%%WITH_JAVASCRIPT%%%%ETCDIR%%/scripts/javascript/api.js X%%WITH_JAVASCRIPT%%%%ETCDIR%%/scripts/javascript/dtmftest.js X%%WITH_LUA%%%%ETCDIR%%/scripts/lua/api.lua X%%WITH_LUA%%%%ETCDIR%%/scripts/lua/callback.lua X%%WITH_LUA%%%%ETCDIR%%/scripts/lua/helloworld.lua X%%WITH_LUA%%%%ETCDIR%%/scripts/lua/mwi_event.lua X%%WITH_LUA%%%%ETCDIR%%/scripts/lua/originate.lua X%%WITH_LUA%%%%ETCDIR%%/scripts/lua/sound_test.lua X%%WITH_LUA%%%%ETCDIR%%/scripts/lua/zrtp_agent.lua X%%WITH_LUA%%%%ETCDIR%%/scripts/lua/zrtp_proxy_media.lua X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/add_user X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/FreeSWITCH-GizmoConfig.pl X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/FreeSWITCH/ChangeLog X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/FreeSWITCH/Client.pm X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/FreeSWITCH/Makefile.PL X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/FreeSWITCH/README X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/FreeSWITCH/debian/changelog X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/FreeSWITCH/debian/compat X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/FreeSWITCH/debian/control X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/FreeSWITCH/debian/copyright X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/FreeSWITCH/debian/rules X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/POE-Filter-FSSocket/CHANGES X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/POE-Filter-FSSocket/INSTALL X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/POE-Filter-FSSocket/LICENSE X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/POE-Filter-FSSocket/Makefile.PL X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/POE-Filter-FSSocket/README X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/POE-Filter-FSSocket/TODO X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/POE-Filter-FSSocket/examples/fsconsole.pl X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/POE-Filter-FSSocket/examples/poetest.pl X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/POE-Filter-FSSocket/lib/POE/Filter/FSSocket.pm X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/POE-Filter-FSSocket/t/01_basic.t X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/blacklist.pl X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/call.cgi X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/combineconf.pl X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/dhcp-inform.pl X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/extract_log_range.pl X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/fs.pl X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/fsconsole.pl X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/honeypot.pl X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/multicast/recv.pl X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/multicast/send.pl X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/mwi_event.pl X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/originate.pl X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/randomize-passwords.pl X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/rpc.cgi X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/scenario/attended_transfer.button X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/scenario/blind_transfer.button X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/scenario/offhook.button X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/scenario/phones.cfg X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/scenario/runscenario.pl X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/sendmail X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/snom-pnpd.pl X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/sock.pl X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/tonegen/rtttl2tgml.pl X%%WITH_PERL%%%%ETCDIR%%/scripts/perl/wplookup.cgi X%%WITH_PHP%%%%ETCDIR%%/scripts/php/call.php X%%WITH_PYTHON%%%%ETCDIR%%/scripts/python/freepy/INSTALL X%%WITH_PYTHON%%%%ETCDIR%%/scripts/python/freepy/README X%%WITH_PYTHON%%%%ETCDIR%%/scripts/python/freepy/__init__.py X%%WITH_PYTHON%%%%ETCDIR%%/scripts/python/freepy/apirequest.sm X%%WITH_PYTHON%%%%ETCDIR%%/scripts/python/freepy/apirequest_sm.py X%%WITH_PYTHON%%%%ETCDIR%%/scripts/python/freepy/bgapirequest.sm X%%WITH_PYTHON%%%%ETCDIR%%/scripts/python/freepy/bgapirequest_sm.py X%%WITH_PYTHON%%%%ETCDIR%%/scripts/python/freepy/fseventlistener.py X%%WITH_PYTHON%%%%ETCDIR%%/scripts/python/freepy/fshelper.py X%%WITH_PYTHON%%%%ETCDIR%%/scripts/python/freepy/globals.py X%%WITH_PYTHON%%%%ETCDIR%%/scripts/python/freepy/loginrequest.sm X%%WITH_PYTHON%%%%ETCDIR%%/scripts/python/freepy/loginrequest_sm.py X%%WITH_PYTHON%%%%ETCDIR%%/scripts/python/freepy/models.py X%%WITH_PYTHON%%%%ETCDIR%%/scripts/python/freepy/request.py X%%WITH_PYTHON%%%%ETCDIR%%/scripts/python/mytest.py X%%WITH_PYTHON%%%%ETCDIR%%/scripts/python/recipewizard.py X%%WITH_RSS%%%%ETCDIR%%/scripts/rss/rss2ivr.pl X%%WITH_RSS%%%%ETCDIR%%/scripts/rss/syncrss.pl X%%WITH_RSS%%@dirrm %%ETCDIR%%/scripts/rss X%%WITH_PYTHON%%@dirrm %%ETCDIR%%/scripts/python/freepy X%%WITH_PYTHON%%@dirrm %%ETCDIR%%/scripts/python X%%WITH_PHP%%@dirrm %%ETCDIR%%/scripts/php X%%WITH_PERL%%@dirrm %%ETCDIR%%/scripts/perl/tonegen X%%WITH_PERL%%@dirrm %%ETCDIR%%/scripts/perl/scenario X%%WITH_PERL%%@dirrm %%ETCDIR%%/scripts/perl/multicast X%%WITH_PERL%%@dirrm %%ETCDIR%%/scripts/perl/POE-Filter-FSSocket/t X%%WITH_PERL%%@dirrm %%ETCDIR%%/scripts/perl/POE-Filter-FSSocket/lib/POE/Filter X%%WITH_PERL%%@dirrm %%ETCDIR%%/scripts/perl/POE-Filter-FSSocket/lib/POE X%%WITH_PERL%%@dirrm %%ETCDIR%%/scripts/perl/POE-Filter-FSSocket/lib X%%WITH_PERL%%@dirrm %%ETCDIR%%/scripts/perl/POE-Filter-FSSocket/examples X%%WITH_PERL%%@dirrm %%ETCDIR%%/scripts/perl/POE-Filter-FSSocket X%%WITH_PERL%%@dirrm %%ETCDIR%%/scripts/perl/FreeSWITCH/debian X%%WITH_PERL%%@dirrm %%ETCDIR%%/scripts/perl/FreeSWITCH X%%WITH_PERL%%@dirrm %%ETCDIR%%/scripts/perl X%%WITH_LUA%%@dirrm %%ETCDIR%%/scripts/lua X%%WITH_JAVASCRIPT%%@dirrm %%ETCDIR%%/scripts/javascript/aadir X%%WITH_JAVASCRIPT%%@dirrmtry %%ETCDIR%%/scripts/javascript X@exec chown -R freeswitch:freeswitch %D/%%ETCDIR%%/scripts/ X@exec find %D/%%ETCDIR%%/. -type d | xargs chmod 774 X f5bb30a0c3f6946fe513479cfd9c3af6 exit --------------040308020001050402010404--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205141530.q4EFUEPt002536>