Changeset d05ea7208ff75842bc3c2c4af52a2bdba13e103e
- 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:
-
Legend:
- Unmodified
- Added
- Removed
-
|
ra5bc7d1
|
rd05ea72
|
|
| | 1 | rahunas (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 | |
| 1 | 15 | rahunas (0.1.3.b3-1) unstable; urgency=low |
| 2 | 16 | |
-
|
rc6631db
|
rd05ea72
|
|
| 3 | 3 | Priority: optional |
| 4 | 4 | Maintainer: Neutron Soutmun <neo.neutron@gmail.com> |
| 5 | | Build-Depends: quilt, debhelper (>= 7), autotools-dev, autoconf, automake, |
| | 5 | Build-Depends: debhelper (>= 7), autotools-dev, autoconf, automake, |
| 6 | 6 | libgnet-dev (>= 2.0.8), libgda3-dev (>= 3.0.2) |
| 7 | 7 | Standards-Version: 3.8.1 |
| 8 | | Homepage: http://neutron.debianclub.com/rahunas |
| | 8 | Homepage: http://www.rahunas.org |
| 9 | 9 | |
| 10 | 10 | Package: rahunas |
| 11 | 11 | Architecture: any |
| 12 | 12 | Depends: 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} |
| 14 | 15 | Suggests: rahunas-config |
| 15 | 16 | Description: Network Access Server based on IP Sets |
| … |
… |
|
| 34 | 35 | Package: rahunas-weblogin |
| 35 | 36 | Architecture: all |
| 36 | | Depends: rahunas, freeradius, php5, php5-radius, |
| 37 | | php5-xmlrpc, php5-curl, php-pear, ucf (>= 0.28), ${misc:Depends} |
| | 37 | Depends: rahunas, php5, php5-radius, php5-xmlrpc, php5-curl, php-pear, |
| | 38 | ucf (>= 0.28), ${misc:Depends} |
| | 39 | Suggests: freeradius (>= 2.0.4) |
| 38 | 40 | Description: Web base login for RahuNAS |
| 39 | 41 | The web base login writen in PHP with the multilingual (English and Thai) |
-
|
rc6631db
|
rd05ea72
|
|
| 2 | 2 | README |
| 3 | 3 | TODO |
| | 4 | example/rahunas.conf |
| | 5 | example/rahunas-vserver.conf |
-
|
r4438f09
|
rd05ea72
|
|
| 17 | 17 | exec_prefix=${prefix} |
| 18 | 18 | |
| 19 | | DAEMON=${exec_prefix}/bin/rahunasd |
| | 19 | DAEMON=${exec_prefix}/sbin/rahunasd |
| 20 | 20 | INIT=/etc/default/rahunas |
| 21 | | FIREWALL=/etc/rahunas/firewall.sh |
| 22 | | WEBLOGIN_CONFIG=/etc/rahunas/weblogin-config-update.sh |
| | 21 | FIREWALL=${exec_prefix}/sbin/rahunas-firewall |
| | 22 | WEBLOGIN_CONFIG=${exec_prefix}/sbin/rahunas-weblogin-config-update |
| 23 | 23 | NAME=rahunasd |
| 24 | | DESC="RahuNAS - Rahu Network Access Server" |
| | 24 | DESC="Rahu Network Access Server" |
| 25 | 25 | |
| 26 | 26 | |
| … |
… |
|
| 91 | 91 | case "$1" in |
| 92 | 92 | start) |
| 93 | | log_daemon_msg "Starting $DESC" "$NAME" |
| 94 | | |
| 95 | 93 | if [ "$RUN_DAEMON" = "yes" ]; then |
| | 94 | log_daemon_msg "Starting $DESC" "$NAME" |
| 96 | 95 | if start ; then |
| 97 | 96 | log_end_msg $? |
| … |
… |
|
| 100 | 99 | fi |
| 101 | 100 | else |
| 102 | | log_end_msg "disabled, to enable see $INIT" |
| | 101 | log_action_msg "Not starting $DESC, as specified in $INIT" |
| 103 | 102 | fi |
| 104 | 103 | ;; |
| … |
… |
|
| 113 | 112 | ;; |
| 114 | 113 | restart) |
| 115 | | log_daemon_msg "Restarting $DESC" "$NAME" |
| 116 | | stop || true |
| 117 | | |
| 118 | 114 | if [ "$RUN_DAEMON" = "yes" ]; then |
| | 115 | log_daemon_msg "Restarting $DESC" "$NAME" |
| | 116 | stop || true |
| 119 | 117 | if start ; then |
| 120 | 118 | log_end_msg $? |
| … |
… |
|
| 123 | 121 | fi |
| 124 | 122 | else |
| 125 | | log_end_msg "disabled, to enable see $INIT" |
| | 123 | log_action_msg "Not restarting $DESC, as specified in $INIT" |
| 126 | 124 | fi |
| 127 | 125 | ;; |
-
|
rbdf9d40
|
rd05ea72
|
|
| 14 | 14 | |
| 15 | 15 | ucf /usr/share/doc/rahunas/rahunas.conf /etc/rahunas/rahunas.conf |
| | 16 | ucf /usr/share/doc/rahunas/rahunas-vserver.conf \ |
| | 17 | /etc/rahunas/rahunas.d/01_rahunas-vserver.conf |
| 16 | 18 | |
| 17 | 19 | #DEBHELPER# |
-
|
rbdf9d40
|
rd05ea72
|
|
| 18 | 18 | if which ucf >/dev/null 2>&1; then |
| 19 | 19 | ucf --purge /etc/rahunas/rahunas.conf |
| | 20 | ucf --purge /etc/rahunas/rahunas.d/01_rahunas-vserver.conf |
| 20 | 21 | fi |
| 21 | 22 | |
| 22 | 23 | rm -f /etc/rahunas/rahunas.conf |
| | 24 | rm -f /etc/rahunas/rahunas.d/01_rahunas-vserver.conf |
| 23 | 25 | ;; |
| 24 | 26 | remove) |
-
|
r0a86d1f
|
rd05ea72
|
|
| 16 | 16 | # This has to be exported to make some magic below work. |
| 17 | 17 | export DH_OPTIONS |
| 18 | | |
| 19 | | include /usr/share/quilt/quilt.make |
| 20 | 18 | |
| 21 | 19 | # These are used for cross-compiling and for saving the configure script |
| … |
… |
|
| 45 | 43 | ./configure $(CROSS) --prefix=/usr --sysconfdir=/etc --localstatedir=/var --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" |
| 46 | 44 | |
| 47 | | build: patch build-arch build-indep |
| | 45 | build: build-arch build-indep |
| 48 | 46 | |
| 49 | 47 | build-arch: build-arch-stamp |
| … |
… |
|
| 58 | 56 | touch $@ |
| 59 | 57 | |
| 60 | | clean: unpatch |
| | 58 | clean: |
| 61 | 59 | dh_testdir |
| 62 | 60 | dh_testroot |
| … |
… |
|
| 103 | 101 | dh_install -s |
| 104 | 102 | |
| 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 | | |
| 110 | 103 | binary-common: |
| 111 | 104 | dh_testdir |