From 868f96c759b6650d88ff9f4fbc5c048302134248 Mon Sep 17 00:00:00 2001 From: Sebastien Blot Date: Wed, 20 Sep 2017 10:11:01 +0200 Subject: Initial import --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 14 ++++++++++++++ debian/copyright | 8 ++++++++ debian/docs | 1 + debian/rules | 27 +++++++++++++++++++++++++++ debian/watch | 2 ++ 7 files changed, 58 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100755 debian/rules create mode 100644 debian/watch (limited to 'debian') diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..6d301b8 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +snuffleupagus (0.1) UNRELEASED; urgency=medium + + * Initial release. + + -- jvoisin 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 @@ +Source: snuffleupagus +Priority: optional +Maintainer: NBS System +Build-Depends: debhelper (>= 9), php7.0-dev +Standards-Version: 3.9.2 +Homepage: https://snuffleupagus.fr +Section: php +Vcs-Git: https://github.com/nbs-system/snuffleupagus + +Package: snuffleupagus +Architecture: any +Depends: ${misc:Depends} +Description: Hardening for your php7 stack + 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 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Snuffleupagus +Upstream-Contact: NBS System +Source: https://github.com/nbs-system/snuffleupagus + +Files: * +Copyright: 2017 NBS System +License: 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 @@ +#!/usr/bin/make -f + +DH_VERBOSE = 1 + +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/default.mk + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +%: + dh $@ + +override_dh_auto_clean: + cd ./src; phpize --clean + +override_dh_auto_configure: + cd ./src; phpize + cd ./src; ./configure --enable-snuffleupagus + +override_dh_auto_build: + make -C src + +override_dh_auto_install: + make -C src install + +override_dh_auto_test: + 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 @@ +version=3 +https://github.com/nbs-system/snuffleupagus/tags /nbs-system/snuffleupagus/archive/snuffleupagus-([0-9.]+)\.tar\.(gz|xz|bz2) -- cgit v1.3