|
|
ca8bcfe |
Name: conman
|
|
|
f99bf83 |
Version: 0.3.0
|
|
|
0c5f865 |
Release: 2%{?dist}
|
|
|
ca8bcfe |
Summary: ConMan - The Console Manager
|
|
|
ca8bcfe |
|
|
David Sommerseth |
97e5bed |
License: GPLv3+
|
|
David Sommerseth |
f0d8fa2 |
URL: https://dun.github.io/conman/
|
|
David Sommerseth |
778109f |
Source0: https://github.com/dun/%{name}/archive/%{name}-%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
ca8bcfe |
|
|
|
ca8bcfe |
Requires: logrotate
|
|
|
ddef806 |
Requires(post): systemd
|
|
|
ddef806 |
Requires(preun): systemd
|
|
|
ddef806 |
Requires(postun): systemd
|
|
|
f99bf83 |
BuildRequires: gcc
|
|
|
f312132 |
BuildRequires: perl-generators
|
|
|
ddef806 |
BuildRequires: freeipmi-devel
|
|
|
ddef806 |
BuildRequires: systemd
|
|
|
740e881 |
|
|
|
740e881 |
%description
|
|
|
740e881 |
ConMan is a serial console management program designed to support a large
|
|
|
740e881 |
number of console devices and simultaneous users. It currently supports
|
|
|
740e881 |
local serial devices and remote terminal servers (via the telnet protocol).
|
|
|
740e881 |
Its features include:
|
|
|
740e881 |
|
|
|
740e881 |
- mapping symbolic names to console devices
|
|
|
740e881 |
- logging all output from a console device to file
|
|
|
740e881 |
- supporting monitor (R/O), interactive (R/W), and
|
|
|
740e881 |
broadcast (W/O) modes of console access
|
|
|
740e881 |
- allowing clients to join or steal console "write" privileges
|
|
|
740e881 |
- executing Expect scripts across multiple consoles in parallel
|
|
|
740e881 |
|
|
|
ddef806 |
|
|
|
740e881 |
%prep
|
|
David Sommerseth |
778109f |
%setup -qn %{name}-%{name}-%{version}
|
|
|
740e881 |
|
|
|
ddef806 |
# fix paths
|
|
|
ddef806 |
sed -i -e 's|lib\/|share\/|g' lib/examples/*.exp
|
|
|
ddef806 |
|
|
|
ddef806 |
# fix shebang
|
|
|
ddef806 |
sed -i -e 's|\/usr\/bin\/env perl|\/usr\/bin\/perl|g' conmen
|
|
|
740e881 |
|
|
|
ddef806 |
|
|
|
ddef806 |
%build
|
|
|
f312132 |
%configure
|
|
|
5b6967f |
make %{?_smp_mflags}
|
|
|
740e881 |
|
|
|
ddef806 |
|
|
|
740e881 |
%install
|
|
|
740e881 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
ddef806 |
|
|
|
ddef806 |
# clean sysvinit stuff
|
|
|
ddef806 |
rm -r $RPM_BUILD_ROOT/etc/{init.d,sysconfig}
|
|
|
ddef806 |
|
|
|
740e881 |
# make log directories
|
|
|
740e881 |
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/%{name}
|
|
|
740e881 |
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/%{name}.old
|
|
|
740e881 |
|
|
|
ddef806 |
# examples don't belong in libdir
|
|
|
ddef806 |
rm -r $RPM_BUILD_ROOT/usr/lib/%{name}/examples
|
|
|
ddef806 |
# move scripts to proper place
|
|
|
ddef806 |
mv $RPM_BUILD_ROOT/usr/lib/%{name} $RPM_BUILD_ROOT%{_datadir}/%{name}
|
|
|
ddef806 |
chmod -x $RPM_BUILD_ROOT%{_datadir}/%{name}/*.exp
|
|
|
ddef806 |
|
|
|
740e881 |
|
|
|
740e881 |
%post
|
|
|
ddef806 |
%systemd_post conman.service
|
|
|
740e881 |
|
|
|
740e881 |
%preun
|
|
|
ddef806 |
%systemd_preun conman.service
|
|
|
740e881 |
|
|
|
740e881 |
%postun
|
|
|
ddef806 |
%systemd_postun_with_restart conman.service
|
|
|
ddef806 |
|
|
|
129d57d |
|
|
|
740e881 |
%files
|
|
|
ddef806 |
%license COPYING
|
|
|
ddef806 |
%doc AUTHORS FAQ NEWS
|
|
|
ddef806 |
%doc lib/examples
|
|
|
740e881 |
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
|
|
740e881 |
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
|
|
|
129d57d |
%{_unitdir}/%{name}.service
|
|
|
ddef806 |
%dir %{_localstatedir}/log/%{name}
|
|
|
ddef806 |
%dir %{_localstatedir}/log/%{name}.old
|
|
|
740e881 |
%{_bindir}/*
|
|
|
740e881 |
%{_sbindir}/*
|
|
|
ddef806 |
%{_datadir}/%{name}/
|
|
|
740e881 |
%{_mandir}/*/*
|
|
|
740e881 |
|
|
|
ddef806 |
|
|
|
740e881 |
%changelog
|
|
|
0c5f865 |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
|
|
|
0c5f865 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
0c5f865 |
|
|
|
f99bf83 |
* Fri Sep 06 2019 Dan Horák <dan[at]danny.cz> - 0.3.0-1
|
|
|
f99bf83 |
- updated to 0.3.0
|
|
|
f99bf83 |
|
|
|
3b81874 |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-6
|
|
|
3b81874 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
3b81874 |
|
|
|
6b3c0b9 |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-5
|
|
|
6b3c0b9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
6b3c0b9 |
|
|
|
e37c841 |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-4
|
|
|
e37c841 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
e37c841 |
|
|
|
aa7a29b |
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.9-3
|
|
|
aa7a29b |
- Escape macros in %%changelog
|
|
|
aa7a29b |
|
|
|
f74d971 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-2
|
|
|
f74d971 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
f74d971 |
|
|
|
f312132 |
* Thu Dec 14 2017 Dan Horák <dan[at]danny.cz> - 0.2.9-1
|
|
|
f312132 |
- updated to 0.2.9 (#1526194)
|
|
|
f312132 |
- build without tcp_wrappers (https://fedoraproject.org/wiki/Changes/Deprecate_TCP_wrappers)
|
|
|
f312132 |
|
|
|
dd692d6 |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-3
|
|
|
dd692d6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
dd692d6 |
|
|
|
145e82c |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-2
|
|
|
145e82c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
145e82c |
|
|
|
ddef806 |
* Thu Mar 09 2017 Dan Horák <dan[at]danny.cz> - 0.2.8-1
|
|
|
ddef806 |
- updated to 0.2.8
|
|
|
ddef806 |
- spec cleanups (#1244218)
|
|
|
ddef806 |
- enable IPMI support
|
|
|
ddef806 |
|
|
|
1a2c8e3 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.7-11
|
|
|
1a2c8e3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
1a2c8e3 |
|
|
|
3f5d8d2 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.7-10
|
|
|
3f5d8d2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
3f5d8d2 |
|
|
David Sommerseth |
778109f |
* Fri Jan 15 2016 David Sommerseth <davids@redhat.com> - 0.2.7-9
|
|
|
aa7a29b |
- Minor cleanup, corrected URL and %%Source0 to new upstream hosting
|
|
David Sommerseth |
97e5bed |
- Align package license with upstream license - GPLv3+
|
|
David Sommerseth |
778109f |
|
|
|
3612b4e |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-8
|
|
|
3612b4e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
3612b4e |
|
|
|
1066c46 |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-7
|
|
|
1066c46 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
1066c46 |
|
|
|
5d88823 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-6
|
|
|
5d88823 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
5d88823 |
|
|
|
03cd7f2 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-5
|
|
|
03cd7f2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
2d54c07 |
- BR: systemd-units for %%{_unitdir} macro definition
|
|
|
03cd7f2 |
|
|
|
471a7ea |
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 0.2.7-4
|
|
|
471a7ea |
- Perl 5.18 rebuild
|
|
|
471a7ea |
|
|
|
4eccb99 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-3
|
|
|
4eccb99 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
4eccb99 |
|
|
|
2c44bd7 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-2
|
|
|
2c44bd7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
2c44bd7 |
|
|
|
129d57d |
* Tue Apr 17 2012 Jon Ciesla <limburgher@gmail.com> - 0.2.7-1
|
|
|
129d57d |
- Migrate to systemd, BZ 771474.
|
|
|
129d57d |
|
|
Steven M. Parrish |
6d81b44 |
* Sun Apr 15 2012 Steven M. Parrish <smparrish@gmail.com> - 0.2.7-0
|
|
Steven M. Parrish |
6d81b44 |
- New upstream release
|
|
Steven M. Parrish |
6d81b44 |
|
|
|
d420836 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.5-4
|
|
|
d420836 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
d420836 |
|
|
|
0bd6d97 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.5-3
|
|
|
0bd6d97 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
0bd6d97 |
|
|
|
b1c2c1b |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.5-2
|
|
|
b1c2c1b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
b1c2c1b |
|
|
|
f9e67cc |
* Mon Jun 08 2009 Steven M. Parrish <tuxbrewr@fedoraproject.org> - 0.2.5-0
|
|
|
f9e67cc |
- New upstream release
|
|
|
f9e67cc |
|
|
|
672a65c |
* Mon Apr 20 2009 Steven M. Parrish <tuxbrewr@fedoraproject.org> - 0.2.4.1-1
|
|
|
672a65c |
- New upstream release
|
|
|
672a65c |
|
|
|
9b986a0 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-3
|
|
|
9b986a0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
9b986a0 |
|
|
|
e798135 |
* Mon Oct 06 2008 Jarod Wilson <jarod@redhat.com> 0.2.2-2
|
|
|
e798135 |
- The console option in conman.conf is case-insensitive, so relax
|
|
|
e798135 |
defined consoles check in initscript (Mark McLoughlin, #465777)
|
|
|
e798135 |
|
|
|
a08c766 |
* Mon Sep 08 2008 Steven M. Parrish <smparrish@shallowcreek.net> 0.2.2-1
|
|
|
a08c766 |
- New upstream release
|
|
|
abae52d |
|
|
|
74932bd |
* Fri May 02 2008 Jarod Wilson <jwilson@redhat.com> 0.2.1-1
|
|
|
74932bd |
- New upstream release
|
|
|
74932bd |
|
|
|
28b49d9 |
* Wed Feb 13 2008 Jarod Wilson <jwilson@redhat.com> 0.1.9.2-8
|
|
|
28b49d9 |
- Bump and rebuild for gcc 4.3
|
|
|
28b49d9 |
|
|
|
6afb1c1 |
* Thu Apr 26 2007 Jarod Wilson <jwilson@redhat.com> 0.1.9.2-7
|
|
|
6afb1c1 |
- Update project urls
|
|
|
6afb1c1 |
- Fix up initscript exit codes (#237936)
|
|
|
6afb1c1 |
|
|
|
e27da75 |
* Tue Sep 05 2006 Jarod Wilson <jwilson@redhat.com> 0.1.9.2-6
|
|
|
e27da75 |
- Bump for new glibc
|
|
|
e27da75 |
|
|
|
5b6967f |
* Fri Jul 28 2006 Jarod Wilson <jwilson@redhat.com> 0.1.9.2-5
|
|
|
5b6967f |
- Properly enable smp_mflags this time
|
|
|
5b6967f |
|
|
|
ca8bcfe |
* Fri Jul 28 2006 Jarod Wilson <jwilson@redhat.com> 0.1.9.2-4
|
|
|
ca8bcfe |
- Add Reqs on chkconfig and service
|
|
|
ca8bcfe |
- Turn on smp_mflags
|
|
|
ca8bcfe |
- Initial build for RHEL5
|
|
|
ca8bcfe |
|
|
|
60ba5dc |
* Wed Jul 05 2006 Jarod Wilson <jwilson@redhat.com> 0.1.9.2-3
|
|
|
60ba5dc |
- Add missing condrestart fuction to initscript
|
|
|
60ba5dc |
|
|
|
2a92b12 |
* Tue Jun 27 2006 Jarod Wilson <jwilson@redhat.com> 0.1.9.2-2
|
|
|
2a92b12 |
- Don't strip bins on make install, leave for find-debug.sh
|
|
|
2a92b12 |
|
|
|
695670f |
* Tue Jun 27 2006 Jarod Wilson <jwilson@redhat.com> 0.1.9.2-1
|
|
|
695670f |
- Update to 0.1.9.2
|
|
|
695670f |
|
|
|
740e881 |
* Tue Jun 20 2006 Jarod Wilson <jwilson@redhat.com> 0.1.9.1-3
|
|
|
740e881 |
- Add Requires: logrotate
|
|
|
740e881 |
- Ugh, conmand exits cleanly if no CONSOLE(s) are defined in
|
|
|
740e881 |
/etc/conman.conf, add check to initscript to report failure
|
|
|
740e881 |
if none are defined
|
|
|
740e881 |
|
|
|
740e881 |
* Wed Jun 14 2006 Jarod Wilson <jwilson@redhat.com> 0.1.9.1-2
|
|
|
740e881 |
- Create log directories and install working logrotate config
|
|
|
740e881 |
- Use a much cleaner RH/FC-specific initscript
|
|
|
740e881 |
|
|
|
740e881 |
* Tue Jun 13 2006 Jarod Wilson <jwilson@redhat.com> 0.1.9.1-1
|
|
|
740e881 |
- Initial build for Fedora Extras
|