Initial import for overlay package...

debian
xSmurf 8 years ago
commit 269effc6f7

35
debian/changelog vendored

@ -0,0 +1,35 @@
fw-daemon (0.0.4-2) unstable; urgency=low
* Migrating package to gbp overlay.
-- Bruce Leidl <bruce@subgraph.com> Wed, 2 Nov 2016 19:00:00 +0000
fw-daemon (0.0.4-1) unstable; urgency=medium
* updated shell-version info
-- Bruce Leidl <bruce@subgraph.com> Wed, 14 Sep 2016 18:28:33 +0000
fw-daemon (0.0.3-1) unstable; urgency=medium
* added 3.20 to shell-version
-- Bruce Leidl <bruce@subgraph.com> Wed, 25 May 2016 18:47:46 +0000
fw-daemon (0.0.2-1) unstable; urgency=medium
* now with settings dialog
-- Bruce Leidl <bruce@subgraph.com> Wed, 24 Feb 2016 05:50:34 +0000
fw-daemon (0.0.1-2) unstable; urgency=medium
* Fixed some problems with package scripts
-- Bruce Leidl <bruce@subgraph.com> Thu, 21 Jan 2016 23:59:34 +0000
fw-daemon (0.0.1-1) unstable; urgency=medium
* Initial release
-- Bruce Leidl <bruce@subgraph.com> Sat, 16 Jan 2016 23:54:55 +0000

1
debian/compat vendored

@ -0,0 +1 @@
9

34
debian/control vendored

@ -0,0 +1,34 @@
Source: fw-daemon
Section: devel
Priority: extra
Maintainer: Bruce Leidl <bruce@subgraph.com>
Build-Depends: debhelper (>= 9),
dh-golang,
dh-systemd,
golang-go,
libcairo2-dev,
libglib2.0-dev,
libgtk-3-dev,
libnetfilter-queue-dev
Standards-Version: 3.9.8
Homepage: https://github.com/subgraph/fw-daemon
Vcs-Git: https://github.com/subgraph/fw-daemon.git
XS-Go-Import-Path: github.com/subgraph/fw-daemon
Package: fw-daemon
Architecture: any
Built-Using: ${misc:Built-Using}
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Subgraph Application Firewall Daemon
Subgraph Firewall A desktop application firewall for Subgraph OS.
This package provides the daemon program.
The daemon takes care of intercepting outgoing packets and prompting
the user interface for action.
Package: fw-daemon-gnome
Depends: gnome-shell, fw-daemon (>= ${source:Version}), ${misc:Depends}
Architecture: all
Description: Subgraph Application Firewall GNOME Shell Extension
This package provides a GNOME Shell Extension interface
to the Subgraph Application Firewall Daemon.
It is used to alert users of outgoing network connections.

37
debian/copyright vendored

@ -0,0 +1,37 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: fw-daemon
Source: https://github.com/subgraph/fw-daemon
Files: *
Copyright: 2015 Subgraph
License: BSD-3-Clause
Files: debian/*
Copyright: 2016 Subgraph
License: BSD-3-Clause
Comment: Debian packaging is licensed under the same terms as upstream
License: BSD-3-Clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE HOLDERS OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

1
debian/docs vendored

@ -0,0 +1 @@
README.md

@ -0,0 +1 @@
gnome-shell/firewall@subgraph.com usr/share/gnome-shell/extensions

@ -0,0 +1,18 @@
#!/bin/sh
set -e
case $1 in
configure)
su user -c 'gnome-shell-extension-tool --enable-extension=firewall@subgraph.com' || true
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#

@ -0,0 +1,11 @@
#!/bin/sh
set -e
if [ "$1" = "remove" ]; then
su user -c 'gnome-shell-extension-tool --disable-extension=firewall@subgraph.com' || true
fi
#DEBHELPER#

@ -0,0 +1,3 @@
usr/bin/fw-daemon usr/sbin
usr/bin/fw-settings usr/bin
sources/etc/dbus-1/system.d/com.subgraph.Firewall.conf etc/dbus-1/system.d/

@ -0,0 +1,21 @@
#!/bin/sh
set -e
case $1 in
configure)
if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
deb-systemd-invoke reload dbus.service >/dev/null || true
fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#

@ -0,0 +1,14 @@
#!/bin/sh
set -e
if [ "$1" = "remove" ]; then
if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
deb-systemd-invoke reload dbus.service >/dev/null || true
fi
fi
#DEBHELPER#
exit 0

@ -0,0 +1,10 @@
[Unit]
Documentation=https://github.com/subgraph/fw-daemon
Description=Subgraph Firewall Daemon
[Service]
Environment="GODEBUG=cgocheck=0"
ExecStart=/usr/sbin/fw-daemon
[Install]
WantedBy=multi-user.target

18
debian/gbp.conf vendored

@ -0,0 +1,18 @@
[DEFAULT]
debian-branch = master
upstream-tree = TAG
upstream-vcs-tag = v%(version)s
postbuild = lintian --profile debian -iIE --pedantic $GBP_CHANGES_FILE && echo "Lintian OK"
[buildpackage]
debian-branch = debian
upstream-tag = v%(version)s
overlay = True
export-dir = /tmp/build-area
upstream-tree = TAG
[dch]
debian-branch = debian
upstream-tree = TAG
upstream-tag = v%(version)s
git-log = --no-merges

21
debian/rules vendored

@ -0,0 +1,21 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
export DH_OPTIONS
export DH_GOPKG := github.com/subgraph/fw-daemon
%:
dh $@ --buildsystem=golang --with=golang,systemd
override_dh_auto_install:
dh_auto_install
rm -rf $(CURDIR)/debian/fw-daemon/usr/share/gocode
override_dh_auto_test:
@echo skipped auto test
# We only include a systemd service unit
override_dh_installinit:
@echo skipped init.d install

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

1
debian/watch vendored

@ -0,0 +1 @@
# This package uses git buildpackage overlay.
Loading…
Cancel
Save