-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,3 +46,9 @@ rpmbuild/ | |
|
||
*.rpm | ||
*.spec | ||
|
||
# debian | ||
debian/.debhelper | ||
debian/vmod-modsecurity | ||
debian/*substvars | ||
debian/files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
vmod-modsecurity (0.1.1) UNRELEASED; urgency=medium | ||
|
||
* Initial release. | ||
|
||
-- Xavier De Cock <[email protected]> Wed, 15 Jul 2020 13:21:01 +0200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Source: vmod-modsecurity | ||
Priority: optional | ||
Maintainer: De Cock Xavier <[email protected]> | ||
Build-Depends: | ||
debhelper (>= 9), | ||
libvarnishapi-dev (>= 6.4.0) | | ||
varnish-dev (>= 6.4.0), | ||
pkg-config (>= 0.21), | ||
python3-docutils, | ||
varnish (>= 6.4.0), | ||
libmodsecurity-dev, | ||
Standards-Version: 3.9.5 | ||
Section: libs | ||
Homepage: https://github.com/xdecock/vmod-modsecurity | ||
|
||
Package: vmod-modsecurity | ||
Architecture: any | ||
Depends: | ||
varnish (>= 6.4.0), | ||
libmodsecurity3, | ||
Description: modsecurity binding for varnish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/make -f | ||
export DH_VERBOSE=1 | ||
|
||
DPKG_EXPORT_BUILDFLAGS = 1 | ||
include /usr/share/dpkg/default.mk | ||
|
||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all | ||
export PKG_CONFIG_PATH = | ||
export ACLOCAL_PATH = | ||
|
||
%: | ||
dh $@ | ||
|
||
override_dh_fixperms: | ||
find debian/vmod-modsecurity/ -name '*.la' -delete | ||
dh_fixperms | ||
|
||
override_dh_gencontrol: | ||
varnishd -V 2>&1 | awk -F '[- ]' '{print "varnish:Depends=varnish (>= " $$3 ")"; exit}' >> debian/substvars | ||
dh_gencontrol -- -Tdebian/substvars |