OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Christoph Schug
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web openpkg$ Date:   20-Aug-2003 17:48:35
  Branch: HEAD                             Handle: 2003082016483302

  Added files:
    openpkg-re/vcheck       vc.fping
    openpkg-src/fping       fping.spec
  Modified files:
    openpkg-web             news.txt

  Log:
    new package: fping 2.4b2.to (ICMP ECHO_REQUEST tool for batch
    operations)

  Summary:
    Revision    Changes     Path
    1.1         +9  -0      openpkg-re/vcheck/vc.fping
    1.1         +89 -0      openpkg-src/fping/fping.spec
    1.6244      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-re/vcheck/vc.fping
  ============================================================================
  $ cvs diff -u -r0 -r1.1 vc.fping
  --- /dev/null 2003-08-20 17:48:33.000000000 +0200
  +++ vc.fping  2003-08-20 17:48:33.000000000 +0200
  @@ -0,0 +1,9 @@
  +config = {
  +}
  +
  +prog fping = {
  +  version   = 2.4b2_to
  +  url       = http://www.fping.com/download/
  +  regex     = fping-(\d+\.\w+)\.tar\.gz
  +}
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/fping/fping.spec
  ============================================================================
  $ cvs diff -u -r0 -r1.1 fping.spec
  --- /dev/null 2003-08-20 17:48:35.000000000 +0200
  +++ fping.spec        2003-08-20 17:48:35.000000000 +0200
  @@ -0,0 +1,89 @@
  +##
  +##  fping.spec -- OpenPKG RPM Specification
  +##  Copyright (c) 2000-2003 The OpenPKG Project <http://www.openpkg.org/>
  +##  Copyright (c) 2000-2003 Ralf S. Engelschall <[EMAIL PROTECTED]>
  +##  Copyright (c) 2000-2003 Cable & Wireless <http://www.cw.com/>
  +##
  +##  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 versions
  +%define       V_here  2.4b2.to
  +%define       V_real  2.4b2_to
  +
  +#   package information
  +Name:         fping
  +Summary:      ICMP ECHO_REQUEST tool for batch operations
  +URL:          http://www.fping.com/
  +Vendor:       Thomas Dzubin
  +Packager:     The OpenPKG Project
  +Distribution: OpenPKG [EVAL]
  +Group:        System
  +License:      Open Source
  +Version:      %{V_here}
  +Release:      20030820
  +
  +#   list of sources
  +Source0:      http://www.fping.com/download/fping-%{V_real}.tar.gz
  +
  +#   build information
  +Prefix:       %{l_prefix}
  +BuildRoot:    %{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg >= 20030103, make, gcc
  +PreReq:       OpenPKG, openpkg >= 20030103
  +AutoReq:      no
  +AutoReqProv:  no
  +
  +%description
  +    fping is a ping(8) like program which uses the Internet Control
  +    Message Protocol (ICMP) echo request to determine if a host is up.
  +    fping is different from ping in that you can specify any number of
  +    hosts on the command line, or specify a file containing the lists
  +    of hosts to ping. Instead of trying one host until it timeouts or
  +    replies, fping will send out a ping packet and move on to the next
  +    host in a round-robin fashion. If a host replies, it is noted and
  +    removed from the list of hosts to check. If a host does not respond
  +    within a certain time limit and/or retry limit it will be considered
  +    unreachable.
  +
  +    Unlike ping(8), fping is meant to be used in scripts and its output
  +    is easy to parse.
  +
  +%prep
  +    %setup -q -n fping-%{V_real}
  +    touch configure
  +
  +%build
  +    CC="%{l_cc}" \
  +    CFLAGS="%{l_cflags -O}" \
  +    ./configure \
  +        --prefix=%{l_prefix}
  +    %{l_make} %{l_mflags -O}
  +
  +%install
  +    rm -rf $RPM_BUILD_ROOT
  +    %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
  +    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} \
  +        '%attr(0700,%{l_susr},%{l_sgrp}) %{l_prefix}/sbin/fping'
  +
  +%files -f files
  +
  +%clean
  +    rm -rf $RPM_BUILD_ROOT
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.6243 -r1.6244 news.txt
  --- openpkg-web/news.txt      20 Aug 2003 10:31:13 -0000      1.6243
  +++ openpkg-web/news.txt      20 Aug 2003 15:48:33 -0000      1.6244
  @@ -1,3 +1,4 @@
  +20-Aug-2003: New package: P<fping-2.4b2.to-20030820>
   20-Aug-2003: Upgraded package: P<openpkg-20030820-20030820>
   20-Aug-2003: Upgraded package: P<scribus-1.0.1-20030820>
   20-Aug-2003: Upgraded package: P<xmlsec-1.1.0-20030820>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to