Skip to content
Snippets Groups Projects
Commit d1df72f6 authored by ale's avatar ale
Browse files

Add Debian packaging

parent db3a14e2
No related branches found
No related tags found
No related merge requests found
include: "https://git.autistici.org/ai3/build-deb/raw/master/ci-common.yml"
LICENSE 0 → 100644
This diff is collapsed.
......@@ -8,3 +8,23 @@ recipient.
The reason for the existence of this tool is that we don't know how to
tell Postfix to combine a LDAP map as the check_policy_service
backend.
# Usage
The proxying behavior is controlled by a configuration file, in YAML
format, which supports the following attributes:
* `not_found_action` - (default: DUNNO) action to return to Postfix
when the user is not found in the database
* `ldap`
* `uri` - connection string
* `bind_dn` - bind DN, for authentication
* `bind_pw` - bind password
* `base_dn` - base DN for the lookup query
* `filter` - filter for the lookup query
* `attr` - result attribute for the lookup query
* `result_fmt` - result format string to obtain the upstream
host:port address, where the literal token `%s` is replaced by the
value of the *attr* attribute
The LDAP parameters are pretty much all mandatory.
postfix-policyd-proxy (1.0) unstable; urgency=medium
* Initial Release.
-- ale <ale@incal.net> Mon, 01 Jun 2020 14:58:00 +0100
11
Source: postfix-policyd-proxy
Section: unknown
Priority: optional
Maintainer: ale <ale@incal.net>
Build-Depends: debhelper (>= 11), dh-golang, golang-any
Standards-Version: 4.1.3
Package: postfix-policyd-proxy
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Postfix policyd proxy
Proxy for postfix policy services, directed by a LDAP backend.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: postfix-policyd-proxy
Source: <https://git.autistici.org/ai3/tools/postfix-policyd-proxy>
Files: *
Copyright: 2020 <ale@incal.net>
License: GPL-3.0+
Files: debian/*
Copyright: 2020 <ale@incal.net>
License: GPL-3.0+
License: GPL-3.0+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
#!/usr/bin/make -f
export DH_GOPKG = git.autistici.org/ai3/tools/postfix-policyd-proxy
export DH_GOLANG_EXCLUDES = vendor
%:
dh $@ --with=golang
override_dh_auto_install:
dh_auto_install -- --no-source
3.0 (native)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment