summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog11
-rw-r--r--debian/mailgraph.conf10
-rw-r--r--debian/mailgraph.examples1
-rw-r--r--debian/mailgraph.install4
-rw-r--r--debian/patches/110_mailgraph.cgi.patch13
5 files changed, 32 insertions, 7 deletions
diff --git a/debian/changelog b/debian/changelog
index 7b50710..e17be21 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+mailgraph (1.14-15) UNRELEASED; urgency=medium
+
+ * Move mailgraph.css to /var/www/html/css because
+ permission denied errors with Apache 2.4.
+ - Changed files:
+ + debian/mailgraph.install
+ + debian/patches/110_mailgraph.cgi.patch
+ - Thanks to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>.
+
+ -- Jörg Frings-Fürst <debian@jff-webhosting.net> Fri, 06 Nov 2015 03:17:39 +0100
+
mailgraph (1.14-14) unstable; urgency=medium
* Fix debian/patches/050_greylist.diff (LP: #1499625).
diff --git a/debian/mailgraph.conf b/debian/mailgraph.conf
new file mode 100644
index 0000000..3b4a240
--- /dev/null
+++ b/debian/mailgraph.conf
@@ -0,0 +1,10 @@
+# mailgraph default Apache configuration
+
+Alias /mailgraph /usr/share/mailgraph
+<Directory /usr/share/mailgraph>
+ Options +FollowSymLinks +ExecCGI
+ AddHandler cgi-script .cgi
+
+ Require local
+
+</Directory>
diff --git a/debian/mailgraph.examples b/debian/mailgraph.examples
index 1c07734..6228dd7 100644
--- a/debian/mailgraph.examples
+++ b/debian/mailgraph.examples
@@ -1 +1,2 @@
debian/lighttpd.conf
+debian/mailgraph.conf
diff --git a/debian/mailgraph.install b/debian/mailgraph.install
index 73db00c..33a4b0a 100644
--- a/debian/mailgraph.install
+++ b/debian/mailgraph.install
@@ -1,4 +1,4 @@
mailgraph usr/sbin
-mailgraph.cgi usr/lib/cgi-bin
+mailgraph.cgi usr/share/mailgraph
debian/default.conf usr/share/mailgraph
-mailgraph.css usr/lib/cgi-bin
+mailgraph.css usr/share/mailgraph
diff --git a/debian/patches/110_mailgraph.cgi.patch b/debian/patches/110_mailgraph.cgi.patch
index a5338cf..a1d77f4 100644
--- a/debian/patches/110_mailgraph.cgi.patch
+++ b/debian/patches/110_mailgraph.cgi.patch
@@ -1,17 +1,20 @@
Description: patch mailgraph.cgi for valid code
move the changes from debina/rules into this patch
+ set to /css/mailgraph.css
Author: Jörg Frings-Fürst <debian@jff-webhosting.net>
-Last-Update: 2014-08-23
+Last-Update: 2015-11-06
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: trunk/mailgraph.cgi
===================================================================
---- trunk.orig/mailgraph.cgi 2014-08-23 08:19:59.810656652 +0200
-+++ trunk/mailgraph.cgi 2014-08-23 08:20:15.282979723 +0200
-@@ -197,6 +197,7 @@
+--- trunk.orig/mailgraph.cgi
++++ trunk/mailgraph.cgi
+@@ -196,7 +196,8 @@ sub print_html()
+ <title>Mail statistics for $host</title>
<meta http-equiv="Refresh" content="300" />
<meta http-equiv="Pragma" content="no-cache" />
- <link rel="stylesheet" href="mailgraph.css" type="text/css" />
+-<link rel="stylesheet" href="mailgraph.css" type="text/css" />
++<link rel="stylesheet" href="/css/mailgraph.css" type="text/css" />
+</style>
</head>
<body>