split hapolicy into own binary package
This commit is contained in:
parent
e896c6dda4
commit
dc428dba60
5
debian/changelog
vendored
5
debian/changelog
vendored
|
@ -1,7 +1,8 @@
|
||||||
postfwd (1.30-1) UNRELEASED; urgency=low
|
postfwd (1.30-1) UNRELEASED; urgency=low
|
||||||
|
|
||||||
* New upstream release
|
* New upstream release
|
||||||
- new parser enhancement is able to omit the trailing "\" for multi-line rules
|
- new parser enhancement is able to omit the trailing "\" for multi-line
|
||||||
|
rules
|
||||||
- new plugin interface (BETA)
|
- new plugin interface (BETA)
|
||||||
- Time::HiRes is used if available
|
- Time::HiRes is used if available
|
||||||
- multiple rate limits for the same items are supported now
|
- multiple rate limits for the same items are supported now
|
||||||
|
@ -13,7 +14,7 @@ postfwd (1.30-1) UNRELEASED; urgency=low
|
||||||
- documentation updates and fixes
|
- documentation updates and fixes
|
||||||
* Suppress output on restarting via init script (Closes: #636782), thanks
|
* Suppress output on restarting via init script (Closes: #636782), thanks
|
||||||
Martin F. Krafft for reporting
|
Martin F. Krafft for reporting
|
||||||
* Ship hapolicy and manpage
|
* Add hapolicy and manpage into separate binary package
|
||||||
* Reorganize documentation
|
* Reorganize documentation
|
||||||
- Add new files from upstream to documentation
|
- Add new files from upstream to documentation
|
||||||
- Add 10_hapolicy_manpage.dpatch to have a manpage for hapolicy
|
- Add 10_hapolicy_manpage.dpatch to have a manpage for hapolicy
|
||||||
|
|
10
debian/control
vendored
10
debian/control
vendored
|
@ -19,3 +19,13 @@ Description: Postfix policyd to combine complex restrictions in a ruleset
|
||||||
message has been accepted. It allows you to choose an action (e.g. reject,
|
message has been accepted. It allows you to choose an action (e.g. reject,
|
||||||
dunno) for a combination of several smtp parameters (like sender and recipient
|
dunno) for a combination of several smtp parameters (like sender and recipient
|
||||||
address, size or the client's TLS fingerprint).
|
address, size or the client's TLS fingerprint).
|
||||||
|
|
||||||
|
Package: hapolicy
|
||||||
|
Architecture: all
|
||||||
|
Depends: ${perl:Depends}, ${misc:Depends}
|
||||||
|
Description: Balancing and fallback postfix policy delegation service
|
||||||
|
Hapolicy enables high availability, weighted loadbalancing and a fallback
|
||||||
|
action for postfix policy delegation services. Invoked via postfix spawn
|
||||||
|
it acts as a wrapper that queries other policy servers via tcp connection.
|
||||||
|
The order of the service queries can be influenced by assigning a specific
|
||||||
|
priority and weight to each service.
|
||||||
|
|
4
debian/hapolicy.docs
vendored
Normal file
4
debian/hapolicy.docs
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
doc/hapolicy.html
|
||||||
|
doc/hapolicy.txt
|
||||||
|
tools/hapolicy/hapolicy.*
|
||||||
|
tools/hapolicy/hapolicy[0-9a-zA-Z.]*
|
1
debian/hapolicy.manpages
vendored
Normal file
1
debian/hapolicy.manpages
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
man/man8/hapolicy.1
|
3
debian/postfwd.docs
vendored
3
debian/postfwd.docs
vendored
|
@ -1,9 +1,6 @@
|
||||||
#doc/postfwd.html
|
|
||||||
#doc/postfwd.txt
|
|
||||||
doc/postfwd2.CHANGELOG
|
doc/postfwd2.CHANGELOG
|
||||||
doc/*.html
|
doc/*.html
|
||||||
doc/*.txt
|
doc/*.txt
|
||||||
tools/hapolicy/hapolicy.*
|
|
||||||
tools/*.pl
|
tools/*.pl
|
||||||
tools/*.sample
|
tools/*.sample
|
||||||
plugins/*.sample
|
plugins/*.sample
|
||||||
|
|
1
debian/postfwd.manpages
vendored
1
debian/postfwd.manpages
vendored
|
@ -1,3 +1,2 @@
|
||||||
debian/tmp/postfwd1.8
|
debian/tmp/postfwd1.8
|
||||||
man/man8/postfwd2.8
|
man/man8/postfwd2.8
|
||||||
man/man8/hapolicy.1
|
|
||||||
|
|
8
debian/rules
vendored
8
debian/rules
vendored
|
@ -21,19 +21,19 @@ install: build
|
||||||
# install binaries
|
# install binaries
|
||||||
install -D -m 644 sbin/postfwd debian/postfwd/usr/sbin/postfwd1
|
install -D -m 644 sbin/postfwd debian/postfwd/usr/sbin/postfwd1
|
||||||
install -D -m 644 sbin/postfwd2 debian/postfwd/usr/sbin/postfwd2
|
install -D -m 644 sbin/postfwd2 debian/postfwd/usr/sbin/postfwd2
|
||||||
install -D -m 644 tools/hapolicy/hapolicy debian/postfwd/usr/sbin/hapolicy
|
install -D -m 644 tools/hapolicy/hapolicy debian/hapolicy/usr/sbin/hapolicy
|
||||||
# install man page
|
# install man page
|
||||||
mkdir -p debian/tmp/
|
mkdir -p debian/tmp/
|
||||||
cp man/man8/postfwd.8 debian/tmp/postfwd1.8
|
cp man/man8/postfwd.8 debian/tmp/postfwd1.8
|
||||||
pod2man debian/postfwd/usr/sbin/hapolicy man/man8/hapolicy.1
|
pod2man debian/hapolicy/usr/sbin/hapolicy man/man8/hapolicy.1
|
||||||
|
|
||||||
# Build architecture-independent files here.
|
# Build architecture-independent files here.
|
||||||
binary-indep: build install
|
binary-indep: build install
|
||||||
dh_testdir
|
dh_testdir
|
||||||
dh_testroot
|
dh_testroot
|
||||||
dh_installchangelogs doc/postfwd.CHANGELOG
|
dh_installchangelogs doc/postfwd.CHANGELOG
|
||||||
dh_installdocs -Xhapolicy
|
dh_installdocs -ppostfwd -Xhapolicy
|
||||||
dh_installdocs tools/hapolicy/hapolicy[0-9a-zA-Z.]*
|
dh_installdocs -phapolicy tools/hapolicy/hapolicy[0-9a-zA-Z.]*
|
||||||
dh_installexamples etc/postfwd.cf.sample debian/example-cfg*
|
dh_installexamples etc/postfwd.cf.sample debian/example-cfg*
|
||||||
dh_installinit -- defaults 19 21
|
dh_installinit -- defaults 19 21
|
||||||
dh_installman
|
dh_installman
|
||||||
|
|
Loading…
Reference in a new issue