On Sun, Aug 20, 2000 at 08:57:00PM -0500, Brad wrote:
> In case anyone would find it useful, it's not very difficult to package
> the subject. I must assume a i386 libc6 system, since i have no others
> to test the instructions. If anyone else would, post an addendum. You'll
> need the approrpiate packages for building deb files installed
> (dpkg-dev, debhelper, that sort of thing).
> 
> First, apt-get source netscape-base-473, and download the Netscape
> tarballs for Navigator/Communicator (or both, depending on what you
> want) from netscape.com. Go see a movie while all this downloads.  For
> reference, about 200M should be enough to hold all the files.
[...] etc.

Hi,

I converted Brad recipe (only for communicator) to a script (attached at end).

Mirek
#!/bin/bash
set -e
set -x 

   DC=communicator-v475.x86-unknown-linux2.2
   D=netscape4.75-4.75

   tar xpzf communicator-v475-us.x86-unknown-linux2.2.tar.gz

   dpkg-source -x netscape4.73_4.73-19.dsc
   mv netscape4.73-4.73 $D

   cat <<EOF  > ftmp
netscape4.75 (4.75-0) unstable; urgency=low

  * Strong crypto is good!

 -- You <[EMAIL PROTECTED]>  `date '+%a, %d %b %Y %T %z'`

EOF

   cat $D/debian/changelog >> ftmp
   mv ftmp $D/debian/changelog 

   cat $D/debian/installer |
   sed -e 's/for LIBC in 5 6;do/for LIBC in 6;do/g' \
   -e 's/4.73/4.75/g' -e 's/473/475/g' -e 's/LIBC:-5/LIBC:-6/' > ftmp
   mv ftmp $D/debian/installer

   Ds=$D/src/4.75
   mkdir $Ds

   for x in \
     README.install  jae40.jar   joptio40.jar  resource.jar \
     ifc11.jar       java40.jar  jsd10.jar     scd10.jar \
     iiop10.jar      jio40.jar   ldap40.jar ;
   do cp -a $DC/$x $Ds; done

   mkdir $Ds/{communicator,navigator,i386}
   mkdir $Ds/i386/{6,communicator,navigator}
   cp -a $DC/{nethelp-v475,spellchk-v475}.nif $Ds/communicator
#fake navigator
   cp -a $DC/nethelp-v475.nif $Ds/navigator         

   cp -a $DC/vreg $Ds/i386/6

   mkdir $Ds/i386/6/{communicator,navigator}
   cp -a $DC/netscape-v475.nif $Ds/i386/6/communicator
#fake navigator
   cp -a $DC/netscape-v475.nif $Ds/i386/6/navigator 

   (
   cd $D
   debian/rules clean
   fakeroot debian/rules binary
   )

#fake navigator
   rm navigator-*.deb

Reply via email to