debian/ 0000755 0000000 0000000 00000000000 12311001623 007153 5 ustar debian/README.Debian 0000644 0000000 0000000 00000004640 12307273275 011243 0 ustar
== Securing loganalyzer ==
Access to log data can help an intruder. Therefore, loganalyzer
is not fully configured by default.
It is very trivial to enable it (see the quickstart section below)
but before you do, it is suggested that you setup access control
using an ACL or HTTP authentication. Using HTTPS is also a good idea.
You can configure the access control you want in
/etc/loganalyzer/apache.conf
or in your usual virtualhost definitions.
== Quickstart without any database ==
* this will work with the default /etc/loganalyzer/config.php
* just make the /var/log/syslog file readable by www-data
or by all users, for example:
chmod o+r /var/log/syslog
* and then browse to http://localhost/loganalyzer/
== More file-based solutions ==
If you don't want to set non-default permissions on /var/log/* files,
you could also modify /etc/rsyslog.conf and configure it to write
logs to some other location, perhaps filtering out entries
that you consider too sensitive for web-based access.
Then again, it is those sensitive log entries that you probably want
to be made aware of when you inspect your logs.
Once you have chosen which log files you want LogAnalyzer to use,
you need to define them in /etc/loganalyzer/config.php
== Beyond file data sources ==
Log analyzer documentation explains various other options.
For example, you can configure rsyslog to store log events into
an SQL database (such as MySQL) or a NoSQL database (such as MongoDB).
To use datasources like this,
* install the necessary rsyslog module packages and configure
them for your database
* install the necessary PHP modules for the database
* adapt /etc/loganalyzer/config.php to connect to the database
== MongoDB support ==
To use MongoDB with wheezy, you need packages from wheezy-backports
For jessie and later releases of Debian, it should just work.
Extra packages you must install:
* For rsyslog to write events to MongoDB, you need to install
apt-get install rsyslog-mongodb
and make the necessary changes in /etc/rsyslog.conf
(see the README.Debian from rsyslog-mongodb)
* For the LogAnalyzer PHP code to access the MongoDB data, you need
apt-get install php5-mongo
* Finally, you need to configure /etc/loganalyzer/config.php
for MongoDB - a sample is provided in the default version
of /etc/loganalyzer/config.php in this package, please
just uncomment that and it should work.
debian/README.source 0000644 0000000 0000000 00000001517 12307273275 011361 0 ustar
Contributors from other developers are welcome, no need to NMU,
just join pkg-monitoring and make sure any changes you make
are pushed into the Git repository on alioth before you
upload.
-- Dependencies --
I tried using a symlink to /usr/share/jpgraph
instead of the bundled copy of jpgraph but this didn't work
-- Repackaged source tarball --
There are two files Debian removes from the source tarball because they
have a "non-commercial use only" clause in their license. These files
are only needed if handling events from Windows machines. They are:
src/classes/reports/report.eventlog.auditsummary.class.php
src/classes/reports/report.eventlog.auditsummary/report.eventlog.auditsummary.lang.en.php
Upstream converted most files to GPL-3 some time ago and a request
has been made for them to update the license in these files too.
debian/apache.conf 0000644 0000000 0000000 00000000204 12307273275 011262 0 ustar
# Define /loganalyzer alias, this is the default
Alias /loganalyzer /usr/share/loganalyzer
debian/compat 0000644 0000000 0000000 00000000002 12307273275 010374 0 ustar 9
debian/config.php 0000644 0000000 0000000 00000027740 12307273275 011166 0 ustar Configuration need variables for the Database connection
*
* Copyright (C) 2008-2010 Adiscon GmbH.
*
* This file is part of LogAnalyzer.
*
* LogAnalyzer 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 3 of the License, or
* (at your option) any later version.
*
* LogAnalyzer 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 LogAnalyzer. If not, see .
*
* A copy of the GPL can be found in the file "COPYING" in this
* distribution.
*
* Adiscon LogAnalyzer is also available under a commercial license.
* For details, contact info@adiscon.com or visit
* http://loganalyzer.adiscon.com/commercial
*********************************************************************
*/
// --- Avoid directly accessing this file!
if ( !defined('IN_PHPLOGCON') )
{
die('Hacking attempt');
exit;
}
// ---
// --- UserDB options
/* If UserDB is enabled, all options will and have to be configured in the database.
* All Options below the UserDB options here will not be used, unless a setting
* is missing in the database.
*/
$CFG['UserDBEnabled'] = false;
$CFG['UserDBServer'] = "";
$CFG['UserDBPort'] = 3306;
$CFG['UserDBName'] = "";
$CFG['UserDBPref'] = "";
$CFG['UserDBUser'] = "";
$CFG['UserDBPass'] = "";
$CFG['UserDBLoginRequired'] = false;
$CFG['UserDBAuthMode'] = USERDB_AUTH_INTERNAL; // USERDB_AUTH_INTERNAL means LogAnalyzer Internal Auth
// USERDB_AUTH_LDAP means Auth via LDAP Server
// LDAP Auth options
$CFG['LDAPServer'] = "127.0.0.1"; // LDAP server hostname or IP
$CFG['LDAPPort'] = 389; // LDAP port, 389 or 636 for SSL
$CFG['LDAPBaseDN'] = 'CN=Users,DC=domain,DC=local'; // Base DN for LDAP Search, this is a typical ActiveDirectory sample
$CFG['LDAPSearchFilter'] = '(objectClass=user)'; // Basic Search filter
$CFG['LDAPUidAttribute'] = "sAMAccountName"; // The LDAP attribute used in the search to find the user, example: uid, cn or sAMAccountName (Active Directory)
// DN of the privileged user for the search
$CFG['LDAPBindDN'] = 'CN=Searchuser,CN=Users,DC=domain,DC=local'; // "Searchuser" = the privilegied user used to query LDAP Directory
$CFG['LDAPBindPassword'] = 'Password'; // Password of the privilegied user
// ---
// --- Misc Options
$CFG['MiscShowDebugMsg'] = 0; // if enabled, you will get additional output on certain places
$CFG['MiscDebugToSyslog'] = 0; // if enabled, debug messages from LogAnalyzer will be send to syslog on linux, and into the EventLog on Windows
$CFG['MiscShowDebugGridCounter'] = 0; // Only for debugging purposes, will add a counter column into the grid!
$CFG["MiscShowPageRenderStats"] = 1; // If enabled, you will see Pagerender Settings
$CFG['MiscEnableGzipCompression'] = 1; // If enabled, LogAnalyzer will use gzip compression for output, we recommend
// to have this option enabled, it will highly reduce bandwith usage.
$CFG['MiscMaxExecutionTime'] = 30; // LogAnalyzer will try to overwrite the default script timeout with this value during runtime!
// This can of course only work if LogAnalyzer is allowed to changed the script timeout.
$CFG['DebugUserLogin'] = 0; // if enabled, you will see additional informations on failed logins
// ---
// --- Default Frontend Options
$CFG['PrependTitle'] = ""; // If set, this text will be prepended withint the title tag
$CFG['ViewUseTodayYesterday'] = 1; // If enabled, the date from today and yesterday is displayed as "today" and "yesterday"
$CFG['ViewMessageCharacterLimit'] = 80; // Default character limit for the message gets trunscated! 0 means NO trunscation.
$CFG['ViewStringCharacterLimit'] = 30; // Default character limit for all other string type fields before they get trunscated! 0 means NO trunscation.
$CFG['ViewEntriesPerPage'] = 50; // Default number of syslog entries shown per page
$CFG['ViewEnableDetailPopups'] = 1; // If enabled, you will see additional Details for each syslog message on mouse over.
$CFG['ViewDefaultTheme'] = "default"; // This sets the default theme the user is going to see when he opens LogAnalyzer the first time.
// Currently only "default" and "dark" are available.
$CFG['ViewDefaultLanguage'] = "en"; // Sets the default display language
$CFG['ViewEnableAutoReloadSeconds'] = 0; // If "ViewEnableAutoReloadSeconds" is set to anything higher the 0 (which means disabled), this means auto reload is enabled by default.
$CFG['SearchCustomButtonCaption'] = "I'd like to feel sad"; // Default caption for the custom fast search button
$CFG['SearchCustomButtonSearch'] = "error"; // Default search string for the custom search button
$CFG['EnableContextLinks'] = 1; // if enabled, context links within the messages will automatically be created and added. Set this to 0 to disable all context links.
$CFG['EnableIPAddressResolve'] = 1; // If enabled, IP Addresses inline messages are automatically resolved and the result is added in brackets {} behind the IP Address
$CFG['SuppressDuplicatedMessages'] = 0; // If enabled, duplicated messages will be suppressed in the main display.
$CFG['TreatNotFoundFiltersAsTrue'] = 0; // If you filter / search for messages, and the fields you are filtering for is not found, the filter result is treaten as TRUE!
$CFG['PopupMenuTimeout'] = 3000; // This variable defines the default timeout value for popup menus in milliseconds. (those menus which popup when you click on the value of a field.
$CFG['PhplogconLogoUrl'] = ""; // Put an Url to a custom toplogo you want to use.
$CFG['InlineOnlineSearchIcons'] = 1; // Show online search icons
$CFG['UseProxyServerForRemoteQueries'] = "";// If empty no proxy server will be used. If set to a proxy server url like 127.0.0.1:8080, LogAnalyzer will use this server for url queries like the updatecheck.
$CFG['HeaderDefaultEncoding'] = ENC_ISO_8859_1; // Set default character encoding
// ---
// --- Custom HTML Code
$CFG['InjectHtmlHeader'] = ""; // Use this variable to inject custom html into the html
area!
$CFG['InjectBodyHeader'] = ""; // Use this variable to inject custom html into the begin of the area!
$CFG['InjectBodyFooter'] = ""; // Use this variable to inject custom html into the end of the area!
// ---
// --- Define which fields you want to see
//$CFG['ShowMessage'] = true; // If enabled, the Message column will be appended to the columns list.
//Eventlog based fields: $CFG['Columns'] = array ( SYSLOG_DATE, SYSLOG_HOST, SYSLOG_EVENT_LOGTYPE, SYSLOG_EVENT_SOURCE, /*SYSLOG_EVENT_CATEGORY, */SYSLOG_EVENT_ID, SYSLOG_MESSAGE );
//$CFG['Columns'] = array ( SYSLOG_DATE, SYSLOG_FACILITY, SYSLOG_SEVERITY, SYSLOG_HOST, SYSLOG_SYSLOGTAG, SYSLOG_MESSAGETYPE, SYSLOG_MESSAGE );
$CFG['DefaultViewsID'] = "";
// ---
// --- Predefined Searches!
$CFG['Search'][] = array ( "DisplayName" => "Syslog Warnings and Errors", "SearchQuery" => "filter=severity%3A0%2C1%2C2%2C3%2C4&search=Search" );
$CFG['Search'][] = array ( "DisplayName" => "Syslog Errors", "SearchQuery" => "filter=severity%3A0%2C1%2C2%2C3&search=Search" );
$CFG['Search'][] = array ( "DisplayName" => "All messages from the last hour", "SearchQuery" => "filter=datelastx%3A1&search=Search" );
$CFG['Search'][] = array ( "DisplayName" => "All messages from last 12 hours", "SearchQuery" => "filter=datelastx%3A2&search=Search" );
$CFG['Search'][] = array ( "DisplayName" => "All messages from last 24 hours", "SearchQuery" => "filter=datelastx%3A3&search=Search" );
$CFG['Search'][] = array ( "DisplayName" => "All messages from last 7 days", "SearchQuery" => "filter=datelastx%3A4&search=Search" );
$CFG['Search'][] = array ( "DisplayName" => "All messages from last 31 days", "SearchQuery" => "filter=datelastx%3A5&search=Search" );
// $CFG['Search'][] = array ( "DisplayName" => "", "SearchQuery" => "" );
// ---
// --- Predefined Charts!
$CFG['Charts'][] = array ( "DisplayName" => "Top Hosts", "chart_type" => CHART_BARS_HORIZONTAL, "chart_width" => 400, "chart_field" => SYSLOG_HOST, "maxrecords" => 10, "showpercent" => 0, "chart_enabled" => 1 );
$CFG['Charts'][] = array ( "DisplayName" => "SyslogTags", "chart_type" => CHART_CAKE, "chart_width" => 400, "chart_field" => SYSLOG_SYSLOGTAG, "maxrecords" => 10, "showpercent" => 0, "chart_enabled" => 1 );
$CFG['Charts'][] = array ( "DisplayName" => "Severity Occurences", "chart_type" => CHART_BARS_VERTICAL, "chart_width" => 400, "chart_field" => SYSLOG_SEVERITY, "maxrecords" => 10, "showpercent" => 1, "chart_enabled" => 1 );
$CFG['Charts'][] = array ( "DisplayName" => "Usage by Day", "chart_type" => CHART_CAKE, "chart_width" => 400, "chart_field" => SYSLOG_DATE, "maxrecords" => 10, "showpercent" => 1, "chart_enabled" => 1 );
// ---
// --- Configure allowed directories for File base logstream sources
$CFG['DiskAllowed'][] = "/var/log/";
// ---
// --- Source Options
/* Example for DiskType Source:
$CFG['Sources']['Source1']['ID'] = "Source1";
$CFG['Sources']['Source1']['Name'] = "Syslog Disk File";
$CFG['Sources']['Source1']['Description'] = "More details you want to see about this source";
$CFG['Sources']['Source1']['SourceType'] = SOURCE_DISK;
$CFG['Sources']['Source1']['LogLineType'] = "syslog";
$CFG['Sources']['Source1']['MsgParserList'] = "";
$CFG['Sources']['Source1']['MsgNormalize'] = 0;
$CFG['Sources']['Source1']['DiskFile'] = "/var/log/syslog";
$CFG['Sources']['Source1']['ViewID'] = "SYSLOG";
$CFG['Sources']['Source2']['ID'] = "Source5";
$CFG['Sources']['Source2']['Name'] = "WinSyslog DB";
$CFG['Sources']['Source1']['Description'] = "";
$CFG['Sources']['Source2']['SourceType'] = SOURCE_DB;
$CFG['Sources']['Source1']['MsgParserList'] = "";
$CFG['Sources']['Source2']['DBTableType'] = "winsyslog";
$CFG['Sources']['Source2']['DBType'] = DB_MYSQL;
$CFG['Sources']['Source2']['DBServer'] = "localhost";
$CFG['Sources']['Source2']['DBName'] = "loganalyzer";
$CFG['Sources']['Source2']['DBUser'] = "root";
$CFG['Sources']['Source2']['DBPassword'] = "";
$CFG['Sources']['Source2']['DBTableName'] = "systemevents";
$CFG['Sources']['Source2']['ViewID'] = "SYSLOG";
*/
// --- %Insert Source Here%
$CFG['Sources']['Source1']['ID'] = "Source1";
$CFG['Sources']['Source1']['Name'] = "Syslog Disk File";
$CFG['Sources']['Source1']['Description'] = "Main syslog file from rsyslog daemon on Debian";
$CFG['Sources']['Source1']['SourceType'] = SOURCE_DISK;
$CFG['Sources']['Source1']['LogLineType'] = "syslog";
$CFG['Sources']['Source1']['MsgParserList'] = "";
$CFG['Sources']['Source1']['MsgNormalize'] = 0;
$CFG['Sources']['Source1']['DiskFile'] = "/var/log/syslog";
$CFG['Sources']['Source1']['ViewID'] = "SYSLOG";
/* Sample configuration for MongoDB
This will just work with the default install of
MongoDB and rsyslog-mongodb on Debian
To use it, simply uncomment the block below
and set up rsyslog according to the instructions in
/usr/share/doc/rsyslog-mongodb/README.Debian */
/*
$CFG['Sources']['Source1']['ID'] = 'Source1';
$CFG['Sources']['Source1']['Name'] = 'My Syslog Source';
$CFG['Sources']['Source1']['ViewID'] = 'SYSLOG';
$CFG['Sources']['Source1']['SourceType'] = SOURCE_MONGODB;
$CFG['Sources']['Source1']['DBTableType'] = 'mongodb';
$CFG['Sources']['Source1']['DBServer'] = 'localhost';
$CFG['Sources']['Source1']['DBName'] = 'logs';
$CFG['Sources']['Source1']['DBUser'] = '';
$CFG['Sources']['Source1']['DBPassword'] = '';
$CFG['Sources']['Source1']['DBTableName'] = 'syslog';
*/
// ---
?>
debian/control 0000644 0000000 0000000 00000001705 12307273275 010604 0 ustar Source: loganalyzer
Section: net
Priority: optional
Maintainer: Debian Monitoring Maintainers
Uploaders: Daniel Pocock
Homepage: http://loganalyzer.adiscon.com/
Build-Depends: debhelper (>= 9.0.0), po-debconf
Standards-Version: 3.9.5
Vcs-Git: git://git.debian.org/pkg-monitoring/loganalyzer.git
Vcs-Browser: http://git.debian.org/?p=pkg-monitoring/loganalyzer.git;a=summary
Package: loganalyzer
Architecture: all
Depends: ${misc:Depends}, apache | apache-ssl | apache-perl | apache2 | httpd-cgi, php5 | php5-cgi | libapache2-mod-php5, debconf (>= 0.5), ttf-bitstream-vera
Recommends: php5-mongo
Suggests: rsyslog, php5-gd
Description: web interface to syslog and event data
Web interface to syslog and other network event data. It provides easy
browsing, analysis of realtime network events and reporting services.
.
Use of databases, including MongoDB, is possible but not required.
debian/copyright 0000644 0000000 0000000 00000021342 12307273275 011133 0 ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: loganalyzer
Upstream-Contact: Adiscon
Source: https://github.com/rsyslog/loganalyzer.git
Files: *
Copyright: 2008-2010, Adiscon GmbH.
License: GPL-3
The GPL can be found in /usr/share/common-licenses/GPL-3 on your
Debian system.
Files: debian/*
Copyright: 2014, Daniel Pocock http://danielpocock.com
License: GPL-3
The GPL can be found in /usr/share/common-licenses/GPL-3 on your
Debian system.
Files: src/BitstreamVeraFonts/*
Copyright: 2003, Bitstream, Inc.
License: BITSTREAM
Permission is hereby granted, free of charge, to any person obtaining
a copy of the fonts accompanying this license ("Fonts") and associated
documentation files (the "Font Software"), to reproduce and distribute
the Font Software, including without limitation the rights to use,
copy, merge, publish, distribute, and/or sell copies of the Font
Software, and to permit persons to whom the Font Software is furnished
to do so, subject to the following conditions:
.
The above copyright and trademark notices and this permission notice
shall be included in all copies of one or more of the Font Software
typefaces.
.
The Font Software may be modified, altered, or added to, and in
particular the designs of glyphs or characters in the Fonts may be
modified and additional glyphs or characters may be added to the
Fonts, only if the fonts are renamed to names not containing either
the words "Bitstream" or the word "Vera".
.
This License becomes null and void to the extent applicable to Fonts
or Font Software that has been modified and is distributed under the
"Bitstream Vera" names.
.
The Font Software may be sold as part of a larger software package but
no copy of one or more of the Font Software typefaces may be sold by
itself.
.
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL
BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL,
OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT
SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
.
Except as contained in this notice, the names of Gnome, the Gnome
Foundation, and Bitstream Inc., shall not be used in advertising or
otherwise to promote the sale, use or other dealings in this Font
Software without prior written authorization from the Gnome Foundation
or Bitstream Inc., respectively. For further information, contact:
fonts at gnome dot org.
Files: src/classes/html2fpdf
Copyright: 2004, Renato Coelho
License: LGPL-2+
##############################################################################
############## DO NOT MODIFY THE CONTENTS OF THIS BOX ########################
##############################################################################
## ##
## HTML2FPDF is a php script to read a HTML text and generate a PDF file. ##
## Copyright (C) 2004-2005 Renato Coelho ##
## This script may be distributed as long as the following files are kept ##
## together: ##
## ##
## fpdf.php, html2fpdf.php, gif.php,htmltoolkit.php,license.txt,credits.txt ##
## ##
##############################################################################
.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation;
This library 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
Lesser General Public License for more details.
[http://www.opensource.org/licenses/lgpl-license.php]
.
The LGPL can be found in /usr/share/common-licenses/LGPL-2.1 on your
Debian system.
Files: src/classes/jpgraph
Copyright: 2010, Aditus Consulting
License: QPL
Everyone is permitted to copy and distribute this license document.
.
The intent of this license is to establish freedom to share and change
the software regulated by this license under the open source model.
.
This license applies to any software containing a notice placed by the
copyright holder saying that it may be distributed under the terms of
the Q Public License version 1.0. Such software is herein referred to
as the Software. This license covers modification and distribution of
the Software, use of third-party application programs based on the So
ftware, and development of free software which uses the Software.
Granted Rights
.
1. You are granted the non-exclusive rights set forth in this license
provided you agree to and comply with any and all conditions in this l
icense. Whole or partial distribution of the Software, or software ite
ms that link with the Software, in any form signifies acceptance of th
is license.
.
2. You may copy and distribute the Software in unmodified form provide
d that the entire package, including - but not restricted to - copyrig
ht, trademark notices and disclaimers, as released by the initial deve
loper of the Software, is distributed.
.
3. You may make modifications to the Software and distribute your modi
fications, in a form that is separate from the Software, such as patch
es. The following restrictions apply to modifications:
.
a. Modifications must not alter or remove any copyright notices in th
e Software.
.
b. When modifications to the Software are released under this license
, a non-exclusive royalty-free right is granted to the initial develop
er of the Software to distribute your modification in future versions
of the Software provided such versions remain available under these te
rms in addition to any other license(s) of the initial developer.
.
4. You may distribute machine-executable forms of the Software or mach
ine-executable forms of modified versions of the Software, provided th
at you meet these restrictions:
.
a. You must include this license document in the distribution.
.
b. You must ensure that all recipients of the machine-executable form
s are also able to receive the complete machine-readable source code t
o the distributed Software, including all modifications, without any c
harge beyond the costs of data transfer, and place prominent notices i
n the distribution explaining this.
.
c. You must ensure that all modifications included in the machine-exe
cutable forms are available under the terms of this license.
.
5. You may use the original or modified versions of the Software to co
mpile, link and run application programs legally developed by you or b
y others.
.
6. You may develop application programs, reusable components and other
software items that link with the original or modified versions of th
e Software. These items, when distributed, are subject to the followin
g requirements:
.
a. You must ensure that all recipients of machine-executable forms of
these items are also able to receive and use the complete machine-rea
dable source code to the items without any charge beyond the costs of
data transfer.
.
b. You must explicitly license all recipients of your items to use an
d re-distribute original and modified versions of the items in both ma
chine-executable and source code forms. The recipients must be able to
do so without any charges whatsoever, and they must be able to re-dis
tribute to anyone they choose.
.
c. If the items are not available to the general public, and the init
ial developer of the Software requests a copy of the items, then you m
ust supply one.
.
Limitations of Liability
.
In no event shall the initial developers or copyright holders be liabl
e for any damages whatsoever, including - but not restricted to - lost
revenue or profits or other direct, indirect, special, incidental or
consequential damages, even if they have been advised of the possibili
ty of such damages, except to the extent invariable law, if any, provi
des otherwise.
No Warranty
.
The Software and this license document are provided AS IS with NO WARR
ANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AN
D FITNESS FOR A PARTICULAR PURPOSE.
Choice of Law
.
This license is governed by the Laws of Norway. Disputes shall be sett
led by Oslo City Court.
debian/dirs 0000644 0000000 0000000 00000000020 12307273275 010052 0 ustar etc/loganalyzer
debian/docs 0000644 0000000 0000000 00000000006 12307273275 010045 0 ustar doc/*
debian/install 0000644 0000000 0000000 00000000107 12307273275 010565 0 ustar debian/config.php etc/loganalyzer/
debian/apache.conf etc/loganalyzer/
debian/links 0000644 0000000 0000000 00000000225 12307273275 010240 0 ustar /etc/loganalyzer/config.php /usr/share/loganalyzer/config.php
/usr/share/fonts/truetype/ttf-bitstream-vera /usr/share/loganalyzer/BitstreamVeraFonts
debian/lintian-overrides 0000644 0000000 0000000 00000000306 12307273275 012556 0 ustar # one is not packaged, the other is incompatible
loganalyzer binary: embedded-php-library
# the maintenance.sh script is waiting for upstream documentation
loganalyzer binary: script-not-executable
debian/patches/ 0000755 0000000 0000000 00000000000 12307273275 010625 5 ustar debian/patches/01-remove-tracking-image.patch 0000644 0000000 0000000 00000006745 12307273275 016255 0 ustar diff --git a/src/templates/include_header.html b/src/templates/include_header.html
index 9e3ebbc..78b8f49 100644
--- a/src/templates/include_header.html
+++ b/src/templates/include_header.html
@@ -24,8 +24,7 @@
Satisfied with Adiscon LogAnalyzer?
-
- Donate and help keep the project alive!
+ Donate and help keep the project alive!
|
debian/patches/series 0000644 0000000 0000000 00000000037 12307273275 012042 0 ustar 01-remove-tracking-image.patch
debian/postinst 0000644 0000000 0000000 00000004365 12310264574 011010 0 ustar #!/bin/sh
# currently comment out because otherwise it freezes
#. /usr/share/debconf/confmodule
set -e
# summary of how this script can be called:
# * `configure'
# * `abort-upgrade'
# * `abort-remove' `in-favour'
#
# * `abort-remove'
# * `abort-deconfigure' `in-favour'
# `removing'
#
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
if [ "$1" = "configure" ];
then
# To use the web-based config, the admin needs to
# make this file writeable by www-data - but we don't
# do that here for the moment.
#chown www-data /etc/loganalyzer/config.php
#chmod 0660 /etc/loganalyzer/config.php
webserver="apache2"
pkgname=loganalyzer
if [ -x /usr/sbin/$webserver ];
then
# Auto-configure module dependencies
a2enmod php5 || true
a2enmod cgi || true
# this is not mandatory, so we don't do it now
# maybe support this with debconf one day
#a2enmod mongo || true
HTTPD_ETC=/etc/$webserver
HTTPD_CONF_OLD=$HTTPD_ETC/conf.d
HTTPD_CONF_NEW=$HTTPD_ETC/conf-available
if [ -d $HTTPD_ETC ];
then
if [ -d ${HTTPD_CONF_OLD} -a ! -f ${HTTPD_CONF_OLD}/${pkgname} -a ! -h ${HTTPD_CONF_OLD}/${pkgname} ];
then
ln -s /etc/${pkgname}/apache.conf ${HTTPD_CONF_OLD}/${pkgname}
fi
if [ -d ${HTTPD_CONF_NEW} -a ! -f ${HTTPD_CONF_NEW}/${pkgname} -a ! -h ${HTTPD_CONF_NEW}/${pkgname} ];
then
ln -s /etc/${pkgname}/apache.conf ${HTTPD_CONF_NEW}/${pkgname}.conf
if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
. /usr/share/apache2/apache2-maintscript-helper
apache2_invoke enconf loganalyzer.conf || exit $?
fi
fi
fi
fi
fi
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
debian/rules 0000755 0000000 0000000 00000001102 12307273275 010250 0 ustar #!/usr/bin/make -f
%:
dh $@
override_dh_auto_configure:
override_dh_auto_build:
override_dh_auto_install:
mkdir -p $(CURDIR)/debian/loganalyzer/usr/share/loganalyzer
cp -r $(CURDIR)/src/* $(CURDIR)/debian/loganalyzer/usr/share/loganalyzer
rm -rf $(CURDIR)/debian/loganalyzer/usr/share/loganalyzer/BitstreamVeraFonts
rm -rf $(CURDIR)/debian/loganalyzer/usr/share/loganalyzer/classes/html2fpdf/license.txt
rm -rf $(CURDIR)/debian/loganalyzer/usr/share/loganalyzer/images/icons/Thumbs.db
override_dh_auto_clean:
dh_clean
override_dh_clean:
dh_clean
.PHONY: build
debian/source/ 0000755 0000000 0000000 00000000000 12307273275 010476 5 ustar debian/source/format 0000644 0000000 0000000 00000000014 12307273275 011704 0 ustar 3.0 (quilt)
debian/postrm 0000644 0000000 0000000 00000002727 12311001424 010431 0 ustar #!/bin/sh
set -e
. /usr/share/debconf/confmodule
if [ "$1" = "purge" ];
then
webserver="apache2"
pkgname=loganalyzer
HTTPD_ETC=/etc/$webserver
if [ -d ${HTTPD_ETC} ];
then
HTTPD_CONF_OLD=${HTTPD_ETC}/conf.d
HTTPD_CONF_NEW=${HTTPD_ETC}/conf-available
LOGANALYZER_CONF_NEW=${HTTPD_CONF_NEW}/${pkgname}.conf
if [ -d ${HTTPD_CONF_OLD} -a -h ${HTTPD_CONF_OLD}/${pkgname} ];
then
rm ${HTTPD_CONF_OLD}/${pkgname}
fi
if [ -d ${HTTPD_CONF_NEW} -a \
\( -e ${LOGANALYZER_CONF_NEW} -o -h ${LOGANALYZER_CONF_NEW} \) ];
then
# apache2-maintscript-helper will not be available in the
# following situations:
# - apache2 has already been removed (but not purged perhaps)
# - it is a wheezy system, the conf-available directory was
# created by some backported package but apache2.4 is not
# really present
if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
. /usr/share/apache2/apache2-maintscript-helper
apache2_invoke disconf loganalyzer.conf || exit $?
fi
# regardless of whether apache2-maintscript-helper was found,
# we still remove the symlink if it exists
if [ -h ${LOGANALYZER_CONF_NEW} ];
then
rm ${LOGANALYZER_CONF_NEW}
fi
fi
fi
fi
#DEBHELPER#
debian/changelog 0000644 0000000 0000000 00000002407 12311001527 011033 0 ustar loganalyzer (3.6.5+dfsg-7) unstable; urgency=medium
* Improve check for dangling symlink to removed conf file
-- Daniel Pocock Sat, 15 Mar 2014 08:37:31 +0100
loganalyzer (3.6.5+dfsg-6) unstable; urgency=medium
* Remove conf-available symlink even after apache2 removed
-- Daniel Pocock Fri, 14 Mar 2014 09:30:27 +0100
loganalyzer (3.6.5+dfsg-5) unstable; urgency=medium
* Avoid functions in postinst, not compatible with apache2_invoke
-- Daniel Pocock Thu, 13 Mar 2014 09:18:09 +0100
loganalyzer (3.6.5+dfsg-4) unstable; urgency=medium
* Use apache2_invoke
-- Daniel Pocock Wed, 12 Mar 2014 11:04:12 +0100
loganalyzer (3.6.5+dfsg-3) unstable; urgency=medium
* Add .conf extension for Apache 2.4 config
-- Daniel Pocock Tue, 11 Mar 2014 16:35:09 +0100
loganalyzer (3.6.5+dfsg-2) unstable; urgency=medium
* Remove tracking image discovered by lintian
* Fix cut and paste error in postinst, add postrm script
-- Daniel Pocock Mon, 10 Mar 2014 09:20:11 +0100
loganalyzer (3.6.5+dfsg-1) unstable; urgency=low
* Initial packaging (Closes: #740848)
-- Daniel Pocock Fri, 07 Mar 2014 13:46:27 +0100
|