package created using the webbuild interface [release 1.7.2-1mamba;Sat Jan 28 2023]
This commit is contained in:
parent
6aeb351641
commit
da0a629d8b
@ -1,2 +1,4 @@
|
||||
# amavisd-milter
|
||||
|
||||
Milter interface for the amavis spam filter engine.
|
||||
|
||||
|
18
amavisd-milter.service
Normal file
18
amavisd-milter.service
Normal file
@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=Amavisd Milter
|
||||
Wants=amavisd.service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
PIDFile=/run/amavisd-milter/pid
|
||||
Type=simple
|
||||
User=vscan
|
||||
Group=vscan
|
||||
UMask=0007
|
||||
RuntimeDirectory=amavisd-milter
|
||||
RuntimeDirectoryMode=750
|
||||
ExecStart=/usr/bin/amavisd-milter -f -p /run/amavisd-milter/pid -s unix:/run/amavisd-milter/socket -w /var/amavis/tmp -S /var/amavis/amavisd.sock -m 2
|
||||
PrivateTmp=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
64
amavisd-milter.spec
Normal file
64
amavisd-milter.spec
Normal file
@ -0,0 +1,64 @@
|
||||
Name: amavisd-milter
|
||||
Version: 1.7.2
|
||||
Release: 1mamba
|
||||
Summary: Milter interface for the amavis spam filter engine
|
||||
Group: System/Servers
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://github.com/prehor/amavisd-milter
|
||||
Source: https://github.com/prehor/amavisd-milter/releases/download/%{version}/amavisd-milter-%{version}.tar.gz
|
||||
#Source: https://github.com/prehor/amavisd-milter.git/%{version}/amavisd-milter-%{version}.tar.bz2
|
||||
Source1: amavisd-milter.service
|
||||
License: BSD
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libmilter-devel
|
||||
Requires: amavisd-new
|
||||
|
||||
%description
|
||||
Milter interface for the amavis spam filter engine.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--localstatedir=/var/amavis
|
||||
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
|
||||
install -D -m0755 %{SOURCE1} %{buildroot}%{_unitdir}/amavisd-milter.service
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%preun
|
||||
%systemd_preun amavisd-milter
|
||||
:
|
||||
|
||||
%post
|
||||
%systemd_post amavisd-milter
|
||||
:
|
||||
|
||||
%postun
|
||||
%systemd_postun_with_restart amavisd-milter
|
||||
:
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_sbindir}/amavisd-milter
|
||||
%{_unitdir}/amavisd-milter.service
|
||||
%{_mandir}/man8/amavisd-milter.8*
|
||||
%doc LICENSE
|
||||
|
||||
%changelog
|
||||
* Sat Jan 28 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.2-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user