Projects
OpenHPC4:4.0:Factory
conman
_service:extract_file:conman.spec
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:extract_file:conman.spec of Package conman
#----------------------------------------------------------------------------bh- # This RPM .spec file is part of the OpenHPC project. # # It may have been modified from the default version supplied by the underlying # release package (if available) in order to apply patches, perform customized # build/install configurations, and supply additional files to support # desired integration conventions. # #----------------------------------------------------------------------------eh- %include %{_sourcedir}/OHPC_macros # Base package name %define pname conman Name: %{pname}%{PROJ_DELIM} Version: 0.3.1 Release: %{?dist}.1 Summary: ConMan: The Console Manager Group: %{PROJ_NAME}/admin License: GPLv3+ URL: http://dun.github.io/conman/ Source0: https://github.com/dun/conman/releases/download/%{pname}-%{version}/%{pname}-%{version}.tar.xz Requires: expect Requires(post): systemd Requires(preun): systemd Requires(postun): systemd BuildRequires: gcc make systemd %if 0%{?suse_version} BuildRequires: tcpd-devel %endif BuildRequires: freeipmi-devel #!BuildIgnore: post-build-checks %description ConMan is a serial console management program designed to support a large number of console devices and simultaneous users. It supports: - local serial devices - remote terminal servers (via the telnet protocol) - IPMI Serial-Over-LAN (via FreeIPMI) - Unix domain sockets - external processes (eg, using Expect for telnet/ssh/ipmi-sol connections) Its features include: - logging (and optionally timestamping) console device output to file - connecting to consoles in monitor (R/O) or interactive (R/W) mode - allowing clients to share or steal console write privileges - broadcasting client output to multiple consoles %prep %setup -q -n %{pname}-%{version} %build %configure \ %if 0%{?suse_version} --with-tcp-wrappers \ %endif --with-freeipmi make %{?_smp_mflags} %install %{__mkdir_p} "%{buildroot}" make install DESTDIR="%{buildroot}" rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/init.d %{__mkdir_p} ${RPM_BUILD_ROOT}/%{_docdir} %post %systemd_post conman.service if ! grep "^SERVER" /etc/conman.conf > /dev/null; then cat <<-HERE >> /etc/conman.conf SERVER keepalive=ON SERVER logdir="/var/log/conman" SERVER logfile="/var/log/conman.log" SERVER loopback=ON SERVER pidfile="/var/run/conman.pid" SERVER tcpwrappers=ON SERVER timestamp=1h GLOBAL seropts="115200,8n1" GLOBAL log="console.%N" GLOBAL logopts="sanitize,timestamp" HERE fi %preun %systemd_preun conman.service %postun %systemd_postun_with_restart conman.service %files %doc AUTHORS %doc COPYING %doc DISCLAIMER* %doc FAQ %doc NEWS %doc README %doc THANKS %{OHPC_PUB} %config(noreplace) %{_sysconfdir}/conman.conf %config(noreplace) %{_sysconfdir}/[dls]*/conman %{_unitdir}/%{pname}.service %{_bindir}/* %{_sbindir}/* %{_prefix}/lib/* %{_mandir}/*/* %{_datarootdir}/%{pname}
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.