Re: creating a debian package that doesn't require compiling...

2000-12-09 Thread Hamish Moffatt
On Sat, Dec 09, 2000 at 05:48:59AM +0100, Ingo Saitz wrote: > > Is there a way I can install the deb package, but test it and see > > that everything works?? > > If you don't want to install the package you can examine its > contents using ar x package.deb. Easier than that: dpkg-deb -c filenam

Re: creating a debian package that doesn't require compiling...

2000-12-09 Thread Hamish Moffatt
On Sat, Dec 09, 2000 at 05:48:59AM +0100, Ingo Saitz wrote: > > Is there a way I can install the deb package, but test it and see > > that everything works?? > > If you don't want to install the package you can examine its > contents using ar x package.deb. Easier than that: dpkg-deb -c filena

Re: creating a debian package that doesn't require compiling...

2000-12-08 Thread Ingo Saitz
MoiN On Sat, Dec 09, 2000 at 03:39:01PM +1100, Jeremy Higgs wrote: > ok, I have modified the postinst.debhelper script and renamed it > (saved it as) postinst in the debian directory. I then created the > deb package. Please don't do that. The postinst.debhelper script is generated by debhelper

Re: creating a debian package that doesn't require compiling...

2000-12-08 Thread Jeremy Higgs
MoiN On Sat, Dec 09, 2000 at 02:46:51PM +1100, Jeremy Higgs wrote: the man page for update-rc.d didn't say WHERE to execute update-rc.d, so I put it at the end. The update-rc.d has to be executed in the postinst of the package. If you're using debhelper those scripts should be generated auto

Re: creating a debian package that doesn't require compiling...

2000-12-08 Thread Ingo Saitz
MoiN On Sat, Dec 09, 2000 at 02:46:51PM +1100, Jeremy Higgs wrote: > the man page for update-rc.d didn't say WHERE to execute update-rc.d, > so I put it at the end. The update-rc.d has to be executed in the postinst of the package. If you're using debhelper those scripts should be generated auto

Re: creating a debian package that doesn't require compiling...

2000-12-08 Thread Jeremy Higgs
ok... I've had a look at the man pages for update-rc.d and dh_installinit, and I *think* I've got the init.d script working (it appears in debian/rcf/etc/init.d/firewall, anyway, and contains what I put into the init.d file in the debian dir.) this is my rules file now: debian:~/rcf-5.0.1/r

Re: creating a debian package that doesn't require compiling...

2000-12-08 Thread Jeremy Higgs
Jeremy Higgs <[EMAIL PROTECTED]> wrote: so... there were no errors, but there still are some files missing. there is a file (from the RPM version) that is supposed to be installed into /etc/init.d/. How do I do that? Please read the man page for dh_installinit, which you're already using - the

Re: creating a debian package that doesn't require compiling...

2000-12-08 Thread Colin Watson
Jeremy Higgs <[EMAIL PROTECTED]> wrote: >so... there were no errors, but there still are some files missing. > >there is a file (from the RPM version) that is supposed to be >installed into /etc/init.d/. How do I do that? Please read the man page for dh_installinit, which you're already using - t

Re: creating a debian package that doesn't require compiling...

2000-12-08 Thread Ingo Saitz
MoiN On Sat, Dec 09, 2000 at 03:39:01PM +1100, Jeremy Higgs wrote: > ok, I have modified the postinst.debhelper script and renamed it > (saved it as) postinst in the debian directory. I then created the > deb package. Please don't do that. The postinst.debhelper script is generated by debhelpe

Re: creating a debian package that doesn't require compiling...

2000-12-08 Thread Jeremy Higgs
>MoiN > >On Sat, Dec 09, 2000 at 02:46:51PM +1100, Jeremy Higgs wrote: >> the man page for update-rc.d didn't say WHERE to execute update-rc.d, >> so I put it at the end. > >The update-rc.d has to be executed in the postinst of the >package. If you're using debhelper those scripts should be >gen

Re: creating a debian package that doesn't require compiling...

2000-12-08 Thread Ingo Saitz
MoiN On Sat, Dec 09, 2000 at 02:46:51PM +1100, Jeremy Higgs wrote: > the man page for update-rc.d didn't say WHERE to execute update-rc.d, > so I put it at the end. The update-rc.d has to be executed in the postinst of the package. If you're using debhelper those scripts should be generated aut

Re: creating a debian package that doesn't require compiling...

2000-12-08 Thread Jeremy Higgs
Jeremy Higgs: I cannot see anything wrong...?? but I still get a 'missing separator' error! It's a standard Makefile, so you need to have tabs before the commands that defines the target. You've removed the initial tabs from the dh_ lines. -- \\// peter - http://www.softwolves.pp.se/ Stat

Re: creating a debian package that doesn't require compiling...

2000-12-08 Thread Jeremy Higgs
ok... I've had a look at the man pages for update-rc.d and dh_installinit, and I *think* I've got the init.d script working (it appears in debian/rcf/etc/init.d/firewall, anyway, and contains what I put into the init.d file in the debian dir.) this is my rules file now: debian:~/rcf-5.0.1/rc

Re: creating a debian package that doesn't require compiling...

2000-12-08 Thread peter karlsson
Jeremy Higgs: > I cannot see anything wrong...?? but I still get a 'missing separator' error! It's a standard Makefile, so you need to have tabs before the commands that defines the target. You've removed the initial tabs from the dh_ lines. -- \\// peter - http://www.softwolves.pp.se/ State

Re: creating a debian package that doesn't require compiling...

2000-12-08 Thread Jeremy Higgs
Ok, thanks to some help from Colin Watson and Toni Mueller, I've stripped some lines out of the rules file, but I get an error!: debian:~/rcf-5.0.1/rcf-5.0.1# dpkg-buildpackage -rfakeroot dpkg-buildpackage: source package is rcf dpkg-buildpackage: source version is 5.0.1-1 dpkg-buildpackage: sou

Re: creating a debian package that doesn't require compiling...

2000-12-08 Thread Jeremy Higgs
>Jeremy Higgs <[EMAIL PROTECTED]> wrote: >>so... there were no errors, but there still are some files missing. >> >>there is a file (from the RPM version) that is supposed to be >>installed into /etc/init.d/. How do I do that? > >Please read the man page for dh_installinit, which you're already us

Re: creating a debian package that doesn't require compiling...

2000-12-08 Thread Colin Watson
Jeremy Higgs <[EMAIL PROTECTED]> wrote: >so... there were no errors, but there still are some files missing. > >there is a file (from the RPM version) that is supposed to be >installed into /etc/init.d/. How do I do that? Please read the man page for dh_installinit, which you're already using -

Re: creating a debian package that doesn't require compiling...

2000-12-08 Thread Jeremy Higgs
>Jeremy Higgs: > >> I cannot see anything wrong...?? but I still get a 'missing >>separator' error! > >It's a standard Makefile, so you need to have tabs before the commands >that defines the target. You've removed the initial tabs from the dh_ >lines. > >-- >\\// >peter - http://www.softwolves.

Re: creating a debian package that doesn't require compiling...

2000-12-08 Thread peter karlsson
Jeremy Higgs: > I cannot see anything wrong...?? but I still get a 'missing separator' error! It's a standard Makefile, so you need to have tabs before the commands that defines the target. You've removed the initial tabs from the dh_ lines. -- \\// peter - http://www.softwolves.pp.se/ Stat

Re: creating a debian package that doesn't require compiling...

2000-12-08 Thread Jeremy Higgs
Ok, thanks to some help from Colin Watson and Toni Mueller, I've stripped some lines out of the rules file, but I get an error!: debian:~/rcf-5.0.1/rcf-5.0.1# dpkg-buildpackage -rfakeroot dpkg-buildpackage: source package is rcf dpkg-buildpackage: source version is 5.0.1-1 dpkg-buildpackage: sou

Re: creating a debian package that doesn't require compiling...

2000-12-08 Thread Jeremy Higgs
Jeremy Higgs <[EMAIL PROTECTED]> wrote: [Moving to the debian-mentors mailing list - "Helping newbie developers".] I am trying to create a debian package for RCF (a firewall for linux). There is currently a tarball and RPM of the firewall, but not a debian package, so I thought I might try and

Re: creating a debian package that doesn't require compiling...

2000-12-08 Thread Colin Watson
Jeremy Higgs <[EMAIL PROTECTED]> wrote: [Moving to the debian-mentors mailing list - "Helping newbie developers".] >I am trying to create a debian package for RCF (a firewall for >linux). There is currently a tarball and RPM of the firewall, but not >a debian package, so I thought I might try a

Re: creating a debian package that doesn't require compiling...

2000-12-08 Thread Jeremy Higgs
>Jeremy Higgs <[EMAIL PROTECTED]> wrote: > >[Moving to the debian-mentors mailing list - "Helping newbie >developers".] > >>I am trying to create a debian package for RCF (a firewall for >>linux). There is currently a tarball and RPM of the firewall, but not >>a debian package, so I thought I migh

Re: creating a debian package that doesn't require compiling...

2000-12-08 Thread Colin Watson
Jeremy Higgs <[EMAIL PROTECTED]> wrote: [Moving to the debian-mentors mailing list - "Helping newbie developers".] >I am trying to create a debian package for RCF (a firewall for >linux). There is currently a tarball and RPM of the firewall, but not >a debian package, so I thought I might try