Hello community, here is the log from the commit of package rsh checked in at Mon Feb 12 01:44:28 CET 2007. -------- --- rsh/rsh.changes 2006-09-04 11:55:34.000000000 +0200 +++ /mounts/work_users/ro/STABLE/rsh/rsh.changes 2007-02-12 01:43:12.661284000 +0100 @@ -1,0 +2,5 @@ +Mon Feb 12 01:43:06 CET 2007 - ro@suse.de + +- fix build as non-root + +------------------------------------------------------------------- New: ---- netkit-rsh-0.17-no_chown.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rsh.spec ++++++ --- /var/tmp/diff_new_pack.U14787/_old 2007-02-12 01:44:08.000000000 +0100 +++ /var/tmp/diff_new_pack.U14787/_new 2007-02-12 01:44:08.000000000 +0100 @@ -1,23 +1,24 @@ # # spec file for package rsh (Version 0.17) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +# norootforbuild Name: rsh BuildRequires: pam-devel -License: BSD +License: BSD License and BSD-like Group: Productivity/Networking/Other Requires: netcfg Provides: nkitb:/usr/bin/rsh Autoreqprov: on Version: 0.17 -Release: 575 +Release: 598 Summary: Clients for remote access commands (rsh, rlogin, and rcp) BuildRoot: %{_tmppath}/%{name}-%{version}-build URL: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/ @@ -38,6 +39,7 @@ Patch9: netkit-rsh-%{version}-rexec-NPTL-signals.diff Patch10: netkit-rsh-%{version}-nostrip.diff Patch11: netkit-rsh-%{version}-realloc-assign.diff +Patch12: netkit-rsh-%{version}-no_chown.diff %description This package contains programs that allow users to run commands on @@ -49,7 +51,7 @@ %package server Version: 0.17 -Release: 575 +Release: 598 Summary: Servers for Remote Access Commands (rsh, rlogin, rcp) Group: Productivity/Networking/Other Requires: netcfg @@ -80,6 +82,7 @@ %patch9 %patch10 -p1 %patch11 -p1 +%patch12 %build CFLAGS="$RPM_OPT_FLAGS -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE" \ @@ -116,6 +119,8 @@ /usr/sbin/* %changelog -n rsh +* Mon Feb 12 2007 - ro@suse.de +- fix build as non-root * Mon Sep 04 2006 - kukuk@suse.de - Adjust PAM config files, add pam_loginuid.so * Wed Jan 25 2006 - mls@suse.de ++++++ netkit-rsh-0.17-no_chown.diff ++++++ --- rcp/Makefile +++ rcp/Makefile @@ -7,7 +7,7 @@ $(CC) $(LDFLAGS) $^ $(LIBS) -o $@ install: rcp - install -o root -m$(SUIDMODE) rcp $(INSTALLROOT)$(BINDIR) + install -m$(SUIDMODE) rcp $(INSTALLROOT)$(BINDIR) install -m$(MANMODE) rcp.1 $(INSTALLROOT)$(MANDIR)/man1 clean: --- rlogin/Makefile +++ rlogin/Makefile @@ -10,7 +10,7 @@ $(CC) $(LDFLAGS) $^ $(LIBS) -o $@ install: $(PROG) - install -o root -m$(SUIDMODE) $(PROG) $(INSTALLROOT)$(BINDIR) + install -m$(SUIDMODE) $(PROG) $(INSTALLROOT)$(BINDIR) install -m $(MANMODE) $(PROG).1 $(INSTALLROOT)$(MANDIR)/man1 install -m $(MANMODE) rhosts.5 $(INSTALLROOT)$(MANDIR)/man5 --- rsh/Makefile +++ rsh/Makefile @@ -9,7 +9,7 @@ $(CC) $(LDFLAGS) $^ $(LIBS) -o $@ install: rsh - install -o root -m$(SUIDMODE) rsh $(INSTALLROOT)$(BINDIR) + install -m$(SUIDMODE) rsh $(INSTALLROOT)$(BINDIR) install -m$(MANMODE) rsh.1 $(INSTALLROOT)$(MANDIR)/man1 clean: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org