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

  Server: cvs.openpkg.org                  Name:   Michael van Elst
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   24-Jan-2003 12:18:23
  Branch: HEAD                             Handle: 2003012411182300

  Added files:
    openpkg-src/tripwire    tripwire.spec

  Log:
    tripwire is ancient C++ code that does not compile cleanly.

  Summary:
    Revision    Changes     Path
    1.1         +118 -0     openpkg-src/tripwire/tripwire.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/tripwire/tripwire.spec
  ============================================================================
  $ cvs diff -u -r0 -r1.1 tripwire.spec
  --- /dev/null 2003-01-24 12:18:23.000000000 +0100
  +++ tripwire.spec     2003-01-24 12:18:23.000000000 +0100
  @@ -0,0 +1,118 @@
  +##
  +##  tripwire.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.
  +##
  +
  +%define       V_tripwire 2.3.1
  +%define       V_lvl      2
  +%define       V_stlport  4.5.3
  +
  +%define       V_openpkg  %{V_tripwire}.%{V_lvl}
  +%define       V_vendor   %{V_tripwire}-%{V_lvl}
  +
  +#   package information
  +Name:         tripwire
  +Summary:      File and directory integrity checker
  +URL:          http://tripwire.sourceforge.net
  +Vendor:       Tripwire, Inc
  +Packager:     The OpenPKG Project
  +Distribution: OpenPKG [JUNK]
  +Group:        Security
  +License:      GPL
  +Version:      %{V_openpkg}
  +Release:      20030124
  +
  +#   list of sources
  +Source0:      
http://osdn.dl.sourceforge.net/sourceforge/tripwire/tripwire-%{V_vendor}.tar.gz
  +
  +#   build information
  +Prefix:       %{l_prefix}
  +BuildRoot:    %{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg >= 20030114, make, gcc
  +PreReq:       OpenPKG, openpkg >= 20030114
  +AutoReq:      no
  +AutoReqProv:  no
  +
  +%description
  +    Tripwire is a policy driven file system integrity checking tool that
  +    allows system administrators to verify the integrity of their data.
  +
  +%prep
  +    %setup0 -q -n tripwire-%{V_vendor}
  +
  +%build
  +    case "%{l_target}" in
  +        *-freebsd*)
  +            syspre="i386-unknown-freebsd"
  +            ;;
  +        *-linux*)
  +            syspre="i686-pc-linux"
  +            ;;
  +        *-solaris*)
  +            syspre="sparc-linux"
  +            ;;
  +        *-netbsd*)
  +            syspre="i386-unknown-openbsd"
  +            ;;
  +        *)
  +            echo "ERROR: Unsupport platform '%{l_target}'"
  +            exit 1
  +            ;;
  +    esac
  +
  +    cd src
  +
  +    %{l_shtool} subst \
  +        -e '/^targets/s/STLport_r//' \
  +        Makefile
  +    touch STLport_r
  +
  +    for f in cryptolib/*.mak; do
  +        %{l_shtool} subst \
  +            -e 's;-[IL]../STLPort[^[:blank]]*;;' \
  +            -e 's;stlport_gcc;stdc++;' \
  +            $f
  +    done
  +
  +    %{l_make} %{l_mflags -O} release \
  +        CC="%{l_cc}" \
  +        CFLAGS="%{l_cflags -O}" \
  +        CXX="%{l_cxx}" \
  +        CXXFLAGS="%{l_cxxflags -O} -fpermissive" \
  +        CPPFLAGS="%{l_cppflags}" \
  +        LDFLAGS="%{l_ldflags}" \
  +        GMAKE="%{l_make}" \
  +        SYSPRE="$syspre" \
  +        STLPORT="No-STLPort"
  +
  +%install
  +    rm -rf $RPM_BUILD_ROOT
  +    %{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
  +
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to