Hello community,
here is the log from the commit of package yast2-mail for openSUSE:12.1:Update:Test checked in at 2012-01-03 17:45:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.1:Update:Test/yast2-mail (Old)
and /work/SRC/openSUSE:12.1:Update:Test/.yast2-mail.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-mail", Maintainer is "varkoly@suse.com"
Changes:
--------
--- /work/SRC/openSUSE:12.1:Update:Test/yast2-mail/yast2-mail.changes 2012-01-03 17:45:15.000000000 +0100
+++ /work/SRC/openSUSE:12.1:Update:Test/.yast2-mail.new/yast2-mail.changes 2012-01-03 17:45:17.000000000 +0100
@@ -1,0 +2,11 @@
+Fri Nov 4 11:28:24 UTC 2011 - varkoly@suse.com
+
+- FATE#311272: Do not rewrite postfix.cf via SuSEconfig
+- FATE#310517: DKIM and DomainKeys support
+
+-------------------------------------------------------------------
+Wed Oct 26 07:33:05 UTC 2011 - varkoly@suse.com
+
+- bnc#723742 - SLES11_SP2_LOC : The 'No Outgoing Mail' radio button can't check in Mail server global settings panel!
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-mail.spec ++++++
--- /var/tmp/diff_new_pack.w86rCs/_old 2012-01-03 17:45:17.000000000 +0100
+++ /var/tmp/diff_new_pack.w86rCs/_new 2012-01-03 17:45:17.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package yast2-mail
#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -23,12 +23,12 @@
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-mail-%{version}.tar.bz2
+Source0: yast2-mail-2.21.1.tar.bz2
Prefix: /usr
Group: System/YaST
-License: GPLv2+
+License: GPL-2.0+
BuildRequires: perl-XML-Writer update-desktop-files yast2-devtools yast2-testsuite
BuildRequires: yast2-ldap-server yast2-network yast2-perl-bindings yast2-users
BuildRequires: perl-NetxAP
@@ -70,7 +70,7 @@
configuration.
%prep
-%setup -n yast2-mail-%{version}
+%setup -n yast2-mail-2.21.1
%build
%{prefix}/bin/y2tool y2autoconf
@@ -145,6 +145,7 @@
/usr/lib/YaST2/servers_non_y2/ag_smtp_auth
/usr/lib/YaST2/servers_non_y2/CyrusConfParser.pm
/usr/lib/YaST2/servers_non_y2/MasterCFParser.pm
+%attr(0755,root,root) /usr/lib/YaST2/servers_non_y2/setup_dkim_verifying.pl
%dir /etc/openldap/
%dir /etc/openldap/schema/
++++++ yast2-mail-2.21.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-mail-2.21.1/Makefile.am new/yast2-mail-2.21.1/Makefile.am
--- old/yast2-mail-2.21.1/Makefile.am 2011-10-04 10:35:18.000000000 +0200
+++ new/yast2-mail-2.21.1/Makefile.am 2011-07-28 10:32:52.000000000 +0200
@@ -20,6 +20,7 @@
IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME))
DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools)
+ALL_PACKAGES = $(DEVTOOLS_DIR)/admin/all-packages
LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl)
COPYRIGHT_files_gpl = README COPYING
@@ -154,7 +155,7 @@
$(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \
done
-package: check-up-to-date check-tagversion check-textdomain package-local
+package: check-up-to-date check-tagversion check-all-packages check-textdomain package-local
TAGVERSION = $(Y2TOOL) tagversion
@@ -184,6 +185,21 @@
check-parse:
@echo "Not running parseycp."
+check-all-packages:
+ @if [ ! -e "$(ALL_PACKAGES)" ]; then \
+ echo ERROR: "Can't find $(ALL_PACKAGES)"; false; \
+ fi
+ @if ! grep -q "^$(RPMNAME)[[:space:]]" $(ALL_PACKAGES); then \
+ echo ERROR: "$(RPMNAME) not in $(ALL_PACKAGES)"; false; \
+ fi
+ @if grep -q "^$(RPMNAME)[[:space:]]\+.*?" $(ALL_PACKAGES); then \
+ echo ERROR: "$(RPMNAME) info in $(ALL_PACKAGES) contains some unknown (?) fields:"; \
+ echo; \
+ grep "^$(RPMNAME)[[:space:]]\+.*?" $(ALL_PACKAGES); \
+ echo; \
+ false; \
+ fi
+
check-textdomain:
$(Y2TOOL) check-textdomain $(srcdir)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-mail-2.21.1/Makefile.in new/yast2-mail-2.21.1/Makefile.in
--- old/yast2-mail-2.21.1/Makefile.in 2011-10-04 10:35:21.000000000 +0200
+++ new/yast2-mail-2.21.1/Makefile.in 2011-07-28 10:32:55.000000000 +0200
@@ -263,6 +263,7 @@
# do we do Makefile.am for devtools? It is a little special...
IS_DEVTOOLS = $(findstring yast2-devtools,$(RPMNAME))
DEVTOOLS_DIR = $(if $(IS_DEVTOOLS),$(srcdir)/devtools,$(Y2DEVTOOLS_PREFIX)/share/YaST2/data/devtools)
+ALL_PACKAGES = $(DEVTOOLS_DIR)/admin/all-packages
LEGALESE_DIR = $(if $(HAS_YAST_LICENSE),$(DEVTOOLS_DIR)/admin/copyright/yast,$(DEVTOOLS_DIR)/admin/copyright/gpl)
COPYRIGHT_files_gpl = README COPYING
COPYRIGHT_files_yast = YAST_LICENSE README COPYING COPYRIGHT.english \
@@ -903,7 +904,7 @@
$(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \
done
-package: check-up-to-date check-tagversion check-textdomain package-local
+package: check-up-to-date check-tagversion check-all-packages check-textdomain package-local
check-up-to-date check-cvs-up-to-date check-svn-up-to-date:
if [ -d $(srcdir)/CVS ]; then \
@@ -931,6 +932,21 @@
check-parse:
@echo "Not running parseycp."
+check-all-packages:
+ @if [ ! -e "$(ALL_PACKAGES)" ]; then \
+ echo ERROR: "Can't find $(ALL_PACKAGES)"; false; \
+ fi
+ @if ! grep -q "^$(RPMNAME)[[:space:]]" $(ALL_PACKAGES); then \
+ echo ERROR: "$(RPMNAME) not in $(ALL_PACKAGES)"; false; \
+ fi
+ @if grep -q "^$(RPMNAME)[[:space:]]\+.*?" $(ALL_PACKAGES); then \
+ echo ERROR: "$(RPMNAME) info in $(ALL_PACKAGES) contains some unknown (?) fields:"; \
+ echo; \
+ grep "^$(RPMNAME)[[:space:]]\+.*?" $(ALL_PACKAGES); \
+ echo; \
+ false; \
+ fi
+
check-textdomain:
$(Y2TOOL) check-textdomain $(srcdir)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-mail-2.21.1/agents/Makefile.am new/yast2-mail-2.21.1/agents/Makefile.am
--- old/yast2-mail-2.21.1/agents/Makefile.am 2011-10-04 10:34:51.000000000 +0200
+++ new/yast2-mail-2.21.1/agents/Makefile.am 2011-10-26 09:33:42.000000000 +0200
@@ -1,13 +1,13 @@
#
# Makefile.am for y2c_mail/agents
#
-# $Id: Makefile.am 38214 2007-05-30 18:57:59Z varkoly $
+# $Id: Makefile.am 66587 2011-10-26 07:33:40Z varkoly $
#
agent_SCRIPTS = ag_fetchmailrc \
ag_smtp_auth \
ag_mailtable \
- \
+ setup_dkim_verifying.pl \
ag_mailconfig \
ag_postfix_mastercf \
MasterCFParser.pm \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-mail-2.21.1/agents/Makefile.in new/yast2-mail-2.21.1/agents/Makefile.in
--- old/yast2-mail-2.21.1/agents/Makefile.in 2011-10-04 10:35:21.000000000 +0200
+++ new/yast2-mail-2.21.1/agents/Makefile.in 2011-11-03 17:15:00.000000000 +0100
@@ -18,7 +18,7 @@
#
# Makefile.am for y2c_mail/agents
#
-# $Id: Makefile.am 38214 2007-05-30 18:57:59Z varkoly $
+# $Id: Makefile.am 66587 2011-10-26 07:33:40Z varkoly $
#
@@ -203,7 +203,7 @@
agent_SCRIPTS = ag_fetchmailrc \
ag_smtp_auth \
ag_mailtable \
- \
+ setup_dkim_verifying.pl \
ag_mailconfig \
ag_postfix_mastercf \
MasterCFParser.pm \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-mail-2.21.1/agents/setup_dkim_verifying.pl new/yast2-mail-2.21.1/agents/setup_dkim_verifying.pl
--- old/yast2-mail-2.21.1/agents/setup_dkim_verifying.pl 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-mail-2.21.1/agents/setup_dkim_verifying.pl 2011-07-28 10:22:44.000000000 +0200
@@ -0,0 +1,190 @@
+#!/usr/bin/perl
+
+BEGIN { push @INC, "/usr/lib/YaST2/servers_non_y2"; }
+
+use strict;
+use MasterCFParser;
+my $DOMAIN=`postconf -h mydomain`;
+chomp $DOMAIN;
+
+if( ! "$DOMAIN" ) {
+ print "Bad postfix configuration. mydomain can not be detected";
+ exit 1;
+}
+
+#Generate the key
+if( ! -e "/var/db/dkim/$DOMAIN.pem" ){
+ print "Creating /var/db/dkim/$DOMAIN.pem\n";
+ system( "mkdir -p /var/db/dkim/; amavisd genrsa /var/db/dkim/$DOMAIN.pem;");
+}
+
+#Introduce key into /etc/amavisd.conf
+my $amavisd = "";
+my $enable_dkim_signing = 0;
+open IN, "/etc/amavisd.conf";
+print OUT $amavisd;
+close OUT;
+
+#Now we adapt master.cf
+my $msc = new MasterCFParser();
+$msc->readMasterCF();
+
+if( ! $msc->serviceExists( { service => 'submission' , command => 'smtpd' } ))
+{
+ if( $msc->addService( { 'service' => 'submission',
+ 'type' => 'inet',
+ 'private' => 'n',
+ 'unpriv' => '-',
+ 'chroot' => 'n',
+ 'wakeup' => '-',
+ 'maxproc' => '-',
+ 'command' => 'smtpd',
+ 'options' => { 'content_filte' => 'amavis:[127.0.0.1]:10026',
+ 'smtpd_recipient_restrictions' => 'permit_sasl_authenticated,permit_mynetworks,reject' }
+ }) )
+ {
+ print "ERROR in addService()\n";
+ }
+}
+else
+{
+ if( $msc->modifyService( { 'service' => 'submission',
+ 'type' => 'inet',
+ 'private' => 'n',
+ 'unpriv' => '-',
+ 'chroot' => 'n',
+ 'wakeup' => '-',
+ 'maxproc' => '-',
+ 'command' => 'smtpd',
+ 'options' => { 'content_filte' => 'amavis:[127.0.0.1]:10026',
+ 'smtpd_recipient_restrictions' => 'permit_sasl_authenticated,permit_mynetworks,reject' }
+ }) )
+ {
+ print "ERROR in modifyService()\n";
+ }
+}
+
+$msc->writeMasterCF();
+#!/usr/bin/perl
+
+BEGIN { push @INC, "/usr/lib/YaST2/servers_non_y2"; }
+
+use strict;
+use MasterCFParser;
+my $DOMAIN=`postconf -h mydomain`;
+chomp $DOMAIN;
+
+if( ! "$DOMAIN" ) {
+ print "Bad postfix configuration. mydomain can not be detected";
+ exit 1;
+}
+
+#Generate the key
+if( ! -e "/var/db/dkim/$DOMAIN.pem" ){
+ print "Creating /var/db/dkim/$DOMAIN.pem\n";
+ system( "mkdir -p /var/db/dkim/; amavisd genrsa /var/db/dkim/$DOMAIN.pem");
+}
+
+#Introduce key into /etc/amavisd.conf
+my $amavisd = "";
+my $enable_dkim_signing = 0;
+open IN, "/etc/amavisd.conf";
+print OUT $amavisd;
+close OUT;
+
+#Now we adapt master.cf
+my $msc = new MasterCFParser();
+$msc->readMasterCF();
+
+if( ! $msc->serviceExists( { service => 'submission' , command => 'smtpd' } ))
+{
+ if( $msc->addService( { 'service' => 'submission',
+ 'type' => 'inet',
+ 'private' => 'n',
+ 'unpriv' => '-',
+ 'chroot' => 'n',
+ 'wakeup' => '-',
+ 'maxproc' => '-',
+ 'command' => 'smtpd',
+ 'options' => { 'content_filte' => 'amavis:[127.0.0.1]:10026',
+ 'smtpd_recipient_restrictions' => 'permit_sasl_authenticated,permit_mynetworks,reject' }
+ }) )
+ {
+ print "ERROR in addService()\n";
+ }
+}
+else
+{
+ if( $msc->modifyService( { 'service' => 'submission',
+ 'type' => 'inet',
+ 'private' => 'n',
+ 'unpriv' => '-',
+ 'chroot' => 'n',
+ 'wakeup' => '-',
+ 'maxproc' => '-',
+ 'command' => 'smtpd',
+ 'options' => { 'content_filte' => 'amavis:[127.0.0.1]:10026',
+ 'smtpd_recipient_restrictions' => 'permit_sasl_authenticated,permit_mynetworks,reject' }
+ }) )
+ {
+ print "ERROR in modifyService()\n";
+ }
+}
+
+$msc->wramavisiteMasterCF();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-mail-2.21.1/configure new/yast2-mail-2.21.1/configure
--- old/yast2-mail-2.21.1/configure 2011-10-04 10:35:20.000000000 +0200
+++ new/yast2-mail-2.21.1/configure 2011-07-28 10:32:55.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for yast2-mail 2.21.1.
+# Generated by GNU Autoconf 2.68 for yast2-mail 2.20.0.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -559,8 +559,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-mail'
PACKAGE_TARNAME='yast2-mail'
-PACKAGE_VERSION='2.21.1'
-PACKAGE_STRING='yast2-mail 2.21.1'
+PACKAGE_VERSION='2.20.0'
+PACKAGE_STRING='yast2-mail 2.20.0'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
PACKAGE_URL=''
@@ -1231,7 +1231,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures yast2-mail 2.21.1 to adapt to many kinds of systems.
+\`configure' configures yast2-mail 2.20.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1302,7 +1302,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-mail 2.21.1:";;
+ short | recursive ) echo "Configuration of yast2-mail 2.20.0:";;
esac
cat <<\_ACEOF
@@ -1382,7 +1382,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-mail configure 2.21.1
+yast2-mail configure 2.20.0
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
@@ -1399,7 +1399,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by yast2-mail $as_me 2.21.1, which was
+It was created by yast2-mail $as_me 2.20.0, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
@@ -2329,7 +2329,7 @@
# Define the identity of the package.
PACKAGE='yast2-mail'
- VERSION='2.21.1'
+ VERSION='2.20.0'
cat >>confdefs.h <<_ACEOF
@@ -2451,7 +2451,7 @@
-VERSION="2.21.1"
+VERSION="2.20.0"
RPMNAME="yast2-mail"
MAINTAINER="Peter Varkoly