Adding debian package files

master
bbruns 2014-04-09 02:04:17 +00:00
parent 46a362be86
commit be52fba352
13 changed files with 85 additions and 0 deletions

6
debian/changelog vendored Normal file
View File

@ -0,0 +1,6 @@
srfirewall (2.0a1+svn20140408-1) unstable; urgency=low
* Initial release of SRFirewall 2.0a1 for testing
- See included changelog for more details
-- Brielle Bruns <bruns@2mbit.com> Tue, 08 Apr 2014 15:43:15 -0600

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

14
debian/control vendored Normal file
View File

@ -0,0 +1,14 @@
Source: srfirewall
Section: net
Priority: optional
Maintainer: Brielle Bruns <bruns@2mbit.com>
Build-Depends: debhelper (>= 8.0.0), bash (>= 2.0)
Standards-Version: 3.9.5
Homepage: http://code.google.com/p/firewall-sosdg
Package: srfirewall
Architecture: all
Depends: ${misc:Depends}, iptables, bash (>= 2.0)
Description: Powerful, but simple to use netfilter/iptables firewall
Powerful, but simple to use firewall for Linux that has minimal
dependencies other than iptables and bash.

8
debian/copyright vendored Normal file
View File

@ -0,0 +1,8 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: srfirewall
Source: http://code.google.com/p/firewall-sosdg
Files: *
Copyright: 2008-2014 Brielle Bruns
License: GPL-3
Please see /usr/share/common-licenses/GPL-3 for details.

0
debian/docs vendored Normal file
View File

1
debian/files vendored Normal file
View File

@ -0,0 +1 @@
srfirewall_2.0a1+svn20140408-1_all.deb net optional

View File

@ -0,0 +1,13 @@
Index: srfirewall-2.0a1+svn20140408/bin/srfirewall
===================================================================
--- srfirewall-2.0a1+svn20140408.orig/bin/srfirewall 2014-04-08 18:55:30.209705751 -0600
+++ srfirewall-2.0a1+svn20140408/bin/srfirewall 2014-04-08 19:22:51.369154162 -0600
@@ -22,7 +22,7 @@
FW_VERSION="2.0 PreAlpha 1"
# Important directory locations
-FWPREFIX="/usr/local"
+FWPREFIX="/usr"
FWCONFIGDIR="${FWPREFIX}/etc/srfirewall"
FWLIBDIR="${FWPREFIX}/lib/srfirewall"
FWBINDIR="${FWPREFIX}/bin"

View File

@ -0,0 +1,24 @@
Index: srfirewall-2.0a1+svn20140408/Makefile
===================================================================
--- srfirewall-2.0a1+svn20140408.orig/Makefile 2014-04-08 19:49:20.440285374 -0600
+++ srfirewall-2.0a1+svn20140408/Makefile 2014-04-08 19:49:31.160360827 -0600
@@ -1,14 +1,14 @@
-PREFIX=/usr/local
+PREFIX=/usr
all: # Nothing here
install:
mkdir -p $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/lib/srfirewall \
- $(DESTDIR)$(PREFIX)/etc/srfirewall
+ $(DESTDIR)/etc/srfirewall
cp -r bin/* $(DESTDIR)$(PREFIX)/bin/
cp -r lib/* $(DESTDIR)$(PREFIX)/lib/srfirewall/
- cp -r etc/* $(DESTDIR)$(PREFIX)/etc/srfirewall/
+ cp -r etc/* $(DESTDIR)/etc/srfirewall/
install-docs:
mkdir -p $(DESTDIR)$(PREFIX)/share/doc/srfirewall
- cp -r ChangeLog doc/* License ReadMe $(DESTDIR)$(PREFIX)/share/doc/srfirewall
\ No newline at end of file
+ cp -r ChangeLog doc/* License ReadMe $(DESTDIR)$(PREFIX)/share/doc/srfirewall

2
debian/patches/series vendored Normal file
View File

@ -0,0 +1,2 @@
01-deb-install-location.patch
01-deb-makefile-install-location.patch

11
debian/rules vendored Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@
#override_dh_auto_install:
# $(MAKE) DESTDIR=$$(pwd)/debian/srfirewall PREFIX=/usr install

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

3
debian/srfirewall.dirs vendored Normal file
View File

@ -0,0 +1,3 @@
usr/bin
usr/lib/srfirewall
etc/srfirewall

1
debian/srfirewall.substvars vendored Normal file
View File

@ -0,0 +1 @@
misc:Depends=