forked from pool/amavisd-milter
Accepting request 875158 from home:adkorte
- Initial release of amavisd-milter (unbundled from amavisd-new) - Update to version 1.7.1 * An empty sender must always be enclosed in angle brackets. - Update to version 1.7.0 * Fork after initializing milter socket. * Use client_name if available instead of hostname passed to xxfi_connect. * Generate amamvisd-milter.8 from AMAVISD-MILTER.md. * Fixed compiler warnings. * Converted indentation to spaces only. * Removed obsoleted file amavisd-milter.spec. OBS-URL: https://build.opensuse.org/request/show/875158 OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-milter?expand=0&rev=1
This commit is contained in:
commit
c3d56b9cdb
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
amavisd-milter-1.7.1.tar.gz
Normal file
3
amavisd-milter-1.7.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ee79745fe2f6e2ef4726bc9509dbdccbfff4291f57ba9bf9b858a7bb84c8f836
|
||||
size 193425
|
15
amavisd-milter.changes
Normal file
15
amavisd-milter.changes
Normal file
@ -0,0 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 24 21:24:28 UTC 2021 - Arjen de Korte <suse+build@de-korte.org>
|
||||
|
||||
- Initial release of amavisd-milter (unbundled from amavisd-new)
|
||||
|
||||
- Update to version 1.7.1
|
||||
* An empty sender must always be enclosed in angle brackets.
|
||||
|
||||
- Update to version 1.7.0
|
||||
* Fork after initializing milter socket.
|
||||
* Use client_name if available instead of hostname passed to xxfi_connect.
|
||||
* Generate amamvisd-milter.8 from AMAVISD-MILTER.md.
|
||||
* Fixed compiler warnings.
|
||||
* Converted indentation to spaces only.
|
||||
* Removed obsoleted file amavisd-milter.spec.
|
14
amavisd-milter.service
Normal file
14
amavisd-milter.service
Normal file
@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Amavisd Milter
|
||||
Requires=amavis.service
|
||||
Before=mail-transfer-agent.target
|
||||
|
||||
[Service]
|
||||
PIDFile=/var/spool/amavis/amavisd-milter.pid
|
||||
ExecStart=/usr/sbin/amavisd-milter
|
||||
ExecReload=/usr/bin/kill -HUP $MAINPID
|
||||
User=vscan
|
||||
Group=vscan
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
71
amavisd-milter.spec
Normal file
71
amavisd-milter.spec
Normal file
@ -0,0 +1,71 @@
|
||||
#
|
||||
# spec file for package amavisd-milter
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: amavisd-milter
|
||||
Version: 1.7.1
|
||||
Release: 0
|
||||
Summary: Sendmail milter for amavisd-new using the AM.PDP protocol
|
||||
License: BSD-3-Clause
|
||||
Group: Productivity/Networking/Security
|
||||
URL: https://github.com/prehor/amavisd-milter
|
||||
Source0: https://github.com/prehor/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
|
||||
Source1: %{name}.service
|
||||
BuildRequires: sendmail-devel >= 8.12.0
|
||||
Requires: amavisd-new
|
||||
Supplements: packageand(amavisd-new:sendmail)
|
||||
Conflicts: %{name} < %{version}
|
||||
%{?systemd_ordering}
|
||||
|
||||
%description
|
||||
The amavisd-milter is a sendmail milter (mail filter) for amavisd-new
|
||||
2.4.3 (and above) and sendmail 8.12 (and above) which use the new AM.PDP
|
||||
protocol.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --localstatedir=%{_localstatedir}/spool/amavis
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
mkdir -p %{buildroot}%{_unitdir}
|
||||
install -m 644 %{SOURCE1} %{buildroot}%{_unitdir}
|
||||
ln -s service %{buildroot}%{_sbindir}/rc%{name}
|
||||
|
||||
%pre
|
||||
%service_add_pre %{name}.service
|
||||
|
||||
%preun
|
||||
%service_del_preun %{name}.service
|
||||
|
||||
%post
|
||||
%service_add_post %{name}.service
|
||||
|
||||
%postun
|
||||
%service_del_postun %{name}.service
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc CHANGES AMAVISD-MILTER.md
|
||||
%{_sbindir}/*
|
||||
%{_unitdir}/*
|
||||
%{_mandir}/man8/%{name}.8%{?ext_man}
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user