X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=debian%2Frules;h=e7745b0caf791601d01b109d4b92625cc5c2d01d;hp=c8f914e879b23a526a4cbd3b28d953973ba0bca7;hb=3d8c0631436ee4a0536e013e5d57976db59c15c9;hpb=6a358e07e91282c0f5011696d3918a6a13fed905 diff --git a/debian/rules b/debian/rules index c8f914e8..e7745b0c 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,6 @@ #!/usr/bin/make -f # -# (c) 2002-2018 Roland Rosenfeld +# (c) 2002-2021 Roland Rosenfeld # # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 @@ -23,6 +23,10 @@ override_dh_auto_configure: --enable-zlib \ --enable-no-gifs \ --enable-external-filters \ + --enable-extended-statistics \ + --enable-pcre-host-patterns \ + --with-mbedtls \ + --with-brotli \ --with-docbook=/usr/share/sgml/docbook/stylesheet/dsssl/modular override_dh_auto_build: @@ -32,6 +36,7 @@ override_dh_auto_build: env -u LANG LC_ALL=C.UTF-8 $(MAKE) dok rm -f doc/webserver/user-manual/*.bak env -u LANG LC_ALL=C.UTF-8 $(MAKE) man + env -u LANG LC_ALL=C.UTF-8 $(MAKE) man2html override_dh_auto_clean: # restore auto build documentation from source package: @@ -83,6 +88,12 @@ override_dh_auto_install: mv -f $$f.new $$f; \ done +override_dh_install: + dh_install + install -m0644 debian/apparmor/usr.sbin.privoxy \ + $(DEBDIR)/etc/apparmor.d/ + dh_apparmor --profile-name=usr.sbin.privoxy + override_dh_installdocs: dh_installdocs (cd $(DEBDIR)/usr/share/doc/privoxy/; \