Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for pool:s390x
openSUSE:Leap:42.2
net-tools
net-tools.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File net-tools.spec of Package net-tools
# # spec file for package net-tools # # Copyright (c) 2013 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: net-tools Url: http://www.tazenda.demon.co.uk/phil/net-tools/ Provides: iputils:/usr/sbin/traceroute6 Provides: net_tool Obsoletes: net_tool #force new traceroute or else.. Recommends: traceroute >= 2.0.0 Version: 1.60 Release: 0 Summary: Important Programs for Networking License: GPL-2.0+ Group: Productivity/Networking/Other BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: http://www.tazenda.demon.co.uk/phil/net-tools/net-tools-%{version}.tar.bz2 Source2: netstat.xinetd Source3: nstrcmp.c Source4: ether-wake.c Source5: ether-wake.8 Patch: net-tools-%{version}.dif Patch1: netstat-trunc.dif Patch2: manpages.diff Patch4: net-tools-1.60-multilinestr.diff Patch5: net-tools-1.60-krn26.dif Patch7: net-tools-1.60-long_to_int.diff Patch8: net-tools-1.60-compoundstatement.diff Patch9: nameif-rename.patch Patch10: net-tools-1.60-errors.patch Patch11: net-tools-1.60-cont-buff.patch Patch12: net-tools-1.60-miioff.diff Patch13: net-tools-1.60-nameif.diff Patch14: net-tools-1.60-sockios-SIOCGMIIPHY.diff Patch15: net-tools-1.60-numericstuff.diff Patch16: net-tools-1.60-if_tr.diff Patch18: net-tools-1.60-netstat.8.diff Patch19: net-tools-1.60-strictaliasing.diff Patch20: net-tools-1.60-interface_stack.patch Patch21: net-tools-1.60-arp-unaligned-access.patch Patch22: net-tools-1.60-snmp-counter-overflow.patch Patch23: net-tools-1.60-netstat-output.patch Patch24: net-tools-1.60-netstat-p.patch Patch25: net-tools-1.60-sctp.patch Patch26: net-tools-1.60-sctp-quiet Patch27: net-tools-1.60-hostname-space.patch Patch30: net-tools-1.60-ifconfig.8.diff Patch31: net-tools-1.60-tcp-recvq-listen.patch Patch32: net-tools-1.60-netstat-ci.diff Patch33: net-tools-1.60-ifconfig-SIOCSIFNETMASK.diff Patch34: net-tools-1.60-interface_socket.diff Patch35: net-tools-1.60-interface_mtu.diff Patch36: net-tools-1.60-printval-conversion.patch Patch38: net-tools-1.60-obsolete.diff Patch39: net-tools-1.60-fclose.diff Patch40: net-tools-1.60-notrim.diff Patch41: net-tools-1.60-ipv6-statistics.diff Patch42: net-tools-1.60-ifindex.diff Patch43: net-tools-1.60-infiniband.diff Patch44: net-tools-1.60-netrom-fopen.diff Patch45: net-tools-1.60-doc.dif Patch46: net-tools-1.60-netstat_retval.diff Patch47: net-tools-1.60-hostname-ipv6.patch Patch48: net-tools-1.60-dont-trim-foreign-addr6.diff Patch49: net-tools-1.60-cs_CZ.bnc715580.diff %description This package contains essential programs for network administration and maintenance: netstat, hostname, arp, ifconfig, rarp, and route. Authors: -------- Fred N. van Kempen <waltje@uwalt.nl.mugnet.org> Bernd Eckenfels <net-tools@lina.inka.de> Fred Baumgarten <dc6iq@insu1.etec.uni-karlsruhe.de> Peter Tobias <tobias@et-inf.fho-emden.de> Olaf Kirch <okir@suse.de> %prep %setup -q cp %{S:3} lib/ %patch %patch1 %patch2 -p1 %patch4 %patch5 %patch7 -p1 %patch8 -p1 %patch9 %patch10 -p1 -b .errors %patch11 -p1 %patch12 -p1 %patch13 -p1 %patch14 -p1 %patch15 -p1 %patch16 -p1 %patch18 -p1 %patch19 -p1 %patch20 %patch21 -p1 %patch22 -p1 %patch23 -p1 %patch24 -p1 %patch25 -p1 %patch26 -p1 %patch27 -p1 %patch30 -p1 %patch31 -p1 %patch32 -p1 %patch33 -p1 %patch34 -p1 %patch35 -p1 %patch36 -p1 #not applied, see bugzilla discussion ##%patch38 -p1 %patch39 -p1 %patch40 -p1 %patch41 %patch42 %patch43 %patch44 %patch45 %patch46 %patch47 %patch48 %patch49 cp %{S:4} . cp %{S:5} ./man/en_US %build # Kernel 3.6 removes if_strip.h - disable STRIP %if 0%{?suse_version} > 1220 %__sed -i -e '/HAVE_HWSTRIP y/s/y$/n/' config.in %endif # make config make COPTS="-D_GNU_SOURCE $RPM_OPT_FLAGS" LOPTS="$RPM_OPT_FLAGS" gcc $RPM_OPT_FLAGS -D_GNU_SOURCE -fwhole-program -o ether-wake ether-wake.c %install install -d -m 755 $RPM_BUILD_ROOT/etc/xinetd.d install -m 644 %{S:2} $RPM_BUILD_ROOT/etc/xinetd.d/netstat make install BASEDIR=$RPM_BUILD_ROOT install -m 755 ether-wake %{buildroot}/sbin for tool in \ %ifarch s390 plipconfig slattach \ %endif nisdomainname ypdomainname mii-tool do rm -f $RPM_BUILD_ROOT/*bin/$tool rm -f $RPM_BUILD_ROOT/%{_mandir}/man*/$tool.* rm -f $RPM_BUILD_ROOT/%{_mandir}/*/man*/$tool.* done mv $RPM_BUILD_ROOT/%{_mandir}/de_DE $RPM_BUILD_ROOT/%{_mandir}/de mv $RPM_BUILD_ROOT/%{_mandir}/fr_FR $RPM_BUILD_ROOT/%{_mandir}/fr %find_lang %{name} --all-name --with-man %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root) /bin/* /sbin/* %_mandir/man*/* %config(noreplace) /etc/xinetd.d/netstat %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