From 870a072df476c9a92475203ce91f4c533473bb2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 15 Jan 2017 12:33:51 +0100 Subject: move to /usr/share/mailgraph --- debian/changelog | 11 +++++++++++ debian/mailgraph.conf | 10 ++++++++++ debian/mailgraph.examples | 1 + debian/mailgraph.install | 4 ++-- debian/patches/110_mailgraph.cgi.patch | 13 ++++++++----- 5 files changed, 32 insertions(+), 7 deletions(-) create mode 100644 debian/mailgraph.conf 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 . + + -- Jörg Frings-Fürst 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 + + Options +FollowSymLinks +ExecCGI + AddHandler cgi-script .cgi + + Require local + + 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 -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() + Mail statistics for $host - +- ++ + -- cgit v1.2.3