summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorSebastien Blot2017-09-20 10:11:01 +0200
committerSebastien Blot2017-09-20 10:11:01 +0200
commit868f96c759b6650d88ff9f4fbc5c048302134248 (patch)
treec0de0af318bf77a8959164ef11aeeeb2b7bab294 /debian
Initial import
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control14
-rw-r--r--debian/copyright8
-rw-r--r--debian/docs1
-rwxr-xr-xdebian/rules27
-rw-r--r--debian/watch2
7 files changed, 58 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6d301b8
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
1snuffleupagus (0.1) UNRELEASED; urgency=medium
2
3 * Initial release.
4
5 -- jvoisin <snuffleupagus@nbs-system.com> Tue, 04 Jul 2017 17:51:31 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..c1cfb92
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,14 @@
1Source: snuffleupagus
2Priority: optional
3Maintainer: NBS System <snuffleupagus@nbs-system.com>
4Build-Depends: debhelper (>= 9), php7.0-dev
5Standards-Version: 3.9.2
6Homepage: https://snuffleupagus.fr
7Section: php
8Vcs-Git: https://github.com/nbs-system/snuffleupagus
9
10Package: snuffleupagus
11Architecture: any
12Depends: ${misc:Depends}
13Description: Hardening for your php7 stack
14 Snuffleupagus is cool
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..a792452
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,8 @@
1Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2Upstream-Name: Snuffleupagus
3Upstream-Contact: NBS System <snuffleupagus@nbs-system.com>
4Source: https://github.com/nbs-system/snuffleupagus
5
6Files: *
7Copyright: 2017 NBS System
8License: LGPL
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
README.md
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..66bf44a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,27 @@
1#!/usr/bin/make -f
2
3DH_VERBOSE = 1
4
5DPKG_EXPORT_BUILDFLAGS = 1
6include /usr/share/dpkg/default.mk
7
8export DEB_BUILD_MAINT_OPTIONS = hardening=+all
9
10%:
11 dh $@
12
13override_dh_auto_clean:
14 cd ./src; phpize --clean
15
16override_dh_auto_configure:
17 cd ./src; phpize
18 cd ./src; ./configure --enable-snuffleupagus
19
20override_dh_auto_build:
21 make -C src
22
23override_dh_auto_install:
24 make -C src install
25
26override_dh_auto_test:
27 TEST_PHP_ARGS="-q" REPORT_EXIST_STATUS=1 make -C src test
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..86028c7
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
1version=3
2https://github.com/nbs-system/snuffleupagus/tags /nbs-system/snuffleupagus/archive/snuffleupagus-([0-9.]+)\.tar\.(gz|xz|bz2)