Changeset 853 for trunk/Install/deb


Ignore:
Timestamp:
Mar 18, 2018, 12:03:56 PM (7 years ago)
Author:
chronos
Message:
  • Modified: Changed name of the project in deb package to isp-central.
Location:
trunk/Install/deb
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/Install/deb/build.sh

    r842 r853  
    44#ARCH=x86_64-linux
    55
    6 BUILD_ROOT=/tmp/build-root/centrala
     6BUILD_ROOT=/tmp/build-root/isp-central
    77mkdir -p $BUILD_ROOT
    88cp -r -f ../.. $BUILD_ROOT
  • trunk/Install/deb/debian/changelog

    r842 r853  
    1 centrala (1.0.0-0) precise; urgency=low
     1isp-central (1.0.0-0) precise; urgency=low
    22
    33  * Original version
  • trunk/Install/deb/debian/conf/Config.php

    r842 r853  
    55$Config['SystemPassword'] = sha1(random(23232));
    66$Config['Database']['Host'] = 'localhost';
    7 $Config['Database']['User'] = 'centrala';
     7$Config['Database']['User'] = 'isp-central';
    88$Config['Database']['Password'] = 'password';
    9 $Config['Database']['Database'] = 'centrala';
     9$Config['Database']['Database'] = 'isp-central';
    1010$Config['Database']['Prefix'] = '';
    1111$Config['Database']['Charset'] = 'utf8';
     
    1313$Config['Web']['FormatHTML'] = '0';
    1414$Config['Web']['Charset'] = 'utf-8';
    15 $Config['Web']['RootFolder'] = '/centrala';
     15$Config['Web']['RootFolder'] = '/isp-central';
    1616$Config['Web']['Host'] = 'localhost';
    1717$Config['Web']['Title'] = 'Síť';
  • trunk/Install/deb/debian/conf/apache.conf

    r850 r853  
    1 # centrala default Apache configuration
     1# isp-central default Apache configuration
    22
    3 Alias /centrala /usr/share/centrala
     3Alias /isp-central /usr/share/isp-central
    44
    5 <Directory /usr/share/centrala>
     5<Directory /usr/share/isp-central>
    66    DirectoryIndex index.php
    77    AllowOverride All
  • trunk/Install/deb/debian/control

    r852 r853  
    1 Source: centrala
     1Source: isp-central
    22Maintainer: Chronos <robie@centrum.cz>
    33Section: web
     
    66Build-Depends: debhelper (>= 8)
    77
    8 Package: centrala
     8Package: isp-central
    99Architecture: all
    1010Depends: ${shlibs:Depends}, ${misc:Depends}, apache2, php, dbconfig-mysql, fping, htmldoc, php-mbstring
    11 Description: User portal and network administration web system
     11Description: Web interface for ISP network management
    1212HomePage: http://svn.zdechov.net/trac/centrala
  • trunk/Install/deb/debian/install

    r850 r853  
    1 *.php usr/share/centrala
    2 *.ico usr/share/centrala
    3 .htaccess usr/share/centrala
     1*.php usr/share/isp-central
     2*.ico usr/share/isp-central
     3.htaccess usr/share/isp-centrala
    44
    5 Modules usr/share/centrala
    6 Application usr/share/centrala
    7 Packages usr/share/centrala
    8 style usr/share/centrala
    9 Common usr/share/centrala
    10 images usr/share/centrala
    11 files usr/share/centrala
     5Modules usr/share/isp-central
     6Application usr/share/isp-central
     7Packages usr/share/isp-central
     8style usr/share/isp-central
     9Common usr/share/isp-central
     10images usr/share/isp-central
     11files usr/share/isp-central
    1212
    13 debian/conf/*   etc/centrala
     13debian/conf/*   etc/isp-central
  • trunk/Install/deb/debian/postinst

    r850 r853  
    11#!/bin/sh
    2 # postinst script for centrala
     2# postinst script for isp-central
    33
    44apache_install() {
    55        mkdir -p /etc/apache2/conf-available
    6         ln -sf ../../centrala/apache.conf /etc/apache2/conf-available/centrala.conf
     6        ln -sf ../../isp-central/apache.conf /etc/apache2/conf-available/isp-central.conf
    77       
    88        COMMON_STATE=$(dpkg-query -f '${Status}' -W 'apache2.2-common' 2>/dev/null | awk '{print $3}' || true)
     
    1010        if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
    1111                . /usr/share/apache2/apache2-maintscript-helper
    12                 apache2_invoke enconf centrala
     12                apache2_invoke enconf isp-central
    1313        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.conf
     14                [ -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
    1515        fi
    1616}
  • trunk/Install/deb/debian/postrm

    r850 r853  
    11#!/bin/sh
    2 # postrm script for centrala
     2# postrm script for isp-central
    33
    44set -e
     
    99        if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
    1010                . /usr/share/apache2/apache2-maintscript-helper
    11                 apache2_invoke disconf centrala
     11                apache2_invoke disconf isp-central
    1212        elif [ "$COMMON_STATE" = "installed" ] || [ "$COMMON_STATE" = "unpacked" ] ; then
    13                 rm -f /etc/apache2/conf.d/centrala.conf
     13                rm -f /etc/apache2/conf.d/isp-central.conf
    1414        fi
    1515
    16         rm -f /etc/apache2/conf-available/centrala.conf
     16        rm -f /etc/apache2/conf-available/isp-central.conf
    1717}
    1818
  • trunk/Install/deb/debian/rules

    r842 r853  
    11#!/usr/bin/make -f
    22
    3 ROOT = $(CURDIR)/debian/centrala
     3ROOT = $(CURDIR)/debian/isp-central
    44
    55override_dh_auto_clean:
Note: See TracChangeset for help on using the changeset viewer.