git-svn-id: https://svn.microneil.com/svn/PKG-SNF-CS-NIX/trunk@76 233e721a-07f6-49eb-a7da-05e0e16828fcmaster
# | # | ||||
# Author: Alban Deniz | # Author: Alban Deniz | ||||
# | # | ||||
# Copyright (C) 2012 ARM Research Labs, LLC. | |||||
# Copyright (C) 2013 ARM Research Labs, LLC. | |||||
# See www.armresearch.com for the copyright terms. | # See www.armresearch.com for the copyright terms. | ||||
# | # | ||||
############################################################################# | ############################################################################# | ||||
License: Artistic | License: Artistic | ||||
Group: System Environment/Daemons | Group: System Environment/Daemons | ||||
BuildArch: noarch | BuildArch: noarch | ||||
Summary: ARM Research Labs SNF milter | |||||
Summary: ARM Research Labs Sniffer integration with postfix. | |||||
#%define manifest %{_builddir}/%{name}-%{version}-%{release}.manifest | #%define manifest %{_builddir}/%{name}-%{version}-%{release}.manifest | ||||
Vendor: ARM Research Labs, Inc. | Vendor: ARM Research Labs, Inc. | ||||
URL: http://www.armresearch.com/ | URL: http://www.armresearch.com/ | ||||
Requires: snf-milter | |||||
Requires: snf-server | |||||
Requires: postfix | Requires: postfix | ||||
%description | %description | ||||
@PACKAGE_NAME@-postfix integrates snf-milter with postfix. snf-milter | |||||
@PACKAGE_NAME@-postfix integrates snf-server with postfix. snf-server | |||||
is a plug-in for an MTA (Mail Transport Agent, such as sendmail or | is a plug-in for an MTA (Mail Transport Agent, such as sendmail or | ||||
postfix) that does spam detection and IP address scanning. | postfix) that does spam detection and IP address scanning. | ||||
@PACKAGE_NAME@-postfix must be installed after @PACKAGE_NAME@. | @PACKAGE_NAME@-postfix must be installed after @PACKAGE_NAME@. | ||||
%post | %post | ||||
# Integrate with postfix. | # Integrate with postfix. | ||||
/usr/sbin/SNFMilterConfig -with=postfix | |||||
/usr/sbin/SNFServerConfig -with=postfix | |||||
%preun | %preun | ||||
# Remove configuration with postfix. | # Remove configuration with postfix. | ||||
/usr/sbin/SNFMilterConfig -with=none | |||||
/usr/sbin/SNFServerConfig -with=none | |||||
%files | %files | ||||
%defattr(-,root,root) | %defattr(-,root,root) | ||||
%changelog | %changelog | ||||
* Sat Sep 22 2012 Alban Deniz - 1.0.4-1 | |||||
- Initial version | |||||
%changelog | |||||
* Sat Jan 05 2013 Alban Deniz - 3.0.14-1 | |||||
- Initial version, copied from snf-milter-postfix.spec. |
# | # | ||||
# Author: Alban Deniz | # Author: Alban Deniz | ||||
# | # | ||||
# Copyright (C) 2012 ARM Research Labs, LLC. | |||||
# Copyright (C) 2013 ARM Research Labs, LLC. | |||||
# See www.armresearch.com for the copyright terms. | # See www.armresearch.com for the copyright terms. | ||||
# | # | ||||
############################################################################# | ############################################################################# | ||||
License: Artistic | License: Artistic | ||||
Group: System Environment/Daemons | Group: System Environment/Daemons | ||||
BuildArch: noarch | BuildArch: noarch | ||||
Summary: ARM Research Labs SNF milter | |||||
Summary: ARM Research Labs Sniffer integration with sendmail. | |||||
#%define manifest %{_builddir}/%{name}-%{version}-%{release}.manifest | #%define manifest %{_builddir}/%{name}-%{version}-%{release}.manifest | ||||
Vendor: ARM Research Labs, Inc. | Vendor: ARM Research Labs, Inc. | ||||
URL: http://www.armresearch.com/ | URL: http://www.armresearch.com/ | ||||
Requires: snf-milter | |||||
Requires: snf-server | |||||
Requires: sendmail | Requires: sendmail | ||||
%description | %description | ||||
@PACKAGE_NAME@-sendmail integrates snf-milter with sendmail. snf-milter | |||||
@PACKAGE_NAME@-sendmail integrates snf-server with sendmail. snf-server | |||||
is a plug-in for an MTA (Mail Transport Agent, such as sendmail or | is a plug-in for an MTA (Mail Transport Agent, such as sendmail or | ||||
postfix) that does spam detection and IP address scanning. | postfix) that does spam detection and IP address scanning. | ||||
@PACKAGE_NAME@-sendmail must be installed after @PACKAGE_NAME@. | @PACKAGE_NAME@-sendmail must be installed after @PACKAGE_NAME@. | ||||
%post | %post | ||||
# Integrate with sendmail. | # Integrate with sendmail. | ||||
/usr/sbin/SNFMilterConfig -with=sendmail | |||||
/usr/sbin/SNFServerConfig -with=sendmail | |||||
%preun | %preun | ||||
# Remove configuration with sendmail. | # Remove configuration with sendmail. | ||||
/usr/sbin/SNFMilterConfig -with=none | |||||
/usr/sbin/SNFServerConfig -with=none | |||||
%files | %files | ||||
%defattr(-,root,root) | %defattr(-,root,root) |
Release: 1 | Release: 1 | ||||
License: Artistic | License: Artistic | ||||
Group: System Environment/Daemons | Group: System Environment/Daemons | ||||
Summary: ARM Research Labs SNF milter | |||||
Summary: ARM Research Labs Sniffer. | |||||
%define manifest %{_builddir}/%{name}-%{version}-%{release}.manifest | %define manifest %{_builddir}/%{name}-%{version}-%{release}.manifest | ||||