comparison dnsbl.spec.in @ 371:df7dc6b2b153

install dnsblnogrey/whiteclnt for dccifd
author Carl Byington <carl@five-ten-sg.com>
date Wed, 08 Feb 2017 10:03:40 -0800
parents 5380552644e2
children aeb4480a2a95
comparison
equal deleted inserted replaced
370:5380552644e2 371:df7dc6b2b153
66 %install 66 %install
67 rm -rf %{buildroot} 67 rm -rf %{buildroot}
68 make DESTDIR=%{buildroot} install 68 make DESTDIR=%{buildroot} install
69 mkdir -p %{buildroot}%{_sysconfdir}/%{name}/autowhite 69 mkdir -p %{buildroot}%{_sysconfdir}/%{name}/autowhite
70 mkdir -p %{buildroot}%{_sysconfdir}/%{name}/.spamassassin 70 mkdir -p %{buildroot}%{_sysconfdir}/%{name}/.spamassassin
71 install -m 644 -D %{buildroot}%{_sysconfdir}/%{name}/dnsblnogrey \
72 %{buildroot}/var/dcc/userdirs/dnsblnogrey/whiteclnt
71 %if "%{?dist}" == ".el7" 73 %if "%{?dist}" == ".el7"
72 install -m 644 -D %{buildroot}%{_sysconfdir}/%{name}/%{name}.service \ 74 install -m 644 -D %{buildroot}%{_sysconfdir}/%{name}/%{name}.service \
73 %{buildroot}%{_unitdir}/%{name}.service 75 %{buildroot}%{_unitdir}/%{name}.service
74 install -m 755 -d %{buildroot}%{_prefix}/lib/tmpfiles.d 76 install -m 755 -d %{buildroot}%{_prefix}/lib/tmpfiles.d
75 install -m 644 %{buildroot}%{_sysconfdir}/%{name}/%{name}-tmpfs.conf \ 77 install -m 644 %{buildroot}%{_sysconfdir}/%{name}/%{name}-tmpfs.conf \
80 %endif 82 %endif
81 mkdir -p %{buildroot}/var/run/%{name} 83 mkdir -p %{buildroot}/var/run/%{name}
82 rm -f %{buildroot}%{_sysconfdir}/%{name}/%{name} 84 rm -f %{buildroot}%{_sysconfdir}/%{name}/%{name}
83 rm -f %{buildroot}%{_sysconfdir}/%{name}/%{name}.service 85 rm -f %{buildroot}%{_sysconfdir}/%{name}/%{name}.service
84 rm -f %{buildroot}%{_sysconfdir}/%{name}/%{name}-tmpfs.conf 86 rm -f %{buildroot}%{_sysconfdir}/%{name}/%{name}-tmpfs.conf
87 rm -f %{buildroot}%{_sysconfdir}/%{name}/dnsblnogrey
85 88
86 89
87 %pre 90 %pre
88 /usr/bin/getent passwd %{name} >/dev/null || /usr/sbin/useradd -r -d %{_sysconfdir}/%{name} -M -c "%{name} pseudo-user" -s /sbin/nologin %{name} >/dev/null 91 /usr/bin/getent passwd %{name} >/dev/null || /usr/sbin/useradd -r -d %{_sysconfdir}/%{name} -M -c "%{name} pseudo-user" -s /sbin/nologin %{name} >/dev/null
89 92
135 %{_mandir}/man1/* 138 %{_mandir}/man1/*
136 %{_mandir}/man5/* 139 %{_mandir}/man5/*
137 %docdir %{_datadir}/doc/%{name}-%{version} 140 %docdir %{_datadir}/doc/%{name}-%{version}
138 %{_datadir}/doc/%{name}-%{version} 141 %{_datadir}/doc/%{name}-%{version}
139 %config(noreplace) %attr(0750,%{name},root) %{_sysconfdir}/%{name} 142 %config(noreplace) %attr(0750,%{name},root) %{_sysconfdir}/%{name}
143 %config(noreplace) %attr(0644,root,root) /var/dcc/userdirs/dnsblnogrey/whiteclnt
140 %if "%{?dist}" == ".el7" 144 %if "%{?dist}" == ".el7"
141 %{_prefix}/lib/tmpfiles.d/%{name}.conf 145 %{_prefix}/lib/tmpfiles.d/%{name}.conf
142 %{_unitdir}/%{name}.service 146 %{_unitdir}/%{name}.service
143 %else 147 %else
144 %{_initrddir}/%{name} 148 %{_initrddir}/%{name}
145 %endif 149 %endif
146 %dir %attr(0750,%{name},root) /var/run/%{name} 150 %dir %attr(0750,%{name},root) /var/run/%{name}
147 151
148 152
149 %changelog 153 %changelog
150 * Tue Feb 07 2017 Carl Byington <carl@five-ten-sg.com> - 6.49-1 154 * Wed Feb 08 2017 Carl Byington <carl@five-ten-sg.com> - 6.49-1
151 - RHEL7 systemd and /var/run is on tmpfs 155 - RHEL7 systemd and /var/run is on tmpfs
156 - install dnsblnogrey/whiteclnt for dccifd
152 157
153 * Tue Dec 20 2016 Carl Byington <carl@five-ten-sg.com> - 6.48-1 158 * Tue Dec 20 2016 Carl Byington <carl@five-ten-sg.com> - 6.48-1
154 - allow dkim whitelisting. 159 - allow dkim whitelisting.
155 160
156 * Wed Sep 21 2016 Carl Byington <carl@five-ten-sg.com> - 6.47-1 161 * Wed Sep 21 2016 Carl Byington <carl@five-ten-sg.com> - 6.47-1