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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web openpkg$ Date:   08-Mar-2003 11:49:08
  Branch: HEAD                             Handle: 2003030810490403

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

  Log:
    package Geoff's SSL/TLS benchmarking tool

  Summary:
    Revision    Changes     Path
    1.1         +11 -0      openpkg-re/vcheck/vc.swamp
    1.1         +84 -0      openpkg-src/swamp/swamp.spec
    1.3611      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-re/vcheck/vc.swamp
  ============================================================================
  $ cvs diff -u -r0 -r1.1 vc.swamp
  --- /dev/null 2003-03-08 11:49:04.000000000 +0100
  +++ vc.swamp  2003-03-08 11:49:04.000000000 +0100
  @@ -0,0 +1,11 @@
  +config = {
  +}
  +
  +prog swamp = {
  +  version   = 1.1.0
  +  url       = http://www.geoffthorpe.net/crypto/swamp/
  +  regex     = swamp-(__VER__)
  +  url       = http://www.geoffthorpe.net/crypto/swamp/swamp-__NEWVER__/
  +  regex     = swamp-(__VER__)\.tar\.gz
  +}
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/swamp/swamp.spec
  ============================================================================
  $ cvs diff -u -r0 -r1.1 swamp.spec
  --- /dev/null 2003-03-08 11:49:07.000000000 +0100
  +++ swamp.spec        2003-03-08 11:49:08.000000000 +0100
  @@ -0,0 +1,84 @@
  +##
  +##  swamp.spec -- OpenPKG RPM Specification
  +##  Copyright (c) 2000-2003 Cable & Wireless Deutschland GmbH
  +##  Copyright (c) 2000-2003 The OpenPKG Project <http://www.openpkg.org/>
  +##  Copyright (c) 2000-2003 Ralf S. Engelschall <[EMAIL PROTECTED]>
  +##
  +##  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 information
  +Name:         swamp
  +Summary:      SSL/TLS Benchmarking Tool
  +URL:          http://www.geoffthorpe.net/crypto/swamp/
  +Vendor:       Geoff Thorpe
  +Packager:     The OpenPKG Project
  +Distribution: OpenPKG [EVAL]
  +Group:        Cryptography
  +License:      GPL
  +Version:      1.1.0
  +Release:      20030308
  +
  +#   list of sources
  +Source0:      
http://www.geoffthorpe.net/crypto/swamp/swamp-%{version}/swamp-%{version}.tar.gz
  +
  +#   build information
  +Prefix:       %{l_prefix}
  +BuildRoot:    %{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg >= 20030103, openssl
  +PreReq:       OpenPKG, openpkg >= 20030103
  +AutoReq:      no
  +AutoReqProv:  no
  +
  +%description
  +    Swamp is a SSL/TLS benchmarking tool, originally meant to be an
  +    HTTPS version of the "Apache Bench" tool that comes with Apache (the
  +    "ab" utility). Swamp can be used for any SSL/TLS based servers, not
  +    just webservers.
  +
  +%prep
  +    %setup -q
  +
  +%build
  +    CC="%{l_cc}" \
  +    CFLAGS="%{l_cflags -O}" \
  +    CPPFLAGS="%{l_cppflags}" \
  +    LDFLAGS="%{l_ldflags}" \
  +    ./configure \
  +        --prefix=%{l_prefix} \
  +        --with-ssl=%{l_prefix} \
  +        --enable-custom-cflags="%{l_cflags -O}"
  +    %{l_make} %{l_mflags -O}
  +
  +%install
  +    rm -rf $RPM_BUILD_ROOT
  +    %{l_shtool} mkdir -f -p -m 755 \
  +        $RPM_BUILD_ROOT%{l_prefix}/bin \
  +        $RPM_BUILD_ROOT%{l_prefix}/man/cat1
  +    %{l_shtool} install -c -s -m 755 \
  +        swamp $RPM_BUILD_ROOT%{l_prefix}/bin/
  +    %{l_shtool} install -c -m 644 \
  +        README $RPM_BUILD_ROOT%{l_prefix}/man/cat1/swamp.1
  +    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
  +
  +%files -f files
  +
  +%clean
  +    rm -rf $RPM_BUILD_ROOT
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.3610 -r1.3611 news.txt
  --- openpkg-web/news.txt      8 Mar 2003 08:54:44 -0000       1.3610
  +++ openpkg-web/news.txt      8 Mar 2003 10:49:05 -0000       1.3611
  @@ -1,3 +1,4 @@
  +08-Mar-2003: New package: P<swamp-1.1.0-20030308>
   08-Mar-2003: Upgraded package: P<ethereal-0.9.10-20030308>
   07-Mar-2003: Upgraded package: P<perl-net-20030307-20030307>
   07-Mar-2003: Upgraded package: P<poweradmin-1.2.4-20030307>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to