debian/0000775000000000000000000000000012160244127007167 5ustar debian/README.Debian0000664000000000000000000000064312160244127011233 0ustar Quick Start 1. Setup MySQL Database $ mysql -u root -p Enter password: mysql> CREATE USER 'HaCi'@'localhost' IDENTIFIED BY ''; mysql> GRANT USAGE ON *.* TO 'HaCi'@'localhost' IDENTIFIED BY ''; mysql> CREATE DATABASE `HaCi`; mysql> GRANT ALL PRIVILEGES ON `HaCi`.* TO 'HaCi'@'localhost' WITH GRANT OPTION; 2. Edit /etc/haci/HaCi.conf to setup "dbPass". 3. Go to http://localhost/haci/HaCi.cgi debian/changelog0000664000000000000000000000165212160244127011045 0ustar haci (0.97c-3) unstable; urgency=low * debian/control: Bump Standards-Version to 3.9.4 (with no changes). * Fix "transition towards Apache 2.4"(Closes: #669773) + debian/install: install config files to /etc/apache/conf-available instead of obsolete /etc/apache2/conf.d. * debian/etc/apache2/haci.conf: + Switch to Apache 2.4 access control directives + Add suffix to an Apache conf file * debian/control: Add Depends to apache2. -- TANIGUCHI Takaki Wed, 19 Jun 2013 14:57:38 +0900 haci (0.97c-2) unstable; urgency=low * Bump Standards-Vertsion to 3.9.2 * debian/patches: Rename debian-changes-0.97c-1 to webapp-policy. * Fixed FTBFS. (Closes: #643155) -- TANIGUCHI Takaki Tue, 27 Sep 2011 10:17:34 +0900 haci (0.97c-1) unstable; urgency=low * Initial release (Closes: #491352) -- TANIGUCHI Takaki Fri, 28 Jan 2011 16:38:35 +0900 debian/compat0000664000000000000000000000000212160244127010365 0ustar 7 debian/control0000664000000000000000000000265012160244127010575 0ustar Source: haci Section: admin Priority: extra Maintainer: TANIGUCHI Takaki Build-Depends: debhelper (>= 7.0.50~) Standards-Version: 3.9.4 Homepage: http://haci.larsux.de/ Vcs-Git: git://git.debian.org/collab-maint/haci.git Vcs-Browser: http://git.debian.org/?p=collab-maint/haci.git;a=summary Package: haci Architecture: all Depends: ${misc:Depends}, apache2 | httpd, libcgi-ajax-perl, libcgi-session-perl, libclass-accessor-perl, libclass-makemethods-perl, libconfig-general-perl, libdbd-mysql-perl, libdigest-md5-perl, libdigest-sha-perl, libfile-temp-perl, libhtml-parser-perl, liblocale-gettext-perl, liblog-loglite-perl, libmath-bigint-perl, libnet-cidr-perl, libnet-ipv6addr-perl, libnet-snmp-perl, libstorable-perl, libtemplate-perl, libtime-local-perl, Suggests: libcache-fastmmap-perl, libcache-cache-perl, libdns-zoneparse-perl, libio-socket-inet6-perl, libmath-bigint-gmp-perl, libnet-dns-perl, libnet-ping-perl, libpod-wsdl-perl, libsoap-lite-perl, libsoap-lite-perl, libsql-translator-perl, libtext-csv-xs-perl, libapache-dbi-perl, Description: web based IP(v6) address and network administration tool HaCi is an IP Address / Network Administration Tool with IPv6 support. It stores its data efficiently in a relational database and uses a treelike structure to illustrate supernets and subnets. Additional data can be linked to each network following user defined templates. debian/copyright0000664000000000000000000000206312160244127011123 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: HaCi Source: http://haci.sf.net/ Files: * Copyright: 2006-2010, Lars Wildemann License: GPL-2.0+ Files: debian/* Copyright: 2011 TANIGUCHI Takaki License: GPL-2.0+ License: GPL-2.0+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/dirs0000664000000000000000000000006012160244127010047 0ustar # usr/share/haci/spool/usr/share var/cache/haci debian/docs0000664000000000000000000000002112160244127010033 0ustar README ChangeLog debian/etc/0000775000000000000000000000000012160244127007742 5ustar debian/etc/apache2/0000775000000000000000000000000012160244127011245 5ustar debian/etc/apache2/haci.conf0000664000000000000000000000063012160244127013017 0ustar ScriptAlias /haci/HaCi.cgi /usr/share/haci/cgi-bin/HaCi.cgi ScriptAlias /haci/HaciAPI.cgi /usr/share/haci/cgi-bin/HaCiAPI.cgi ScriptAlias /haci/test.cgi /usr/share/haci/cgi-bin/test.cgi Alias /haci/ /usr/share/haci/html/ Options Indexes MultiViews AllowOverride None Require all granted Require local debian/etc/haci/0000775000000000000000000000000012160244127010646 5ustar debian/etc/haci/HaCi.conf0000664000000000000000000000275712160244127012334 0ustar # database parameters dbHost = localhost dbName = HaCi dbUser = HaCi dbPass = geheim! # GUI parameters root = FF0000 new = 777777 reserved = FF00F0 locked = AAAAAA free = 00AA00 assigned = 000000 invisible = FFFFFF netBorder = 5555FF searched = FFAAAA # technical contact techContact = support@domain.tld # preferred style # bright # black style = bright # direct access to network functions by icons directAccess = 1 # show error details instead of a basic error warnings showErrorDetails = 1 # max. number (2^?) of calculated (free) subnets (2^8 => 256) maxSubnetSize = 8 # show structure of the tree (with lines) showTreeStructure = 1 # enable locales support (default 1) enableLocaleSupport = 1 # maximum memory consumption in kB for the HaCi Daemon. If this limit is reached, HaCid will be restarted automatically maxMemConsumption = 50000 # disable caching mechanismen disableCache = 0 # automatically upgrade database if needed autoUpgradeDatabase = 1 # suppress database upgrade error messages if you are sure that everything is okay ignoreUpgradeFailures = 0 # authentication parameters ## authentication modules # internal: internal auth # imap : IMAP auth authModule = internal # authenticationmodule parameters # host = imap.server.tld # authtype = login # vim:ts=8 debian/examples0000664000000000000000000000001612160244127010725 0ustar etc/*.samples debian/install0000664000000000000000000000050712160244127010562 0ustar Template usr/share/haci bin usr/share/haci # cgi-bin/* usr/lib/cgi-bin/haci cgi-bin usr/share/haci docs/* usr/share/doc/haci # etc/* etc/internal.conf etc/haci html usr/share/haci locale usr/share/haci # logs/ modules usr/share/haci # spool/ debian/etc/apache2/* etc/apache2/conf-available debian/etc/haci/* etc/haci debian/links0000664000000000000000000000021512160244127010230 0ustar etc/haci/internal.conf usr/share/haci/etc/internal.conf etc/haci/HaCi.conf usr/share/haci/etc/HaCi.conf var/cache/haci usr/share/haci/spool debian/patches/0000775000000000000000000000000012160244127010616 5ustar debian/patches/series0000664000000000000000000000001612160244127012030 0ustar webapp-policy debian/patches/webapp-policy0000664000000000000000000001066112160244127013320 0ustar Description: Upstream changes introduced in version 0.97c-1 This patch has been created by dpkg-source during the package build. Here's the last changelog entry, hopefully it gives details on why those changes were made: . haci (0.97c-1) unstable; urgency=low . * Initial release (Closes: #491352) . The person named in the Author field signed this changelog entry. Author: TANIGUCHI Takaki Bug-Debian: http://bugs.debian.org/491352 --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- haci-0.97c.orig/html/index.html +++ haci-0.97c/html/index.html @@ -1,6 +1,6 @@ - + --- haci-0.97c.orig/etc/internal.conf +++ haci-0.97c/etc/internal.conf @@ -5,7 +5,7 @@ workdir = $workdir templateIncludePath = $workdir/Template - templateCompilePath = $workdir/spool + templateCompilePath = /var/cache/haci/Template spoolPath = $workdir/spool authModules = $workdir/modules/HaCi/Authentication plugins = $workdir/modules/HaCi/Plugins @@ -26,9 +26,9 @@ titleShort = HaCi titleLong = HaCi - IP Address Administration version = 0.97c - jsSrcDir = / - jsSrc = /HaCi.js - imagePathRel = /Images + jsSrcDir = /haci/ + jsSrc = /haci/HaCi.js + imagePathRel = /haci/Images logo = ${imagePathRel}/logo.png style = bright maxSubnetSize = 8 @@ -52,13 +52,13 @@ ID = bright name = bright - file = /HaCi.css + file = /haci/HaCi.css descr = Bright Layout ID = black name = black - file = /HaCi_black.css + file = /haci/HaCi_black.css descr = Black Layout --- haci-0.97c.orig/Template/HaCiShowAbout.tmpl +++ haci-0.97c/Template/HaCiShowAbout.tmpl @@ -1,7 +1,7 @@
- +
- +
Version: [% version %]

--- haci-0.97c.orig/Template/HaCiMenu.tmpl +++ haci-0.97c/Template/HaCiMenu.tmpl @@ -1,4 +1,4 @@ - +
[% FOREACH submenu IN menu %] @@ -8,7 +8,7 @@