Browse Source

Adding debian package files

tags/v2.0
bbruns 5 years ago
parent
commit
be52fba352

+ 6
- 0
debian/changelog View File

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

+ 1
- 0
debian/compat View File

@@ -0,0 +1 @@
1
+9

+ 14
- 0
debian/control View File

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

+ 8
- 0
debian/copyright View File

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

+ 0
- 0
debian/docs View File


+ 1
- 0
debian/files View File

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

+ 13
- 0
debian/patches/01-deb-install-location.patch View File

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

+ 24
- 0
debian/patches/01-deb-makefile-install-location.patch View File

@@ -0,0 +1,24 @@
1
+Index: srfirewall-2.0a1+svn20140408/Makefile
2
+===================================================================
3
+--- srfirewall-2.0a1+svn20140408.orig/Makefile	2014-04-08 19:49:20.440285374 -0600
4
++++ srfirewall-2.0a1+svn20140408/Makefile	2014-04-08 19:49:31.160360827 -0600
5
+@@ -1,14 +1,14 @@
6
+-PREFIX=/usr/local
7
++PREFIX=/usr
8
+ 
9
+ all: # Nothing here
10
+ 
11
+ install:
12
+ 	mkdir -p $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/lib/srfirewall \
13
+-	$(DESTDIR)$(PREFIX)/etc/srfirewall
14
++	$(DESTDIR)/etc/srfirewall
15
+ 	cp -r bin/* $(DESTDIR)$(PREFIX)/bin/
16
+ 	cp -r lib/* $(DESTDIR)$(PREFIX)/lib/srfirewall/
17
+-	cp -r etc/* $(DESTDIR)$(PREFIX)/etc/srfirewall/
18
++	cp -r etc/* $(DESTDIR)/etc/srfirewall/
19
+ 	
20
+ install-docs:
21
+ 	mkdir -p $(DESTDIR)$(PREFIX)/share/doc/srfirewall
22
+-	cp -r ChangeLog doc/* License ReadMe $(DESTDIR)$(PREFIX)/share/doc/srfirewall
23
+\ No newline at end of file
24
++	cp -r ChangeLog doc/* License ReadMe $(DESTDIR)$(PREFIX)/share/doc/srfirewall

+ 2
- 0
debian/patches/series View File

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

+ 11
- 0
debian/rules View File

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

+ 1
- 0
debian/source/format View File

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

+ 3
- 0
debian/srfirewall.dirs View File

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

+ 1
- 0
debian/srfirewall.substvars View File

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

Loading…
Cancel
Save