Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for images:i586
openSUSE:12.2:ARM
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) 2011 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/ # # norootforbuild Name: net-tools Url: http://www.tazenda.demon.co.uk/phil/net-tools/ License: GPL-2.0+ Group: Productivity/Networking/Other Provides: traceroute net_tool Provides: iputils:/usr/sbin/traceroute6 Obsoletes: traceroute net_tool AutoReqProv: on Version: 1.60 Release: 745 Summary: Important Programs for Networking BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: net-tools-%{version}.tar.bz2 Source1: ftp://ftp.lst.de/pub/people/okir/traceroute/traceroute-1.2.tar.bz2 Source2: netstat.xinetd Source3: nstrcmp.c 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 Patch17: traceroute-LDOPTS.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 Patch28: traceroute-strip.diff 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 Patch37: traceroute-glibc210.diff 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 -a1 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 cd traceroute-* %patch17 -p2 %patch28 -p1 %patch37 -p1 cd .. %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 %build make config make COPTS="-D_GNU_SOURCE $RPM_OPT_FLAGS" LOPTS="$RPM_OPT_FLAGS" cd traceroute-* make CCOPTS="$RPM_OPT_FLAGS -fpie" LDOPTS="-pie" cd .. %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 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 cd traceroute-* mkdir -p $RPM_BUILD_ROOT/usr/sbin make DESTDIR=$RPM_BUILD_ROOT CCOPTS="$RPM_OPT_FLAGS" install cp traceroute.1 $RPM_BUILD_ROOT/%{_mandir}/man1/ ln -s traceroute.1 $RPM_BUILD_ROOT/%{_mandir}/man1/traceroute6.1 cd .. 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} %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root) /bin/* /sbin/* /usr/sbin/* %_mandir/man*/* %config(noreplace) /etc/xinetd.d/netstat %dir %lang(de) %_mandir/de %dir %lang(de) %_mandir/de/man* %lang(de) %doc %_mandir/de/man*/* %dir %lang(fr) %_mandir/fr %dir %lang(fr) %_mandir/fr/man* %lang(fr) %doc %_mandir/fr/man*/* %dir %lang(pt_BR) %_mandir/pt_BR %dir %lang(pt_BR) %_mandir/pt_BR/man* %lang(pt_BR) %doc %_mandir/pt_BR/man*/* %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