openSUSE Commits
Threads by month
- ----- 2024 -----
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
September 2014
- 1 participants
- 1675 discussions
Hello community,
here is the log from the commit of package openldap2 for openSUSE:Factory checked in at 2014-09-24 13:09:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openldap2 (Old)
and /work/SRC/openSUSE:Factory/.openldap2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openldap2"
Changes:
--------
--- /work/SRC/openSUSE:Factory/openldap2/openldap2-client.changes 2014-06-19 13:07:52.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.openldap2.new/openldap2-client.changes 2014-09-24 13:09:08.000000000 +0200
@@ -1,0 +2,11 @@
+Wed Sep 3 01:49:12 CEST 2014 - ro(a)suse.de
+
+- sanitize release line in specfile
+
+-------------------------------------------------------------------
+Wed Jul 16 15:56:11 UTC 2014 - ckornacker(a)suse.com
+
+- segfault on certain queries with rwm overlay (bnc#846389)
+ 0008-ITS-7723-fix-reference-counting.patch
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/openldap2/openldap2.changes 2014-06-19 13:07:52.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.openldap2.new/openldap2.changes 2014-09-24 13:09:08.000000000 +0200
@@ -1,0 +2,16 @@
+Mon Sep 22 13:41:56 UTC 2014 - tchvatal(a)suse.com
+
+- Add baselibs.conf to sources list
+
+-------------------------------------------------------------------
+Wed Sep 3 01:49:12 CEST 2014 - ro(a)suse.de
+
+- sanitize release line in specfile
+
+-------------------------------------------------------------------
+Wed Jul 16 15:56:11 UTC 2014 - ckornacker(a)suse.com
+
+- segfault on certain queries with rwm overlay (bnc#846389)
+ 0008-ITS-7723-fix-reference-counting.patch
+
+-------------------------------------------------------------------
New:
----
0008-ITS-7723-fix-reference-counting.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ openldap2-client.spec ++++++
--- /var/tmp/diff_new_pack.bWOR0i/_old 2014-09-24 13:09:09.000000000 +0200
+++ /var/tmp/diff_new_pack.bWOR0i/_new 2014-09-24 13:09:09.000000000 +0200
@@ -77,6 +77,7 @@
Patch5: 0005-pie-compile.dif
Patch6: 0006-No-Build-date-and-time-in-binaries.dif
Patch7: 0007-Recover-on-DB-version-change.dif
+Patch8: 0008-ITS-7723-fix-reference-counting.patch
Patch100: openldap-2.3.37.dif
Patch101: openldap-2.3.37-libldap-suid.diff
Patch102: openldap-2.3.37-libldap-ldapi_url.dif
@@ -149,7 +150,7 @@
License: BSD-3-Clause and OLDAP-2.8 and OLDAP-2.8
Group: Productivity/Networking/LDAP/Clients
Version: 2.3.37
-Release: 2.<RELEASE22>
+Release: 0
%description -n compat-libldap-2_3-0
This package contains the OpenLDAP client libraries.
@@ -216,6 +217,7 @@
%patch5 -p1
%patch6 -p1
%patch7 -p1
+%patch8 -p1
cp %{SOURCE5} .
cp %{SOURCE6} .
cd ../openldap-2.3.37
@@ -554,7 +556,7 @@
cp -p --remove-destination /etc/openldap/schema/* $TEMPDIR
echo $TEMPDIR > /etc/openldap/UPDATE_NEEDED ;
fi
-if chkconfig ldap 2>&1 | grep -q on; then
+if /usr/bin/chkconfig ldap 2>&1 | grep -q on; then
touch /var/run/enable_slapd_service
fi
%service_add_pre slapd.service
++++++ openldap2.spec ++++++
--- /var/tmp/diff_new_pack.bWOR0i/_old 2014-09-24 13:09:09.000000000 +0200
+++ /var/tmp/diff_new_pack.bWOR0i/_new 2014-09-24 13:09:09.000000000 +0200
@@ -69,6 +69,7 @@
Source5: README.update
Source6: README.dynamic-overlays
Source7: schema2ldif
+Source8: baselibs.conf
Source100: openldap-2.3.37.tgz
Patch1: 0001-build-adjustments.dif
Patch2: 0002-slapd.conf.dif
@@ -77,6 +78,7 @@
Patch5: 0005-pie-compile.dif
Patch6: 0006-No-Build-date-and-time-in-binaries.dif
Patch7: 0007-Recover-on-DB-version-change.dif
+Patch8: 0008-ITS-7723-fix-reference-counting.patch
Patch100: openldap-2.3.37.dif
Patch101: openldap-2.3.37-libldap-suid.diff
Patch102: openldap-2.3.37-libldap-ldapi_url.dif
@@ -149,7 +151,7 @@
License: BSD-3-Clause and OLDAP-2.8 and OLDAP-2.8
Group: Productivity/Networking/LDAP/Clients
Version: 2.3.37
-Release: 2.<RELEASE22>
+Release: 0
%description -n compat-libldap-2_3-0
This package contains the OpenLDAP client libraries.
@@ -216,6 +218,7 @@
%patch5 -p1
%patch6 -p1
%patch7 -p1
+%patch8 -p1
cp %{SOURCE5} .
cp %{SOURCE6} .
cd ../openldap-2.3.37
++++++ 0008-ITS-7723-fix-reference-counting.patch ++++++
>From 742d3e4a6a1f62c3c3ae1e9341f3615b4705a701 Mon Sep 17 00:00:00 2001
From: Jan Synacek <jsynacek(a)redhat.com>
Date: Wed, 13 Nov 2013 09:06:54 +0100
Subject: [PATCH] ITS#7723 fix reference counting
---
libraries/librewrite/session.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libraries/librewrite/session.c b/libraries/librewrite/session.c
index 28f2551..7c59d14 100644
--- a/libraries/librewrite/session.c
+++ b/libraries/librewrite/session.c
@@ -161,6 +161,7 @@ rewrite_session_find(
#ifdef USE_REWRITE_LDAP_PVT_THREADS
if ( session ) {
ldap_pvt_thread_mutex_lock( &session->ls_mutex );
+ session->ls_count++;
}
ldap_pvt_thread_rdwr_runlock( &info->li_cookies_mutex );
#endif /* USE_REWRITE_LDAP_PVT_THREADS */
@@ -178,6 +179,7 @@ rewrite_session_return(
)
{
assert( session != NULL );
+ session->ls_count--;
ldap_pvt_thread_mutex_unlock( &session->ls_mutex );
}
--
1.8.3.1
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package cronie for openSUSE:Factory checked in at 2014-09-24 13:09:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cronie (Old)
and /work/SRC/openSUSE:Factory/.cronie.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cronie"
Changes:
--------
--- /work/SRC/openSUSE:Factory/cronie/cronie.changes 2014-09-12 11:19:12.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.cronie.new/cronie.changes 2014-09-24 13:09:06.000000000 +0200
@@ -1,0 +2,8 @@
+Mon Sep 22 09:39:02 UTC 2014 - kstreitova(a)suse.com
+
+ - fixes bnc#833240: the first occurance of "/etc/anacrontab"
+replaced with "/etc/crontab" in the manpage file
+ - version updated to 1.4.12
+ * various small bugfixes
+
+-------------------------------------------------------------------
Old:
----
cronie-1.4.11.tar.gz
New:
----
cronie-1.4.12.tar.gz
fix-manpage-replace-anacrontab-with-crontab.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ cronie.spec ++++++
--- /var/tmp/diff_new_pack.TyHtCc/_old 2014-09-24 13:09:07.000000000 +0200
+++ /var/tmp/diff_new_pack.TyHtCc/_new 2014-09-24 13:09:07.000000000 +0200
@@ -19,7 +19,7 @@
# 3 : we don't need to do something with /etc/sysconfig/cron for now
%define cron_configs \{%{_sysconfdir}/pam.d/crond,%{_sysconfdir}/crontab,%{_sysconfdir}/cron.deny,%{_sysconfdir}/omc/srvinfo.d/cron.xml\}
Name: cronie
-Version: 1.4.11
+Version: 1.4.12
Release: 0
Summary: Cron Daemon
License: BSD-3-Clause and GPL-2.0 and MIT
@@ -48,6 +48,9 @@
Patch8: cronie-anacron-1.4.7-run-crons.patch
Patch10: cronie-nofork-nopid.patch
Patch12: cronie-piddir.patch
+# PATCH-FIX-SUSE the first occurance of "/etc/anacrontab" was replaced by "/etc/crontab"
+# in manpage file because the /etc/crontab is still used in SUSE.
+Patch13: fix-manpage-replace-anacrontab-with-crontab.patch
BuildRequires: audit-devel
BuildRequires: libselinux-devel
BuildRequires: pam-devel
@@ -104,6 +107,7 @@
cp %{SOURCE7} ./cron_to_cronie.README
%patch10
%patch12 -p1
+%patch13 -p1
%build
# fill macro CRON_VERSION it is used in top three lines of crontab file,should be reworked
++++++ cronie-1.4.11.tar.gz -> cronie-1.4.12.tar.gz ++++++
++++ 4848 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/cronie-1.4.11/COPYING new/cronie-1.4.12/COPYING
--- old/cronie-1.4.11/COPYING 2013-07-18 14:27:08.000000000 +0200
+++ new/cronie-1.4.12/COPYING 2014-09-17 14:13:44.000000000 +0200
@@ -76,3 +76,342 @@
*
* @(#)bitstring.h 8.1 (Berkeley) 7/19/93
*/
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/cronie-1.4.11/ChangeLog new/cronie-1.4.12/ChangeLog
--- old/cronie-1.4.11/ChangeLog 2013-07-18 15:23:19.000000000 +0200
+++ new/cronie-1.4.12/ChangeLog 2014-09-17 15:00:12.000000000 +0200
@@ -1,3 +1,114 @@
+2014-09-17 Marcela Mašláňová <mmaslano(a)redhat.com>
+
+ * contrib/cronie.systemd: Services must be running before starting
+ crond, otherwise many jobs is not running properly for no obvious
+ reason. nss-user-lookup.target should help when people are authenticated
+ through nss/sssd. Based on: https://bugzilla.redhat.com/show_bug.cgi?id=1067236
+
+2014-07-30 Marcela Mašláňová <mmaslano(a)redhat.com>
+
+ * src/cron.c: More logging when getpwnam fails. Based on: rhbz#1123984 Signed-off-by: Marcela Mašláňová <mmaslano(a)redhat.com>
+
+2014-07-25 Marcela Mašláňová <mmaslano(a)redhat.com>
+
+ * configure.ac, src/env.c: BSD doesn't define environ in unistd.h.
+ Also cronie didn't have option for enabling BSD specifics. Based on: naota(a)gentoo.org Signed-off-by: Marcela Mašláňová <mmaslano(a)redhat.com>
+
+2014-07-25 Marcela Mašláňová <mmaslano(a)redhat.com>
+
+ * anacron/readtab.c: Add missing brackets into anacron readtab. Signed-off-by: Marcela Mašláňová <mmaslano(a)redhat.com>
+
+2014-07-25 Marcela Mašláňová <mmaslano(a)redhat.com>
+
+ * src/misc.c: Include missing header for signal handlers. Signed-off-by: Marcela Mašláňová <mmaslano(a)redhat.com>
+
+2014-07-04 Marcela Mašláňová <mmaslano(a)redhat.com>
+
+ * contrib/cronie.systemd: Missing reload definition in unit file was
+ added. Signed-off-by: Marcela Mašláňová <mmaslano(a)redhat.com>
+
+2014-04-30 Marcela Mašláňová <mmaslano(a)redhat.com>
+
+ * : commit b2c8cbcef8c97b5a175d6e71995249b288707b0f Author: Tomas
+ Mraz <tmraz(a)fedoraproject.org> Date: Tue Apr 29 14:08:25 2014
+ +0200
+
+2014-03-31 Martin Poole <mpoole(a)redhat.com>
+
+ * src/misc.c: crond installs a signal hander for SIGINT & SIGTERM
+ which removes the pid file and exits. This handler is not reset for
+ individual forked sub-processes which results in the condition that
+ if the child receives SIGINT or SIGTERM the pid file is erroneously
+ removed. Signed-off-by: Marcela Mašláňová <mmaslano(a)redhat.com>
+
+2014-02-14 Marcela Mašláňová <mmaslano(a)redhat.com>
+
+ * anacron/readtab.c: Anacron does not correctly check configuration
+ parameters for validity and can segfault on certain data types. The return code
+ from the match_rx calls in readtab.c are not being checked
+ correctly. Bugfix let to segfaults in downstreams on non intel
+ architectures. All options in anacrontab should be now working
+ correctly. Based on patch from: Martin Poole
+
+2014-01-20 Marcela Mašláňová <mmaslano(a)redhat.com>
+
+ * contrib/cronie.systemd: Remove syslog.target according to Fedora
+ and systemd guidelines. https://fedorahosted.org/fpc/ticket/177#comment:2 Thanks to: Ville Skyttä
+
+2014-01-17 Ville Skyttä <ville.skytta(a)iki.fi>
+
+ * man/anacron.8: [PATCH] Fix anacron.8 UTF-8 encoding. Signed-off-by: Marcela Mašláňová <mmaslano(a)redhat.com>
+
+2013-12-18 Ville Skyta <ville.skytta(a)iki.fi>
+
+ * anacron/lock.c, anacron/readtab.c, man/crontab.5, src/cron.c,
+ src/database.c: Spelling fixes. Signed-off-by: Marcela Mašláňová <mmaslano(a)redhat.com>
+
+2013-12-18 Ville Skytta <ville.skytta(a)iki.fi>
+
+ * anacron/readtab.c, src/do_command.c: strncmp() size fixes. Signed-off-by: Marcela Mašláňová <mmaslano(a)redhat.com>
+
+2013-12-18 Martin Poole <mpoole(a)redhat.com>
+
+ * anacron/readtab.c: Anacron does not correctly check configuration
+ parameters for validity and can segfault on certain data types. The
+ return code from the match_rx calls in readtab.c are not being
+ checked correctly. Signed-off-by: Marcela Mašláňová <mmaslano(a)redhat.com>
+
+2013-09-26 Marcela Mašláňová <mmaslano(a)redhat.com>
+
+ * man/cron.8: crond -n must change pam setting.
+
+2013-09-12 Marcela Mašláňová <mmaslano(a)redhat.com>
+
+ * cronie.init: Non-root user can't read configuration. Init file
+ will fail with proper error message. rhbz#1006869
+
+2013-08-29 Marcela Mašláňová <mmaslano(a)redhat.com>
+
+ * : commit 2ec335f9549e8134102ac37665171a40a5407512 Author: Saul
+ Wold <sgw(a)linux.intel.com> Date: Mon Aug 26 11:18:27 2013 +0200
+
+2013-08-16 Tomas Mraz <tmraz(a)fedoraproject.org>
+
+ * src/security.c: Pull PAM environment variables also from session
+ modules. - also fix memory leak of environment returned by pam_getenvlist()
+
+2013-08-13 Marcela Mašláňová <mmaslano(a)redhat.com>
+
+ * contrib/cronie.systemd: KillMode in systemd unit file will enable
+ to finish jobs executed by cron. Even if cron dies, jobs should
+ continue. Based on: https://bugzilla.redhat.com/show_bug.cgi?id=919290
+
+2013-08-09 Tomas Mraz <tmraz(a)fedoraproject.org>
+
+ * src/misc.c: Fcntl locking has different semantics than flock.
+ Prefer flock.
+
+2013-07-18 Marcela Mašláňová <mmaslano(a)redhat.com>
+
+ * ChangeLog, configure.ac: Release 1.4.11
+
2013-06-11 Tomas Mraz <tmraz(a)fedoraproject.org>
* src/user.c: Log failures in load_user().
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/cronie-1.4.11/anacron/Makefile.am new/cronie-1.4.12/anacron/Makefile.am
--- old/cronie-1.4.11/anacron/Makefile.am 2013-07-18 14:27:08.000000000 +0200
+++ new/cronie-1.4.12/anacron/Makefile.am 2014-03-31 18:01:14.000000000 +0200
@@ -9,6 +9,7 @@
nodist_anacron_SOURCES = $(common_nodist)
BUILT_SOURCES = $(common_nodist)
+AM_CFLAGS = -I$(top_srcdir)
LDADD = $(LIBSELINUX) $(LIBPAM) $(LIBAUDIT)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/cronie-1.4.11/anacron/lock.c new/cronie-1.4.12/anacron/lock.c
--- old/cronie-1.4.11/anacron/lock.c 2013-07-18 14:27:08.000000000 +0200
+++ new/cronie-1.4.12/anacron/lock.c 2014-03-31 18:01:14.000000000 +0200
@@ -129,7 +129,7 @@
period = days_last_month ();
bypass = days_this_month ();
break;
- case 2: /* yearly, annualy */
+ case 2: /* yearly, annually */
period = days_last_year ();
bypass = days_this_year ();
break;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/cronie-1.4.11/anacron/readtab.c new/cronie-1.4.12/anacron/readtab.c
--- old/cronie-1.4.11/anacron/readtab.c 2013-07-18 14:27:08.000000000 +0200
+++ new/cronie-1.4.12/anacron/readtab.c 2014-07-29 13:17:25.000000000 +0200
@@ -110,7 +110,7 @@
static int
job_arg_num(const char *ident)
-/* Return the command-line-argument number refering to this job-identifier.
+/* Return the command-line-argument number referring to this job-identifier.
* If it isn't specified, return -1.
*/
{
@@ -208,11 +208,11 @@
}
jr = obstack_alloc(&tab_o, sizeof(job_rec));
- if (!strncmp ("@monthly", periods, 7)) {
+ if (!strncmp ("@monthly", periods, 8)) {
jr->named_period = 1;
- } else if (!strncmp("@yearly", periods, 7) || !strncmp("@annualy", periods, 8)) {
+ } else if (!strncmp("@yearly", periods, 7) || !strncmp("@annually", periods, 9) || !strncmp(/* backwards compat misspelling */"@annualy", periods, 8)) {
jr->named_period = 2;
- } else if (!strncmp ("@daily", periods, 7)) {
+ } else if (!strncmp ("@daily", periods, 6)) {
jr->named_period = 3;
} else if (!strncmp ("@weekly", periods, 7)) {
jr->named_period = 4;
@@ -271,7 +271,8 @@
if (strncmp(env_var, "START_HOURS_RANGE", 17) == 0)
{
r = match_rx("^([[:digit:]]+)-([[:digit:]]+)$", value, 2, &from, &to);
- if ((r == -1) || (from == NULL) || (to == NULL)) goto reg_invalid;
+ if (r == -1) goto reg_err;
+ if (r == 0) goto reg_invalid;
range_start = atoi(from);
range_stop = atoi(to);
if (range_stop < range_start) {
@@ -282,6 +283,8 @@
}
if (strncmp(env_var, "RANDOM_DELAY", 12) == 0) {
r = match_rx("^([[:digit:]]+)$", value, 0);
+ if (r == -1) goto reg_err;
+ if (r == 0) goto reg_invalid;
if (r != -1) {
int i = random();
double x = 0;
@@ -289,7 +292,6 @@
random_number = (int)x;
Debug(("Randomized delay set: %d", random_number));
}
- else goto reg_invalid;
}
if (strncmp(env_var, "PREFERRED_HOUR", 14) == 0) {
r = match_rx("^([[:digit:]]+)$", value, 1, &pref_hour);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/cronie-1.4.11/configure.ac new/cronie-1.4.12/configure.ac
--- old/cronie-1.4.11/configure.ac 2013-07-18 15:20:46.000000000 +0200
+++ new/cronie-1.4.12/configure.ac 2014-09-17 14:15:04.000000000 +0200
@@ -1,4 +1,4 @@
-AC_INIT([cronie],[1.4.11],[mmaslano@redhat.com,tmraz@redhat.com])
+AC_INIT([cronie],[1.4.12],[mmaslano@redhat.com,tmraz@redhat.com])
AC_CONFIG_HEADER([config.h])
AC_PREREQ(2.60)
@@ -136,6 +136,8 @@
LDFLAGS="$LDFLAGS -Wl,-z,relro -Wl,-z,now"
fi
+AC_ARG_ENABLE(bsd, BSD_STRING(--enable-bsd,Build cronie with BSD specific parts))
+
# Check whether user wants SELinux support
SELINUX_MSG="no"
LIBSELINUX=""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/cronie-1.4.11/contrib/cronie.systemd new/cronie-1.4.12/contrib/cronie.systemd
--- old/cronie-1.4.11/contrib/cronie.systemd 2013-07-18 14:27:08.000000000 +0200
+++ new/cronie-1.4.12/contrib/cronie.systemd 2014-09-17 13:45:35.000000000 +0200
@@ -1,10 +1,12 @@
[Unit]
Description=Command Scheduler
-After=syslog.target auditd.service systemd-user-sessions.service time-sync.target
+After=auditd.service nss-user-lookup.target systemd-user-sessions.service time-sync.target ypbind.service
[Service]
EnvironmentFile=/etc/sysconfig/crond
ExecStart=/usr/sbin/crond -n $CRONDARGS
+ExecReload=/bin/kill -HUP $MAINPID
+KillMode=process
[Install]
WantedBy=multi-user.target
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/cronie-1.4.11/cronie.init new/cronie-1.4.12/cronie.init
--- old/cronie-1.4.11/cronie.init 2013-07-18 14:27:08.000000000 +0200
+++ new/cronie-1.4.12/cronie.init 2014-03-31 18:01:14.000000000 +0200
@@ -34,7 +34,7 @@
# Source function library.
. /etc/rc.d/init.d/functions
-[ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog
+[ $UID -eq 0 ] && [ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog
start() {
if [ $(id -ru) -ne 0 ] ; then
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/cronie-1.4.11/man/anacron.8 new/cronie-1.4.12/man/anacron.8
--- old/cronie-1.4.11/man/anacron.8 2013-07-18 14:27:08.000000000 +0200
+++ new/cronie-1.4.12/man/anacron.8 2014-03-31 18:01:14.000000000 +0200
@@ -213,5 +213,5 @@
.PP
For Fedora, Anacron is maintained by
.MT mmaslano@redhat.\:com
-Marcela Mašláňov�
+Marcela Mašláňová
.ME .
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/cronie-1.4.11/man/cron.8 new/cronie-1.4.12/man/cron.8
--- old/cronie-1.4.11/man/cron.8 2013-07-18 14:27:08.000000000 +0200
+++ new/cronie-1.4.12/man/cron.8 2014-03-31 18:01:14.000000000 +0200
@@ -22,7 +22,7 @@
.\"
.\" $Id: cron.8,v 1.8 2004/01/23 19:03:32 vixie Exp $
.\"
-.TH CRON "8" "2013-01-02" "cronie" "System Administration"
+.TH CRON "8" "2013-09-26" "cronie" "System Administration"
.SH NAME
crond \- daemon to execute scheduled commands
.SH SYNOPSIS
@@ -160,7 +160,11 @@
.TP
.B "\-n"
Tells the daemon to run in the foreground. This can be useful when
-starting it out of init.
+starting it out of init. With this option is needed to change pam setting.
+.I /etc/pam.d/crond
+must not enable
+.I pam_loginuid.so
+module.
.TP
.B "\-p"
Allows
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/cronie-1.4.11/man/crontab.5 new/cronie-1.4.12/man/crontab.5
--- old/cronie-1.4.11/man/crontab.5 2013-07-18 14:27:08.000000000 +0200
+++ new/cronie-1.4.12/man/crontab.5 2014-03-31 18:01:14.000000000 +0200
@@ -253,7 +253,7 @@
and
.I /etc/crontab
are system jobs, which are used usually for more than one user, thus,
-additionaly the username is needed. MAILTO on the first line is
+additionally the username is needed. MAILTO on the first line is
optional.
.SH EXAMPLE OF A JOB IN /etc/cron.d/job
.nf
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/cronie-1.4.11/missing new/cronie-1.4.12/missing
--- old/cronie-1.4.11/missing 2012-09-26 16:03:18.000000000 +0200
+++ new/cronie-1.4.12/missing 2014-09-10 13:53:59.000000000 +0200
@@ -1,10 +1,10 @@
#! /bin/sh
-# Common stub for a few missing GNU programs while installing.
+# Common wrapper for a few potentially missing GNU programs.
-scriptversion=2012-01-06.18; # UTC
+scriptversion=2012-06-26.16; # UTC
-# Copyright (C) 1996-2012 Free Software Foundation, Inc.
-# Originally by Fran,cois Pinard <pinard(a)iro.umontreal.ca>, 1996.
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+# Originally written by Fran,cois Pinard <pinard(a)iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -29,61 +29,33 @@
exit 1
fi
-run=:
-sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
-sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
-
-# In the cases where this matters, 'missing' is being run in the
-# srcdir already.
-if test -f configure.ac; then
- configure_ac=configure.ac
-else
- configure_ac=configure.in
-fi
+case $1 in
-msg="missing on your system"
+ --is-lightweight)
+ # Used by our autoconf macros to check whether the available missing
+ # script is modern enough.
+ exit 0
+ ;;
-case $1 in
---run)
- # Try to run requested program, and just exit if it succeeds.
- run=
- shift
- "$@" && exit 0
- # Exit code 63 means version mismatch. This often happens
- # when the user try to use an ancient version of a tool on
- # a file that requires a minimum version. In this case we
- # we should proceed has if the program had been absent, or
- # if --run hadn't been passed.
- if test $? = 63; then
- run=:
- msg="probably too old"
- fi
- ;;
+ --run)
+ # Back-compat with the calling convention used by older automake.
+ shift
+ ;;
-h|--h|--he|--hel|--help)
echo "\
$0 [OPTION]... PROGRAM [ARGUMENT]...
-Handle 'PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
-error status if there is no known handling for PROGRAM.
+Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
+to PROGRAM being missing or too old.
Options:
-h, --help display this help and exit
-v, --version output version information and exit
- --run try to run the given command, and emulate it if it fails
Supported PROGRAM values:
- aclocal touch file 'aclocal.m4'
- autoconf touch file 'configure'
- autoheader touch file 'config.h.in'
- autom4te touch the output file, or create a stub one
- automake touch all 'Makefile.in' files
- bison create 'y.tab.[ch]', if possible, from existing .[ch]
- flex create 'lex.yy.c', if possible, from existing .c
- help2man touch the output file
- lex create 'lex.yy.c', if possible, from existing .c
- makeinfo touch the output file
- yacc create 'y.tab.[ch]', if possible, from existing .[ch]
+ aclocal autoconf autoheader autom4te automake makeinfo
+ bison yacc flex lex help2man
Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
'g' are ignored when checking the name.
@@ -98,228 +70,141 @@
;;
-*)
- echo 1>&2 "$0: Unknown '$1' option"
+ echo 1>&2 "$0: unknown '$1' option"
echo 1>&2 "Try '$0 --help' for more information"
exit 1
;;
esac
-# normalize program name to check for.
-program=`echo "$1" | sed '
- s/^gnu-//; t
- s/^gnu//; t
- s/^g//; t'`
-
-# Now exit if we have it, but it failed. Also exit now if we
-# don't have it and --version was passed (most likely to detect
-# the program). This is about non-GNU programs, so use $1 not
-# $program.
-case $1 in
- lex*|yacc*)
- # Not GNU programs, they don't have --version.
- ;;
+# Run the given program, remember its exit status.
+"$@"; st=$?
- *)
- if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
- # We have it, but it failed.
- exit 1
- elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
- # Could not run --version or --help. This is probably someone
- # running '$TOOL --version' or '$TOOL --help' to check whether
- # $TOOL exists and not knowing $TOOL uses missing.
- exit 1
- fi
- ;;
-esac
-
-# If it does not exist, or fails to run (possibly an outdated version),
-# try to emulate it.
-case $program in
- aclocal*)
- echo 1>&2 "\
-WARNING: '$1' is $msg. You should only need it if
- you modified 'acinclude.m4' or '${configure_ac}'. You might want
- to install the Automake and Perl packages. Grab them from
- any GNU archive site."
- touch aclocal.m4
- ;;
-
- autoconf*)
- echo 1>&2 "\
-WARNING: '$1' is $msg. You should only need it if
- you modified '${configure_ac}'. You might want to install the
- Autoconf and GNU m4 packages. Grab them from any GNU
- archive site."
- touch configure
- ;;
-
- autoheader*)
- echo 1>&2 "\
-WARNING: '$1' is $msg. You should only need it if
- you modified 'acconfig.h' or '${configure_ac}'. You might want
- to install the Autoconf and GNU m4 packages. Grab them
- from any GNU archive site."
- files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
- test -z "$files" && files="config.h"
- touch_files=
- for f in $files; do
- case $f in
- *:*) touch_files="$touch_files "`echo "$f" |
- sed -e 's/^[^:]*://' -e 's/:.*//'`;;
- *) touch_files="$touch_files $f.in";;
- esac
- done
- touch $touch_files
- ;;
+# If it succeeded, we are done.
+test $st -eq 0 && exit 0
- automake*)
- echo 1>&2 "\
-WARNING: '$1' is $msg. You should only need it if
- you modified 'Makefile.am', 'acinclude.m4' or '${configure_ac}'.
- You might want to install the Automake and Perl packages.
- Grab them from any GNU archive site."
- find . -type f -name Makefile.am -print |
- sed 's/\.am$/.in/' |
- while read f; do touch "$f"; done
- ;;
-
- autom4te*)
- echo 1>&2 "\
-WARNING: '$1' is needed, but is $msg.
- You might have modified some files without having the
- proper tools for further handling them.
- You can get '$1' as part of Autoconf from any GNU
- archive site."
-
- file=`echo "$*" | sed -n "$sed_output"`
- test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
- if test -f "$file"; then
- touch $file
- else
- test -z "$file" || exec >$file
- echo "#! /bin/sh"
- echo "# Created by GNU Automake missing as a replacement of"
- echo "# $ $@"
- echo "exit 0"
- chmod +x $file
- exit 1
- fi
- ;;
-
- bison*|yacc*)
- echo 1>&2 "\
-WARNING: '$1' $msg. You should only need it if
- you modified a '.y' file. You may need the Bison package
- in order for those modifications to take effect. You can get
- Bison from any GNU archive site."
- rm -f y.tab.c y.tab.h
- if test $# -ne 1; then
- eval LASTARG=\${$#}
- case $LASTARG in
- *.y)
- SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
- if test -f "$SRCFILE"; then
- cp "$SRCFILE" y.tab.c
- fi
- SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
- if test -f "$SRCFILE"; then
- cp "$SRCFILE" y.tab.h
- fi
- ;;
- esac
- fi
- if test ! -f y.tab.h; then
- echo >y.tab.h
- fi
- if test ! -f y.tab.c; then
- echo 'main() { return 0; }' >y.tab.c
- fi
- ;;
-
- lex*|flex*)
- echo 1>&2 "\
-WARNING: '$1' is $msg. You should only need it if
- you modified a '.l' file. You may need the Flex package
- in order for those modifications to take effect. You can get
- Flex from any GNU archive site."
- rm -f lex.yy.c
- if test $# -ne 1; then
- eval LASTARG=\${$#}
- case $LASTARG in
- *.l)
- SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
- if test -f "$SRCFILE"; then
- cp "$SRCFILE" lex.yy.c
- fi
- ;;
- esac
- fi
- if test ! -f lex.yy.c; then
- echo 'main() { return 0; }' >lex.yy.c
- fi
- ;;
-
- help2man*)
- echo 1>&2 "\
-WARNING: '$1' is $msg. You should only need it if
- you modified a dependency of a manual page. You may need the
- Help2man package in order for those modifications to take
- effect. You can get Help2man from any GNU archive site."
-
- file=`echo "$*" | sed -n "$sed_output"`
- test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
- if test -f "$file"; then
- touch $file
- else
- test -z "$file" || exec >$file
- echo ".ab help2man is required to generate this page"
- exit $?
- fi
- ;;
-
- makeinfo*)
- echo 1>&2 "\
-WARNING: '$1' is $msg. You should only need it if
- you modified a '.texi' or '.texinfo' file, or any other file
- indirectly affecting the aspect of the manual. The spurious
- call might also be the consequence of using a buggy 'make' (AIX,
- DU, IRIX). You might want to install the Texinfo package or
- the GNU make package. Grab either from any GNU archive site."
- # The file to touch is that specified with -o ...
- file=`echo "$*" | sed -n "$sed_output"`
- test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
- if test -z "$file"; then
- # ... or it is the one specified with @setfilename ...
- infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
- file=`sed -n '
- /^@setfilename/{
- s/.* \([^ ]*\) *$/\1/
- p
- q
- }' $infile`
- # ... or it is derived from the source name (dir/f.texi becomes f.info)
- test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
- fi
- # If the file does not exist, the user really needs makeinfo;
- # let's fail without touching anything.
- test -f $file || exit 1
- touch $file
- ;;
-
- *)
- echo 1>&2 "\
-WARNING: '$1' is needed, and is $msg.
- You might have modified some files without having the
- proper tools for further handling them. Check the 'README' file,
- it often tells you about the needed prerequisites for installing
- this package. You may also peek at any GNU archive site, in case
- some other package would contain this missing '$1' program."
- exit 1
- ;;
-esac
+# Also exit now if we it failed (or wasn't found), and '--version' was
+# passed; such an option is passed most likely to detect whether the
+# program is present and works.
+case $2 in --version|--help) exit $st;; esac
+
+# Exit code 63 means version mismatch. This often happens when the user
+# tries to use an ancient version of a tool on a file that requires a
+# minimum version.
+if test $st -eq 63; then
+ msg="probably too old"
+elif test $st -eq 127; then
+ # Program was missing.
+ msg="missing on your system"
+else
+ # Program was found and executed, but failed. Give up.
+ exit $st
+fi
-exit 0
+perl_URL=http://www.perl.org/
+flex_URL=http://flex.sourceforge.net/
+gnu_software_URL=http://www.gnu.org/software
+
+program_details ()
+{
+ case $1 in
+ aclocal|automake)
+ echo "The '$1' program is part of the GNU Automake package:"
+ echo "<$gnu_software_URL/automake>"
+ echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
+ echo "<$gnu_software_URL/autoconf>"
+ echo "<$gnu_software_URL/m4/>"
+ echo "<$perl_URL>"
+ ;;
+ autoconf|autom4te|autoheader)
+ echo "The '$1' program is part of the GNU Autoconf package:"
+ echo "<$gnu_software_URL/autoconf/>"
+ echo "It also requires GNU m4 and Perl in order to run:"
+ echo "<$gnu_software_URL/m4/>"
+ echo "<$perl_URL>"
+ ;;
+ esac
+}
+
+give_advice ()
+{
+ # Normalize program name to check for.
+ normalized_program=`echo "$1" | sed '
+ s/^gnu-//; t
+ s/^gnu//; t
+ s/^g//; t'`
+
+ printf '%s\n' "'$1' is $msg."
+
+ configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
+ case $normalized_program in
+ autoconf*)
+ echo "You should only need it if you modified 'configure.ac',"
+ echo "or m4 files included by it."
+ program_details 'autoconf'
+ ;;
+ autoheader*)
+ echo "You should only need it if you modified 'acconfig.h' or"
+ echo "$configure_deps."
+ program_details 'autoheader'
+ ;;
+ automake*)
+ echo "You should only need it if you modified 'Makefile.am' or"
+ echo "$configure_deps."
+ program_details 'automake'
+ ;;
+ aclocal*)
+ echo "You should only need it if you modified 'acinclude.m4' or"
+ echo "$configure_deps."
+ program_details 'aclocal'
+ ;;
+ autom4te*)
+ echo "You might have modified some maintainer files that require"
+ echo "the 'automa4te' program to be rebuilt."
+ program_details 'autom4te'
+ ;;
+ bison*|yacc*)
+ echo "You should only need it if you modified a '.y' file."
+ echo "You may want to install the GNU Bison package:"
+ echo "<$gnu_software_URL/bison/>"
+ ;;
+ lex*|flex*)
+ echo "You should only need it if you modified a '.l' file."
+ echo "You may want to install the Fast Lexical Analyzer package:"
+ echo "<$flex_URL>"
+ ;;
+ help2man*)
+ echo "You should only need it if you modified a dependency" \
+ "of a man page."
+ echo "You may want to install the GNU Help2man package:"
+ echo "<$gnu_software_URL/help2man/>"
+ ;;
+ makeinfo*)
+ echo "You should only need it if you modified a '.texi' file, or"
+ echo "any other file indirectly affecting the aspect of the manual."
+ echo "You might want to install the Texinfo package:"
+ echo "<$gnu_software_URL/texinfo/>"
+ echo "The spurious makeinfo call might also be the consequence of"
+ echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
+ echo "want to install GNU make:"
+ echo "<$gnu_software_URL/make/>"
+ ;;
+ *)
+ echo "You might have modified some files without having the proper"
+ echo "tools for further handling them. Check the 'README' file, it"
+ echo "often tells you about the needed prerequisites for installing"
+ echo "this package. You may also peek at any GNU archive site, in"
+ echo "case some other package contains this missing '$1' program."
+ ;;
+ esac
+}
+
+give_advice "$1" | sed -e '1s/^/WARNING: /' \
+ -e '2,$s/^/ /' >&2
+
+# Propagate the correct exit status (expected to be 127 for a program
+# not found, 63 for a program that failed due to version mismatch).
+exit $st
# Local variables:
# eval: (add-hook 'write-file-hooks 'time-stamp)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/cronie-1.4.11/src/Makefile.am new/cronie-1.4.12/src/Makefile.am
--- old/cronie-1.4.11/src/Makefile.am 2013-07-18 14:27:08.000000000 +0200
+++ new/cronie-1.4.12/src/Makefile.am 2014-03-31 18:01:14.000000000 +0200
@@ -15,6 +15,7 @@
nodist_crontab_SOURCES = $(common_nodist)
BUILT_SOURCES = $(common_nodist)
+AM_CFLAGS = -I$(top_srcdir)
LDADD = $(LIBSELINUX) $(LIBPAM) $(LIBAUDIT)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/cronie-1.4.11/src/cron.c new/cronie-1.4.12/src/cron.c
--- old/cronie-1.4.11/src/cron.c 2013-07-18 14:27:08.000000000 +0200
+++ new/cronie-1.4.12/src/cron.c 2014-07-30 10:17:04.000000000 +0200
@@ -182,7 +182,7 @@
fprintf(stderr, "Options:\n");
fprintf(stderr, " -h print this message \n");
fprintf(stderr, " -i deamon runs without inotify support\n");
- fprintf(stderr, " -m <comm> off, or specify prefered client for sending mails\n");
+ fprintf(stderr, " -m <comm> off, or specify preferred client for sending mails\n");
fprintf(stderr, " -n run in foreground\n");
fprintf(stderr, " -p permit any crontab\n");
fprintf(stderr, " -P use PATH=\"%s\"\n", _PATH_DEFPATH);
@@ -593,6 +593,10 @@
job_add(e, u); /*will add job, if it isn't in queue already for NOW. */
}
}
+ else {
+ log_it(uname, getpid(), "ERROR", "getpwnam() failed",errno);
+ Debug(DSCH | DEXT, ("%s:%d pid=%d time=%ld getpwnam(%s) failed errno=%d error=%s\n",__FILE__,__LINE__,getpid(),time(NULL),uname,errno,strerror(errno)));
+ }
}
}
if (orig_tz != NULL)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/cronie-1.4.11/src/database.c new/cronie-1.4.12/src/database.c
--- old/cronie-1.4.11/src/database.c 2013-07-18 14:27:08.000000000 +0200
+++ new/cronie-1.4.12/src/database.c 2014-03-31 18:01:14.000000000 +0200
@@ -327,7 +327,7 @@
if (retval <= 0) {
log_it("CRON", pid, "INOTIFY", "read failed", errno);
- /* something fatal must have occured we have no other reasonable
+ /* something fatal must have occurred we have no other reasonable
* way how to handle this failure than exit.
*/
(void) exit(ERROR_EXIT);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/cronie-1.4.11/src/do_command.c new/cronie-1.4.12/src/do_command.c
--- old/cronie-1.4.11/src/do_command.c 2013-07-18 14:27:08.000000000 +0200
+++ new/cronie-1.4.12/src/do_command.c 2014-04-30 14:30:53.000000000 +0200
@@ -238,6 +238,12 @@
*/
{
char *shell = env_get("SHELL", jobenv);
+ int fd, fdmax = getdtablesize();
+
+ /* close all unwanted open file descriptors */
+ for(fd = STDERR + 1; fd < fdmax; fd++) {
+ close(fd);
+ }
#if DEBUGGING
if (DebugFlags & DTEST) {
@@ -410,7 +416,7 @@
/* Also skip it if MailCmd is set to "off" */
if (mailto && safe_p(usernm, mailto)
- && strncmp(MailCmd,"off",4) && !SyslogOutput) {
+ && strncmp(MailCmd,"off",3) && !SyslogOutput) {
char **env;
char mailcmd[MAX_COMMAND];
char hostname[MAXHOSTNAMELEN];
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/cronie-1.4.11/src/env.c new/cronie-1.4.12/src/env.c
--- old/cronie-1.4.11/src/env.c 2013-07-18 14:27:08.000000000 +0200
+++ new/cronie-1.4.12/src/env.c 2014-07-29 13:17:25.000000000 +0200
@@ -30,6 +30,10 @@
#include "globals.h"
#include "funcs.h"
+#if defined(BSD)
+extern char **environ;
+#endif
+
char **env_init(void) {
char **p = (char **) malloc(sizeof (char *));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/cronie-1.4.11/src/misc.c new/cronie-1.4.12/src/misc.c
--- old/cronie-1.4.11/src/misc.c 2013-07-18 14:27:08.000000000 +0200
+++ new/cronie-1.4.12/src/misc.c 2014-07-29 13:17:25.000000000 +0200
@@ -29,6 +29,7 @@
#include <ctype.h>
#include <errno.h>
+#include <signal.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
@@ -75,7 +76,9 @@
static int syslog_open = FALSE;
#endif
-#if defined(HAVE_FCNTL) && defined(F_SETLK)
+#if defined(HAVE_FLOCK)
+# define trylock_file(fd) flock((fd), LOCK_EX|LOCK_NB)
+#elif defined(HAVE_FCNTL) && defined(F_SETLK)
static int trylock_file(int fd) {
struct flock fl;
@@ -89,8 +92,6 @@
}
#elif defined(HAVE_LOCKF)
# define trylock_file(fd) lockf((fd), F_TLOCK, 0)
-#elif defined(HAVE_FLOCK)
-# define trylock_file(fd) flock((fd), LOCK_EX|LOCK_NB)
#endif
/*
@@ -308,6 +309,9 @@
close(fd);
fd = -1;
}
+ /* and restore default sig handlers so we don't remove pid file if killed */
+ signal(SIGINT,SIG_DFL);
+ signal(SIGTERM,SIG_DFL);
return;
}
@@ -345,6 +349,13 @@
(void) fchmod(fd, 0644);
(void) fcntl(fd, F_SETFD, 1);
}
+#if !defined(HAVE_FLOCK)
+ else {
+ /* Racy but better than nothing, just hope the parent exits */
+ sleep(0);
+ trylock_file(fd);
+ }
+#endif
sprintf(buf, "%ld\n", (long) pid);
(void) lseek(fd, (off_t) 0, SEEK_SET);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/cronie-1.4.11/src/popen.c new/cronie-1.4.12/src/popen.c
--- old/cronie-1.4.11/src/popen.c 2013-07-18 14:27:08.000000000 +0200
+++ new/cronie-1.4.12/src/popen.c 2014-04-30 14:30:53.000000000 +0200
@@ -69,6 +69,7 @@
ssize_t out;
char buf[PIPE_BUF];
struct sigaction sa;
+ int fd;
#ifdef __GNUC__
(void) &iop; /* Avoid fork clobbering */
@@ -121,6 +122,11 @@
sa.sa_handler = SIG_DFL;
sigaction(SIGPIPE, &sa, NULL);
+ /* close all unwanted open file descriptors */
+ for (fd = STDERR + 1; fd < fds; fd++) {
+ close(fd);
+ }
+
if (cron_change_user_permanently(pw, pw->pw_dir) != 0)
_exit(2);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/cronie-1.4.11/src/security.c new/cronie-1.4.12/src/security.c
--- old/cronie-1.4.11/src/security.c 2013-07-18 14:27:08.000000000 +0200
+++ new/cronie-1.4.12/src/security.c 2014-03-31 18:01:14.000000000 +0200
@@ -129,15 +129,13 @@
}
#endif
- *jobenv = build_env(e->envp);
-
#ifdef WITH_SELINUX
/* we must get the crontab context BEFORE changing user, else
* we'll not be permitted to read the cron spool directory :-)
*/
security_context_t ucontext = 0;
- if (cron_get_job_range(u, &ucontext, *jobenv) < OK) {
+ if (cron_get_job_range(u, &ucontext, e->envp) < OK) {
log_it(e->pwd->pw_name, getpid(), "ERROR",
"failed to get SELinux context", 0);
return -1;
@@ -165,6 +163,8 @@
return -1;
}
+ *jobenv = build_env(e->envp);
+
time_t job_run_time = time(0L);
if ((minutely_time > 0) && ((job_run_time / 60) != (minutely_time / 60))) {
@@ -615,11 +615,18 @@
*/
static char **build_env(char **cronenv) {
#ifdef WITH_PAM
- char **jobenv;
- char **pamenv = pam_getenvlist(pamh);
+ char **jobenv = pam_getenvlist(pamh);
char *cronvar;
int count = 0;
- jobenv = env_copy(pamenv);
+
+ if (jobenv == NULL) {
+ jobenv = env_init();
+ if (jobenv == NULL) {
+ log_it("CRON", getpid(),
+ "ERROR", "Initialization of cron environment variables failed", 0);
+ return NULL;
+ }
+ }
/* Now add the cron environment variables. Since env_set()
* overwrites existing variables, this will let cron's
++++++ fix-manpage-replace-anacrontab-with-crontab.patch ++++++
>From 8769bba06b1632c6bd275f88c0fd10f591efdb9b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Krist=C3=BDna=20Streitov=C3=A1?= <kstreitova(a)suse.cz>
Date: Mon, 22 Sep 2014 10:41:14 +0200
Subject: [PATCH] fix manpage replace anacrontab with crontab
/etc/anacrontab replaced by /etc/crontab in the first occurance of it.
Fixes bnc#833240
---
man/cron.8 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man/cron.8 b/man/cron.8
index 633dbc0..9716f8f 100644
--- a/man/cron.8
+++ b/man/cron.8
@@ -53,7 +53,7 @@ for crontab files which are named after accounts in
The found crontabs are loaded into the memory.
.I Cron
also searches for
-.I /etc/anacrontab
+.I /etc/crontab
and any files in the
.I /etc/cron.d
directory, which have a different format (see
--
1.8.4.5
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package libksba for openSUSE:Factory checked in at 2014-09-24 13:09:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libksba (Old)
and /work/SRC/openSUSE:Factory/.libksba.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libksba"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libksba/libksba.changes 2012-12-05 13:55:52.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libksba.new/libksba.changes 2014-09-24 13:09:05.000000000 +0200
@@ -1,0 +2,7 @@
+Sun Sep 21 21:07:02 UTC 2014 - andreas.stieger(a)gmx.de
+
+- libksba 1.3.1:
+ * Fixed memory leak in CRL parsing
+ * Build fixes for ppc64el
+
+-------------------------------------------------------------------
Old:
----
libksba-1.3.0.tar.bz2
New:
----
libksba-1.3.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libksba.spec ++++++
--- /var/tmp/diff_new_pack.7zV1Mn/_old 2014-09-24 13:09:06.000000000 +0200
+++ /var/tmp/diff_new_pack.7zV1Mn/_new 2014-09-24 13:09:06.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package libksba
#
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -17,7 +17,7 @@
Name: libksba
-Version: 1.3.0
+Version: 1.3.1
Release: 0
%define soname 8
Summary: A X.509 Library
++++++ libksba-1.3.0.tar.bz2 -> libksba-1.3.1.tar.bz2 ++++++
++++ 53389 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package parted for openSUSE:Factory checked in at 2014-09-24 13:09:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/parted (Old)
and /work/SRC/openSUSE:Factory/.parted.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "parted"
Changes:
--------
--- /work/SRC/openSUSE:Factory/parted/parted.changes 2014-09-10 07:27:45.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.parted.new/parted.changes 2014-09-24 13:09:02.000000000 +0200
@@ -1,0 +2,11 @@
+Thu Sep 11 10:30:04 UTC 2014 - puzel(a)suse.com
+
+- Add an "implicit_partition_table" disk flag to mark
+ FBA DASD disks with fake partition (bnc#894585)
+ - libparted-dasd-implicit-partition-disk-flag.patch
+- refresh following patches to fix build:
+ - parted-type.patch
+ - parted-mac.patch
+ - parted-Add-Intel-Rapid-Start-Technology-partition.patch
+
+-------------------------------------------------------------------
New:
----
libparted-dasd-implicit-partition-disk-flag.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ parted.spec ++++++
--- /var/tmp/diff_new_pack.qwiNZB/_old 2014-09-24 13:09:04.000000000 +0200
+++ /var/tmp/diff_new_pack.qwiNZB/_new 2014-09-24 13:09:04.000000000 +0200
@@ -66,6 +66,7 @@
Patch39: libparted-mklabel-to-support-EDEV-DASD.patch
Patch40: libparted-make-BLKRRPART-more-robust.patch
Patch41: libparted-make-sure-not-to-treat-percentages-and-cyls-as-exact.patch
+Patch42: libparted-dasd-implicit-partition-disk-flag.patch
Patch100: parted-fatresize-autoconf.patch
Requires: /sbin/udevadm
BuildRequires: check-devel
@@ -154,6 +155,7 @@
%patch39 -p1
%patch40 -p1
%patch41 -p1
+%patch42 -p1
%patch100 -p1
%build
++++++ libparted-dasd-implicit-partition-disk-flag.patch ++++++
---
include/parted/disk.in.h | 4 +++-
libparted/disk.c | 2 ++
libparted/labels/dasd.c | 45 +++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 50 insertions(+), 1 deletion(-)
Index: parted-3.1/include/parted/disk.in.h
===================================================================
--- parted-3.1.orig/include/parted/disk.in.h
+++ parted-3.1/include/parted/disk.in.h
@@ -38,9 +38,11 @@ enum _PedDiskFlag {
PED_DISK_CYLINDER_ALIGNMENT=1,
/* This flag controls whether the boot flag of a GPT PMBR is set */
PED_DISK_GPT_PMBR_BOOT=2,
+ /* This flag indicates that there is an implicit (aka fake) partition on the DASD disk */
+ PED_DISK_DASD_IMPLICIT_PARTITION=3,
};
#define PED_DISK_FIRST_FLAG PED_DISK_CYLINDER_ALIGNMENT
-#define PED_DISK_LAST_FLAG PED_DISK_GPT_PMBR_BOOT
+#define PED_DISK_LAST_FLAG PED_DISK_DASD_IMPLICIT_PARTITION
/**
* Partition types
Index: parted-3.1/libparted/disk.c
===================================================================
--- parted-3.1.orig/libparted/disk.c
+++ parted-3.1/libparted/disk.c
@@ -838,6 +838,8 @@ ped_disk_flag_get_name(PedDiskFlag flag)
return N_("cylinder_alignment");
case PED_DISK_GPT_PMBR_BOOT:
return N_("pmbr_boot");
+ case PED_DISK_DASD_IMPLICIT_PARTITION:
+ return N_("implicit_partition_table");
default:
ped_exception_throw (
PED_EXCEPTION_BUG,
Index: parted-3.1/libparted/labels/dasd.c
===================================================================
--- parted-3.1.orig/libparted/labels/dasd.c
+++ parted-3.1/libparted/labels/dasd.c
@@ -73,6 +73,7 @@ typedef struct {
unsigned int format_type;
unsigned int label_block;
volume_label_t vlabel;
+ unsigned int has_implicit_partition;
} DasdDiskSpecific;
static int dasd_probe (const PedDevice *dev);
@@ -107,6 +108,10 @@ static int dasd_partition_set_system (Pe
const PedFileSystemType* fs_type);
static int dasd_alloc_metadata (PedDisk* disk);
+static int dasd_disk_set_flag (PedDisk *disk, PedDiskFlag flag, int state);
+static int dasd_disk_is_flag_available(const PedDisk *disk, PedDiskFlag flag);
+static int dasd_disk_get_flag (const PedDisk *disk, PedDiskFlag flag);
+
#include "pt-common.h"
PT_define_limit_functions (dasd)
@@ -116,6 +121,9 @@ static PedDiskOps dasd_disk_ops = {
partition_set_name: NULL,
partition_get_name: NULL,
+ disk_set_flag: dasd_disk_set_flag,
+ disk_get_flag: dasd_disk_get_flag,
+ disk_is_flag_available: dasd_disk_is_flag_available,
get_partition_alignment: dasd_get_partition_alignment,
@@ -150,6 +158,8 @@ dasd_alloc (const PedDevice* dev)
return NULL;
}
+ disk_specific->has_implicit_partition = 0;
+
/* CDL format, newer */
disk_specific->format_type = 2;
disk_specific->label_block = 2;
@@ -293,6 +303,7 @@ dasd_read (PedDisk* disk)
goto error_close_dev;
disk_specific->format_type = 1;
+ disk_specific->has_implicit_partition = 1;
/* Register implicit partition */
ped_disk_delete_all (disk);
@@ -905,6 +916,40 @@ dasd_partition_enumerate (PedPartition*
}
static int
+dasd_disk_set_flag (PedDisk *disk, PedDiskFlag flag, int state)
+{
+ /* PED_DISK_DASD_IMPLICIT_PARTITION is immutable */
+ return 0;
+}
+
+static int
+dasd_disk_is_flag_available(const PedDisk *disk, PedDiskFlag flag)
+{
+ switch (flag)
+ {
+ case PED_DISK_DASD_IMPLICIT_PARTITION:
+ return 1;
+ default:
+ return 0;
+ }
+}
+
+static int
+dasd_disk_get_flag (const PedDisk *disk, PedDiskFlag flag)
+{
+ DasdDiskSpecific* disk_specific = disk->disk_specific;
+
+ switch (flag)
+ {
+ case PED_DISK_DASD_IMPLICIT_PARTITION:
+ return disk_specific->has_implicit_partition;
+ break;
+ default:
+ return 0;
+ }
+}
+
+static int
dasd_partition_set_system (PedPartition* part,
const PedFileSystemType* fs_type)
{
++++++ parted-Add-Intel-Rapid-Start-Technology-partition.patch ++++++
--- /var/tmp/diff_new_pack.qwiNZB/_old 2014-09-24 13:09:04.000000000 +0200
+++ /var/tmp/diff_new_pack.qwiNZB/_new 2014-09-24 13:09:04.000000000 +0200
@@ -8,11 +8,11 @@
0x84 on MS-DOS and D3BFE2DE-3DAF-11DF-BA-40-E3A556D89593 on GPT.
---
- doc/C/parted.8 | 2 +-
- include/parted/disk.h | 5 +++--
- libparted/disk.c | 2 ++
- libparted/labels/dos.c | 21 +++++++++++++++++++++
- libparted/labels/gpt.c | 37 +++++++++++++++++++++++++++++++++++++
+ doc/C/parted.8 | 2 +-
+ include/parted/disk.in.h | 5 +++--
+ libparted/disk.c | 2 ++
+ libparted/labels/dos.c | 21 +++++++++++++++++++++
+ libparted/labels/gpt.c | 37 +++++++++++++++++++++++++++++++++++++
5 files changed, 64 insertions(+), 3 deletions(-)
Index: parted-3.1/doc/C/parted.8
@@ -28,10 +28,10 @@
\fIstate\fP should be either "on" or "off".
.TP
.B unit \fIunit\fP
-Index: parted-3.1/include/parted/disk.h
+Index: parted-3.1/include/parted/disk.in.h
===================================================================
---- parted-3.1.orig/include/parted/disk.h
-+++ parted-3.1/include/parted/disk.h
+--- parted-3.1.orig/include/parted/disk.in.h
++++ parted-3.1/include/parted/disk.in.h
@@ -73,10 +73,11 @@ enum _PedPartitionFlag {
PED_PARTITION_APPLE_TV_RECOVERY=13,
PED_PARTITION_DIAG=14,
++++++ parted-mac.patch ++++++
--- /var/tmp/diff_new_pack.qwiNZB/_old 2014-09-24 13:09:04.000000000 +0200
+++ /var/tmp/diff_new_pack.qwiNZB/_new 2014-09-24 13:09:04.000000000 +0200
@@ -1,14 +1,14 @@
---
- include/parted/disk.h | 9 +++++++--
- libparted/disk.c | 33 +++++++++++++++++++++++++++++++++
- libparted/labels/mac.c | 34 +++++++++++++++++++++++++++++++++-
- parted/parted.c | 12 ++++++++++++
- 4 files changed, 85 insertions(+), 3 deletions(-)
+ include/parted/disk.in.h | 9 +++++++--
+ libparted/disk.c | 33 +++++++++++++++++++++++++++++++++
+ libparted/labels/mac.c | 34 +++++++++++++++++++++++++++++++++-
+ parted/parted.c | 12 ++++++++++++
+ 5 files changed, 92 insertions(+), 5 deletions(-)
-Index: parted-3.1/include/parted/disk.h
+Index: parted-3.1/include/parted/disk.in.h
===================================================================
---- parted-3.1.orig/include/parted/disk.h
-+++ parted-3.1/include/parted/disk.h
+--- parted-3.1.orig/include/parted/disk.in.h
++++ parted-3.1/include/parted/disk.in.h
@@ -80,10 +80,11 @@ enum _PedPartitionFlag {
enum _PedDiskTypeFeature {
@@ -32,7 +32,7 @@
bool (*get_max_supported_partition_count) (const PedDisk* disk,
int* supported);
PedAlignment *(*get_partition_alignment)(const PedDisk *disk);
-@@ -362,7 +365,9 @@ extern int ped_partition_is_flag_availab
+@@ -334,7 +337,9 @@ extern int ped_partition_is_flag_availab
extern int ped_partition_set_system (PedPartition* part,
const PedFileSystemType* fs_type);
extern int ped_partition_set_name (PedPartition* part, const char* name);
++++++ parted-type.patch ++++++
--- /var/tmp/diff_new_pack.qwiNZB/_old 2014-09-24 13:09:04.000000000 +0200
+++ /var/tmp/diff_new_pack.qwiNZB/_new 2014-09-24 13:09:04.000000000 +0200
@@ -1,15 +1,15 @@
---
- include/parted/disk.h | 5 ++--
- libparted/disk.c | 2 +
- libparted/labels/dos.c | 8 ++++++
- parted/parted.c | 59 ++++++++++++++++++++++++++++++++-----------------
- parted/ui.c | 3 ++
- 5 files changed, 55 insertions(+), 22 deletions(-)
+ include/parted/disk.in.h | 5 ++-
+ libparted/disk.c | 2 +
+ libparted/labels/dos.c | 8 ++++++
+ parted/parted.c | 59 +++++++++++++++++++++++++++++++----------------
+ parted/ui.c | 3 ++
+ 6 files changed, 58 insertions(+), 24 deletions(-)
-Index: parted-3.1/include/parted/disk.h
+Index: parted-3.1/include/parted/disk.in.h
===================================================================
---- parted-3.1.orig/include/parted/disk.h
-+++ parted-3.1/include/parted/disk.h
+--- parted-3.1.orig/include/parted/disk.in.h
++++ parted-3.1/include/parted/disk.in.h
@@ -72,10 +72,11 @@ enum _PedPartitionFlag {
PED_PARTITION_BIOS_GRUB=12,
PED_PARTITION_APPLE_TV_RECOVERY=13,
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package yast2-pkg-bindings for openSUSE:Factory checked in at 2014-09-24 13:08:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-pkg-bindings (Old)
and /work/SRC/openSUSE:Factory/.yast2-pkg-bindings.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-pkg-bindings"
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-pkg-bindings/yast2-pkg-bindings.changes 2014-09-10 17:02:06.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-pkg-bindings.new/yast2-pkg-bindings.changes 2014-09-24 13:09:01.000000000 +0200
@@ -1,0 +2,8 @@
+Tue Sep 16 19:36:50 UTC 2014 - lslezak(a)suse.cz
+
+- SetTargetDU(): added new options ("growonly" and "filesystem")
+ to better handle Btrfs snapshots in disk usage counting
+ (part of bnc#896176)
+- 3.1.19
+
+-------------------------------------------------------------------
Old:
----
yast2-pkg-bindings-3.1.18.tar.bz2
New:
----
yast2-pkg-bindings-3.1.19.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-pkg-bindings-devel-doc.spec ++++++
--- /var/tmp/diff_new_pack.kYGiQx/_old 2014-09-24 13:09:02.000000000 +0200
+++ /var/tmp/diff_new_pack.kYGiQx/_new 2014-09-24 13:09:02.000000000 +0200
@@ -17,7 +17,7 @@
Name: yast2-pkg-bindings-devel-doc
-Version: 3.1.18
+Version: 3.1.19
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: yast2-pkg-bindings-%{version}.tar.bz2
@@ -28,7 +28,7 @@
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: libxslt
-BuildRequires: libzypp-devel >= 6.10.0
+BuildRequires: libzypp-devel >= 14.29.0
BuildRequires: yast2-core-devel
BuildRequires: yast2-devtools >= 3.1.10
++++++ yast2-pkg-bindings.spec ++++++
--- /var/tmp/diff_new_pack.kYGiQx/_old 2014-09-24 13:09:02.000000000 +0200
+++ /var/tmp/diff_new_pack.kYGiQx/_new 2014-09-24 13:09:02.000000000 +0200
@@ -17,7 +17,7 @@
Name: yast2-pkg-bindings
-Version: 3.1.18
+Version: 3.1.19
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -27,7 +27,7 @@
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: libxslt
-BuildRequires: libzypp-devel >= 14.12.0
+BuildRequires: libzypp-devel >= 14.29.0
BuildRequires: yast2-core-devel
BuildRequires: yast2-devtools >= 3.1.10
++++++ yast2-pkg-bindings-3.1.18.tar.bz2 -> yast2-pkg-bindings-3.1.19.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-pkg-bindings-3.1.18/package/yast2-pkg-bindings-devel-doc.spec new/yast2-pkg-bindings-3.1.19/package/yast2-pkg-bindings-devel-doc.spec
--- old/yast2-pkg-bindings-3.1.18/package/yast2-pkg-bindings-devel-doc.spec 2014-09-09 14:46:22.000000000 +0200
+++ new/yast2-pkg-bindings-3.1.19/package/yast2-pkg-bindings-devel-doc.spec 2014-09-22 12:07:17.000000000 +0200
@@ -16,7 +16,7 @@
#
Name: yast2-pkg-bindings-devel-doc
-Version: 3.1.18
+Version: 3.1.19
Release: 0
License: GPL-2.0
Group: Documentation/HTML
@@ -29,7 +29,7 @@
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: libxslt
-BuildRequires: libzypp-devel >= 6.10.0
+BuildRequires: libzypp-devel >= 14.29.0
BuildRequires: yast2-core-devel
BuildRequires: yast2-devtools >= 3.1.10
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-pkg-bindings-3.1.18/package/yast2-pkg-bindings.changes new/yast2-pkg-bindings-3.1.19/package/yast2-pkg-bindings.changes
--- old/yast2-pkg-bindings-3.1.18/package/yast2-pkg-bindings.changes 2014-09-09 14:46:22.000000000 +0200
+++ new/yast2-pkg-bindings-3.1.19/package/yast2-pkg-bindings.changes 2014-09-22 12:07:17.000000000 +0200
@@ -1,4 +1,12 @@
-------------------------------------------------------------------
+Tue Sep 16 19:36:50 UTC 2014 - lslezak(a)suse.cz
+
+- SetTargetDU(): added new options ("growonly" and "filesystem")
+ to better handle Btrfs snapshots in disk usage counting
+ (part of bnc#896176)
+- 3.1.19
+
+-------------------------------------------------------------------
Tue Sep 9 11:08:56 UTC 2014 - lslezak(a)suse.cz
- do not hide libzypp exceptions in Pkg::ResolvableProperties()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-pkg-bindings-3.1.18/package/yast2-pkg-bindings.spec new/yast2-pkg-bindings-3.1.19/package/yast2-pkg-bindings.spec
--- old/yast2-pkg-bindings-3.1.18/package/yast2-pkg-bindings.spec 2014-09-09 14:46:22.000000000 +0200
+++ new/yast2-pkg-bindings-3.1.19/package/yast2-pkg-bindings.spec 2014-09-22 12:07:17.000000000 +0200
@@ -17,7 +17,7 @@
Name: yast2-pkg-bindings
-Version: 3.1.18
+Version: 3.1.19
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -30,7 +30,7 @@
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: libxslt
-BuildRequires: libzypp-devel >= 14.12.0
+BuildRequires: libzypp-devel >= 14.29.0
BuildRequires: yast2-core-devel
BuildRequires: yast2-devtools >= 3.1.10
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-pkg-bindings-3.1.18/src/Target_DU.cc new/yast2-pkg-bindings-3.1.19/src/Target_DU.cc
--- old/yast2-pkg-bindings-3.1.18/src/Target_DU.cc 2014-08-19 09:51:12.000000000 +0200
+++ new/yast2-pkg-bindings-3.1.19/src/Target_DU.cc 2014-09-17 14:35:11.000000000 +0200
@@ -191,7 +191,12 @@
* parameter: [ $["name":"directory",
* "free":int_free,
* "used":int_used,
- * "readonly":bool] ]
+ * "filesystem":string (file system type ("ext4", "btrfs", ...), optional),
+ * "readonly":bool (read only file system flag , optional),
+ * "growonly":bool (grow only flag, set true if the fs can only grow,
+ * e.g. the old files will still take the space at package upgrage
+ * because they are part of a snapshot)
+ * ] ]
*
* </code>
* @param list<map> param
@@ -215,10 +220,10 @@
bool good = true;
YCPMap partmap;
std::string dname;
- long long bsize = 4096LL;
+ std::string filesystem;
long long dfree = 0LL;
long long dused = 0LL;
- bool readonly = false;
+ zypp::DiskUsageCounter::MountPoint::HintFlags flags = zypp::DiskUsageCounter::MountPoint::NoHint;
if (dirlist->value(i)->isMap())
{
@@ -267,11 +272,28 @@
if (good
&& !partmap->value(YCPString("readonly")).isNull()
- && partmap->value(YCPString("readonly"))->isBoolean())
+ && partmap->value(YCPString("readonly"))->isBoolean()
+ && partmap->value(YCPString("readonly"))->asBoolean()->value())
{
- readonly = partmap->value(YCPString("readonly"))->asBoolean()->value();
+ y2milestone("Setting read only flag");
+ flags = flags | zypp::DiskUsageCounter::MountPoint::Hint_readonly;
+ }
+
+ if (good
+ && !partmap->value(YCPString("growonly")).isNull()
+ && partmap->value(YCPString("growonly"))->isBoolean()
+ && partmap->value(YCPString("growonly"))->asBoolean()->value())
+ {
+ y2milestone("Setting grow only flag");
+ flags = flags | zypp::DiskUsageCounter::MountPoint::Hint_growonly;
+ }
+
+ if (good
+ && !partmap->value(YCPString("filesystem")).isNull()
+ && partmap->value(YCPString("filesystem"))->isString())
+ {
+ filesystem = partmap->value(YCPString("filesystem"))->asString()->value();
}
- // else: optional arg, using default
if (!good)
{
@@ -281,10 +303,18 @@
y2milestone("Adding %s", dname.c_str());
- long long dirsize = dfree + dused;
+ long long totalsize = dfree + dused;
+
+ // use 4kiB blocks (libzypp default is 0 meaning "do not care",
+ // 4kiB is the usual block size on the most systems so this should result
+ // in more precise disk usage counting)
+ long long blocksize = 4096LL;
+ // initialize current package usage to zero, this will be overwritten
+ // when counting the actual disk usage
+ long long pkg_size = 0LL;
+ zypp::DiskUsageCounter::MountPoint mpoint(dname, filesystem, blocksize,
+ totalsize, dused, pkg_size, flags);
- // pkg_size is 0
- zypp::DiskUsageCounter::MountPoint mpoint(dname, bsize, dirsize, dused, 0LL, readonly);
mount_points.insert(mpoint);
}
@@ -292,8 +322,12 @@
{
zypp_ptr()->setPartitions(mount_points);
}
- catch (...)
+ catch(const zypp::Exception &excpt)
{
+ y2error("Setting disk usage failed: %s", excpt.asString().c_str());
+ _last_error.setLastError(ExceptionAsString(excpt));
+ // TODO FIXME: change return type to boolean to allow error reporting
+ return YCPVoid();
}
return YCPVoid();
@@ -342,12 +376,13 @@
dirmap = MPS2YCPMap(mps);
}
- catch (...)
+ catch(const zypp::Exception &excpt)
{
+ y2error("Reading disk usage failed: %s", excpt.asString().c_str());
+ _last_error.setLastError(ExceptionAsString(excpt));
+ return YCPVoid();
}
return dirmap;
}
-
-
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package ImageMagick for openSUSE:Factory checked in at 2014-09-24 13:08:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ImageMagick (Old)
and /work/SRC/openSUSE:Factory/.ImageMagick.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ImageMagick"
Changes:
--------
--- /work/SRC/openSUSE:Factory/ImageMagick/ImageMagick.changes 2014-09-10 07:27:52.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ImageMagick.new/ImageMagick.changes 2014-09-24 13:08:59.000000000 +0200
@@ -1,0 +2,20 @@
+Mon Sep 22 09:12:43 UTC 2014 - pgajdos(a)suse.com
+
+- update to 6.8.9-8
+ * JPEG library version >= 80 is thread safe
+ * Added support for some legacy dds formats
+
+-------------------------------------------------------------------
+Wed Sep 10 13:08:44 UTC 2014 - pgajdos(a)suse.com
+
+- updated to 6.8.9-7
+ * Fix off by one buglet when extracting profiles 8BIM.
+ * Fixed bug when reading 1 bit PSD.
+ * Fixed fill-rule in SVG clip path.
+ * Added support for R5G6B5, RGB5A1 and RGBA4 dds files.
+ * Write LAB pixels as percentages in the TXT image format.
+ * Throw exception when image morphology differs when comparing.
+ * Remove mogrify backup file.
+ * Read WEBP images from STDIN.
+
+-------------------------------------------------------------------
Old:
----
ImageMagick-6.8.9-5.tar.xz
ImageMagick-6.8.9-5.tar.xz.asc
New:
----
ImageMagick-6.8.9-8.tar.xz
ImageMagick-6.8.9-8.tar.xz.asc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ImageMagick.spec ++++++
--- /var/tmp/diff_new_pack.kJNA6r/_old 2014-09-24 13:09:00.000000000 +0200
+++ /var/tmp/diff_new_pack.kJNA6r/_new 2014-09-24 13:09:00.000000000 +0200
@@ -63,7 +63,7 @@
%define maj 6
%define mfr_version %{maj}.8.9
-%define mfr_revision 5
+%define mfr_revision 8
%define quantum_depth 16
%define source_version %{mfr_version}-%{mfr_revision}
%define clibver 2
++++++ ImageMagick-6.8.9-5.tar.xz -> ImageMagick-6.8.9-8.tar.xz ++++++
/work/SRC/openSUSE:Factory/ImageMagick/ImageMagick-6.8.9-5.tar.xz /work/SRC/openSUSE:Factory/.ImageMagick.new/ImageMagick-6.8.9-8.tar.xz differ: char 26, line 1
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2014-09-24 13:08:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mcelog (Old)
and /work/SRC/openSUSE:Factory/.mcelog.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mcelog"
Changes:
--------
--- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes 2014-09-18 07:12:06.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.mcelog.new/mcelog.changes 2014-09-24 13:08:58.000000000 +0200
@@ -1,0 +2,8 @@
+Sat Sep 20 03:16:05 UTC 2014 - crrodriguez(a)opensuse.org
+
+- mcelog.tmpfiles, mcelog-socket-path.patch, move socket
+ and pid file to /run/mcelog directory.
+ This update may require reboot as the relevant rpm macro
+ tmpfiles_create is not yet in any product.
+
+-------------------------------------------------------------------
New:
----
mcelog-socket-path.patch
mcelog.tmpfiles
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mcelog.spec ++++++
--- /var/tmp/diff_new_pack.cd0xvx/_old 2014-09-24 13:08:59.000000000 +0200
+++ /var/tmp/diff_new_pack.cd0xvx/_new 2014-09-24 13:08:59.000000000 +0200
@@ -16,7 +16,6 @@
#
-
Name: mcelog
Summary: Log Machine Check Events
License: GPL-2.0
@@ -32,6 +31,7 @@
Source2: mcelog.sysconfig
Source3: mcelog.systemd
Source4: 90-mcelog.rules
+Source5: mcelog.tmpfiles
Source6: README.email_setup
Patch1: email.patch
Patch2: mcelog_invert_prefill_db_warning.patch
@@ -44,6 +44,7 @@
Patch9: patches/add-f15h-support.patch
Patch10: patches/add-f16h-support.patch
Patch11: 0001-Continue-without-dmi-when-no-SMBIOS-or-SMBIOS-0x0-in.patch
+Patch12: mcelog-socket-path.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %fillup_prereq
Url: https://git.kernel.org/cgit/utils/cpu/mce/mcelog.git
@@ -80,7 +81,7 @@
%patch9 -p1
%patch10 -p1
%patch11 -p1
-
+%patch12 -p1
%build
export SUSE_ASNEEDED=0
make CFLAGS="$RPM_OPT_FLAGS"
@@ -100,6 +101,7 @@
install -m 644 lk10-mcelog.pdf $RPM_BUILD_ROOT/%_docdir/%name/lk10-mcelog.pdf
install -D -m 0644 %SOURCE3 %{buildroot}%{_unitdir}/mcelog.service
install -D -m 0644 %SOURCE4 %{buildroot}%{_udevrulesdir}/90-mcelog.rules
+install -D -m 0644 %SOURCE5 %{buildroot}%{_tmpfilesdir}/mcelog.conf
ln -sf %_sbindir/service ${RPM_BUILD_ROOT}%_sbindir/rcmcelog
%clean
@@ -110,7 +112,9 @@
%post
%fillup_only
+%{?tmpfiles_create:%{tmpfiles_create}}
%udev_rules_update
+
%service_add_post %{name}.service
%preun
@@ -130,6 +134,7 @@
/etc/mcelog/*trigger
%{_unitdir}/mcelog.service
%{_udevrulesdir}/90-mcelog.rules
+%{_tmpfilesdir}/mcelog.conf
%_docdir/%name
%_sbindir/rcmcelog
++++++ mcelog-socket-path.patch ++++++
--- mcelog-1.0.1.orig/paths.h
+++ mcelog-1.0.1/paths.h
@@ -4,8 +4,8 @@
#define DIMM_DB_FILENAME PREFIX "/var/lib/memory-errors"
#define CONFIG_FILENAME PREFIX "/etc/mcelog/mcelog.conf"
-#define SOCKET_PATH "/var/run/mcelog-client"
+#define SOCKET_PATH "/run/mcelog/mcelog-client"
#define LOG_FILE "/var/log/mcelog"
-#define PID_FILE "/var/run/mcelog.pid"
+#define PID_FILE "/run/mcelog/mcelog.pid"
++++++ mcelog.tmpfiles ++++++
d /run/mcelog 0755 root root ---
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package jack for openSUSE:Factory checked in at 2014-09-24 13:08:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/jack (Old)
and /work/SRC/openSUSE:Factory/.jack.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jack"
Changes:
--------
--- /work/SRC/openSUSE:Factory/jack/jack.changes 2014-05-14 10:50:32.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.jack.new/jack.changes 2014-09-24 13:08:54.000000000 +0200
@@ -1,0 +2,53 @@
+Sun Sep 21 13:24:43 UTC 2014 - davejplater(a)gmail.com
+
+- Update to release 1.9.10
+- Removed patches jack-wafdocbuild.patch and aarch64.patch as they
+ are now in upstream.
+- Upstream changes:
+ * Correct JackPortAudioDriver::Open : special case for ASIO drivers.
+ * Correct JackEngine::NotifyGraphReorder : graph-order callback now notified after port latencies update.
+ * netjack/opus: don't re-init en/decoders.
+ * Use string ids in the alsa device list.
+ * controlapi: fix double free on master switch.
+ * netjack1/netone opus support.
+ * netjack1/2 Opus: use only 2bytes for encoded-length.
+ * wscript: add header defines and libs for example-clients/netsource.
+ * fix duplicate prog.includes.
+ * More robust channel mapping handling in JackCoreAudioDriver.
+ * Add opus support to NetJack2.
+ * jack_control: fix epr command.
+ * Update JackCoreAudioDriver and JackCoreAudioAdapter with more recent API.
+ * Devin Anderson patch for Jack/CoreMIDI duplicated messages.
+ * Fix in ALSA adapter.
+ * Fix alsa driver parameter order.
+ * Control API: Enforce driver/internal parameter order.
+ * Extend jack_control to have parameter reset commands.
+ * Align buffers to 32 byte boundaries to allow AVX processing.
+ * New jack_get_cycle_times() implementation from Fons Adriennsen.
+ * Update waf.
+ * [firewire] Introduce UpdateLatencies() in FFADO backend.
+ * [firewire] Allow FFADO backend to change the buffer size.
+ * Rework JackMessageBuffer.
+ * POST_PACKED_STRUCTURE used for jack_latency_range_t type.
+ * Remove JACK_32_64 flag, so POST_PACKED_STRUCTURE now always used.
+ * Improve libjacknet master mode.
+ * In control API, UNIX like sigset_t replaced by more abstract jackctl_sigmask_t * opaque struct.
+ * Check server API callback from notification thread.
+ * Use a time-out in notification channel write function.
+ * Fix lock management in JackEngine.
+ * A bit more robust JackMessageBuffer implementation (in progress).
+ * Rename JackProcessSync in JackPosixProcessSync.
+ * Fix NetJack2 initialisation bug.
+ * Improve ShutDown in NetManager.
+ * Correct ShutDown in JackInternalClient and JackLibClient.
+ * Implement shutdown for in server clients.
+ * Better time-out management in NetJack2.
+ * More robust server/client protocol.
+ * Factorize code the server/client request in JackRequestDecoder class.
+ * Cleanup drivers and internals loading code.
+ * jackctl_driver_params_parse API moved in public control.h.
+ * More general drivers/internals loading model on Windows.
+ * Fix library symbols export issue.
+ * Adrian Knoth fix in midiseq.c.
+
+-------------------------------------------------------------------
Old:
----
aarch64.patch
jack-1.9.9.5.tar.bz2
jack-wafdocbuild.patch
New:
----
jack-1.9.10.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ jack.spec ++++++
--- /var/tmp/diff_new_pack.kJsNJG/_old 2014-09-24 13:08:56.000000000 +0200
+++ /var/tmp/diff_new_pack.kJsNJG/_new 2014-09-24 13:08:56.000000000 +0200
@@ -29,7 +29,7 @@
%define buildoc 1
Name: jack
-Version: 1.9.9.5
+Version: 1.9.10
Release: 0
#to_be_filled_by_service
Summary: Jack-Audio Connection Kit
@@ -37,21 +37,19 @@
Group: System/Sound Daemons
Url: http://jackaudio.org/
# http://www.grame.fr/~letz/
-Source0: http://jackaudio.org/downloads/%{name}-%{version}.tar.bz2
+# Source url invalid http://jackaudio.org/downloads/ converted .tgz to bz2
+Source0: %{name}-%{version}.tar.bz2
Source1: baselibs.conf
# Without this, there is a link error on SPARC
Patch2: jack-sparcv9.diff
# Fix celt build
Patch3: jack-celt-build-fix.diff
-# Fix 1.9.9.5 doc build with patch from git
-Patch4: jack-wafdocbuild.patch
# PATCH-FIX-OPENSUSE jack-ppc64-long.patch dvaleev(a)suse.com -- needed to build blender on ppc64
Patch6: jack-ppc64-long.patch
-# PATCH-FIX-OPENSUSE aarch64.patch -- needed to build hack on aarch64
-Patch7: aarch64.patch
BuildRequires: alsa-devel
BuildRequires: dos2unix
BuildRequires: doxygen
+BuildRequires: fdupes
BuildRequires: flac-devel
BuildRequires: gcc-c++
BuildRequires: libFLAC8
@@ -117,8 +115,6 @@
%patch2
%patch3
%patch6 -p1
-%patch4
-%patch7 -p1
%build
@@ -171,6 +167,7 @@
dos2unix -k %{buildroot}%{_docdir}/%{name}/ChangeLog
dos2unix -k %{buildroot}%{_docdir}/%{name}/README
dos2unix -k %{buildroot}%{_docdir}/%{name}/TODO
+%fdupes -s %{_docdir}/jack-audio-connection-kit/
%post -n libjack0 -p /sbin/ldconfig
++++++ jack-1.9.9.5.tar.bz2 -> jack-1.9.10.tar.bz2 ++++++
++++ 23917 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package libgweather for openSUSE:13.1:Update checked in at 2014-09-24 11:24:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:13.1:Update/libgweather (Old)
and /work/SRC/openSUSE:13.1:Update/.libgweather.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libgweather"
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ _link ++++++
--- /var/tmp/diff_new_pack.ovNhTa/_old 2014-09-24 11:24:44.000000000 +0200
+++ /var/tmp/diff_new_pack.ovNhTa/_new 2014-09-24 11:24:44.000000000 +0200
@@ -1 +1 @@
-<link package='libgweather.2971' cicount='copy' />
+<link package='libgweather.3005' cicount='copy' />
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package libgweather.3005 for openSUSE:13.1:Update checked in at 2014-09-24 11:24:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:13.1:Update/libgweather.3005 (Old)
and /work/SRC/openSUSE:13.1:Update/.libgweather.3005.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libgweather.3005"
Changes:
--------
New Changes file:
--- /dev/null 2014-07-24 01:57:42.080040256 +0200
+++ /work/SRC/openSUSE:13.1:Update/.libgweather.3005.new/libgweather.changes 2014-09-24 11:24:42.000000000 +0200
@@ -0,0 +1,838 @@
+-------------------------------------------------------------------
+Sun Sep 14 18:12:21 UTC 2014 - zaitor(a)opensuse.org
+
+- Add libgweather-yr-api-update.patch: Yr.no updated it's api, and
+ discontinued the old one. This patch updates to the new api.
+ Fixes bnc#896626.
+
+-------------------------------------------------------------------
+Fri Feb 21 19:40:12 UTC 2014 - zaitor(a)opensuse.org
+
+- Update to version 3.10.2 (bnc#871232):
+ + Location database additions (bgo#721446, bgo#720871,
+ bgo#720777, bgo#722301).
+ + Updated translations.
+
+-------------------------------------------------------------------
+Tue Oct 15 18:08:37 UTC 2013 - dimstar(a)opensuse.org
+
+- Update to version 3.10.1:
+ + Misc bug fixes (bgo#708586).
+ + Updated translations.
+
+-------------------------------------------------------------------
+Tue Sep 24 13:46:24 UTC 2013 - dimstar(a)opensuse.org
+
+- Update to version 3.10.0:
+ + Updated translations.
+
+-------------------------------------------------------------------
+Mon Sep 16 18:00:57 UTC 2013 - firebird209(a)gmail.com
+
+- Update to version 3.9.92:
+ + Updated translations.
+
+-------------------------------------------------------------------
+Tue Sep 3 06:46:23 UTC 2013 - dimstar(a)opensuse.org
+
+- Update to version 3.9.91:
+ + Add optional vala support.
+ + Location database fixes.
+ + Updated translations.
+
+-------------------------------------------------------------------
+Mon Aug 19 19:31:18 UTC 2013 - dimstar(a)opensuse.org
+
+- Update to version 3.9.90:
+ + Location database fixes.
+ + Updated translations.
+
+-------------------------------------------------------------------
+Tue Jul 30 16:30:02 UTC 2013 - dimstar(a)opensuse.org
+
+- Update to version 3.9.5:
+ + Translations for the locations database are now stored in
+ separate mo files and looked up at runtime, cutting build times
+ and installed size.
+ + A number of minor API breaks, such as the removal of
+ forecast-type GObject property and accessors; most apps still
+ build fine.
+ + New backend: OpenWeatherMap.
+ + Updated translations.
+- Changes from version 3.9.4:
+ + Fixed handling of detached locations.
+ + Updated translations.
+- No longer pass --enable-locations-compression to configure: the
+ parameter no longer exists, as the translations for the locations
+ database are now stored in .mo files instead of xml files.
+- Drop libgweather-bnc428346-bundle.patch: as there are no xml
+ files installed, there is also no need to look for them in the
+ bundle lang directories.
+- Remove spec hacks that were needed for the Locations.xml
+ handling.
+- Drop translation-update-upstream BuildRequires: no longer needed.
+- Rename libgweather-3-5 subpackage to libgweather-3-6, following
+ upstreams soname change (also in baselibs.conf).
+
+-------------------------------------------------------------------
+Fri Jun 21 12:22:19 UTC 2013 - dimstar(a)opensuse.org
+
+- Update to version 3.9.3:
+ + ABI break: GWeatherLocationEntry now is a subclass of
+ GtkSearchEntry.
+ + Location database fixes.
+ + Updated translations.
+- Rename libgweather-3-3 subpackage to libgweather-3-5, following
+ upstreams soname change (also in baselibs.conf).
+
+-------------------------------------------------------------------
+Wed May 29 12:25:12 UTC 2013 - dimstar(a)opensuse.org
+
+- Update to version 3.9.2:
+ + There is now a single hierarchy of GWeatherLocation structures,
+ and gweather_location_new_world() returns a singleton object.
+ + Therefore, constructors which accepted a @world parameter have
+ been deprecated.
+ + GWeatherInfo now emits ::updated in response to GSettings
+ changes.
+ + A Glade catalog was added, covering the Gtk widgets.
+ + Updated translations.
+- Changes from version 3.9.1:
+ + Miscellaneuous fixes to the METAR, Yahoo and yr.no backends.
+ + GWeatherLocationEntry will autocomplete when pressing enter
+ (if activates-default is true).
+ + GWeatherInfo now enables automatic disk caching of network
+ request and gzip encoding (where available).
+ + New API added to flush the cache to disk, only for language
+ bindings with a GC (ie JS). C, Vala or Python apps get this
+ for free.
+ + Default measure units are now derived from LC_MEASUREMENTS,
+ not LC_MESSAGES, thus respecting the configuration in the
+ Region & Language control center panel.
+ + Updated translations.
+
+-------------------------------------------------------------------
+Mon May 13 21:47:13 UTC 2013 - dimstar(a)opensuse.org
+
+- Update to version 3.8.2:
+ + Fix some timezone issues in Russia.
+
+-------------------------------------------------------------------
+Mon Apr 15 22:04:27 UTC 2013 - dimstar(a)opensuse.org
+
+- Update to version 3.8.1:
+ + Updated translations.
+
+-------------------------------------------------------------------
+Tue Mar 26 07:37:57 UTC 2013 - dimstar(a)opensuse.org
+
+- Update to version 3.8.0:
+ + Updated translations.
+
+-------------------------------------------------------------------
+Mon Mar 18 19:40:45 UTC 2013 - dimstar(a)opensuse.org
+
+- Update to version 3.7.92:
+ + Various fixes to parsing of weather data from network services.
+ + Updated translations.
+
+-------------------------------------------------------------------
+Tue Mar 5 10:11:23 UTC 2013 - dimstar(a)opensuse.org
+
+- Update to version 3.7.91:
+ + GWeather date and time format now use proper Unicode characters
+ + Updated translations.
+
+-------------------------------------------------------------------
+Mon Feb 18 22:16:56 UTC 2013 - dimstar(a)opensuse.org
+
+- Update to version 3.7.90:
+ + Added a gweather.h global include, which is also referenced
+ from the GIR file.
+ + Fixed introspection annotations.
+ + Fixed sunrise and sunset getters requiring forecast data.
+ + Added translation context to ambiguous strings.
+ + Updated translations.
+
+-------------------------------------------------------------------
+Mon Feb 4 22:55:53 UTC 2013 - dimstar(a)opensuse.org
+
+- Update to version 3.7.5:
+ + Updated translations.
+
+-------------------------------------------------------------------
+Tue Jan 15 09:52:26 UTC 2013 - dimstar(a)opensuse.org
+
+- Update to version 3.7.4:
+ + We no longer use libsoup-gnome, and instead depend on a newer
+ libsoup (>= 2.34) which uses libproxy to access proxy
+ configuration.
+ + Location update scripts have been ported to Python 3.
+
+-------------------------------------------------------------------
+Tue Jan 8 18:32:09 UTC 2013 - dimstar(a)opensuse.org
+
+- Update to version 3.7.3:
+ + Two new backends for GWeatherInfo: Yahoo! Weather
+ and Yr.no. Work has started to include Yahoo location data
+ (WOEID) in the offline database.
+ + GWeatherInfo backends can now be enabled and disabled
+ individually from the application side.
+ + GWeatherXML was removed from the public API. No users of it are
+ known, however the soname was bumped.
+ + GWeatherLocation is now serializable to GVariant for storage in
+ GSettings.
+ + GWeatherInfo no longer requires network access for astronomical
+ data.
+ + Unmaintained Windows support was removed.
+ + Updated translations.
+- Rename libgweather-3-1 subpackage to libgweather-3-3, according
+ shared library packaging policy (also in baselibs.conf).
+
+-------------------------------------------------------------------
+Sun Nov 25 18:02:33 UTC 2012 - dimstar(a)opensuse.org
+
+- Update to version 3.7.2:
+ + Fixed deprecation warnings for modern GLib.
+ + Updated translations.
++++ 641 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:13.1:Update/.libgweather.3005.new/libgweather.changes
New:
----
baselibs.conf
libgweather-3.10.2.tar.xz
libgweather-yr-api-update.patch
libgweather.changes
libgweather.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libgweather.spec ++++++
#
# spec file for package libgweather
#
# Copyright (c) 2014 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: libgweather
Version: 3.10.2
Release: 0
Summary: Library to get online weather information
License: GPL-2.0+
Group: Development/Libraries/GNOME
Url: http://developer.gnome.org/libgweather/
Source: http://download.gnome.org/sources/libgweather/3.10/%{name}-%{version}.tar.xz
Source99: baselibs.conf
# PATCH-FIX-UPSTREAM libgweather-yr-api-update.patch bnc#896626 bgo#736334 zaitor(a)opensuse.org - Update yr.no api to version 1.9, version 1.8 has been discontinued by yr.no
Patch0: libgweather-yr-api-update.patch
# For directory ownership
BuildRequires: gnome-icon-theme
BuildRequires: gobject-introspection-devel
BuildRequires: gtk3-devel
BuildRequires: intltool
BuildRequires: libsoup-devel >= 2.34.0
BuildRequires: libxml2-tools
BuildRequires: libxslt
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This is a library to download weather information from online sources.
%package data
Summary: Library to get online weather information
Group: Development/Libraries/GNOME
# For directory ownership
Requires: gnome-icon-theme
Requires: libgweather-3-6 = %{version}
Recommends: %{name}-lang
Provides: %{name} = %{version}
Obsoletes: %{name} < %{version}
BuildArch: noarch
%glib2_gsettings_schema_requires
%description data
This is a library to download weather information from online sources.
This package provides the architecture independent files.
%package devel
Summary: Library to get online weather information
Group: Development/Libraries/GNOME
Requires: libgweather-3-6 = %{version}
Requires: typelib-1_0-GWeather-3_0 = %{version}
# prior to version 2.21.x, gnome-applets-devel only included files
# now included in libgweather-devel, so we provide/obsolete
# gnome-applets-devel here.
Provides: gnome-applets-devel = 2.21.4
Obsoletes: gnome-applets-devel < 2.21.4
# gnome-applets-devel also provided and obsoleted gswitchit-devel, so
# we need to do that here as well
Provides: gswitchit-devel
Obsoletes: gswitchit-devel
%description devel
This is a library to download weather information from online sources.
%package -n libgweather-3-6
Summary: Library to get online weather information
Group: Development/Libraries/GNOME
Requires: %{name}-data >= %{version}
%description -n libgweather-3-6
This is a library to download weather information from online sources.
%package -n typelib-1_0-GWeather-3_0
Summary: Library to get online weather information -- Introspection bindings
Group: System/Libraries
%description -n typelib-1_0-GWeather-3_0
This is a library to download weather information from online sources.
This package provides the GObject Introspection bindings for the
libgweather library.
%lang_package
%prep
%setup -q
%patch0 -p1
%build
%configure \
--disable-static \
--enable-introspection
%{__make} %{?_smp_mflags}
%install
%makeinstall
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%find_lang libgweather-3.0 %{?no_lang_C}
%find_lang libgweather-locations libgweather-3.0.lang %{?no_ang_C}
%clean
%{__rm} -rf %{buildroot}
%post -n libgweather-3-6 -p /sbin/ldconfig
%postun -n libgweather-3-6 -p /sbin/ldconfig
%post data
%glib2_gsettings_schema_post
%icon_theme_cache_post gnome
%postun data
%glib2_gsettings_schema_postun
%icon_theme_cache_postun gnome
%files data
%defattr(-,root,root)
%doc AUTHORS README NEWS ChangeLog
%{_datadir}/glib-2.0/schemas/org.gnome.GWeather.enums.xml
%{_datadir}/glib-2.0/schemas/org.gnome.GWeather.gschema.xml
%{_datadir}/icons/gnome/*/status/weather-*.*
%{_datadir}/libgweather/
%files -n libgweather-3-6
%defattr(-, root, root)
%{_libdir}/*.so.*
%files -n typelib-1_0-GWeather-3_0
%defattr(-,root,root)
%{_libdir}/girepository-1.0/GWeather-3.0.typelib
%files devel
%defattr(-,root,root)
%{_includedir}/libgweather-3.0
%{_libdir}/*.so
%{_libdir}/pkgconfig/gweather-3.0.pc
%{_datadir}/gir-1.0/GWeather-3.0.gir
# Own these repositories to not depend on gtk-doc while building:
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%{_datadir}/gtk-doc/html/libgweather-3.0
%files lang -f %{name}-3.0.lang
%changelog
++++++ baselibs.conf ++++++
libgweather-3-6
++++++ libgweather-yr-api-update.patch ++++++
>From 89de9f95660f2fcdaf8ffc4ebe3c7c192d42f464 Mon Sep 17 00:00:00 2001
From: Giovanni Campagna <gcampagna(a)src.gnome.org>
Date: Tue, 9 Sep 2014 14:15:43 -0700
Subject: Yr.no: update to version 1.9 of the online API
The old version has been discontinued (without notice), start
using the new one.
https://bugzilla.gnome.org/show_bug.cgi?id=736334
diff --git a/libgweather/weather-yrno.c b/libgweather/weather-yrno.c
index f7db931..af47861 100644
--- a/libgweather/weather-yrno.c
+++ b/libgweather/weather-yrno.c
@@ -44,25 +44,46 @@ static struct {
GWeatherSky sky;
GWeatherConditions condition;
} symbols[] = {
- { GWEATHER_SKY_CLEAR, { FALSE, GWEATHER_PHENOMENON_NONE, GWEATHER_QUALIFIER_NONE } }, /* Sun / clear sky */
- { GWEATHER_SKY_BROKEN, { FALSE, GWEATHER_PHENOMENON_NONE, GWEATHER_QUALIFIER_NONE } }, /* Fair */
- { GWEATHER_SKY_SCATTERED, { FALSE, GWEATHER_PHENOMENON_NONE, GWEATHER_QUALIFIER_NONE } }, /* Partly cloudy */
+ { GWEATHER_SKY_CLEAR, { FALSE, GWEATHER_PHENOMENON_NONE, GWEATHER_QUALIFIER_NONE } }, /* Sun */
+ { GWEATHER_SKY_BROKEN, { FALSE, GWEATHER_PHENOMENON_NONE, GWEATHER_QUALIFIER_NONE } }, /* LightCloud */
+ { GWEATHER_SKY_SCATTERED, { FALSE, GWEATHER_PHENOMENON_NONE, GWEATHER_QUALIFIER_NONE } }, /* PartlyCloudy */
{ GWEATHER_SKY_OVERCAST, { FALSE, GWEATHER_PHENOMENON_NONE, GWEATHER_QUALIFIER_NONE } }, /* Cloudy */
- { GWEATHER_SKY_BROKEN, { TRUE, GWEATHER_PHENOMENON_RAIN, GWEATHER_QUALIFIER_SHOWERS } }, /* Rain showers */
- { GWEATHER_SKY_BROKEN, { TRUE, GWEATHER_PHENOMENON_RAIN, GWEATHER_QUALIFIER_THUNDERSTORM } }, /* Rain showers with thunder */
- { GWEATHER_SKY_BROKEN, { TRUE, GWEATHER_PHENOMENON_ICE_PELLETS, GWEATHER_QUALIFIER_SHOWERS } }, /* Sleet showers */
- { GWEATHER_SKY_OVERCAST, { TRUE, GWEATHER_PHENOMENON_SNOW, GWEATHER_QUALIFIER_SHOWERS } }, /* Snow showers */
+ { GWEATHER_SKY_BROKEN, { TRUE, GWEATHER_PHENOMENON_RAIN, GWEATHER_QUALIFIER_LIGHT } }, /* LightRainSun */
+ { GWEATHER_SKY_BROKEN, { TRUE, GWEATHER_PHENOMENON_RAIN, GWEATHER_QUALIFIER_THUNDERSTORM } }, /* LightRainThunderSun */
+ { GWEATHER_SKY_BROKEN, { TRUE, GWEATHER_PHENOMENON_ICE_PELLETS, GWEATHER_QUALIFIER_NONE } }, /* SleetSun */
+ { GWEATHER_SKY_OVERCAST, { TRUE, GWEATHER_PHENOMENON_SNOW, GWEATHER_QUALIFIER_NONE } }, /* SnowSun */
{ GWEATHER_SKY_OVERCAST, { TRUE, GWEATHER_PHENOMENON_RAIN, GWEATHER_QUALIFIER_NONE } }, /* Rain */
- { GWEATHER_SKY_OVERCAST, { TRUE, GWEATHER_PHENOMENON_RAIN, GWEATHER_QUALIFIER_HEAVY } }, /* Heavy rain */
- { GWEATHER_SKY_OVERCAST, { TRUE, GWEATHER_PHENOMENON_RAIN, GWEATHER_QUALIFIER_THUNDERSTORM } }, /* Rain and thunder */
+ { GWEATHER_SKY_OVERCAST, { TRUE, GWEATHER_PHENOMENON_RAIN, GWEATHER_QUALIFIER_THUNDERSTORM } }, /* RainThunder */
{ GWEATHER_SKY_OVERCAST, { TRUE, GWEATHER_PHENOMENON_ICE_PELLETS, GWEATHER_QUALIFIER_NONE } }, /* Sleet */
{ GWEATHER_SKY_OVERCAST, { TRUE, GWEATHER_PHENOMENON_SNOW, GWEATHER_QUALIFIER_NONE } }, /* Snow */
- { GWEATHER_SKY_OVERCAST, { TRUE, GWEATHER_PHENOMENON_SNOW, GWEATHER_QUALIFIER_THUNDERSTORM } }, /* Snow and thunder */
+ { GWEATHER_SKY_OVERCAST, { TRUE, GWEATHER_PHENOMENON_SNOW, GWEATHER_QUALIFIER_THUNDERSTORM } }, /* SnowThunder */
{ GWEATHER_SKY_CLEAR, { TRUE, GWEATHER_PHENOMENON_FOG, GWEATHER_QUALIFIER_NONE } }, /* Fog */
- { GWEATHER_SKY_BROKEN, { TRUE, GWEATHER_PHENOMENON_ICE_PELLETS, GWEATHER_QUALIFIER_THUNDERSTORM } }, /* Sleet showers and thunder */
- { GWEATHER_SKY_BROKEN, { TRUE, GWEATHER_PHENOMENON_SNOW, GWEATHER_QUALIFIER_THUNDERSTORM } }, /* Snow showers and thunder */
- { GWEATHER_SKY_OVERCAST, { TRUE, GWEATHER_PHENOMENON_RAIN, GWEATHER_QUALIFIER_HEAVY } }, /* Rain and thunder */
- { GWEATHER_SKY_OVERCAST, { TRUE, GWEATHER_PHENOMENON_ICE_PELLETS, GWEATHER_QUALIFIER_HEAVY } } /* Sleet and thunder */
+ { GWEATHER_SKY_BROKEN, { TRUE, GWEATHER_PHENOMENON_ICE_PELLETS, GWEATHER_QUALIFIER_THUNDERSTORM } }, /* SleetSunThunder */
+ { GWEATHER_SKY_BROKEN, { TRUE, GWEATHER_PHENOMENON_SNOW, GWEATHER_QUALIFIER_THUNDERSTORM } }, /* SnowSunThunder */
+ { GWEATHER_SKY_OVERCAST, { TRUE, GWEATHER_PHENOMENON_RAIN, GWEATHER_QUALIFIER_THUNDERSTORM } }, /* LightRainThunder */
+ { GWEATHER_SKY_OVERCAST, { TRUE, GWEATHER_PHENOMENON_ICE_PELLETS, GWEATHER_QUALIFIER_THUNDERSTORM } }, /* SleetThunder */
+ { GWEATHER_SKY_BROKEN, { TRUE, GWEATHER_PHENOMENON_DRIZZLE, GWEATHER_QUALIFIER_THUNDERSTORM } }, /* DrizzleThunderSun */
+ { GWEATHER_SKY_BROKEN, { TRUE, GWEATHER_PHENOMENON_RAIN, GWEATHER_QUALIFIER_THUNDERSTORM } }, /* RainThunderSun */
+ { GWEATHER_SKY_BROKEN, { TRUE, GWEATHER_PHENOMENON_ICE_PELLETS, GWEATHER_QUALIFIER_LIGHT } }, /* LightSleetThunderSun */
+ { GWEATHER_SKY_BROKEN, { TRUE, GWEATHER_PHENOMENON_ICE_PELLETS, GWEATHER_QUALIFIER_HEAVY } }, /* HeavySleetThunderSun */
+ { GWEATHER_SKY_BROKEN, { TRUE, GWEATHER_PHENOMENON_SNOW, GWEATHER_QUALIFIER_LIGHT } }, /* LightSnowThunderSun */
+ { GWEATHER_SKY_BROKEN, { TRUE, GWEATHER_PHENOMENON_SNOW, GWEATHER_QUALIFIER_HEAVY } }, /* HeavySnowThunderSun */
+ { GWEATHER_SKY_OVERCAST, { TRUE, GWEATHER_PHENOMENON_DRIZZLE, GWEATHER_QUALIFIER_THUNDERSTORM } }, /* DrizzleThunder */
+ { GWEATHER_SKY_OVERCAST, { TRUE, GWEATHER_PHENOMENON_ICE_PELLETS, GWEATHER_QUALIFIER_LIGHT } }, /* LightSleetThunder */
+ { GWEATHER_SKY_OVERCAST, { TRUE, GWEATHER_PHENOMENON_ICE_PELLETS, GWEATHER_QUALIFIER_HEAVY } }, /* HeavySleetThunder */
+ { GWEATHER_SKY_OVERCAST, { TRUE, GWEATHER_PHENOMENON_SNOW, GWEATHER_QUALIFIER_LIGHT } }, /* LightSnowThunder */
+ { GWEATHER_SKY_OVERCAST, { TRUE, GWEATHER_PHENOMENON_SNOW, GWEATHER_QUALIFIER_HEAVY } }, /* HeavySnowThunder */
+ { GWEATHER_SKY_BROKEN, { TRUE, GWEATHER_PHENOMENON_DRIZZLE, GWEATHER_QUALIFIER_NONE } }, /* DrizzleSun */
+ { GWEATHER_SKY_BROKEN, { TRUE, GWEATHER_PHENOMENON_RAIN, GWEATHER_QUALIFIER_NONE } }, /* RainSun */
+ { GWEATHER_SKY_BROKEN, { TRUE, GWEATHER_PHENOMENON_ICE_PELLETS, GWEATHER_QUALIFIER_LIGHT } }, /* LightSleetSun */
+ { GWEATHER_SKY_BROKEN, { TRUE, GWEATHER_PHENOMENON_ICE_PELLETS, GWEATHER_QUALIFIER_HEAVY } }, /* HeavySleetSun */
+ { GWEATHER_SKY_BROKEN, { TRUE, GWEATHER_PHENOMENON_SNOW, GWEATHER_QUALIFIER_LIGHT } }, /* LightSnowSun */
+ { GWEATHER_SKY_BROKEN, { TRUE, GWEATHER_PHENOMENON_SNOW, GWEATHER_QUALIFIER_HEAVY } }, /* HeavySnowSun */
+ { GWEATHER_SKY_OVERCAST, { TRUE, GWEATHER_PHENOMENON_DRIZZLE, GWEATHER_QUALIFIER_NONE } }, /* Drizzle */
+ { GWEATHER_SKY_OVERCAST, { TRUE, GWEATHER_PHENOMENON_ICE_PELLETS, GWEATHER_QUALIFIER_LIGHT } }, /* LightSleet */
+ { GWEATHER_SKY_OVERCAST, { TRUE, GWEATHER_PHENOMENON_ICE_PELLETS, GWEATHER_QUALIFIER_HEAVY } }, /* HeavySleet */
+ { GWEATHER_SKY_OVERCAST, { TRUE, GWEATHER_PHENOMENON_SNOW, GWEATHER_QUALIFIER_LIGHT } }, /* LightSnow */
+ { GWEATHER_SKY_OVERCAST, { TRUE, GWEATHER_PHENOMENON_SNOW, GWEATHER_QUALIFIER_HEAVY } } /* HeavySnow */
};
static struct {
@@ -207,6 +228,22 @@ read_pressure (GWeatherInfo *info,
}
static inline void
+read_humidity (GWeatherInfo *info,
+ xmlNodePtr node)
+{
+ xmlChar *val;
+ double percent;
+
+ val = xmlGetProp (node, XC("value"));
+ if (val == NULL)
+ return;
+
+ percent = g_ascii_strtod ((char*) val, NULL);
+ info->priv->humidity = percent;
+ info->priv->hasHumidity = TRUE;
+}
+
+static inline void
read_child_node (GWeatherInfo *info,
xmlNodePtr node)
{
@@ -220,6 +257,8 @@ read_child_node (GWeatherInfo *info,
read_temperature (info, node);
else if (strcmp ((char*) node->name, "pressure") == 0)
read_pressure (info, node);
+ else if (strcmp ((char*) node->name, "humidity") == 0)
+ read_humidity (info, node);
}
static inline void
--- orig-libgweather-3.10.2/libgweather/weather-yrno.c 2014-02-02 17:38:57.000000000 +0100
+++ libgweather-3.10.2/libgweather/weather-yrno.c 2014-09-14 20:07:55.799656172 +0200
@@ -536,7 +536,7 @@
g_ascii_dtostr (latstr, sizeof(latstr), RADIANS_TO_DEGREES (loc->latitude));
g_ascii_dtostr (lonstr, sizeof(lonstr), RADIANS_TO_DEGREES (loc->longitude));
- url = g_strdup_printf("http://api.yr.no/weatherapi/locationforecast/1.8/?lat=%s;lon=%s", latstr, lonstr);
+ url = g_strdup_printf("http://api.yr.no/weatherapi/locationforecast/1.9/?lat=%s;lon=%s", latstr, lonstr);
message = soup_message_new ("GET", url);
soup_session_queue_message (priv->session, message, yrno_finish_new, info);
--
cgit v0.10.1
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0