Changeset d05ea7208ff75842bc3c2c4af52a2bdba13e103e

Show
Ignore:
Timestamp:
06/09/09 11:24:50 (3 years ago)
Author:
Neutron Soutmun <neo.neutron@…>
Children:
7426d5e4dbbc7360eb762fb28416bd7b122174d5
Parents:
3934ce0e5b4bcce1d38ddb9556b4665e9ec95505
git-committer:
Neutron Soutmun <neo.neutron@…> (06/09/09 11:24:50)
Message:

New upstream release

  • With IFB for IMQ replacement.
  • Tool scripts and daemon executable installed in appropriate place.
  • The example config files (rahunas.conf, 01_rahunas-vserver.conf) installing by ucf.
Location:
debian
Files:
1 removed
7 modified

Legend:

Unmodified
Added
Removed
  • debian/changelog

    ra5bc7d1 rd05ea72  
     1rahunas (0.1.4-1) unstable; urgency=low 
     2 
     3  * New upstream release.  
     4  * debian/rahunas.init: Update to follow the new changes in new release. 
     5  * debian/control:  
     6    - Add sqlite3 as depends, it needed by the rahunas-weblogin-config-update. 
     7    - Now freeradius only suggests not depends for rahunas-weblogin. 
     8    - Remove quilt. 
     9  * debian/rules:  
     10    - Remove unnecessary quilt patch system. 
     11    - Remove tool scripts install, upstream added. 
     12 
     13 -- Neutron Soutmun <neo.neutron@gmail.com>  Tue, 09 Jun 2009 10:34:20 +0700 
     14 
    115rahunas (0.1.3.b3-1) unstable; urgency=low 
    216 
  • debian/control

    rc6631db rd05ea72  
    33Priority: optional 
    44Maintainer: Neutron Soutmun <neo.neutron@gmail.com> 
    5 Build-Depends: quilt, debhelper (>= 7), autotools-dev, autoconf, automake, 
     5Build-Depends: debhelper (>= 7), autotools-dev, autoconf, automake, 
    66 libgnet-dev (>= 2.0.8), libgda3-dev (>= 3.0.2) 
    77Standards-Version: 3.8.1 
    8 Homepage: http://neutron.debianclub.com/rahunas 
     8Homepage: http://www.rahunas.org 
    99 
    1010Package: rahunas 
    1111Architecture: any 
    1212Depends: libgnet2.0-0 (>= 2.0.8), libgda3-sqlite (>= 3.0.2), iptables, ipset,  
    13  iproute, bridge-utils, ucf (>= 0.28), ${shlibs:Depends}, ${misc:Depends} 
     13 iproute, bridge-utils, ucf (>= 0.28), sqlite3 (>= 3.5.9),  
     14 ${shlibs:Depends}, ${misc:Depends} 
    1415Suggests: rahunas-config 
    1516Description: Network Access Server based on IP Sets 
     
    3435Package: rahunas-weblogin 
    3536Architecture: all 
    36 Depends: rahunas, freeradius, php5, php5-radius,  
    37  php5-xmlrpc, php5-curl, php-pear, ucf (>= 0.28), ${misc:Depends} 
     37Depends: rahunas, php5, php5-radius, php5-xmlrpc, php5-curl, php-pear,  
     38 ucf (>= 0.28), ${misc:Depends} 
     39Suggests: freeradius (>= 2.0.4) 
    3840Description: Web base login for RahuNAS 
    3941 The web base login writen in PHP with the multilingual (English and Thai) 
  • debian/rahunas.docs

    rc6631db rd05ea72  
    22README 
    33TODO 
     4example/rahunas.conf 
     5example/rahunas-vserver.conf 
  • debian/rahunas.init

    r4438f09 rd05ea72  
    1717exec_prefix=${prefix} 
    1818 
    19 DAEMON=${exec_prefix}/bin/rahunasd 
     19DAEMON=${exec_prefix}/sbin/rahunasd 
    2020INIT=/etc/default/rahunas 
    21 FIREWALL=/etc/rahunas/firewall.sh 
    22 WEBLOGIN_CONFIG=/etc/rahunas/weblogin-config-update.sh 
     21FIREWALL=${exec_prefix}/sbin/rahunas-firewall 
     22WEBLOGIN_CONFIG=${exec_prefix}/sbin/rahunas-weblogin-config-update 
    2323NAME=rahunasd 
    24 DESC="RahuNAS - Rahu Network Access Server" 
     24DESC="Rahu Network Access Server" 
    2525 
    2626 
     
    9191case "$1" in 
    9292  start) 
    93     log_daemon_msg "Starting $DESC" "$NAME" 
    94    
    9593    if [ "$RUN_DAEMON" = "yes" ]; then 
     94      log_daemon_msg "Starting $DESC" "$NAME" 
    9695      if start ; then 
    9796        log_end_msg $? 
     
    10099      fi 
    101100    else 
    102       log_end_msg "disabled, to enable see $INIT" 
     101      log_action_msg "Not starting $DESC, as specified in $INIT" 
    103102    fi 
    104103    ;; 
     
    113112    ;; 
    114113  restart) 
    115     log_daemon_msg "Restarting $DESC" "$NAME" 
    116     stop || true 
    117  
    118114    if [ "$RUN_DAEMON" = "yes" ]; then 
     115      log_daemon_msg "Restarting $DESC" "$NAME" 
     116      stop || true 
    119117      if start ; then 
    120118        log_end_msg $? 
     
    123121      fi 
    124122    else 
    125       log_end_msg "disabled, to enable see $INIT" 
     123      log_action_msg "Not restarting $DESC, as specified in $INIT" 
    126124    fi 
    127125    ;; 
  • debian/rahunas.postinst

    rbdf9d40 rd05ea72  
    1414 
    1515ucf /usr/share/doc/rahunas/rahunas.conf /etc/rahunas/rahunas.conf 
     16ucf /usr/share/doc/rahunas/rahunas-vserver.conf \ 
     17  /etc/rahunas/rahunas.d/01_rahunas-vserver.conf 
    1618 
    1719#DEBHELPER# 
  • debian/rahunas.postrm

    rbdf9d40 rd05ea72  
    1818    if which ucf >/dev/null 2>&1; then 
    1919      ucf --purge /etc/rahunas/rahunas.conf 
     20      ucf --purge /etc/rahunas/rahunas.d/01_rahunas-vserver.conf 
    2021    fi 
    2122 
    2223    rm -f /etc/rahunas/rahunas.conf 
     24    rm -f /etc/rahunas/rahunas.d/01_rahunas-vserver.conf 
    2325    ;; 
    2426  remove) 
  • debian/rules

    r0a86d1f rd05ea72  
    1616# This has to be exported to make some magic below work. 
    1717export DH_OPTIONS 
    18  
    19 include /usr/share/quilt/quilt.make 
    2018 
    2119# These are used for cross-compiling and for saving the configure script 
     
    4543        ./configure $(CROSS) --prefix=/usr --sysconfdir=/etc --localstatedir=/var --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" 
    4644 
    47 build: patch build-arch build-indep 
     45build: build-arch build-indep 
    4846 
    4947build-arch: build-arch-stamp 
     
    5856        touch $@ 
    5957 
    60 clean: unpatch 
     58clean: 
    6159        dh_testdir 
    6260        dh_testroot 
     
    103101        dh_install -s 
    104102 
    105         install -D -m 0750 -o root -g root example/rahunas.conf debian/rahunas/usr/share/doc/rahunas/rahunas.conf 
    106         install -D -m 0750 -o root -g root tools/firewall.sh debian/rahunas/etc/rahunas/firewall.sh 
    107         install -D -m 0750 -o root -g root tools/bandwidth.sh debian/rahunas/etc/rahunas/bandwidth.sh 
    108         install -D -m 0750 -o root -g root tools/weblogin-config-update.sh debian/rahunas/etc/rahunas/weblogin-config-update.sh 
    109  
    110103binary-common: 
    111104        dh_testdir