Hello community, here is the log from the commit of package opie for openSUSE:Factory checked in at 2017-04-25 08:54:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/opie (Old) and /work/SRC/openSUSE:Factory/.opie.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "opie" Tue Apr 25 08:54:07 2017 rev:28 rq:484789 version:2.4 Changes: -------- --- /work/SRC/openSUSE:Factory/opie/opie.changes 2012-03-12 08:53:48.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.opie.new/opie.changes 2017-04-25 08:54:08.269453445 +0200 @@ -1,0 +2,8 @@ +Mon Apr 3 06:21:18 UTC 2017 - meiss...@suse.com + +- opie-fix-indendation.patch: fixed a wrong ; that broke a while() + loop +- opie-2.4-decl.diff: added missing stdlib.h, ctype.h, time.h + includes everywhere (bsc#1031339) + +------------------------------------------------------------------- New: ---- opie-fix-indendation.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ opie.spec ++++++ --- /var/tmp/diff_new_pack.eNK5LT/_old 2017-04-25 08:54:09.977211963 +0200 +++ /var/tmp/diff_new_pack.eNK5LT/_new 2017-04-25 08:54:09.981211397 +0200 @@ -1,7 +1,7 @@ # # spec file for package opie # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # - Name: opie #!BuildIgnore: opie BuildRequires: automake @@ -24,9 +23,7 @@ BuildRequires: pam-devel Url: http://www.inner.net/opie Version: 2.4 -Release: 708 -License: SUSE-Innernet-2.0 -Group: Productivity/Security +Release: 0 Provides: pam_opie %define name_pam pam_opie %define version_pam 0.21 @@ -54,7 +51,10 @@ Patch18: opie-fix-autoconf.patch Patch19: opie-2.4-DESTDIR.patch Patch20: opie-2.4-pie.patch +Patch21: opie-fix-indendation.patch Summary: Support for One-Time Passwords +License: SUSE-Innernet-2.0 +Group: Productivity/Security BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: permissions @@ -91,6 +91,7 @@ %patch17 %patch18 %patch20 -p1 +%patch21 -p1 %build # build opie ++++++ opie-2.4-decl.diff ++++++ --- /var/tmp/diff_new_pack.eNK5LT/_old 2017-04-25 08:54:10.053201217 +0200 +++ /var/tmp/diff_new_pack.eNK5LT/_new 2017-04-25 08:54:10.057200652 +0200 @@ -1,6 +1,8 @@ ---- opie-2.4/libopie/generator.c +Index: opie-2.4/libopie/generator.c +=================================================================== +--- opie-2.4.orig/libopie/generator.c +++ opie-2.4/libopie/generator.c -@@ -49,6 +49,8 @@ +@@ -49,6 +49,8 @@ you didn't get a copy, you may request o #endif /* DEBUG */ #include "opie.h" @@ -9,9 +11,11 @@ static char *algids[] = { NULL, NULL, NULL, "sha1", "md4", "md5" }; #if OPIEAUTO ---- opie-2.4/libopie/lookup.c +Index: opie-2.4/libopie/lookup.c +=================================================================== +--- opie-2.4.orig/libopie/lookup.c +++ opie-2.4/libopie/lookup.c -@@ -13,6 +13,7 @@ +@@ -13,6 +13,7 @@ you didn't get a copy, you may request o #include "opie_cfg.h" #include <stdio.h> @@ -19,9 +23,11 @@ #include "opie.h" int opielookup FUNCTION((opie, principal), struct opie *opie AND char *principal) ---- opie-2.4/libopie/md4c.c +Index: opie-2.4/libopie/md4c.c +=================================================================== +--- opie-2.4.orig/libopie/md4c.c +++ opie-2.4/libopie/md4c.c -@@ -44,6 +44,8 @@ +@@ -44,6 +44,8 @@ License Agreement applies to this softwa #include "opie_cfg.h" #include "opie.h" @@ -30,9 +36,11 @@ /* Constants for MD4Transform routine. */ #define S11 3 ---- opie-2.4/libopie/md5c.c +Index: opie-2.4/libopie/md5c.c +=================================================================== +--- opie-2.4.orig/libopie/md5c.c +++ opie-2.4/libopie/md5c.c -@@ -47,6 +47,7 @@ +@@ -47,6 +47,7 @@ License Agreement applies to this softwa #include "opie_cfg.h" #include "opie.h" @@ -40,9 +48,29 @@ /* Constants for MD5Transform routine. */ ---- opie-2.4/libopie/newseed.c +Index: opie-2.4/libopie/newseed.c +=================================================================== +--- opie-2.4.orig/libopie/newseed.c +++ opie-2.4/libopie/newseed.c -@@ -35,6 +35,8 @@ +@@ -16,16 +16,11 @@ you didn't get a copy, you may request o + */ + + #include "opie_cfg.h" +-#if HAVE_TIME_H + #include <time.h> +-#endif /* HAVE_TIME_H */ +-#if HAVE_STRING_H + #include <string.h> +-#endif /* HAVE_STRING_H */ + #include <ctype.h> +-#if HAVE_UNISTD_H + #include <unistd.h> +-#endif /* HAVE_UNISTD_H */ ++#include <stdlib.h> + #if HAVE_SYS_UTSNAME_H + #include <sys/utsname.h> + #endif /* HAVE_SYS_UTSNAME_H */ +@@ -35,6 +30,8 @@ you didn't get a copy, you may request o #endif /* DEBUG */ #include "opie.h" @@ -51,9 +79,11 @@ int opienewseed FUNCTION((seed), char *seed) { if (!seed) ---- opie-2.4/libopie/passwd.c +Index: opie-2.4/libopie/passwd.c +=================================================================== +--- opie-2.4.orig/libopie/passwd.c +++ opie-2.4/libopie/passwd.c -@@ -23,6 +23,8 @@ +@@ -23,6 +23,8 @@ you didn't get a copy, you may request o #include "opie_cfg.h" #include "opie.h" @@ -62,46 +92,190 @@ int opiepasswd FUNCTION((old, flags, principal, n, seed, ks), struct opie *old AND int flags AND char *principal AND int n AND char *seed AND char *ks) { int i; ---- opie-2.4/libopie/randomchallenge.c +Index: opie-2.4/libopie/randomchallenge.c +=================================================================== +--- opie-2.4.orig/libopie/randomchallenge.c +++ opie-2.4/libopie/randomchallenge.c -@@ -29,6 +29,9 @@ +@@ -29,6 +29,10 @@ License Agreement applies to this softwa #include "opie_cfg.h" #include "opie.h" +#include <string.h> +#include <stdio.h> ++#include <stdlib.h> + static char *algids[] = { 0, 0, 0, "sha1", "md4", "md5" }; /* Generate a random challenge */ ---- opie-2.4/libopie/version.c +Index: opie-2.4/libopie/version.c +=================================================================== +--- opie-2.4.orig/libopie/version.c +++ opie-2.4/libopie/version.c -@@ -20,6 +20,8 @@ +@@ -20,6 +20,9 @@ License Agreement applies to this softwa #include "opie_cfg.h" #include "opie.h" +#include <stdio.h> ++#include <stdlib.h> + VOIDRET opieversion FUNCTION_NOARGS { printf("\nOPIE %s (%s)\n\n", VERSION, DATE); ---- opie-2.4/opiegen.c +Index: opie-2.4/opiegen.c +=================================================================== +--- opie-2.4.orig/opiegen.c +++ opie-2.4/opiegen.c -@@ -18,6 +18,7 @@ +@@ -18,6 +18,9 @@ you didn't get a copy, you may request o */ #include "opie_cfg.h" #include <stdio.h> +#include <string.h> ++#include <stdlib.h> ++#include <ctype.h> #if DEBUG #include <syslog.h> #endif /* DEBUG */ ---- opie-2.4/opietest.c +Index: opie-2.4/opietest.c +=================================================================== +--- opie-2.4.orig/opietest.c +++ opie-2.4/opietest.c -@@ -28,6 +28,7 @@ +@@ -28,6 +28,9 @@ you didn't get a copy, you may request o */ #include "opie_cfg.h" #include <stdio.h> +#include <string.h> ++#include <unistd.h> ++#include <stdlib.h> #include "opie.h" char buffer[1024]; +Index: opie-2.4/opielogin.c +=================================================================== +--- opie-2.4.orig/opielogin.c ++++ opie-2.4/opielogin.c +@@ -113,6 +113,8 @@ License Agreement applies to this softwa + #endif /* HAVE_SYS_TIME_H */ + #endif /* TIME_WITH_SYS_TIME */ + ++#include <time.h> ++ + #if HAVE_SYS_FILE_H + #include <sys/file.h> + #endif /* HAVE_SYS_FILE_H */ +@@ -121,6 +123,7 @@ License Agreement applies to this softwa + #include <pwd.h> /* POSIX Password routines */ + #endif /* HAVE_PWD_H */ + #include <stdio.h> ++#include <ctype.h> + #include <errno.h> + #if HAVE_UNISTD_H + #include <unistd.h> /* Basic POSIX macros and functions */ +Index: opie-2.4/libopie/logwtmp.c +=================================================================== +--- opie-2.4.orig/libopie/logwtmp.c ++++ opie-2.4/libopie/logwtmp.c +@@ -70,6 +70,7 @@ License Agreement applies to this softwa + #endif /* HAVE_SYS_TIME_H */ + #include <sys/stat.h> + #include <fcntl.h> ++#include <time.h> + #include <utmp.h> + #if HAVE_UNISTD_H + #include <unistd.h> +Index: opie-2.4/libopie/login.c +=================================================================== +--- opie-2.4.orig/libopie/login.c ++++ opie-2.4/libopie/login.c +@@ -22,6 +22,7 @@ you didn't get a copy, you may request o + #include <stdio.h> + #include <sys/types.h> + #include <utmp.h> ++#include <unistd.h> + + #if DOUTMPX + #include <utmpx.h> +Index: opie-2.4/opiekey.c +=================================================================== +--- opie-2.4.orig/opiekey.c ++++ opie-2.4/opiekey.c +@@ -37,11 +37,13 @@ License Agreement applies to this softwa + Written at Bellcore for the S/Key Version 1 software distribution + (skey.c). + */ ++#define _GNU_SOURCE + #include "opie_cfg.h" + + #include <stdio.h> + #include <string.h> + #include <stdlib.h> ++#include <unistd.h> + + #include "opie.h" + +Index: opie-2.4/opieinfo.c +=================================================================== +--- opie-2.4.orig/opieinfo.c ++++ opie-2.4/opieinfo.c +@@ -34,6 +34,7 @@ License Agreement applies to this softwa + #include "opie_cfg.h" + #include <stdio.h> + #include <errno.h> ++#include <stdlib.h> + #if HAVE_UNISTD_H + #include <unistd.h> + #endif /* HAVE_UNISTD_H */ +Index: opie-2.4/glob.c +=================================================================== +--- opie-2.4.orig/glob.c ++++ opie-2.4/glob.c +@@ -69,6 +69,7 @@ License Agreement applies to this softwa + #endif /* HAVE_PWD_H */ + #include <errno.h> + #include <stdio.h> ++#include <stdlib.h> + #include <string.h> + #if HAVE_LIMITS_H + #include <limits.h> +Index: opie-2.4/libopie/parsechallenge.c +=================================================================== +--- opie-2.4.orig/libopie/parsechallenge.c ++++ opie-2.4/libopie/parsechallenge.c +@@ -16,9 +16,9 @@ you didn't get a copy, you may request o + */ + + #include "opie_cfg.h" +-#if HAVE_STRING_H + #include <string.h> +-#endif /* HAVE_STRING_H */ ++#include <stdlib.h> ++#include <ctype.h> + #include "opie.h" + + struct algorithm { +Index: opie-2.4/libopie/verify.c +=================================================================== +--- opie-2.4.orig/libopie/verify.c ++++ opie-2.4/libopie/verify.c +@@ -21,9 +21,8 @@ you didn't get a copy, you may request o + */ + + #include "opie_cfg.h" +-#ifdef HAVE_STRING_H + #include <string.h> +-#endif /* HAVE_STRING_H */ ++#include <ctype.h> + #include "opie.h" + + #define RESPONSE_STANDARD 0 +Index: opie-2.4/opieserv.c +=================================================================== +--- opie-2.4.orig/opieserv.c ++++ opie-2.4/opieserv.c +@@ -14,6 +14,7 @@ you didn't get a copy, you may request o + */ + #include "opie_cfg.h" + #include <stdio.h> ++#include <stdlib.h> + #if DEBUG + #include <syslog.h> + #endif /* DEBUG */ ++++++ opie-fix-indendation.patch ++++++ Index: opie-2.4/opiegen.c =================================================================== --- opie-2.4.orig/opiegen.c +++ opie-2.4/opiegen.c @@ -51,7 +51,7 @@ int main FUNCTION((argc, argv), int argc ep = buffer + sizeof(buffer) - 1; for (i = 1, ap = buffer; (i < argc) && (ap < ep); i++) { c = argv[i]; - while ((*(ap++) = *(c++)) && (ap < ep)); + while ((*(ap++) = *(c++)) && (ap < ep)) *(ap - 1) = ' '; } *(ap - 1) = 0;