Hello community,

here is the log from the commit of package conman for openSUSE:Factory checked 
in at 2018-03-09 10:46:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/conman (Old)
 and      /work/SRC/openSUSE:Factory/.conman.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "conman"

Fri Mar  9 10:46:56 2018 rev:8 rq:584536 version:0.2.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/conman/conman.changes    2018-02-18 
11:45:21.387156071 +0100
+++ /work/SRC/openSUSE:Factory/.conman.new/conman.changes       2018-03-09 
10:46:58.017876421 +0100
@@ -1,0 +2,7 @@
+Thu Mar  8 20:14:50 UTC 2018 - [email protected]
+
+- Do not look for the ttyS* group - it should be dialout
+  always (boo#1084571).
+- Fix shebang - remove /usr/bin/env.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ conman.spec ++++++
--- /var/tmp/diff_new_pack.qsNSfr/_old  2018-03-09 10:46:58.853846309 +0100
+++ /var/tmp/diff_new_pack.qsNSfr/_new  2018-03-09 10:46:58.857846165 +0100
@@ -131,6 +131,8 @@
      fi
   fi
 done
+sed -i -e '1 s@#!.*/bin/env perl@#!%{_bindir}/perl@' \
+    %{buildroot}%{_bindir}/conmen
 
 %if 0%{?conmandir:1}
 mkdir -p %{buildroot}%{_tmpfilesdir}
@@ -161,16 +163,13 @@
 %define conman_home "%_localstatedir%_rundir/%conmandir"
 %define conman_descr "Connection Manager service"
 shopt -s nullglob
-for i in /dev/ttyS[0-9] /dev/ttyS[1-9][0-9]
-do TTYS_GRP=$(stat --format="%G" $i); break 
-done
 addgrp=0; addusr=0
 getent group %conman_g >/dev/null || addgrp=1
 [ $addgrp -eq 1 ] && groupadd -r %conman_g
 getent passwd %conman_u >/dev/null || addusr=1
 [ $addusr -eq 1 ] && useradd -r -g %conman_g -d %conman_home \
     -s /bin/false -c %conman_descr %conman_u
-[ -n "$TTYS_GRP" ] && usermod -a -G $TTYS_GRP %conman_u
+usermod -a -G dialout %conman_u
 %endif
 exit 0
 %endif


Reply via email to