split hapolicy into own binary package

This commit is contained in:
Jan Wagner 2011-09-26 13:23:56 +00:00
parent e896c6dda4
commit dc428dba60
8 changed files with 22 additions and 10 deletions

5
debian/changelog vendored
View file

@ -1,7 +1,8 @@
postfwd (1.30-1) UNRELEASED; urgency=low
* 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)
- Time::HiRes is used if available
- 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
* Suppress output on restarting via init script (Closes: #636782), thanks
Martin F. Krafft for reporting
* Ship hapolicy and manpage
* Add hapolicy and manpage into separate binary package
* Reorganize documentation
- Add new files from upstream to documentation
- Add 10_hapolicy_manpage.dpatch to have a manpage for hapolicy

10
debian/control vendored
View file

@ -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,
dunno) for a combination of several smtp parameters (like sender and recipient
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
View 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
View file

@ -0,0 +1 @@
man/man8/hapolicy.1

3
debian/postfwd.docs vendored
View file

@ -1,9 +1,6 @@
#doc/postfwd.html
#doc/postfwd.txt
doc/postfwd2.CHANGELOG
doc/*.html
doc/*.txt
tools/hapolicy/hapolicy.*
tools/*.pl
tools/*.sample
plugins/*.sample

View file

@ -1,3 +1,2 @@
debian/tmp/postfwd1.8
man/man8/postfwd2.8
man/man8/hapolicy.1

8
debian/rules vendored
View file

@ -21,19 +21,19 @@ install: build
# install binaries
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 tools/hapolicy/hapolicy debian/postfwd/usr/sbin/hapolicy
install -D -m 644 tools/hapolicy/hapolicy debian/hapolicy/usr/sbin/hapolicy
# install man page
mkdir -p debian/tmp/
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.
binary-indep: build install
dh_testdir
dh_testroot
dh_installchangelogs doc/postfwd.CHANGELOG
dh_installdocs -Xhapolicy
dh_installdocs tools/hapolicy/hapolicy[0-9a-zA-Z.]*
dh_installdocs -ppostfwd -Xhapolicy
dh_installdocs -phapolicy tools/hapolicy/hapolicy[0-9a-zA-Z.]*
dh_installexamples etc/postfwd.cf.sample debian/example-cfg*
dh_installinit -- defaults 19 21
dh_installman