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:   28-Nov-2003 12:43:50
  Branch: HEAD                             Handle: 2003112811434801

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

  Log:
    flush pending unfinished work

  Summary:
    Revision    Changes     Path
    1.1         +11 -0      openpkg-re/vcheck/vc.irrtoolset
    1.1         +102 -0     openpkg-src/irrtoolset/irrtoolset.spec
    1.7589      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-re/vcheck/vc.irrtoolset
  ============================================================================
  $ cvs diff -u -r0 -r1.1 vc.irrtoolset
  --- /dev/null 2003-11-28 12:43:48.000000000 +0100
  +++ vc.irrtoolset     2003-11-28 12:43:48.000000000 +0100
  @@ -0,0 +1,11 @@
  +config = {
  +}
  +
  +prog irrtoolset = {
  +  version   = 4.8.1
  +  url       = ftp://ftp.ripe.net/tools/IRRToolSet/
  +  regex     = IRRToolSet-(__VER__)
  +  url       = ftp://ftp.ripe.net/tools/IRRToolSet/IRRToolSet-__NEWVER__/
  +  regex     = IRRToolSet-(__VER__)\.tar\.gz
  +}
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/irrtoolset/irrtoolset.spec
  ============================================================================
  $ cvs diff -u -r0 -r1.1 irrtoolset.spec
  --- /dev/null 2003-11-28 12:43:50.000000000 +0100
  +++ irrtoolset.spec   2003-11-28 12:43:50.000000000 +0100
  @@ -0,0 +1,102 @@
  +##
  +##  irrtoolset.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 information
  +Name:         irrtoolset
  +Summary:      Internet Routing Registry Toolset
  +URL:          http://www.ripe.net/ripencc/pub-services/db/irrtoolset/
  +Vendor:       ISI & RIPE NCC
  +Packager:     The OpenPKG Project
  +Distribution: OpenPKG [JUNK]
  +Group:        Network
  +License:      Open Source
  +Version:      4.8.1
  +Release:      20031128
  +
  +#   package options
  +%option       with_x11 no
  +
  +#   list of sources
  +Source0:      
ftp://ftp.ripe.net/tools/IRRToolSet/IRRToolSet-%{version}/IRRToolSet-%{version}.tar.gz
  +
  +#   build information
  +Prefix:       %{l_prefix}
  +BuildRoot:    %{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg >= 20030103, readline, make, gcc
  +PreReq:       OpenPKG, openpkg >= 20030103, readline
  +%if "%{with_x11}" == "yes"
  +BuildPreReq:  X11, tcl, tcl::with_x11 = yes
  +PreReq:       X11, tcl, tcl::with_x11 = yes
  +%endif
  +AutoReq:      no
  +AutoReqProv:  no
  +
  +%description
  +    The Internet Routing Registry Toolset (IRRToolSet)i s a suite of
  +    policy analysis tools to operate with routing policies in RPSL
  +    [RFC2622] format, registered in the Internet Routing Registry (IRR).
  +    The main goal of the project is to make routing information more
  +    convenient and useful for network engineers, by providing tools
  +    for automated router configuration, routing policies analysis, and
  +    maintenance.
  +
  +%prep
  +    %setup -q -n IRRToolSet-%{version}
  +    %{l_shtool} subst -s \
  +        -e 's;_G_int32_t;int32_t;g' \
  +        -e 's;_G_uint32_t;uint32_t;g' \
  +        -e 's;<malloc\.h>;<cstdlib>;g' \
  +        -e 's;_G_config\.h;cstdlib;g' \
  +        -e 's;<strstream\.h>;<sstream>;g' \
  +        -e 's;<strstream>;<sstream>;g' \
  +        `find . -type f -print`
  +    #   FIXME: rse: more patching required...
  +
  +%build
  +%if "%{with_x11}" == "yes"
  +    #   FIXME: set the various TCL_XXX variables according to README file
  +%endif
  +    CC="%{l_cc}" \
  +    CXX="%{l_cxx}" \
  +    CFLAGS="%{l_cflags -O}" \
  +    CXXFLAGS="%{l_cxxflags -O} -Wno-deprecated" \
  +    CPPFLAGS="%{l_cppflags}" \
  +    LDFLAGS="%{l_ldflags}" \
  +    ./configure \
  +        --prefix=%{l_prefix}
  +    %{l_make} %{l_mflags}
  +
  +%install
  +    rm -rf $RPM_BUILD_ROOT
  +    #   FIXME: rse: still no investigation on installation procedure
  +    %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
  +    strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
  +    %{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.7588 -r1.7589 news.txt
  --- openpkg-web/news.txt      28 Nov 2003 11:20:26 -0000      1.7588
  +++ openpkg-web/news.txt      28 Nov 2003 11:43:48 -0000      1.7589
  @@ -1,3 +1,4 @@
  +28-Nov-2003: New package: P<irrtoolset-4.8.1-20031128>
   28-Nov-2003: Upgraded package: P<screen-3.9.13-1.2.1>
   28-Nov-2003: Upgraded package: P<screen-3.9.15-1.3.1>
   28-Nov-2003: New package: P<ripe-asused-3.72-20031128>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to