2011-08-02 09:48:25 +00:00
|
|
|
Summary: Client for sending messages to a host's logged in users
|
2004-09-09 11:55:34 +00:00
|
|
|
Name: rwall
|
|
|
|
Version: 0.17
|
2018-07-14 05:38:11 +00:00
|
|
|
Release: 52%{?dist}
|
2004-09-09 11:57:14 +00:00
|
|
|
License: BSD
|
2011-08-02 09:48:25 +00:00
|
|
|
Url: ftp://ftp.linux.org.uk/pub/linux/Networking/netkit/
|
2004-09-09 11:55:34 +00:00
|
|
|
Group: System Environment/Daemons
|
2011-08-02 09:48:25 +00:00
|
|
|
Source: ftp://ftp.linux.org.uk/pub/linux/Networking/netkit/netkit-rwall-%{version}.tar.gz
|
2011-08-02 10:25:33 +00:00
|
|
|
Source1: rwalld.service
|
2004-09-09 11:55:34 +00:00
|
|
|
Patch1: netkit-rwalld-0.10-banner.patch
|
2004-09-09 11:56:18 +00:00
|
|
|
Patch2: netkit-rwall-0.17-strip.patch
|
2004-09-09 11:57:27 +00:00
|
|
|
Patch3: netkit-rwall-0.17-netgroup.patch
|
2011-08-02 09:48:25 +00:00
|
|
|
Patch4: netkit-rwall-0.17-droppriv.patch
|
2017-07-12 12:10:28 +00:00
|
|
|
BuildRequires: perl-interpreter
|
2018-03-15 11:29:01 +00:00
|
|
|
BuildRequires: libtirpc-devel
|
|
|
|
BuildRequires: libnsl2-devel
|
|
|
|
BuildRequires: rpcgen
|
2004-09-09 11:55:34 +00:00
|
|
|
|
|
|
|
%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
|
2011-08-02 09:48:25 +00:00
|
|
|
Summary: Server for sending messages to a host's logged in users
|
2004-09-09 11:55:34 +00:00
|
|
|
Group: System Environment/Daemons
|
2011-08-02 10:25:33 +00:00
|
|
|
Requires(post): systemd-units
|
|
|
|
Requires(preun): systemd-units
|
|
|
|
Requires(postun): systemd-units
|
2004-09-09 11:55:34 +00:00
|
|
|
Requires: portmap
|
2011-08-02 10:25:33 +00:00
|
|
|
BuildRequires: systemd-units
|
2004-09-09 11:55:34 +00:00
|
|
|
|
|
|
|
%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
|
2004-09-09 11:55:51 +00:00
|
|
|
%setup -q -n netkit-rwall-%{version}
|
2004-09-09 11:55:34 +00:00
|
|
|
%patch1 -p1 -b .banner
|
2004-09-09 11:56:18 +00:00
|
|
|
%patch2 -p1 -b .strip
|
2004-09-09 11:57:27 +00:00
|
|
|
%patch3 -p1 -b .netgroup
|
2011-08-02 09:48:25 +00:00
|
|
|
%patch4 -p1 -b .droppriv
|
2004-09-09 11:55:34 +00:00
|
|
|
|
2004-09-09 11:57:14 +00:00
|
|
|
%{__perl} -pi -e '
|
2018-03-15 11:29:01 +00:00
|
|
|
s|^LDFLAGS=|LDFLAGS="-pie -Wl,-z,relro,-z,now -ltirpc"|;
|
2004-09-09 11:55:34 +00:00
|
|
|
s,^BINDIR=.*$,BINDIR=%{_bindir},;
|
|
|
|
s,^MANDIR=.*$,MANDIR=%{_mandir},;
|
|
|
|
s,^SBINDIR=.*$,SBINDIR=%{_sbindir},;
|
2012-11-30 13:26:17 +00:00
|
|
|
' configure
|
|
|
|
|
|
|
|
%build
|
2018-03-15 11:29:01 +00:00
|
|
|
export CFLAGS="$CFLAGS -I/usr/include/tirpc"
|
2012-11-30 13:26:17 +00:00
|
|
|
%ifarch s390 s390x
|
2018-03-15 11:29:01 +00:00
|
|
|
CFLAGS="$CFLAGS $RPM_OPT_FLAGS -fPIC" \
|
2004-09-09 11:57:14 +00:00
|
|
|
%else
|
2018-03-15 11:29:01 +00:00
|
|
|
CFLAGS="$CFLAGS $RPM_OPT_FLAGS -fpic" \
|
2004-09-09 11:57:14 +00:00
|
|
|
%endif
|
2012-11-30 13:26:17 +00:00
|
|
|
sh configure --with-c-compiler=gcc
|
|
|
|
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
|
2004-09-09 11:55:34 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man{1,8}
|
2011-08-02 10:25:33 +00:00
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_unitdir}/
|
2004-09-09 11:55:34 +00:00
|
|
|
|
|
|
|
make INSTALLROOT=${RPM_BUILD_ROOT} install
|
2011-08-02 10:25:33 +00:00
|
|
|
|
|
|
|
install -m 755 %{SOURCE1} ${RPM_BUILD_ROOT}%{_unitdir}/
|
2004-09-09 11:55:34 +00:00
|
|
|
|
|
|
|
%post server
|
2012-10-04 11:57:09 +00:00
|
|
|
%systemd_post rwalld.service
|
2011-08-02 10:25:33 +00:00
|
|
|
|
2004-09-09 11:55:34 +00:00
|
|
|
%preun server
|
2012-10-04 11:57:09 +00:00
|
|
|
%systemd_preun rwalld.service
|
2011-08-02 10:25:33 +00:00
|
|
|
|
|
|
|
%postun server
|
2012-10-04 11:57:09 +00:00
|
|
|
%systemd_postun_with_restart rwalld.service
|
2004-09-09 11:55:34 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%{_bindir}/rwall
|
|
|
|
%{_mandir}/man1/rwall.1*
|
|
|
|
|
|
|
|
%files server
|
|
|
|
%{_sbindir}/rpc.rwalld
|
|
|
|
%{_mandir}/man8/rpc.rwalld.8*
|
|
|
|
%{_mandir}/man8/rwalld.8*
|
2011-08-02 10:25:33 +00:00
|
|
|
%{_unitdir}/*
|
2004-09-09 11:55:34 +00:00
|
|
|
|
|
|
|
%changelog
|
2018-07-14 05:38:11 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-52
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-03-27 07:01:26 +00:00
|
|
|
* Tue Mar 27 2018 Petr Kubat <pkubat@redhat.com> - 0.17-51
|
|
|
|
- Remove explicit requires
|
|
|
|
|
2018-03-15 11:29:01 +00:00
|
|
|
* Thu Mar 15 2018 Petr Kubat <pkubat@redhat.com> - 0.17-50
|
|
|
|
- Add dependencies on libtirpc, libnsl2 and rpcgen (#1556427)
|
|
|
|
Related to: https://fedoraproject.org/wiki/Changes/SunRPCRemoval
|
|
|
|
|
2018-02-09 15:58:27 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-49
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-03 08:02:24 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-48
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 18:02:30 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-47
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-13 14:07:07 +00:00
|
|
|
* Mon Feb 13 2017 Petr Kubat <pkubat@redhat.com> - 0.17-46
|
|
|
|
- Add BuildRequires for perl
|
|
|
|
|
2017-02-11 12:59:25 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-46
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-02-04 23:30:22 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-45
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-19 00:09:43 +00:00
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-44
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-08-18 01:04:25 +00:00
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-43
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-08 05:37:33 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-42
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-04 15:30:25 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-41
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-05-24 10:35:36 +00:00
|
|
|
* Fri May 24 2013 Honza Horak <hhorak@redhat.com> - 0.17-40
|
|
|
|
- Remove syslog.target from unit file
|
|
|
|
|
2013-02-14 23:22:13 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-39
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-11-30 13:26:17 +00:00
|
|
|
* Fri Nov 30 2012 Honza Horak <hhorak@redhat.com> - 0.17-38
|
|
|
|
- Build the daemon with full relro
|
|
|
|
|
2012-10-04 11:57:09 +00:00
|
|
|
* Thu Oct 04 2012 Honza Horak <hhorak@redhat.com> - 0.17-37
|
|
|
|
- Run %%triggerun regardless of systemd_post variable definition
|
|
|
|
|
2012-09-11 08:11:41 +00:00
|
|
|
* Tue Sep 11 2012 Honza Horak <hhorak@redhat.com> - 0.17-36
|
2012-09-11 07:00:51 +00:00
|
|
|
- added ordering dependencies to rpcbind
|
2012-09-11 07:10:17 +00:00
|
|
|
- Minor spec file changes
|
2012-09-11 08:01:37 +00:00
|
|
|
- Use new systemd macros (Resolves: #850303)
|
2012-09-11 07:00:51 +00:00
|
|
|
|
2012-07-21 18:44:50 +00:00
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-35
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-14 03:30:18 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-34
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-08-02 10:25:33 +00:00
|
|
|
* Mon Aug 01 2011 Honza Horak <hhorak@redhat.com> - 0.17-33
|
|
|
|
- added systemd native unit file
|
|
|
|
|
2011-08-02 09:48:25 +00:00
|
|
|
* Mon Aug 01 2011 Honza Horak <hhorak@redhat.com> - 0.17-32
|
|
|
|
- moved privileges drop after port reservation to handle
|
|
|
|
a bug similar to #247985
|
|
|
|
- fixed rpmlint errors
|
|
|
|
|
2011-02-09 11:17:00 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-31
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2009-07-27 03:40:28 +00:00
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-30
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-25 22:14:52 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-29
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-02-19 06:38:05 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.17-28
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2007-08-29 04:34:45 +00:00
|
|
|
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.17-27
|
|
|
|
- Rebuild for selinux ppc32 issue.
|
|
|
|
|
2007-07-23 15:02:51 +00:00
|
|
|
* Mon Jul 23 2007 Jiri Moskovcak <jmoskovc@redhat.com> - 0.17-26
|
|
|
|
- init script rewrite to comply with the LSB standard
|
|
|
|
- Resolves: #247048
|
|
|
|
|
2006-07-12 08:05:02 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.17-25.2.2
|
|
|
|
- rebuild
|
|
|
|
|
2006-02-11 05:37:47 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.17-25.2.1
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 13:46:42 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.17-25.2
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2005-12-09 22:43:04 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-03-02 17:00:45 +00:00
|
|
|
* Wed Mar 02 2005 Phil Knirsch <pknirsch@redhat.com> 0.17-25
|
|
|
|
- bump release and rebuild with gcc 4
|
|
|
|
|
2005-02-18 14:55:51 +00:00
|
|
|
* Fri Feb 18 2005 Phil Knirsch <pknirsch@redhat.com> 0.17-24
|
2005-02-18 14:55:09 +00:00
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 11:57:27 +00:00
|
|
|
* Thu Sep 02 2004 Phil Knirsch <pknirsch@redhat.com> 0.17-22
|
|
|
|
- Add netgroup feature (#62868)
|
|
|
|
- Fix garbage character at end of output (#62868)
|
|
|
|
|
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> 0.17-21
|
2004-09-09 11:57:20 +00:00
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 11:57:14 +00:00
|
|
|
* Wed May 12 2004 Phil Knirsch <pknirsch@redhat.com> 0.17-20
|
|
|
|
- Enabled PIE for server and application.
|
|
|
|
- Switch from Copyright to License.
|
|
|
|
|
2004-09-09 11:57:03 +00:00
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 11:56:39 +00:00
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 11:56:29 +00:00
|
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Wed Dec 11 2002 Tim Powers <timp@redhat.com> 0.17-16
|
|
|
|
- rebuild on all arches
|
|
|
|
|
2004-09-09 11:56:25 +00:00
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2004-09-09 11:56:18 +00:00
|
|
|
* Wed Jun 19 2002 Phil Knirsch <pknirsch@redhat.com> 0.17-14
|
|
|
|
- Don't forcibly strip binaries
|
|
|
|
|
|
|
|
* Tue Jun 04 2002 Phil Knirsch <pknirsch@redhat.com>
|
|
|
|
- bumped release number and rebuild
|
|
|
|
|
|
|
|
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2004-09-09 11:56:03 +00:00
|
|
|
* Wed Apr 4 2001 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
- don't let configure to guess compiler, it can pick up egcs
|
|
|
|
|
2004-09-09 11:55:51 +00:00
|
|
|
* Tue Feb 13 2001 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- also set $prog to rwalld to get it working
|
|
|
|
|
|
|
|
* Tue Feb 13 2001 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- use $prog instead of $0 for nicer output
|
|
|
|
|
|
|
|
* Thu Feb 8 2001 Preston Brown <pbrown@redhat.com>
|
|
|
|
- fix up init script to use $0 for i18n reasons (#26566).
|
|
|
|
|
|
|
|
* Mon Feb 5 2001 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
|
- i18nize init script (#26081)
|
|
|
|
|
2004-09-09 11:55:34 +00:00
|
|
|
* Sat Aug 05 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
- condrestart fixes
|
|
|
|
|
|
|
|
* Thu Jul 20 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
- move initscript back
|
|
|
|
|
|
|
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
|
|
- automatic rebuild
|
|
|
|
|
|
|
|
* Mon Jul 10 2000 Preston Brown <pbrown@redhat.com>
|
|
|
|
- move initscript
|
|
|
|
|
|
|
|
* Sun Jun 18 2000 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- FHS packaging.
|
|
|
|
- update to 0.17.
|
|
|
|
|
|
|
|
* Fri Feb 11 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
- fix description
|
|
|
|
|
|
|
|
* Mon Feb 7 2000 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- compress man pages.
|
|
|
|
|
|
|
|
* Sat Feb 5 2000 Florian La Roche <Florian.LaRoche@redhat.com>
|
2011-08-02 09:48:25 +00:00
|
|
|
- change %%postun to %%preun
|
2004-09-09 11:55:34 +00:00
|
|
|
|
|
|
|
* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- fix descriptions and summary
|
|
|
|
- man pages are compressed
|
|
|
|
|
|
|
|
* Mon Jan 4 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
- split client and server
|
|
|
|
|
|
|
|
* Tue Dec 21 1999 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- update to 0.16.
|
|
|
|
|
|
|
|
* Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
|
|
|
|
- initscript munging
|
|
|
|
|
|
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- auto rebuild in the new build environment (release 22)
|
|
|
|
|
|
|
|
* Mon Mar 15 1999 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- compile for 6.0.
|
|
|
|
|
|
|
|
* Tue May 05 1998 Prospector System <bugs@redhat.com>
|
|
|
|
- translations modified for de, fr, tr
|
|
|
|
|
|
|
|
* Sat May 02 1998 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- enhanced initscript
|
|
|
|
|
|
|
|
* Tue Oct 28 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
- fixed init script (didn't include function library)
|
|
|
|
- doesn't invoke wall with -n anymore
|
|
|
|
|
|
|
|
* Sun Oct 19 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
- added a chkconfig compatible initscript
|
2011-08-02 09:48:25 +00:00
|
|
|
- added %%attr attributes
|
2004-09-09 11:55:34 +00:00
|
|
|
|
|
|
|
* Tue Jul 15 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
- initial build
|