Thread: [Astpp-commit] SF.net SVN: astpp:[2196] trunk/Makefile
Brought to you by:
darrenkw
From: <dar...@us...> - 2008-09-04 00:06:05
|
Revision: 2196 http://astpp.svn.sourceforge.net/astpp/?rev=2196&view=rev Author: darrenkw Date: 2008-09-04 00:06:13 +0000 (Thu, 04 Sep 2008) Log Message: ----------- Added support to install the freeswich cgi files. Modified Paths: -------------- trunk/Makefile Modified: trunk/Makefile =================================================================== --- trunk/Makefile 2008-09-02 05:17:43 UTC (rev 2195) +++ trunk/Makefile 2008-09-04 00:06:13 UTC (rev 2196) @@ -33,6 +33,9 @@ chgrp $(GROUP) $(DESTDIR)$(ASTPPDIR) chgrp $(GROUP) $(DESTDIR)$(ASTPPLOGDIR) chgrp $(GROUP) $(DESTDIR)$(ASTPPEXECDIR) + # Install Freeswitch .pl files as .cgi files + install -m 755 -o $(OWNER) -g $(GROUP) freeswitch/astpp-fs-xml.pl $(DESTDIR)$(WWWDIR)/cgi-bin/astpp-fs-xml.cgi + # install -m 755 -o $(OWNER) -g $(GROUP) astpp-callback.cgi $(DESTDIR)$(WWWDIR)/cgi-bin/astpp-callback.cgi install -m 755 -o $(OWNER) -g $(GROUP) astpp-pricelist.cgi $(DESTDIR)$(WWWDIR)/cgi-bin/astpp-pricelist.cgi install -m 755 -o $(OWNER) -g $(GROUP) astpp-refill.cgi $(DESTDIR)$(WWWDIR)/cgi-bin/astpp-refill.cgi This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dar...@us...> - 2009-03-10 00:52:39
|
Revision: 2241 http://astpp.svn.sourceforge.net/astpp/?rev=2241&view=rev Author: darrenkw Date: 2009-03-10 00:52:26 +0000 (Tue, 10 Mar 2009) Log Message: ----------- Worked on removing Asterisk dependencies if installing for Freeswitch. Modified Paths: -------------- trunk/Makefile Modified: trunk/Makefile =================================================================== --- trunk/Makefile 2009-03-07 22:38:22 UTC (rev 2240) +++ trunk/Makefile 2009-03-10 00:52:26 UTC (rev 2241) @@ -21,7 +21,7 @@ GROUP=wheel WWWDIR=/var/www -all: +all: install install_misc: mkdir -p $(DESTDIR)$(ASTPPDIR) @@ -48,12 +48,22 @@ install -m 755 -o $(OWNER) -g $(GROUP) web_interface/astpp-users.cgi $(DESTDIR)$(WWWDIR)/cgi-bin/astpp/astpp-users.cgi install -m 644 -o $(OWNER) -g $(GROUP) web_interface/style.css $(DESTDIR)$(WWWDIR)/html/_astpp/ install -m 644 -o $(OWNER) -g $(GROUP) web_interface/menu.js $(DESTDIR)$(WWWDIR)/html/_astpp/ + # Install Sample Configuration Files # install -m 644 -o $(OWNER) -g $(GROUP) ./samples/sample.reseller-config.conf $(DESTDIR)$(ASTPPDIR)/sample.reseller-config.conf install -m 644 -o $(OWNER) -g $(GROUP) ./samples/sample.astpp-config.conf $(DESTDIR)$(ASTPPDIR)/sample.astpp-config.conf # install -m 644 -o $(OWNER) -g $(GROUP) ./samples/sample.astpp-enh-config.conf $(DESTDIR)$(ASTPPDIR)/sample.astpp-enh-config.conf + +install_asterisk_config: install -m 644 -o $(OWNER) -g $(GROUP) ./samples/sample.astpp-dialplan.conf $(DESTDIR)$(ASTERISKDIR)/sample.astpp-dialplan.conf +install_freeswitch_config: + @echo "--------------------"; + @echo "Sample Freeswitch configuration files live in"; + @echo "./freeswitch/conf. You will need to modify your"; + @echo "files to be similar to those."; + @echo "--------------------"; + install_samples: install -m 644 -o $(OWNER) -g $(GROUP) ./samples/sample.reseller-config.conf $(DESTDIR)$(ASTPPDIR)/sample.reseller-config.conf install -m 644 -o $(OWNER) -g $(GROUP) ./samples/sample.astpp-config.conf $(DESTDIR)$(ASTPPDIR)/astpp-config.conf @@ -78,13 +88,13 @@ install -m 755 -o $(OWNER) -g $(GROUP) $$x $(PREFIX)$(ASTPPEXECDIR); \ done -install_sounds: +install_sounds_asterisk: for x in sounds/*.gsm; do \ echo $$x;\ install -m 644 $$x $(DESTDIR)$(SOUNDSDIR); \ done -install_sounds_fs: +install_sounds_freeswitch: for x in sounds/*.gsm; do \ echo $$x;\ install -m 644 $$x $(DESTDIR)$(FS_SOUNDSDIR); \ @@ -161,11 +171,23 @@ @echo "to change the 'auth' code as well as set more advanced features." @echo ""; @echo "'make install' updates all the sample files which have been installed but to overwrite any settings you have in place"; - @echo "perform a 'make samples'. Be aware that this will overwrite any astpp settings you may have as well as replace"; + @echo "If this is the first time you are installing ASTPP you need to perform a 'make samples'. "; + @echo "Be aware that this will overwrite any astpp settings you may have as well as replace"; @echo "your astpp-dialplan.conf file."; @echo ""; @echo "Thank you for using ASTPP! Please visit www.astpp.org for support information."; -install: all install_misc install_astpp_exec install_agi install_instructions_print +install_all_pre: install_misc install_astpp_exec +install_all_post: install_instructions_print -samples: install_images install_sounds install_templates install_samples +install_asterisk: install_all_pre install_asterisk_config install_sounds_asterisk install_agi install_all_post +install_freeswitch: install_all_pre install_freeswitch_config install_sounds_freeswitch install_all_post + +samples: install_images install_templates install_samples + +install: + @echo "------------------------------"; + @echo "Please use 'make install_asterisk if you are using Asterisk"; + @echo "Please use 'make install_freeswitch you are using Freeswitch"; + @echo "------------------------------"; + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dar...@us...> - 2009-10-01 03:21:53
|
Revision: 2266 http://astpp.svn.sourceforge.net/astpp/?rev=2266&view=rev Author: darrenkw Date: 2009-10-01 03:21:35 +0000 (Thu, 01 Oct 2009) Log Message: ----------- Change makefile to point users back to website for docs. Modified Paths: -------------- trunk/Makefile Modified: trunk/Makefile =================================================================== --- trunk/Makefile 2009-10-01 02:57:30 UTC (rev 2265) +++ trunk/Makefile 2009-10-01 03:21:35 UTC (rev 2266) @@ -149,34 +149,7 @@ @echo "------------------------------"; @echo "ASTPP install appears to be successfull."; @echo "------------------------------"; - @echo "It is now time to prepare the database and the inital configuration files."; - @echo "To create the ASTPP database use the following commands as root on your system:"; - @echo "mysqladmin create astpp"; - @echo "This will have created a database called astpp. It's now time to populate that database with the necessary tables."; - @echo "mysql -u root -p astpp < sql/astpp-1.4.sql"; - @echo "You will be prompted for the password."; - @echo ''; - @echo "If you do not currently have a cdr database, please create one by following these commands:"; - @echo "mysqladmin create asteriskcdrdb"; - @echo "mysql -u root -p asteriskcdrdb < sql/asteriskcdrdb.sql"; - @echo "You will be prompted for the password."; - @echo ''; - @echo "If you do not currently have a -realtime database and you want to use -realtime,"; - @echo "please create one by following these commands:"; - @echo "mysqladmin create asterisk"; - @echo "mysql -u root -p asterisk < sql/asterisk-realtime.sql"; - @echo "You will be prompted for the password."; - @echo ''; - @echo "Once these databases have been created please be sure to edit /var/lib/astpp/astpp-config.conf"; - @echo "to update your database connection information. It is also necessary to edit /var/lib/astpp/astpp-enh-config.conf"; - @echo "to change the 'auth' code as well as set more advanced features." - @echo ""; - @echo "'make install' updates all the sample files which have been installed but to overwrite any settings you have in place"; - @echo "If this is the first time you are installing ASTPP you need to perform a 'make samples'. "; - @echo "Be aware that this will overwrite any astpp settings you may have as well as replace"; - @echo "your astpp-dialplan.conf file."; - @echo ""; - @echo "Thank you for using ASTPP! Please visit www.astpp.org for support information."; + @echo "Please visit www.astpp.org for further instructions."; install_all_pre: install_misc install_astpp_exec install_all_post: install_instructions_print This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dar...@us...> - 2009-10-06 03:43:25
|
Revision: 2280 http://astpp.svn.sourceforge.net/astpp/?rev=2280&view=rev Author: darrenkw Date: 2009-10-06 03:43:17 +0000 (Tue, 06 Oct 2009) Log Message: ----------- Removed links to deprecated files. Modified Paths: -------------- trunk/Makefile Modified: trunk/Makefile =================================================================== --- trunk/Makefile 2009-10-06 03:42:26 UTC (rev 2279) +++ trunk/Makefile 2009-10-06 03:43:17 UTC (rev 2280) @@ -51,9 +51,7 @@ install -m 644 -o $(OWNER) -g $(GROUP) web_interface/menu.js $(DESTDIR)$(WWWDIR)/html/_astpp/ # Install Sample Configuration Files -# install -m 644 -o $(OWNER) -g $(GROUP) ./samples/sample.reseller-config.conf $(DESTDIR)$(ASTPPDIR)/sample.reseller-config.conf install -m 644 -o $(OWNER) -g $(GROUP) ./samples/sample.astpp-config.conf $(DESTDIR)$(ASTPPDIR)/sample.astpp-config.conf -# install -m 644 -o $(OWNER) -g $(GROUP) ./samples/sample.astpp-enh-config.conf $(DESTDIR)$(ASTPPDIR)/sample.astpp-enh-config.conf install_asterisk_config: install -m 644 -o $(OWNER) -g $(GROUP) ./samples/sample.astpp-dialplan.conf $(DESTDIR)$(ASTERISKDIR)/sample.astpp-dialplan.conf This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dar...@us...> - 2009-10-06 05:28:47
|
Revision: 2285 http://astpp.svn.sourceforge.net/astpp/?rev=2285&view=rev Author: darrenkw Date: 2009-10-06 05:28:39 +0000 (Tue, 06 Oct 2009) Log Message: ----------- Remove links to obsoleted files. Modified Paths: -------------- trunk/Makefile Modified: trunk/Makefile =================================================================== --- trunk/Makefile 2009-10-06 05:02:59 UTC (rev 2284) +++ trunk/Makefile 2009-10-06 05:28:39 UTC (rev 2285) @@ -64,9 +64,7 @@ @echo "--------------------"; install_samples: - install -m 644 -o $(OWNER) -g $(GROUP) ./samples/sample.reseller-config.conf $(DESTDIR)$(ASTPPDIR)/sample.reseller-config.conf install -m 644 -o $(OWNER) -g $(GROUP) ./samples/sample.astpp-config.conf $(DESTDIR)$(ASTPPDIR)/astpp-config.conf - install -m 644 -o $(OWNER) -g $(GROUP) ./samples/sample.astpp-enh-config.conf $(DESTDIR)$(ASTPPDIR)/astpp-enh-config.conf install -m 644 -o $(OWNER) -g $(GROUP) ./samples/sample.astpp-dialplan.conf $(DESTDIR)$(ASTERISKDIR)/astpp-dialplan.conf install_php: @@ -124,7 +122,7 @@ perl -MCPAN -e "install Locale::Language"; perl -MCPAN -e "install DBI"; perl -MCPAN -e "install DBD::mysql"; - perl -MCPAN -e "install DBD::Pg"; +# perl -MCPAN -e "install DBD::Pg"; perl -MCPAN -e "install CGI"; perl -MCPAN -e "install Asterisk::AGI"; perl -MCPAN -e "install LWP::Simple"; @@ -140,9 +138,10 @@ perl -MCPAN -e "install HTML::Template::Expr"; perl -MCPAN -e "install DateTime::TimeZone"; perl -MCPAN -e "install DateTime"; -# perl -MCPAN -e "install POSIX"; -# perl -MCPAN -e "install Data::Dumper"; + cd modules/ASTPP && perl Makefile.PL && make && make install && cd ../../ + + install_instructions_print: @echo "------------------------------"; @echo "ASTPP install appears to be successfull."; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dar...@us...> - 2009-10-15 02:09:11
|
Revision: 2291 http://astpp.svn.sourceforge.net/astpp/?rev=2291&view=rev Author: darrenkw Date: 2009-10-15 02:08:55 +0000 (Thu, 15 Oct 2009) Log Message: ----------- Add gettext_pp. Modified Paths: -------------- trunk/Makefile Modified: trunk/Makefile =================================================================== --- trunk/Makefile 2009-10-14 01:32:06 UTC (rev 2290) +++ trunk/Makefile 2009-10-15 02:08:55 UTC (rev 2291) @@ -138,6 +138,7 @@ perl -MCPAN -e "install HTML::Template::Expr"; perl -MCPAN -e "install DateTime::TimeZone"; perl -MCPAN -e "install DateTime"; + perl -MCPAN -e "install Locale::gettext_pp"; cd modules/ASTPP && perl Makefile.PL && make && make install && cd ../../ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dar...@us...> - 2010-12-30 02:23:05
|
Revision: 2321 http://astpp.svn.sourceforge.net/astpp/?rev=2321&view=rev Author: darrenkw Date: 2010-12-30 02:22:59 +0000 (Thu, 30 Dec 2010) Log Message: ----------- Fixed a link to old sounds location. Modified Paths: -------------- trunk/Makefile Modified: trunk/Makefile =================================================================== --- trunk/Makefile 2010-10-14 02:08:31 UTC (rev 2320) +++ trunk/Makefile 2010-12-30 02:22:59 UTC (rev 2321) @@ -92,11 +92,11 @@ done install_sounds_freeswitch: - for x in sounds/gsm/*.gsm; do \ + for x in sounds/GSM/*.GSM; do \ echo $$x;\ install -m 644 $$x $(DESTDIR)$(FS_SOUNDSDIR); \ done - for x in sounds/wav/*.wav; do \ + for x in sounds/WAV/*.WAV; do \ echo $$x;\ install -m 644 $$x $(DESTDIR)$(FS_SOUNDSDIR); \ done This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dar...@us...> - 2011-01-05 06:13:08
|
Revision: 2327 http://astpp.svn.sourceforge.net/astpp/?rev=2327&view=rev Author: darrenkw Date: 2011-01-05 06:13:02 +0000 (Wed, 05 Jan 2011) Log Message: ----------- Added requirement for XML::LibXML Modified Paths: -------------- trunk/Makefile Modified: trunk/Makefile =================================================================== --- trunk/Makefile 2011-01-05 06:12:12 UTC (rev 2326) +++ trunk/Makefile 2011-01-05 06:13:02 UTC (rev 2327) @@ -96,6 +96,10 @@ echo $$x;\ install -m 644 $$x $(DESTDIR)$(FS_SOUNDSDIR); \ done + for x in sounds/*.gsm; do \ + echo $$x;\ + install -m 644 $$x $(DESTDIR)$(FS_SOUNDSDIR); \ + done for x in sounds/WAV/*.WAV; do \ echo $$x;\ install -m 644 $$x $(DESTDIR)$(FS_SOUNDSDIR); \ @@ -147,6 +151,7 @@ perl -MCPAN -e "install DateTime"; perl -MCPAN -e "install Locale::gettext_pp"; perl -MCPAN -e "install XML::Simple"; + perl -MCPAN -e "install XML::LibXML"; cd modules/ASTPP && perl Makefile.PL && make && make install && cd ../../ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |