On Fri, Jan 24, 2003 at 01:28:28PM +0100, Ralf S. Engelschall wrote:
>On Fri, Jan 24, 2003, Michael van Elst wrote:
>
>>   Added files:
>>     openpkg-src/tripwire    tripwire.spec
>
>Do not forget to add the version tracking file vc.tripwire. If you use
>"openpkg-dev new tripwire" for creating new packages and "openpkg-dev
>release tripwire-xx-xx" for releasing it will created and comitted
>automatically in the future.

I tried building here with this tripwire.spec file, but wasn't successful.

There seems to be a couple of typos in the file (diffs attached).  The
substitutions failes, and the library seems to be cryptlib instead of
cryptolib.

The platform I'm attempting to build this on is SuSE 8.1 Linux, using the
openpkg gcc-3.2.1-20030114.  I also tried with gcc2-2.95.3-20030114 which
just came up with different errors.  A

Trying to build with gcc-3.2, I used tripwire-2.3.1-gcc3.patch from the
sourceforge site (this is reflected in the attached patch).  This allowed
it to get further along in the compile that without it (and considerable
further than I got when attempting my own specfile :-).

The output of my most successful build is available here:
        ftp://ftp.celestial.com/tmp/openpkg.tripwirebuild.gz

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``Capitalism works primarily because most of the ways that a company can be
scum end up being extremely bad for business when there's working
competition.'' -rra
--- /csoft/openpkg-src/tripwire/tripwire.spec   2003-01-24 03:36:57.000000000 -0800
+++ tripwire.spec       2003-01-25 18:11:03.000000000 -0800
@@ -44,6 +44,7 @@
 
 #   list of sources
 Source0:      
http://osdn.dl.sourceforge.net/sourceforge/tripwire/tripwire-%{V_vendor}.tar.gz
+Patch0:       tripwire-2.3.1-gcc3.patch
 
 #   build information
 Prefix:       %{l_prefix}
@@ -59,6 +60,7 @@
 
 %prep
     %setup0 -q -n tripwire-%{V_vendor}
+       %patch -p1
 
 %build
     case "%{l_target}" in
@@ -87,9 +89,9 @@
         Makefile
     touch STLport_r
 
-    for f in cryptolib/*.mak; do
+    for f in cryptlib/*.mak; do
         %{l_shtool} subst \
-            -e 's;-[IL]../STLPort[^[:blank]]*;;' \
+            -e 's;-[IL]../STLPort[^[:blank:]]*;;' \
             -e 's;stlport_gcc;stdc++;' \
             $f
     done

Reply via email to