Changeset 853
- Timestamp:
- Mar 18, 2018, 12:03:56 PM (7 years ago)
- Location:
- trunk/Install/deb
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Install/deb/build.sh
r842 r853 4 4 #ARCH=x86_64-linux 5 5 6 BUILD_ROOT=/tmp/build-root/ centrala6 BUILD_ROOT=/tmp/build-root/isp-central 7 7 mkdir -p $BUILD_ROOT 8 8 cp -r -f ../.. $BUILD_ROOT -
trunk/Install/deb/debian/changelog
r842 r853 1 centrala(1.0.0-0) precise; urgency=low1 isp-central (1.0.0-0) precise; urgency=low 2 2 3 3 * Original version -
trunk/Install/deb/debian/conf/Config.php
r842 r853 5 5 $Config['SystemPassword'] = sha1(random(23232)); 6 6 $Config['Database']['Host'] = 'localhost'; 7 $Config['Database']['User'] = ' centrala';7 $Config['Database']['User'] = 'isp-central'; 8 8 $Config['Database']['Password'] = 'password'; 9 $Config['Database']['Database'] = ' centrala';9 $Config['Database']['Database'] = 'isp-central'; 10 10 $Config['Database']['Prefix'] = ''; 11 11 $Config['Database']['Charset'] = 'utf8'; … … 13 13 $Config['Web']['FormatHTML'] = '0'; 14 14 $Config['Web']['Charset'] = 'utf-8'; 15 $Config['Web']['RootFolder'] = '/ centrala';15 $Config['Web']['RootFolder'] = '/isp-central'; 16 16 $Config['Web']['Host'] = 'localhost'; 17 17 $Config['Web']['Title'] = 'Síť'; -
trunk/Install/deb/debian/conf/apache.conf
r850 r853 1 # centraladefault Apache configuration1 # isp-central default Apache configuration 2 2 3 Alias / centrala /usr/share/centrala3 Alias /isp-central /usr/share/isp-central 4 4 5 <Directory /usr/share/ centrala>5 <Directory /usr/share/isp-central> 6 6 DirectoryIndex index.php 7 7 AllowOverride All -
trunk/Install/deb/debian/control
r852 r853 1 Source: centrala1 Source: isp-central 2 2 Maintainer: Chronos <robie@centrum.cz> 3 3 Section: web … … 6 6 Build-Depends: debhelper (>= 8) 7 7 8 Package: centrala8 Package: isp-central 9 9 Architecture: all 10 10 Depends: ${shlibs:Depends}, ${misc:Depends}, apache2, php, dbconfig-mysql, fping, htmldoc, php-mbstring 11 Description: User portal and network administration web system11 Description: Web interface for ISP network management 12 12 HomePage: http://svn.zdechov.net/trac/centrala -
trunk/Install/deb/debian/install
r850 r853 1 *.php usr/share/ centrala2 *.ico usr/share/ centrala3 .htaccess usr/share/ centrala1 *.php usr/share/isp-central 2 *.ico usr/share/isp-central 3 .htaccess usr/share/isp-centrala 4 4 5 Modules usr/share/ centrala6 Application usr/share/ centrala7 Packages usr/share/ centrala8 style usr/share/ centrala9 Common usr/share/ centrala10 images usr/share/ centrala11 files usr/share/ centrala5 Modules usr/share/isp-central 6 Application usr/share/isp-central 7 Packages usr/share/isp-central 8 style usr/share/isp-central 9 Common usr/share/isp-central 10 images usr/share/isp-central 11 files usr/share/isp-central 12 12 13 debian/conf/* etc/ centrala13 debian/conf/* etc/isp-central -
trunk/Install/deb/debian/postinst
r850 r853 1 1 #!/bin/sh 2 # postinst script for centrala2 # postinst script for isp-central 3 3 4 4 apache_install() { 5 5 mkdir -p /etc/apache2/conf-available 6 ln -sf ../../ centrala/apache.conf /etc/apache2/conf-available/centrala.conf6 ln -sf ../../isp-central/apache.conf /etc/apache2/conf-available/isp-central.conf 7 7 8 8 COMMON_STATE=$(dpkg-query -f '${Status}' -W 'apache2.2-common' 2>/dev/null | awk '{print $3}' || true) … … 10 10 if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then 11 11 . /usr/share/apache2/apache2-maintscript-helper 12 apache2_invoke enconf centrala12 apache2_invoke enconf isp-central 13 13 elif [ "$COMMON_STATE" = "installed" ] || [ "$COMMON_STATE" = "unpacked" ] ; then 14 [ -d /etc/apache2/conf.d/ ] && [ ! -L /etc/apache2/conf.d/ centrala.conf ] && ln -s ../conf-available/centrala.conf /etc/apache2/conf.d/centrala.conf14 [ -d /etc/apache2/conf.d/ ] && [ ! -L /etc/apache2/conf.d/isp-central.conf ] && ln -s ../conf-available/isp-central.conf /etc/apache2/conf.d/isp-central.conf 15 15 fi 16 16 } -
trunk/Install/deb/debian/postrm
r850 r853 1 1 #!/bin/sh 2 # postrm script for centrala2 # postrm script for isp-central 3 3 4 4 set -e … … 9 9 if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then 10 10 . /usr/share/apache2/apache2-maintscript-helper 11 apache2_invoke disconf centrala11 apache2_invoke disconf isp-central 12 12 elif [ "$COMMON_STATE" = "installed" ] || [ "$COMMON_STATE" = "unpacked" ] ; then 13 rm -f /etc/apache2/conf.d/ centrala.conf13 rm -f /etc/apache2/conf.d/isp-central.conf 14 14 fi 15 15 16 rm -f /etc/apache2/conf-available/ centrala.conf16 rm -f /etc/apache2/conf-available/isp-central.conf 17 17 } 18 18 -
trunk/Install/deb/debian/rules
r842 r853 1 1 #!/usr/bin/make -f 2 2 3 ROOT = $(CURDIR)/debian/ centrala3 ROOT = $(CURDIR)/debian/isp-central 4 4 5 5 override_dh_auto_clean:
Note:
See TracChangeset
for help on using the changeset viewer.