Переглянути джерело

Ported from snf-milter .spec files.


git-svn-id: https://svn.microneil.com/svn/PKG-SNF-CS-NIX/trunk@76 233e721a-07f6-49eb-a7da-05e0e16828fc
master
adeniz 11 роки тому
джерело
коміт
3c89381ce0

+ 9
- 8
SNF_CS_Developer_Package/snf-server-postfix.spec.in Переглянути файл

@@ -7,7 +7,7 @@
#
# 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.
#
#############################################################################
@@ -28,7 +28,7 @@ Release: 1
License: Artistic
Group: System Environment/Daemons
BuildArch: noarch
Summary: ARM Research Labs SNF milter
Summary: ARM Research Labs Sniffer integration with postfix.

#%define manifest %{_builddir}/%{name}-%{version}-%{release}.manifest

@@ -36,11 +36,11 @@ Summary: ARM Research Labs SNF milter
Vendor: ARM Research Labs, Inc.
URL: http://www.armresearch.com/

Requires: snf-milter
Requires: snf-server
Requires: postfix

%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
postfix) that does spam detection and IP address scanning.
@PACKAGE_NAME@-postfix must be installed after @PACKAGE_NAME@.
@@ -49,15 +49,16 @@ postfix) that does spam detection and IP address scanning.

%post
# Integrate with postfix.
/usr/sbin/SNFMilterConfig -with=postfix
/usr/sbin/SNFServerConfig -with=postfix

%preun
# Remove configuration with postfix.
/usr/sbin/SNFMilterConfig -with=none
/usr/sbin/SNFServerConfig -with=none

%files
%defattr(-,root,root)

%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.

+ 6
- 6
SNF_CS_Developer_Package/snf-server-sendmail.spec.in Переглянути файл

@@ -7,7 +7,7 @@
#
# 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.
#
#############################################################################
@@ -28,7 +28,7 @@ Release: 1
License: Artistic
Group: System Environment/Daemons
BuildArch: noarch
Summary: ARM Research Labs SNF milter
Summary: ARM Research Labs Sniffer integration with sendmail.

#%define manifest %{_builddir}/%{name}-%{version}-%{release}.manifest

@@ -36,11 +36,11 @@ Summary: ARM Research Labs SNF milter
Vendor: ARM Research Labs, Inc.
URL: http://www.armresearch.com/

Requires: snf-milter
Requires: snf-server
Requires: sendmail

%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
postfix) that does spam detection and IP address scanning.
@PACKAGE_NAME@-sendmail must be installed after @PACKAGE_NAME@.
@@ -49,11 +49,11 @@ postfix) that does spam detection and IP address scanning.

%post
# Integrate with sendmail.
/usr/sbin/SNFMilterConfig -with=sendmail
/usr/sbin/SNFServerConfig -with=sendmail

%preun
# Remove configuration with sendmail.
/usr/sbin/SNFMilterConfig -with=none
/usr/sbin/SNFServerConfig -with=none

%files
%defattr(-,root,root)

+ 1
- 1
SNF_CS_Developer_Package/snf-server.spec.in Переглянути файл

@@ -33,7 +33,7 @@ Version: @VERSION@
Release: 1
License: Artistic
Group: System Environment/Daemons
Summary: ARM Research Labs SNF milter
Summary: ARM Research Labs Sniffer.

%define manifest %{_builddir}/%{name}-%{version}-%{release}.manifest


Завантаження…
Відмінити
Зберегти