Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package vacation for openSUSE:Factory 
checked in at 2022-10-19 13:17:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vacation (Old)
 and      /work/SRC/openSUSE:Factory/.vacation.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vacation"

Wed Oct 19 13:17:12 2022 rev:22 rq:1029686 version:1.2.7.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/vacation/vacation.changes        2017-02-03 
20:04:19.620952782 +0100
+++ /work/SRC/openSUSE:Factory/.vacation.new.2275/vacation.changes      
2022-10-19 13:17:14.941168881 +0200
@@ -1,0 +2,5 @@
+Tue Sep  8 03:41:15 UTC 2020 - Bernhard Wiedemann <bwiedem...@suse.com>
+
+- Add vacation-1.2.7.1-nogecos.patch to strip GECOS field of most info
+
+-------------------------------------------------------------------

New:
----
  vacation-1.2.7.1-nogecos.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ vacation.spec ++++++
--- /var/tmp/diff_new_pack.erjJeL/_old  2022-10-19 13:17:15.505170050 +0200
+++ /var/tmp/diff_new_pack.erjJeL/_new  2022-10-19 13:17:15.517170075 +0200
@@ -31,6 +31,7 @@
 Patch4:         0001-Patch-to-handle-long-folded-headers-from-Zdenek-Havr.patch
 # PATCH-FIX-SUSE Also handle junkfilter based on procmail
 Patch5:         vacation-%{version}-junkfilter.diff
+Patch6:         vacation-1.2.7.1-nogecos.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  gdbm-devel
 
@@ -54,6 +55,7 @@
 %patch3 -p1
 %patch4
 %patch5
+%patch6 -p1
 
 %build
 # %ifarch ia64 x86_64 s390x ppc64

++++++ vacation-1.2.7.1-nogecos.patch ++++++
Author: Bernhard M. Wiedemann <bwiedemann suse de>
Date: 2020-09-08

Do not leak internal info in vacation mails

Index: vacation-1.2.7.1/vacation.c
===================================================================
--- vacation-1.2.7.1.orig/vacation.c
+++ vacation-1.2.7.1/vacation.c
@@ -350,6 +350,9 @@ main (int argc, char **argv)
   readheaders ();
   if (!recent ())
     {
+      char *comma = strchr(pw->pw_gecos, ',');
+      if(comma && getenv("NO_STRIP_GECOS")==NULL)
+        *comma = 0; // end GECOS string here to not leak internal info
       setreply ();
       (void) gdbm_close (db);
       if (vdomain)

Reply via email to