Changeset ,422
- Timestamp:
- 11/21/07 10:43:09 (14 months ago)
- branch-nick:
- bzr
- Location:
- trunk
- Files:
-
- 1 removed
- 9 modified
-
debian/pycompat (deleted)
-
Makefile (modified) (4 diffs)
-
debian/README.Debian (modified) (1 diff)
-
debian/control (modified) (2 diffs)
-
debian/copyright (modified) (1 diff)
-
debian/docs (modified) (1 diff)
-
debian/postinst (modified) (1 diff)
-
debian/postrm (modified) (1 diff)
-
debian/rules (modified) (2 diffs)
-
panel/admin_panel/config/main_config_debian.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
r421 r422 2 2 3 3 4 all:5 cd languages && make4 #all: 5 # cd languages && make 6 6 7 7 test: 8 @echo " TCOSPHPMONITORversion="$(VERSION)8 @echo "Baifox version="$(VERSION) 9 9 10 10 clean: 11 find -type f -name "*~" | xargs rm -f 12 rm -f build-stamp 13 rm -f smarty/templates_c/* 14 rm -f smarty/cache/* 11 rm -rf `find ../* -type d -name .svn` 12 # find -type f -name "*~" | xargs rm -f 13 # rm -f build-stamp 14 # rm -f smarty/templates_c/* 15 # rm -f smarty/cache/* 15 16 16 17 echo: … … 18 19 19 20 20 gedit: clean21 gedit $$(find -type f $(EDIT_FILES) ) &22 23 24 permisos:25 chown -R www-data:www-data smarty/26 27 pot:28 cd languages && make pot21 #gedit: clean 22 # gedit $$(find -type f $(EDIT_FILES) ) & 23 24 25 #permisos: 26 # chown -R www-data:www-data smarty/ 27 28 #pot: 29 # cd languages && make pot 29 30 30 31 install: … … 163 164 install -d $(DESTDIR)/usr/share/baifox/scripts 164 165 165 install -m 644 data.inc.php $(DESTDIR)/usr/share/tcosphpmonitor/ 166 install -m 644 config.inc.php $(DESTDIR)/etc/tcosphpmonitor/tcosphpmonitor.php 167 168 # configure __VERSION__ and DEBUG 169 sed -i s/'__VERSION__'/'$(VERSION)'/g $(DESTDIR)/usr/share/tcosphpmonitor/data.inc.php 170 171 sed -i "/DEBUG/s/"true"/"false"/g" $(DESTDIR)/etc/tcosphpmonitor/tcosphpmonitor.php 172 173 # empty username and password 174 sed -i "/USERNAME/s/"admin"/""/g" $(DESTDIR)/etc/tcosphpmonitor/tcosphpmonitor.php 175 sed -i "/PASSWORD/s/"admin"/""/g" $(DESTDIR)/etc/tcosphpmonitor/tcosphpmonitor.php 176 177 install -m 644 apache.conf $(DESTDIR)/etc/tcosphpmonitor/apache.conf 178 179 for i in `find www/ -type f -name "*.php"`; do install -m 644 $$i $(DESTDIR)/usr/share/tcosphpmonitor/$$i; done 180 for i in `find www/js -type f -name "*.js" -o -name "*.php"`; do install -m 644 $$i $(DESTDIR)/usr/share/tcosphpmonitor/$$i; done 181 for i in `find www/css -type f -name "*.css"`; do install -m 644 $$i $(DESTDIR)/usr/share/tcosphpmonitor/$$i; done 182 for i in `find www/img -type f -name "*.png" -o -name "*.jpg" -o -name "*.gif"`; do install -m 644 $$i $(DESTDIR)/usr/share/tcosphpmonitor/$$i; done 183 184 185 for i in `find classes/ -type f -name "*.php"`; do install -m 644 $$i $(DESTDIR)/usr/share/tcosphpmonitor/$$i; done 186 for i in `find modules/ -type f -name "*.php"`; do install -m 644 $$i $(DESTDIR)/usr/share/tcosphpmonitor/$$i; done 187 for i in `find templates/ -type f -name "*.tpl"`; do install -m 644 $$i $(DESTDIR)/usr/share/tcosphpmonitor/$$i; done 188 189 install -m 644 helpers/tcos-dbus.py $(DESTDIR)/usr/share/tcosphpmonitor/helpers/tcos-dbus.py 190 191 cd languages && make install DESTDIR=$(DESTDIR) 166 # Nanoweb 167 install -m 744 nanowebserver/bin/htpasswd_debian.php $(DESTDIR)/usr/share/baifox/nanowebserver/bin/htpasswd.php 168 install -m 744 nanowebserver/bin/in.nanoweb $(DESTDIR)/usr/share/baifox/nanowebserver/bin/in.nanoweb 169 install -m 744 nanowebserver/bin/nanoctl $(DESTDIR)/usr/share/baifox/nanowebserver/bin/nanoctl 170 install -m 744 nanowebserver/bin/nanoweb_debian.php $(DESTDIR)/usr/share/baifox/nanowebserver/bin/nanoweb.php 171 for i in `find nanowebserver/doc/ -type f -name "*"`; do install -m 644 $$i $(DESTDIR)/usr/share/baifox/$$i; done 172 for i in `find nanowebserver/etc/ -type f -name "*"`; do install -m 644 $$i $(DESTDIR)/usr/share/baifox/$$i; done 173 174 install -m 644 nanowebserver/etc/default.theme $(DESTDIR)/usr/share/baifox/nanowebserver/etc/default.theme 175 install -m 644 nanowebserver/etc/fancy.theme $(DESTDIR)/usr/share/baifox/nanowebserver/etc/fancy.theme 176 install -m 644 nanowebserver/etc/mime.types $(DESTDIR)/usr/share/baifox/nanowebserver/etc/mime.types 177 install -m 644 nanowebserver/etc/modules.conf $(DESTDIR)/usr/share/baifox/nanowebserver/etc/modules.conf 178 install -m 644 nanowebserver/etc/nanoweb_debian.conf $(DESTDIR)/usr/share/baifox/nanowebserver/etc/nanoweb.conf 179 install -m 644 nanowebserver/etc/nanoweb.theme $(DESTDIR)/usr/share/baifox/nanowebserver/etc/nanoweb.theme 180 install -m 644 nanowebserver/etc/vhosts.conf $(DESTDIR)/usr/share/baifox/nanowebserver/etc/vhosts.conf 181 sed -i "s/\/usr\/local\/baifox\/panel/\/usr\/share\/baifox\/panel/g" $(DESTDIR)/usr/share/baifox/nanowebserver/etc/vhosts.conf 182 183 for i in `find nanowebserver/lib/ -type f -name "*"`; do install -m 644 $$i $(DESTDIR)/usr/share/baifox/$$i; done 184 185 # panel 186 for i in `find panel/ -type f -name "*"`; do install -m 644 $$i $(DESTDIR)/usr/share/baifox/$$i; done 187 install -m 744 panel/admin_panel/cron.php $(DESTDIR)/usr/share/baifox/panel/admin_panel/cron.php 188 install -m 644 panel/admin_panel/config/main_config_debian.php $(DESTDIR)/usr/share/baifox/panel/admin_panel/config/main_config.php 189 rm $(DESTDIR)/usr/share/baifox/panel/admin_panel/config/main_config_debian.php 190 191 # scripts 192 for i in `find scripts/ -type f -name "*.php"`; do install -m 744 $$i $(DESTDIR)/usr/share/baifox/$$i; done 193 192 194 193 195 targz: clean … … 197 199 cp -ra * ../tmp 198 200 rm -rf `find ../tmp/* -type d -name .svn` 199 mv ../tmp ../tcosphpmonitor-$(VERSION) 200 tar -czf ../tcosphpmonitor-$(VERSION).tar.gz ../tcosphpmonitor-$(VERSION) 201 rm -rf ../tcosphpmonitor-$(VERSION) 202 203 patch_version: 204 # nothing to patch 205 206 patch_dapper: patch_version 207 # nothing to patch 208 209 210 patch_edgy: patch_version 211 # nothing to patch 212 213 patch_feisty: patch_version 214 # nothing to patch 215 216 patch_gutsy: patch_version 217 # nothing to patch 218 219 patch_etch: patch_version 220 # nothing to patch 221 222 patch_unstable: patch_version 223 # nothing to patch 224 225 201 mv ../tmp ../baifox-$(VERSION) 202 tar -czf ../baifox-$(VERSION).tar.gz ../baifox-$(VERSION) 203 rm -rf ../baifox-$(VERSION) 204 205 #patch_version: 206 # nothing to patch 207 208 #patch_dapper: patch_version 209 # nothing to patch 210 211 #patch_edgy: patch_version 212 # nothing to patch 213 214 #patch_feisty: patch_version 215 # nothing to patch 216 217 #patch_gutsy: patch_version 218 # nothing to patch 219 220 #patch_etch: patch_version 221 # nothing to patch 222 223 #patch_unstable: patch_version 224 # nothing to patch 225 226 -
trunk/debian/README.Debian
r421 r422 1 tcosphpmonitorfor Debian1 Baifox for Debian 2 2 ------------------------- 3 3 4 This package will create an virtualhost file in: 4 Primera version 5 5 6 /etc/apache2/conf.d/tcosphpmonitor.conf 7 /etc/apache/conf.d/tcosphpmonitor.conf 8 9 You should open any browser and go to: 10 11 http://server_name_or_ip/tcosphpmonitor 12 13 Perpahps you need to restart apache to load settings. 14 15 -- Mario Izquierdo (mariodebian) <mariodebian@gmail.com>, Fri, 30 Mar 2007 20:35:34 +0200 6 -- Lorenzo Tejera (fidojones) <fidojones@fidojones.com>, Tue, 20 Nov 2007 20:35:34 +0200 -
trunk/debian/control
r421 r422 3 3 Priority: optional 4 4 Maintainer: Lorenzo Tejera (fidojones) <fidojones@fidojones.com> 5 Build-Depends: debhelper (>= 5 .0.37.2), python, python-support (>= 0.3)5 Build-Depends: debhelper (>= 5) 6 6 Standards-Version: 3.7.2 7 XS-Python-Version: >= 2.48 7 XS-Vcs-Browser: http://www.baifox.org/trac/browser/trunk 9 8 XS-Vcs-Svn: http://www.baifox.org/baifox/trunk … … 11 10 Package: baifox 12 11 Architecture: all 13 Depends: libapache2-mod-php4 | libapache-mod-php4 | libapache2-mod-php5 | libapache-mod-php5 , 14 apache2 | apache, smarty, php4 | php5, 15 ${misc:Depends}, ${shlibs:Depends}, ${python:Depends}, python-dbus | python2.4-dbus 16 XB-Python-Version: ${python:Versions} 17 Description: Small PHP web based app to monitor a TCOS thin client network. 18 TCOS, thin Client Operating System is a method to create small embedded os 19 based on debian/ubuntu with normal debian kernel's. 20 . 21 baifox is a small PHP web based app to monitor a thin client network. 22 . 23 Homepage: http://www.baifox.org 12 Depends: apache 13 Description: Baifox is a GPL control panel to managed 14 services of a hosting service. 15 Homepage: http://www.baifox.org -
trunk/debian/copyright
r421 r422 1 This package was debianized by Mario Izquierdo (mariodebian) <mariodebian@gmail.com> on2 Fri, 30 Mar2007 18:35:34 +0200.1 This package was debianized by Lorenzo Tejera (fidojones) <fidojones@fidojones.com> on 2 Tue, 20 Nov 2007 18:35:34 +0200. 3 3 4 It was created by Mario Izquierdo (mariodebian)5 mariodebian@gmail.com4 It was created by Lorenzo Tejera (fidojones) 5 fidojones@fidojones.com 6 6 7 7 8 8 License: 9 9 10 * web/js/ files: builder.js controls.js dragdrop.js effects.js11 scriptaculous.js slider.js unittest.js12 13 Downloaded from: http://script.aculo.us/14 License: http://www.opensource.org/licenses/mit-license.php15 16 Copyright (c) 2005, 2006 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)17 18 Permission is hereby granted, free of charge, to any person obtaining19 a copy of this software and associated documentation files (the20 "Software"), to deal in the Software without restriction, including21 without limitation the rights to use, copy, modify, merge, publish,22 distribute, sublicense, and/or sell copies of the Software, and to23 permit persons to whom the Software is furnished to do so, subject to24 the following conditions:25 26 The above copyright notice and this permission notice shall be27 included in all copies or substantial portions of the Software.28 29 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,30 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF31 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND32 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE33 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION34 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION35 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.36 37 For details, see the script.aculo.us web site: http://script.aculo.us/38 39 ------------------------------------------------------------------------40 41 This package is free software; you can redistribute it and/or modify42 it under the terms of the GNU General Public License as published by43 the Free Software Foundation; version 2 dated June, 1991.44 45 This package is distributed in the hope that it will be useful,46 but WITHOUT ANY WARRANTY; without even the implied warranty of47 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the48 GNU General Public License for more details.49 50 You should have received a copy of the GNU General Public License51 along with this package; if not, write to the Free Software52 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,53 USA.54 55 10 On Debian systems, the complete text of the GNU General 56 11 Public License can be found in `/usr/share/common-licenses/GPL'. -
trunk/debian/docs
r421 r422 1 README -
trunk/debian/postinst
r421 r422 1 1 #!/bin/bash 2 set -e2 #set -e 3 3 4 if [ -d /etc/apache2/conf.d/ ] && [ ! -e /etc/apache2/conf.d/tcosphpmonitor.conf ] ; then4 #if [ -d /etc/apache2/conf.d/ ] && [ ! -e /etc/apache2/conf.d/tcosphpmonitor.conf ] ; then 5 5 # ln -s /etc/tcosphpmonitor/apache.conf /etc/apache2/conf.d/tcosphpmonitor.conf 6 fi6 #fi 7 7 8 i f [ -d /etc/apache/conf.d/ ] && [ ! -e /etc/apache/conf.d/tcosphpmonitor.conf ]; then8 i#f [ -d /etc/apache/conf.d/ ] && [ ! -e /etc/apache/conf.d/tcosphpmonitor.conf ]; then 9 9 # ln -s /etc/tcosphpmonitor/apache.conf /etc/apache/conf.d/tcosphpmonitor.conf 10 #fi 11 12 if [ -f "/etc/init.d/baifox" ]; then 13 update-rc.d baifox defaults 99 >/dev/null 10 14 fi 11 15 -
trunk/debian/postrm
r421 r422 1 1 #!/bin/bash 2 set -e2 #set -e 3 3 4 if [ "$1" = "purge" ]; then5 if [ -f /etc/apache2/conf.d/tcosphpmonitor.conf ]; then4 #if [ "$1" = "purge" ]; then 5 # if [ -f /etc/apache2/conf.d/tcosphpmonitor.conf ]; then 6 6 # rm /etc/apache2/conf.d/tcosphpmonitor.conf 7 fi7 # fi 8 8 9 if [ -d /etc/apache/conf.d/tcosphpmonitor.conf ]; then9 # if [ -d /etc/apache/conf.d/tcosphpmonitor.conf ]; then 10 10 # rm /etc/apache/conf.d/tcosphpmonitor.conf 11 fi11 # fi 12 12 13 rm -rf /var/cache/tcosphpmonitor14 fi13 # rm -rf /var/cache/tcosphpmonitor 14 #fi 15 15 16 16 #DEBHELPER# -
trunk/debian/rules
r421 r422 28 28 dh_installdirs 29 29 30 $(MAKE) install DESTDIR=$(CURDIR)/debian/tcosphpmonitor 31 32 33 chown root:www-data $(CURDIR)/debian/tcosphpmonitor/etc/tcosphpmonitor/tcosphpmonitor.php 34 chmod 640 $(CURDIR)/debian/tcosphpmonitor/etc/tcosphpmonitor/tcosphpmonitor.php 35 dh_link /etc/tcosphpmonitor/tcosphpmonitor.php /usr/share/tcosphpmonitor/config.inc.php 36 37 chown root:www-data $(CURDIR)/debian/tcosphpmonitor/var/cache/tcosphpmonitor 38 chmod 770 $(CURDIR)/debian/tcosphpmonitor/var/cache/tcosphpmonitor 39 30 $(MAKE) install DESTDIR=$(CURDIR)/debian/baifox 40 31 41 32 # Build architecture-independent files here. … … 45 36 dh_installchangelogs 46 37 dh_installdocs 47 dh_pysupport48 38 dh_link 49 39 dh_strip 50 40 dh_compress 51 dh_fixperms -X/var/cache/tcosphpmonitor -X/etc/tcosphpmonitor/tcosphpmonitor.php41 dh_fixperms 52 42 dh_installdeb 53 43 dh_shlibdeps -
trunk/panel/admin_panel/config/main_config_debian.php
r410 r422 7 7 define("_CFG_INTERFACE_MYSQLUSER","baifox_panel"); //usuario de la base de datos baifox 8 8 define("_CFG_INTERFACE_MYSQLPASSWORD","[VAR_MYSQLBAIFOX_PASSWORD]"); //contraseña de la base de datos baifox 9 define("_CFG_INTERFACE_DIR","/usr/ local/baifox/panel/");9 define("_CFG_INTERFACE_DIR","/usr/share/baifox/panel/"); 10 10 define("_CFG_INTERFACE_DIRMODULES",_CFG_INTERFACE_DIR."admin_panel/modulos/"); 11 11 define("_CFG_INTERFACE_LIBRERIA",_CFG_INTERFACE_DIR."libreria.php");
