Summary: Client for sending messages to a host's logged in users. Name: rwall Version: 0.17 Release: 29%{?dist} License: BSD Group: System Environment/Daemons Source: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-rwall-%{version}.tar.gz Source1: rwalld.init Patch1: netkit-rwalld-0.10-banner.patch Patch2: netkit-rwall-0.17-strip.patch Patch3: netkit-rwall-0.17-netgroup.patch BuildRoot: %{_tmppath}/%{name}-root %description The rwall command sends a message to all of the users logged into a specified host. Actually, your machine's rwall client sends the message to the rwall daemon running on the specified host, and the rwall daemon relays the message to all of the users logged in to that host. Install rwall if you'd like the ability to send messages to users logged in to a specified host machine. %package server Summary: Server for sending messages to a host's logged in users. Prereq: /sbin/chkconfig /etc/init.d Group: System Environment/Daemons Requires: portmap %description server The rwall command sends a message to all of the users logged into a specified host. The rwall-server package contains the daemon for receiving such messages, and is disabled by default on Red Hat Linux systems (it can be very annoying to keep getting all those messages when you're trying to play Quake--I mean, trying to get some work done). Install rwall-server if you'd like the ability to receive messages from users on remote hosts. %prep %setup -q -n netkit-rwall-%{version} %patch1 -p1 -b .banner %patch2 -p1 -b .strip %patch3 -p1 -b .netgroup %build sh configure --with-c-compiler=gcc %ifarch s390 s390x %{__perl} -pi -e ' s,^CC=.*$,CC=cc,; s,-O2,\$(RPM_OPT_FLAGS) -fPIC,; s,^LDFLAGS=,LDFLAGS=-pie,; s,^BINDIR=.*$,BINDIR=%{_bindir},; s,^MANDIR=.*$,MANDIR=%{_mandir},; s,^SBINDIR=.*$,SBINDIR=%{_sbindir},; ' MCONFIG %else %{__perl} -pi -e ' s,^CC=.*$,CC=cc,; s,-O2,\$(RPM_OPT_FLAGS) -fpic,; s,^LDFLAGS=,LDFLAGS=-pie,; s,^BINDIR=.*$,BINDIR=%{_bindir},; s,^MANDIR=.*$,MANDIR=%{_mandir},; s,^SBINDIR=.*$,SBINDIR=%{_sbindir},; ' MCONFIG %endif make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" %install rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}%{_bindir} mkdir -p ${RPM_BUILD_ROOT}%{_sbindir} mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man{1,8} mkdir -p ${RPM_BUILD_ROOT}/etc/rc.d/init.d make INSTALLROOT=${RPM_BUILD_ROOT} install install -m 755 $RPM_SOURCE_DIR/rwalld.init ${RPM_BUILD_ROOT}/etc/rc.d/init.d/rwalld %clean rm -rf ${RPM_BUILD_ROOT} %post server /sbin/chkconfig --add rwalld %preun server if [ $1 = 0 ]; then /sbin/chkconfig --del rwalld fi %files %defattr(-,root,root) %{_bindir}/rwall %{_mandir}/man1/rwall.1* %files server %defattr(-,root,root) %{_sbindir}/rpc.rwalld %{_mandir}/man8/rpc.rwalld.8* %{_mandir}/man8/rwalld.8* %config /etc/rc.d/init.d/rwalld %changelog * Wed Feb 25 2009 Fedora Release Engineering - 0.17-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Feb 19 2008 Fedora Release Engineering - 0.17-28 - Autorebuild for GCC 4.3 * Wed Aug 29 2007 Fedora Release Engineering - 0.17-27 - Rebuild for selinux ppc32 issue. * Mon Jul 23 2007 Jiri Moskovcak - 0.17-26 - init script rewrite to comply with the LSB standard - Resolves: #247048 * Wed Jul 12 2006 Jesse Keating - 0.17-25.2.2 - rebuild * Fri Feb 10 2006 Jesse Keating - 0.17-25.2.1 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 0.17-25.2 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Dec 09 2005 Jesse Keating - rebuilt * Wed Mar 02 2005 Phil Knirsch 0.17-25 - bump release and rebuild with gcc 4 * Fri Feb 18 2005 Phil Knirsch 0.17-24 - rebuilt * Thu Sep 02 2004 Phil Knirsch 0.17-22 - Add netgroup feature (#62868) - Fix garbage character at end of output (#62868) * Tue Jun 15 2004 Elliot Lee 0.17-21 - rebuilt * Wed May 12 2004 Phil Knirsch 0.17-20 - Enabled PIE for server and application. - Switch from Copyright to License. * Fri Feb 13 2004 Elliot Lee - rebuilt * Wed Jun 04 2003 Elliot Lee - rebuilt * Wed Jan 22 2003 Tim Powers - rebuilt * Wed Dec 11 2002 Tim Powers 0.17-16 - rebuild on all arches * Fri Jun 21 2002 Tim Powers - automated rebuild * Wed Jun 19 2002 Phil Knirsch 0.17-14 - Don't forcibly strip binaries * Tue Jun 04 2002 Phil Knirsch - bumped release number and rebuild * Thu May 23 2002 Tim Powers - automated rebuild * Wed Jan 09 2002 Tim Powers - automated rebuild * Wed Apr 4 2001 Jakub Jelinek - don't let configure to guess compiler, it can pick up egcs * Tue Feb 13 2001 Florian La Roche - also set $prog to rwalld to get it working * Tue Feb 13 2001 Florian La Roche - use $prog instead of $0 for nicer output * Thu Feb 8 2001 Preston Brown - fix up init script to use $0 for i18n reasons (#26566). * Mon Feb 5 2001 Bernhard Rosenkraenzer - i18nize init script (#26081) * Sat Aug 05 2000 Bill Nottingham - condrestart fixes * Thu Jul 20 2000 Bill Nottingham - move initscript back * Wed Jul 12 2000 Prospector - automatic rebuild * Mon Jul 10 2000 Preston Brown - move initscript * Sun Jun 18 2000 Jeff Johnson - FHS packaging. - update to 0.17. * Fri Feb 11 2000 Bill Nottingham - fix description * Mon Feb 7 2000 Jeff Johnson - compress man pages. * Sat Feb 5 2000 Florian La Roche - change %postun to %preun * Wed Feb 02 2000 Cristian Gafton - fix descriptions and summary - man pages are compressed * Mon Jan 4 2000 Bill Nottingham - split client and server * Tue Dec 21 1999 Jeff Johnson - update to 0.16. * Mon Aug 16 1999 Bill Nottingham - initscript munging * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 22) * Mon Mar 15 1999 Jeff Johnson - compile for 6.0. * Tue May 05 1998 Prospector System - translations modified for de, fr, tr * Sat May 02 1998 Cristian Gafton - enhanced initscript * Tue Oct 28 1997 Erik Troan - fixed init script (didn't include function library) - doesn't invoke wall with -n anymore * Sun Oct 19 1997 Erik Troan - added a chkconfig compatible initscript - added %attr attributes * Tue Jul 15 1997 Erik Troan - initial build