head 1.18; access; symbols OPENPKG_E1_MP_HEAD:1.16 OPENPKG_E1_MP:1.16 OPENPKG_E1_MP_2_STABLE:1.15.2.2 OPENPKG_E1_FP:1.15.2.2 OPENPKG_2_STABLE_MP:1.15 OPENPKG_2_STABLE_20061018:1.15.2.2 OPENPKG_2_STABLE:1.15.0.2 OPENPKG_CW_FP:1.8; locks; strict; comment @-- @; 1.18 date 2009.04.18.13.11.08; author rse; state Exp; branches; next 1.17; commitid 4pHXU27WTIGCZuKt; 1.17 date 2008.01.01.14.55.25; author rse; state Exp; branches; next 1.16; commitid B8esaHJHoduuKILs; 1.16 date 2007.01.01.17.38.32; author rse; state Exp; branches; next 1.15; commitid BicZD6VUl7GuqP0s; 1.15 date 2006.10.13.17.28.47; author thl; state Exp; branches 1.15.2.1; next 1.14; commitid q5GSxzsSDX29XxQr; 1.14 date 2006.09.25.17.57.04; author rse; state Exp; branches; next 1.13; commitid a7A1QqpHDRHKIeOr; 1.13 date 2006.09.24.13.43.27; author rse; state Exp; branches; next 1.12; commitid 9iFNATQbf4HIl5Or; 1.12 date 2006.05.16.07.41.37; author rse; state Exp; branches; next 1.11; commitid CbzAC1Uv7zrGydxr; 1.11 date 2006.01.01.13.14.32; author rse; state Exp; branches; next 1.10; commitid otZG8yKMCw1JFTfr; 1.10 date 2005.11.06.08.17.53; author rse; state Exp; branches; next 1.9; commitid 39IPuIRX4JCLTF8r; 1.9 date 2005.03.24.11.19.02; author rse; state Exp; branches; next 1.8; 1.8 date 2005.01.24.14.53.18; author rse; state Exp; branches; next 1.7; 1.7 date 2005.01.01.10.50.12; author rse; state Exp; branches; next 1.6; 1.6 date 2004.05.03.18.26.41; author rse; state Exp; branches; next 1.5; 1.5 date 2004.02.07.17.55.30; author rse; state Exp; branches; next 1.4; 1.4 date 2004.02.03.20.02.14; author rse; state Exp; branches; next 1.3; 1.3 date 2004.01.23.13.09.37; author rse; state Exp; branches; next 1.2; 1.2 date 2003.11.05.11.40.54; author ms; state Exp; branches; next 1.1; 1.1 date 2003.11.05.11.34.33; author cs; state Exp; branches; next ; 1.15.2.1 date 2006.10.13.17.28.47; author rse; state dead; branches; next 1.15.2.2; commitid iZxwRSmmWscPXUQr; 1.15.2.2 date 2006.10.16.14.51.02; author rse; state Exp; branches; next ; commitid iZxwRSmmWscPXUQr; desc @@ 1.18 log @bump years in copyright messages @ text @## ## hping.spec -- OpenPKG RPM Package Specification ## Copyright (c) 2000-2009 OpenPKG Foundation e.V. ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that ## the above copyright notice and this permission notice appear in all ## copies. ## ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ## SUCH DAMAGE. ## # package version %define V_opkg 2.0.0rc3 %define V_dst 2.0.0-rc3 %define V_src 2-rc3 # package information Name: hping Summary: Send Arbitrary TCP/IP Packets URL: http://www.hping.org/ Vendor: Salvatore Sanfilippo Packager: OpenPKG Foundation e.V. Distribution: OpenPKG Community Class: EVAL Group: Mapping License: GPL Version: %{V_opkg} Release: 20080101 # list of sources Source0: http://www.hping.org/hping%{V_dst}.tar.gz Patch0: hping.patch # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} BuildPreReq: OpenPKG, openpkg >= 20040130, gcc, make PreReq: OpenPKG, openpkg >= 20040130 BuildPreReq: libpcap PreReq: libpcap AutoReq: no AutoReqProv: no %description Hping is a network tool able to send custom TCP/IP packets and to display target replies like the ping program does with ICMP replies. hping handles fragmentation, arbitrary packets body and size and can be used to transfer files encapsulated in supported protocols. %track prog hping = { version = %{V_dst} url = http://www.hping.org/download.html regex = hping(2\.__VER__)\.tar\.gz } %prep %setup -q -n hping%{V_src} %patch -p0 %{l_shtool} subst \ -e 's;\^$PCAP\^;^PCAP=%{l_ldflags} -lpcap^;' \ -e 's;\^$PCAP_INCLUDE\^;^%{l_cppflags}^;' \ -e 's;INSTALL_MANPATH;%{l_prefix}/man;' \ configure %build CC="%{l_cc}" \ CFLAGS="%{l_cflags -O} %{l_cppflags}" \ CPPFLAGS="%{l_cppflags}" \ LDFLAGS="%{l_ldflags}" \ ./configure \ --prefix=%{l_prefix} \ --force-libpcap %{l_make} %{l_mflags -O} %install rm -rf $RPM_BUILD_ROOT %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/sbin \ $RPM_BUILD_ROOT%{l_prefix}/man/man8 %{l_shtool} install -c -s -m 700 \ hping2 $RPM_BUILD_ROOT%{l_prefix}/sbin/hping %{l_shtool} install -c -m 644 \ docs/hping2.8 $RPM_BUILD_ROOT%{l_prefix}/man/man8/hping.8 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} \ '%attr(0700,%{l_susr},%{l_mgrp}) %{l_prefix}/sbin/hping' %files -f files %clean rm -rf $RPM_BUILD_ROOT @ 1.17 log @Update package specifications according to OpenPKG year 2008 world order: http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html @ text @d3 1 a3 1 ## Copyright (c) 2000-2008 OpenPKG Foundation e.V. @ 1.16 log @Welcome Year 2007! @ text @d3 1 a3 2 ## Copyright (c) 2000-2007 OpenPKG Foundation e.V. ## Copyright (c) 2000-2007 Ralf S. Engelschall d40 1 a40 1 Release: 20061013 @ 1.15 log @new world order for "Packager" and "Distribution" headers @ text @d3 2 a4 2 ## Copyright (c) 2000-2006 OpenPKG Foundation e.V. ## Copyright (c) 2000-2006 Ralf S. Engelschall @ 1.15.2.1 log @file hping.spec was added on branch OPENPKG_2_STABLE on 2006-10-16 14:51:02 +0000 @ text @d1 105 @ 1.15.2.2 log @Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class) @ text @a0 105 ## ## hping.spec -- OpenPKG RPM Package Specification ## Copyright (c) 2000-2006 OpenPKG Foundation e.V. ## Copyright (c) 2000-2006 Ralf S. Engelschall ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that ## the above copyright notice and this permission notice appear in all ## copies. ## ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ## SUCH DAMAGE. ## # package version %define V_opkg 2.0.0rc3 %define V_dst 2.0.0-rc3 %define V_src 2-rc3 # package information Name: hping Summary: Send Arbitrary TCP/IP Packets URL: http://www.hping.org/ Vendor: Salvatore Sanfilippo Packager: OpenPKG Foundation e.V. Distribution: OpenPKG Community Class: EVAL Group: Mapping License: GPL Version: %{V_opkg} Release: 2.20061018 # list of sources Source0: http://www.hping.org/hping%{V_dst}.tar.gz Patch0: hping.patch # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} BuildPreReq: OpenPKG, openpkg >= 2.20061018, gcc, make PreReq: OpenPKG, openpkg >= 2.20061018 BuildPreReq: libpcap PreReq: libpcap AutoReq: no AutoReqProv: no %description Hping is a network tool able to send custom TCP/IP packets and to display target replies like the ping program does with ICMP replies. hping handles fragmentation, arbitrary packets body and size and can be used to transfer files encapsulated in supported protocols. %track prog hping = { version = %{V_dst} url = http://www.hping.org/download.html regex = hping(2\.__VER__)\.tar\.gz } %prep %setup -q -n hping%{V_src} %patch -p0 %{l_shtool} subst \ -e 's;\^$PCAP\^;^PCAP=%{l_ldflags} -lpcap^;' \ -e 's;\^$PCAP_INCLUDE\^;^%{l_cppflags}^;' \ -e 's;INSTALL_MANPATH;%{l_prefix}/man;' \ configure %build CC="%{l_cc}" \ CFLAGS="%{l_cflags -O} %{l_cppflags}" \ CPPFLAGS="%{l_cppflags}" \ LDFLAGS="%{l_ldflags}" \ ./configure \ --prefix=%{l_prefix} \ --force-libpcap %{l_make} %{l_mflags -O} %install rm -rf $RPM_BUILD_ROOT %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/sbin \ $RPM_BUILD_ROOT%{l_prefix}/man/man8 %{l_shtool} install -c -s -m 700 \ hping2 $RPM_BUILD_ROOT%{l_prefix}/sbin/hping %{l_shtool} install -c -m 644 \ docs/hping2.8 $RPM_BUILD_ROOT%{l_prefix}/man/man8/hping.8 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} \ '%attr(0700,%{l_susr},%{l_mgrp}) %{l_prefix}/sbin/hping' %files -f files %clean rm -rf $RPM_BUILD_ROOT @ 1.14 log @cosmetic cleanup @ text @d35 2 a36 2 Packager: OpenPKG Distribution: OpenPKG d41 1 a41 1 Release: 20060925 @ 1.13 log @adjust Group header @ text @d32 1 a32 1 Summary: Send (almost) arbitrary TCP/IP packets to network hosts d41 1 a41 1 Release: 20060924 d58 1 a58 1 hping is a network tool able to send custom TCP/IP packets and to @ 1.12 log @requires GCC and GNU make @ text @d38 1 a38 1 Group: Network d41 1 a41 1 Release: 20060516 @ 1.11 log @adjust copyrights for new year 2006 @ text @d41 1 a41 1 Release: 20051106 d50 4 a53 2 BuildPreReq: OpenPKG, openpkg >= 20040130, libpcap PreReq: OpenPKG, openpkg >= 20040130, libpcap @ 1.10 log @track only version 2 for now (version 3 alpha only) @ text @d3 2 a4 2 ## Copyright (c) 2000-2005 OpenPKG Foundation e.V. ## Copyright (c) 2000-2005 Ralf S. Engelschall @ 1.9 log @Adjust the copyright declaration in this (RSE's) copy of the OpenPKG source code now that the fork point for C&W was established (CVS tag OPENPKG_CW_FP), the shared copyright agreement between RSE and C&W is no longer active (as C&W no longer officially sponsors OpenPKG) and the new shared copyright from RSE can be taken over by the newly established juristic entity OpenPKG Foundation e.V. (instead of the non-juristic entity OpenPKG Project). @ text @d41 1 a41 1 Release: 20050124 d65 1 a65 1 regex = hping(__VER__)\.tar\.gz @ 1.8 log @port to AMD64 @ text @d2 3 a4 4 ## hping.spec -- OpenPKG RPM Specification ## Copyright (c) 2000-2005 The OpenPKG Project ## Copyright (c) 2000-2005 Ralf S. Engelschall ## Copyright (c) 2000-2005 Cable & Wireless d35 1 a35 1 Packager: The OpenPKG Project @ 1.7 log @Happy New Year 2005 @ text @d42 1 a42 1 Release: 20040503 @ 1.6 log @update to new version; fix substitution option; install without suffix @ text @d3 3 a5 3 ## Copyright (c) 2000-2004 The OpenPKG Project ## Copyright (c) 2000-2004 Ralf S. Engelschall ## Copyright (c) 2000-2004 Cable & Wireless @ 1.5 log @Mass Commit: reduce redundancy within .spec files by referencing macros defining vendor source versions whenever possible. This was half-way automated and half-way manually edited. As a result the PMOD activity in 95% of all cases just means editing the version in one single place, only. @ text @d27 3 a29 3 %define V_opkg 2.0.0rc2 %define V_dst 2.0.0-rc2 %define V_src 2-rc2 d42 1 a42 1 Release: 20040207 d46 1 d71 1 d75 1 a75 1 -s 's;INSTALL_MANPATH;%{l_prefix}/man;' \ d94 1 a94 3 hping2 \ $RPM_BUILD_ROOT%{l_prefix}/sbin/ ln -s hping2 $RPM_BUILD_ROOT%{l_prefix}/sbin/hping d96 1 a96 3 docs/hping2.8 \ $RPM_BUILD_ROOT%{l_prefix}/man/man8/ ln -s hping2.8 $RPM_BUILD_ROOT%{l_prefix}/man/man8/hping.8 d98 1 a98 1 '%attr(0700,%{l_susr},%{l_mgrp}) %{l_prefix}/sbin/hping2' @ 1.4 log @Mass-Commit: - split "Distribution" header into "Distribution" (old) and "Class" (new) headers by moving the attached class information. - embed the vendor version tracking configuration through the new "%track" section. - bump up the OpenPKG bootstrap dependency, because the "Class" header and "%track" section are only supported by our latest bootstrap version. @ text @d42 1 a42 1 Release: 20040203 d63 1 a63 1 version = 2.0.0-rc2 @ 1.3 log @bump year in copyright messages to cover new year 2004. This is a CVS only commit -- no packages were rolled intentionally @ text @d37 2 a38 1 Distribution: OpenPKG [EVAL] d42 1 a42 1 Release: 20031105 d50 2 a51 2 BuildPreReq: OpenPKG, openpkg >= 20030103, libpcap PreReq: OpenPKG, openpkg >= 20030103, libpcap d60 7 @ 1.2 log @Correct english grammar and usage in %description @ text @d3 3 a5 3 ## Copyright (c) 2000-2003 The OpenPKG Project ## Copyright (c) 2000-2003 Ralf S. Engelschall ## Copyright (c) 2000-2003 Cable & Wireless @ 1.1 log @new package: hping 2.0.0rc2 (Send (almost) arbitrary TCP/IP packets to network hosts) @ text @d56 3 a58 4 display target replies like ping program does with ICMP replies. hping handle fragmentation, arbitrary packets body and size and can be used in order to transfer files encapsulated under supported protocols. @