Browse Source

Adding debian package files

tags/v2.01a1
bbruns 7 years ago
parent
commit
be52fba352
13 changed files with 83 additions and 0 deletions
  1. +6
    -0
      debian/changelog
  2. +1
    -0
      debian/compat
  3. +14
    -0
      debian/control
  4. +8
    -0
      debian/copyright
  5. +0
    -0
     
  6. +1
    -0
      debian/files
  7. +12
    -0
      debian/patches/01-deb-install-location.patch
  8. +23
    -0
      debian/patches/01-deb-makefile-install-location.patch
  9. +2
    -0
      debian/patches/series
  10. +11
    -0
      debian/rules
  11. +1
    -0
      debian/source/format
  12. +3
    -0
      debian/srfirewall.dirs
  13. +1
    -0
      debian/srfirewall.substvars

+ 6
- 0
debian/changelog 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
- 0
debian/compat View File

@@ -0,0 +1 @@
9

+ 14
- 0
debian/control 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
- 0
debian/copyright 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
- 0
View File


+ 1
- 0
debian/files View File

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

+ 12
- 0
debian/patches/01-deb-install-location.patch 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
@@ -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"

+ 23
- 0
debian/patches/01-deb-makefile-install-location.patch 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
@@ -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
- 0
debian/patches/series View File

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

+ 11
- 0
debian/rules 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
- 0
debian/source/format View File

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

+ 3
- 0
debian/srfirewall.dirs View File

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

+ 1
- 0
debian/srfirewall.substvars View File

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

Loading…
Cancel
Save