From 7f1e5885e19830de5337ad505bc218d16ec0374a Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Sun, 1 Dec 2013 20:20:18 -0800 Subject: Initial commit --- debian/changelog | 6 ++++++ debian/compat | 1 + debian/control | 15 +++++++++++++++ debian/copyright | 2 ++ debian/fswarn.postinst | 18 ++++++++++++++++++ debian/fswarn.postrm | 15 +++++++++++++++ debian/rules | 4 ++++ debian/source/format | 1 + 8 files changed, 62 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/fswarn.postinst create mode 100644 debian/fswarn.postrm create mode 100755 debian/rules create mode 100644 debian/source/format (limited to 'debian') diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..a8bf33b --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +iptables-rrdtool (0.1) unstable; urgency=low + + * Initial release. + + -- Joe Rayhawk Sat, 08 Sep 2012 11:01:59 -0700 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..c1ba8fa --- /dev/null +++ b/debian/control @@ -0,0 +1,15 @@ +Source: iptables-rrdtool +Maintainer: Joe Rayhawk +Section: admin +Build-depends: debhelper (>= 7) +Priority: extra +Homepage: http://piny.be/iptables-rrdtool/ +Standards-version: 3.9.1 + +Package: iptables-rrdtool +Architecture: all +Depends: ${misc:Depends}, bash (>= 4.0), rrdtool, moreutils, base-files (>= 6.2) | initscripts (>= 2.88dsf-13.3) +Recommends: cron +Description: Cronjob to generate RRD files from all iptables rule counters + Creates RRDs for every iptables rule every five munutes and optionally graphs + them. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..f626d21 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,2 @@ +Copyright © 2010 Joe Rayhawk +Licensed under the BSD 3-clause license. diff --git a/debian/fswarn.postinst b/debian/fswarn.postinst new file mode 100644 index 0000000..a22b368 --- /dev/null +++ b/debian/fswarn.postinst @@ -0,0 +1,18 @@ +#!/bin/sh + +set -e + +case "$1" in + + configure) + + if [ "$2" = "" ]; then + mkdir /var/lib/iptables-rrdtool || true + fi + + ;; + + *) + ;; + +esac diff --git a/debian/fswarn.postrm b/debian/fswarn.postrm new file mode 100644 index 0000000..f7b1a11 --- /dev/null +++ b/debian/fswarn.postrm @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e + +case "$1" in + + purge) + rm -r /var/lib/iptables-rrdtool || true + ;; + + *) + ;; + +esac + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..2d33f6a --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) -- cgit v1.2.3