commit su-wrapper for openSUSE:Factory
Hello community, here is the log from the commit of package su-wrapper for openSUSE:Factory checked in at 2018-07-18 22:54:09 Comparing /work/SRC/openSUSE:Factory/su-wrapper (Old) and /work/SRC/openSUSE:Factory/.su-wrapper.new (New) Package is "su-wrapper" Wed Jul 18 22:54:09 2018 rev:18 rq:622270 version:1.2.0 Changes: --- /work/SRC/openSUSE:Factory/su-wrapper/su-wrapper.changes2012-12-19 14:51:08.0 +0100 +++ /work/SRC/openSUSE:Factory/.su-wrapper.new/su-wrapper.changes 2018-07-18 22:54:53.302772186 +0200 @@ -1,0 +2,5 @@ +Thu Jul 5 08:36:00 UTC 2018 - wer...@suse.de + +- Modernize spec file + +--- Other differences: -- ++ su-wrapper.spec ++ --- /var/tmp/diff_new_pack.sCjYML/_old 2018-07-18 22:54:54.470768313 +0200 +++ /var/tmp/diff_new_pack.sCjYML/_new 2018-07-18 22:54:54.470768313 +0200 @@ -1,7 +1,7 @@ # # spec file for package su-wrapper # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -20,9 +20,10 @@ Version:1.2.0 Release:0 Summary:The su-wrapper Runs Programs as Another User and Group -License:GPL-2.0+ +License:GPL-2.0-or-later Group: System/Base PreReq: permissions +Url:https://github.com/metux/su-wrapper/commits/master Source0:su-wrapper-1.2.0.tar.bz2 Patch: su-wrapper-1.2.0.dif # PATCH-FIX-OPENSUSE su-wrapper-1.2.0-term.dif -- bnc#795063 - su-wrapper segfault if TERM variabile is not in environment @@ -58,26 +59,28 @@ %install pushd src - mkdir -p ${RPM_BUILD_ROOT}/usr/sbin - make install DESTDIR=${RPM_BUILD_ROOT} + mkdir -p %{buildroot}%{_sbindir} + make install DESTDIR=%{buildroot} popd - mkdir -p ${RPM_BUILD_ROOT}/etc - install -m 0640 su-wrapper.conf.dist ${RPM_BUILD_ROOT}/etc/su-wrapper.conf + mkdir -p %{buildroot}%{_sysconfdir} + install -m 0640 su-wrapper.conf.dist %{buildroot}%{_sysconfdir}/su-wrapper.conf + + file %{buildroot}%{_sbindir}/su-wrapper %if %{defined verify_permissions} %verifyscript -%verify_permissions -e /usr/sbin/su-wrapper +%verify_permissions -e %{_sbindir}/su-wrapper %endif %if %{defined set_permissions} %post -%set_permissions /usr/sbin/su-wrapper +%set_permissions %{_sbindir}/su-wrapper %endif %files %defattr(-, root, root) %doc doc/COPYING doc/README doc/TODO doc/VERSION -%config /etc/su-wrapper.conf -%verify(not mode) /usr/sbin/su-wrapper +%config %{_sysconfdir}/su-wrapper.conf +%attr(00755,root,root) %verify(not mode) %{_sbindir}/su-wrapper %changelog ++ su-wrapper-1.2.0.dif ++ --- /var/tmp/diff_new_pack.sCjYML/_old 2018-07-18 22:54:54.510768180 +0200 +++ /var/tmp/diff_new_pack.sCjYML/_new 2018-07-18 22:54:54.510768180 +0200 @@ -26,10 +26,10 @@ @@ -1,7 +1,7 @@ CC= gcc -CFLAGS= -D_GNU_SOURCE -O2 -pipe -Wall -+CFLAGS= -fpie -fPIE -D_GNU_SOURCE $(RPM_OPT_FLAGS) -pipe -Wall ++CFLAGS= -fPIE -D_GNU_SOURCE $(RPM_OPT_FLAGS) -pipe -Wall #CFLAGS = -D_GNU_SOURCE -O -g -DDEBUG -Wall -LDFLAGS = -Wl,-warn-common -+LDFLAGS = -pie -Wl,-warn-common -Wl,-z,relro,-z,now ++LDFLAGS = -pie -Wl,-warn-common -Wl,-z,relro,-z,now all: su-wrapper
commit su-wrapper for openSUSE:Factory
Hello community, here is the log from the commit of package su-wrapper for openSUSE:Factory checked in at 2012-12-19 14:51:06 Comparing /work/SRC/openSUSE:Factory/su-wrapper (Old) and /work/SRC/openSUSE:Factory/.su-wrapper.new (New) Package is "su-wrapper", Maintainer is "wer...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/su-wrapper/su-wrapper.changes2012-05-26 09:29:32.0 +0200 +++ /work/SRC/openSUSE:Factory/.su-wrapper.new/su-wrapper.changes 2012-12-19 14:51:08.0 +0100 @@ -1,0 +2,5 @@ +Wed Dec 19 10:48:37 UTC 2012 - wer...@suse.de + +- Add su-wrapper-1.2.0-term.dif (bnc#795063) + +--- New: su-wrapper-1.2.0-term.dif Other differences: -- ++ su-wrapper.spec ++ --- /var/tmp/diff_new_pack.UUBMWH/_old 2012-12-19 14:51:10.0 +0100 +++ /var/tmp/diff_new_pack.UUBMWH/_new 2012-12-19 14:51:10.0 +0100 @@ -25,6 +25,8 @@ PreReq: permissions Source0:su-wrapper-1.2.0.tar.bz2 Patch: su-wrapper-1.2.0.dif +# PATCH-FIX-OPENSUSE su-wrapper-1.2.0-term.dif -- bnc#795063 - su-wrapper segfault if TERM variabile is not in environment +Patch1: su-wrapper-1.2.0-term.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -47,6 +49,7 @@ %prep %setup %patch -p0 +%patch1 -p0 %build pushd src ++ su-wrapper-1.2.0-term.dif ++ --- src/su-wrapper.c +++ src/su-wrapper.c2012-12-19 10:44:55.961952136 + @@ -483,7 +483,7 @@ int main (int argc, char * argv[]) xputenv("PATH", "/usr/local/bin:/bin:/usr/bin:/usr/bin/X11"); if (errno) error("putenv() failed: %s\n", strerror(errno)); - if (xputenv("TERM", term)) + if (xputenv("TERM", term ? term : "dumb")) error("putenv() failed: %s\n", strerror(errno)); do_su (entry); -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit su-wrapper for openSUSE:Factory
Hello community, here is the log from the commit of package su-wrapper for openSUSE:Factory checked in at 2012-05-26 09:29:20 Comparing /work/SRC/openSUSE:Factory/su-wrapper (Old) and /work/SRC/openSUSE:Factory/.su-wrapper.new (New) Package is "su-wrapper", Maintainer is "wer...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/su-wrapper/su-wrapper.changes2012-01-25 15:02:44.0 +0100 +++ /work/SRC/openSUSE:Factory/.su-wrapper.new/su-wrapper.changes 2012-05-26 09:29:32.0 +0200 @@ -1,0 +2,5 @@ +Fri May 25 15:00:21 UTC 2012 - wer...@suse.de + +- Job creation scheme (bnc#764105) + +--- Other differences: -- ++ su-wrapper.spec ++ --- /var/tmp/diff_new_pack.ULPbGQ/_old 2012-05-26 09:29:35.0 +0200 +++ /var/tmp/diff_new_pack.ULPbGQ/_new 2012-05-26 09:29:35.0 +0200 @@ -15,17 +15,14 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: su-wrapper Version:1.2.0 -Release:473 -Summary:su-wrapper Runs Programs as Another User and Group +Release:0 +Summary:The su-wrapper Runs Programs as Another User and Group License:GPL-2.0+ Group: System/Base PreReq: permissions -AutoReqProv:on Source0:su-wrapper-1.2.0.tar.bz2 Patch: su-wrapper-1.2.0.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -64,10 +61,15 @@ mkdir -p ${RPM_BUILD_ROOT}/etc install -m 0640 su-wrapper.conf.dist ${RPM_BUILD_ROOT}/etc/su-wrapper.conf -%post -%run_permissions +%if %{defined verify_permissions} %verifyscript %verify_permissions -e /usr/sbin/su-wrapper +%endif + +%if %{defined set_permissions} +%post +%set_permissions /usr/sbin/su-wrapper +%endif %files %defattr(-, root, root) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit su-wrapper for openSUSE:Factory
Hello community, here is the log from the commit of package su-wrapper for openSUSE:Factory checked in at 2012-01-25 15:02:43 Comparing /work/SRC/openSUSE:Factory/su-wrapper (Old) and /work/SRC/openSUSE:Factory/.su-wrapper.new (New) Package is "su-wrapper", Maintainer is "wer...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/su-wrapper/su-wrapper.changes2011-09-23 12:47:01.0 +0200 +++ /work/SRC/openSUSE:Factory/.su-wrapper.new/su-wrapper.changes 2012-01-25 15:02:44.0 +0100 @@ -1,0 +2,5 @@ +Mon Jan 23 14:23:24 UTC 2012 - crrodrig...@opensuse.org + +- Build with -fpie and full RELRO + +--- Other differences: -- ++ su-wrapper.spec ++ --- /var/tmp/diff_new_pack.Fm80N9/_old 2012-01-25 15:02:45.0 +0100 +++ /var/tmp/diff_new_pack.Fm80N9/_new 2012-01-25 15:02:45.0 +0100 @@ -1,7 +1,7 @@ # -# spec file for package su-wrapper (Version 1.2.0) +# spec file for package su-wrapper # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 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 ++ su-wrapper-1.2.0.dif ++ --- /var/tmp/diff_new_pack.Fm80N9/_old 2012-01-25 15:02:45.0 +0100 +++ /var/tmp/diff_new_pack.Fm80N9/_new 2012-01-25 15:02:45.0 +0100 @@ -1,5 +1,5 @@ su-wrapper.conf.dist -+++ su-wrapper.conf.dist 2001-12-19 16:40:50.0 +0100 +--- su-wrapper.conf.dist.orig su-wrapper.conf.dist @@ -30,13 +30,13 @@ #is significant. so if you wann deny some special things, # you have to put them under those lines which would allow them. @@ -21,14 +21,17 @@ # deny nobody everything, each call from nobody ends up in an empty command nobody- * * - - - src/Makefile -+++ src/Makefile 2001-12-19 16:48:24.0 +0100 -@@ -1,5 +1,5 @@ +--- src/Makefile.orig src/Makefile +@@ -1,7 +1,7 @@ CC= gcc -CFLAGS= -D_GNU_SOURCE -O2 -pipe -Wall -+CFLAGS= -D_GNU_SOURCE $(RPM_OPT_FLAGS) -pipe -Wall ++CFLAGS= -fpie -fPIE -D_GNU_SOURCE $(RPM_OPT_FLAGS) -pipe -Wall #CFLAGS = -D_GNU_SOURCE -O -g -DDEBUG -Wall - LDFLAGS = -Wl,-warn-common +-LDFLAGS = -Wl,-warn-common ++LDFLAGS = -pie -Wl,-warn-common -Wl,-z,relro,-z,now + + all: su-wrapper @@ -9,11 +9,11 @@ su-wrapper: su-wrapper.o $(CC) $(LDFLAGS) su-wrapper.o -o su-wrapper @@ -45,8 +48,8 @@ - mv /etc/su-wrapper.conf /etc/su-wrapper.conf.--- + rm -f $(DESTDIR)/usr/sbin/su-wrapper + mv $(DESTDIR)/etc/su-wrapper.conf $(DESTDIR)/etc/su-wrapper.conf.--- src/su-wrapper.c -+++ src/su-wrapper.c 2008-10-08 12:25:12.178827251 +0200 +--- src/su-wrapper.c.orig src/su-wrapper.c @@ -134,7 +134,7 @@ static int cmdline_match (char * const m while ((oslot = strsep(&l, ",:"))) { if (!*oslot)/* empty slot means no slot */ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit su-wrapper for openSUSE:Factory
Hello community, here is the log from the commit of package su-wrapper for openSUSE:Factory checked in at 2011-12-06 19:06:36 Comparing /work/SRC/openSUSE:Factory/su-wrapper (Old) and /work/SRC/openSUSE:Factory/.su-wrapper.new (New) Package is "su-wrapper", Maintainer is "wer...@suse.com" Changes: Other differences: -- ++ su-wrapper.spec ++ --- /var/tmp/diff_new_pack.WuSuvo/_old 2011-12-06 19:40:06.0 +0100 +++ /var/tmp/diff_new_pack.WuSuvo/_new 2011-12-06 19:40:06.0 +0100 @@ -22,7 +22,7 @@ Version:1.2.0 Release:473 Summary:su-wrapper Runs Programs as Another User and Group -License:GPL v2 or later +License:GPL-2.0+ Group: System/Base PreReq: permissions AutoReqProv:on -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org