Hello community,
here is the log from the commit of package nmh
checked in at Thu Mar 29 00:56:23 CEST 2007.
--------
--- nmh/nmh.changes 2007-03-23 15:07:29.000000000 +0100
+++ /mounts/work_src_done/STABLE/nmh/nmh.changes 2007-03-28 18:08:19.000000000 +0200
@@ -1,0 +2,7 @@
+Wed Mar 28 18:03:34 CEST 2007 - max@suse.de
+
+- Update to version 1.2, which fixes a crash (#230763) and a
+ performance problem (#230764).
+- Fixed several compiler warnings (#232416).
+
+-------------------------------------------------------------------
Old:
----
nmh-1.1-destdir.diff
nmh-1.1-RC4.tar.bz2
nmh-1.1-warning.diff
New:
----
nmh-1.2.tar.bz2
nmh-warnings.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nmh.spec ++++++
--- /var/tmp/diff_new_pack.X19277/_old 2007-03-29 00:56:15.000000000 +0200
+++ /var/tmp/diff_new_pack.X19277/_new 2007-03-29 00:56:15.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package nmh (Version 1.1)
+# spec file for package nmh (Version 1.2)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -13,18 +13,17 @@
Name: nmh
BuildRequires: gdbm-devel ncurses-devel postfix
License: Other License(s), see package
-Group: Productivity/Networking/Email/Utilities
+Group: Productivity/Networking/Email/Clients
Requires: smtp_daemon, less
Provides: mh
Obsoletes: mh
Autoreqprov: on
-Version: 1.1
-Release: 227
+Version: 1.2
+Release: 1
Summary: Unix Mail Handler
URL: http://www.mhost.com/nmh/
-Source: %{name}-%{version}-RC4.tar.bz2
-Patch: %{name}-%{version}-destdir.diff
-Patch1: %{name}-%{version}-warning.diff
+Source: %{name}-%{version}.tar.bz2
+Patch0: nmh-warnings.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -44,12 +43,16 @@
Authors:
--------
- Richard Coleman (coleman@math.gatech.edu)
+ Richard Coleman
+ Dan Harkless
+ Shantonu Sen
+ Doug Morris
+ de Rooij
+ Oliver Kiddle
%prep
-%setup -q -n %name-%version-RC4
-%patch -p1
-%patch1
+%setup -q
+%patch0
%build
libtoolize --copy --force
@@ -80,6 +83,10 @@
%doc docs/TODO docs/README* COPYRIGHT
%changelog
+* Wed Mar 28 2007 - max@suse.de
+- Update to version 1.2, which fixes a crash (#230763) and a
+ performance problem (#230764).
+- Fixed several compiler warnings (#232416).
* Fri Mar 23 2007 - rguenther@suse.de
- add gdbm-devel and ncurses-devel BuildRequires
* Fri Jan 26 2007 - ro@suse.de
++++++ nmh-1.1-RC4.tar.bz2 -> nmh-1.2.tar.bz2 ++++++
++++ 9899 lines of diff (skipped)
++++++ nmh-warnings.patch ++++++
--- h/nmh.h
+++ h/nmh.h
@@ -113,9 +113,13 @@
#include
#define bcmp(b1,b2,length) memcmp(b1, b2, length)
+#ifndef bcopy
#define bcopy(b1,b2,length) memcpy (b2, b1, length)
+#endif
#define bcpy(b1,b2,length) memcmp (b1, b2, length)
+#ifndef bzero
#define bzero(b,length) memset (b, 0, length)
+#endif
#ifdef HAVE_KILLPG
# define KILLPG(pgrp,sig) killpg(pgrp,sig);
--- sbr/getans.c
+++ sbr/getans.c
@@ -30,9 +30,8 @@
SIGNAL_HANDLER istat;
char *cp, **cpp;
- if (!(setjmp (sigenv))) {
- istat = SIGNAL (SIGINT, intrser);
- } else {
+ istat = SIGNAL (SIGINT, intrser);
+ if (setjmp (sigenv)) {
SIGNAL (SIGINT, istat);
return NULL;
}
--- uip/inc.c
+++ uip/inc.c
@@ -542,7 +542,7 @@
adios (NULL, "no mail to incorporate");
if ((cp = strdup(newmail)) == (char *)0)
- adios (maildir, "error allocating memory to copy newmail");
+ adios (newmail, "error allocating memory to copy newmail");
newmail = cp;
}
--- uip/mhbuildsbr.c
+++ uip/mhbuildsbr.c
@@ -3619,10 +3619,10 @@
scan_content (CT ct)
{
int len;
- int check8bit, contains8bit = 0; /* check if contains 8bit data */
- int checklinelen, linelen = 0; /* check for long lines */
- int checkboundary, boundaryclash = 0; /* check if clashes with multipart boundary */
- int checklinespace, linespace = 0; /* check if any line ends with space */
+ int check8bit = 0, contains8bit = 0; /* check if contains 8bit data */
+ int checklinelen = 0, linelen = 0; /* check for long lines */
+ int checkboundary = 0, boundaryclash = 0; /* check if clashes with multipart boundary */
+ int checklinespace = 0, linespace = 0; /* check if any line ends with space */
int checkebcdic, ebcdicunsafe = 0; /* check if contains ebcdic unsafe characters */
char *cp, buffer[BUFSIZ];
struct text *t;
--- uip/msgchk.c
+++ uip/msgchk.c
@@ -307,13 +307,12 @@
if (vecp == 0) {
char *home;
- home = (uid = geteuid()) ? home = getenv ("HOME") : NULL;
+ home = (uid = geteuid()) ? getenv ("HOME") : NULL;
if (home == NULL) {
pw = getpwnam (user);
if (pw == NULL)
adios (NULL, "unable to get information about user");
- if (home == NULL)
- home = pw->pw_dir;
+ home = pw->pw_dir;
}
status = checkmail (user, home, datesw, notifysw, 1);
} else {
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org