Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
telnet
telnet.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File telnet.spec of Package telnet
# # spec file for package telnet # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: telnet Provides: nkitb:/usr/bin/telnet Version: 1.2 Release: 0 Summary: A client program for the telnet remote login protocol License: BSD-3-Clause Group: Productivity/Networking/Other BuildRequires: ncurses-devel Requires: netcfg BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: telnet-bsd-%version.tar.bz2 Source1: telnet.xinetd Source2: telnet.firewall Patch1: telnet-bsd-1.2-suppress_hostname.patch Patch2: telnet-bsd-1.2-man-page.patch Patch3: telnet-bsd-1.2-no_gethostbyname.patch #PATCH-FIX-UPSTREAM fix crash when using -b option bnc#700229 Patch4: telnet-bsd-1.2-hostalias.patch %description Telnet is an old protocol for logging into remote systems. It is rarely used, since the transfer is not encrypted (ssh is mostly used these days). The telnet client is often used for debugging other network services. The command telnet localhost 25 connects to the local smtp server, for example. %package server Summary: A Server Program for the Telnet Remote Login Protocol Group: Productivity/Networking/Other Requires: netcfg xinetd Provides: nkitserv:/usr/sbin/in.telnetd Obsoletes: nkitserv %description server Telnet is a popular protocol for logging into remote systems. This package provides the telnet daemon, which will allow remote logins into this machine. %prep %setup -q -n telnet-bsd-%version %patch1 %patch2 %patch3 %patch4 -p1 %build export CFLAGS="$RPM_OPT_FLAGS -fpie $(ncurses5-config --cflags)" export LDFLAGS="-pie $(ncurses5-config --libs)" %configure %__make %{?jobs:-j%{jobs}} %install export NO_BRP_STRIP_DEBUG=true install -d -m 755 $RPM_BUILD_ROOT/usr/bin install -d -m 755 $RPM_BUILD_ROOT/usr/sbin install -d -m 755 $RPM_BUILD_ROOT/etc/xinetd.d install -d -m 755 $RPM_BUILD_ROOT%_mandir/man1 install -d -m 755 $RPM_BUILD_ROOT%_mandir/man5 install -d -m 755 $RPM_BUILD_ROOT%_mandir/man8 %makeinstall install -m 644 %{S:1} $RPM_BUILD_ROOT/etc/xinetd.d/telnet install -d $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/ install -m 644 %{S:2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}-server %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc COPYING ChangeLog README NEWS %attr(755,root,root) /usr/bin/telnet %doc %_mandir/man1/telnet.1.gz %files server %defattr(644,root,root,755) %doc COPYING ChangeLog README NEWS %doc %_mandir/man8/in.telnetd.8.gz %doc %_mandir/man8/telnetd.8.gz %doc %_mandir/man5/issue.net.5.gz %config(noreplace) /etc/xinetd.d/telnet %attr(755,root,root) /usr/sbin/in.telnetd %config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}-server %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor