IP Filter bug report form.
--------------------------
IP Filter Version: 4.1.3
Operating System Version: Solaris 9 x86
Configuration: LKM

Description of problem:

Doing a pkgadd says it's installing pfil for sparc
when pfil was built on a x86 platform.

How to repeat:

Build and install pfil on this platform.  Look
carefully at what pkgadd says it's installing.
The enclosed patch to Makefile fixes the problem.

*** Makefile.ORIGINAL   Tue May 11 10:57:27 2004
--- Makefile    Wed Oct 27 19:47:17 2004
*************** install-SunOS: package-SunOS
*** 99,105 ****
  package-SunOS: $(DO)
        /bin/rm -f copyright
        ln -s ../copyright .
!       (x=`date '+%T %D'`; sed -e "[EMAIL PROTECTED]@$$x@" pkginfo.dist>pkginfo)
        cat prototype.dist > prototype
        if [ -f pfil64 ] ; then \
                echo 'd none kernel/strmod/sparcv9 ? root sys' >> prototype; \
--- 99,107 ----
  package-SunOS: $(DO)
        /bin/rm -f copyright
        ln -s ../copyright .
!       (x=`date '+%T %D'`; sed -e "[EMAIL PROTECTED]@$$x@" \
!                       -e "s/ARCH=.*/ARCH=`uname -p`/" \
!                                pkginfo.dist > pkginfo)
        cat prototype.dist > prototype
        if [ -f pfil64 ] ; then \
                echo 'd none kernel/strmod/sparcv9 ? root sys' >> prototype; \
*** SunOS/pkginfo.dist.ORIGINAL Thu Aug 19 13:00:54 2004
--- SunOS/pkginfo.dist  Wed Oct 27 19:46:50 2004
*************** TZ=EST
*** 4,10 ****
  PATH=/sbin:/usr/sbin:/usr/bin:/usr/sadm/install/bin
  PKG=pfil
  NAME=Packet Filtering Interface
! ARCH=sparc
  VERSION=2.1.4,REV=RELEASE_DATE
  CATEGORY=system
  DESC=Packet Filter Control Driver
--- 4,10 ----
  PATH=/sbin:/usr/sbin:/usr/bin:/usr/sadm/install/bin
  PKG=pfil
  NAME=Packet Filtering Interface
! ARCH=ARCH_updated_by_sed_when_package_is_built
  VERSION=2.1.4,REV=RELEASE_DATE
  CATEGORY=system
  DESC=Packet Filter Control Driver

-- John
-------------------------------------------------------------------------
|   Feith Systems  |   Voice: 1-215-646-8000  |  Email: [EMAIL PROTECTED]  |
|    John Wehle    |     Fax: 1-215-540-5495  |                         |
-------------------------------------------------------------------------

Reply via email to