Specifying version and revision of a package

2001-10-04 Thread Jeremy Higgs
Hi! I'm trying to create a package for RCF (a firewall) to be built from a CVS tree and I'd like to somehow 'retrieve' the version and revision from the root Makefile (which is already used to create the .deb file...) I tried using the '-v' switch of dpkg-buildpackage to do it, but I think I

Specifying version and revision of a package

2001-10-04 Thread Jeremy Higgs
Hi! I'm trying to create a package for RCF (a firewall) to be built from a CVS tree and I'd like to somehow 'retrieve' the version and revision from the root Makefile (which is already used to create the .deb file...) I tried using the '-v' switch of dpkg-buildpackage to do it, but I think I

Some problems with debian/rules file...

2001-09-26 Thread Jeremy Higgs
27;dpkg-buildpackage'...: [EMAIL PROTECTED]:~/cvs/rcf-5.2.1$ dpkg-buildpackage -rfakeroot -b dpkg-buildpackage: source package is rcf dpkg-buildpackage: source version is 5.2.1-1 dpkg-buildpackage: source maintainer is Jeremy Higgs <[EMAIL PROTECTED]> dpkg-buildpackage: host architecture is i3

Some problems with debian/rules file...

2001-09-26 Thread Jeremy Higgs
ildpackage'...: jem@piglet:~/cvs/rcf-5.2.1$ dpkg-buildpackage -rfakeroot -b dpkg-buildpackage: source package is rcf dpkg-buildpackage: source version is 5.2.1-1 dpkg-buildpackage: source maintainer is Jeremy Higgs <[EMAIL PROTECTED]> dpkg-buildpackage: host architecture is i386 fakeroo

Re: Having problems with my (newly created) debian package

2000-12-10 Thread Jeremy Higgs
Ok, thanks, people, for your help. The deb package seems to be fixed in terms of the firewall init.d script and it's removal and install behaviour, but I can't seem to get file permissions working! I have the following lines in my debian/rules file: ... install: build dh_testdir

Re: Having problems with my (newly created) debian package

2000-12-10 Thread Jeremy Higgs
Ok, thanks, people, for your help. The deb package seems to be fixed in terms of the firewall init.d script and it's removal and install behaviour, but I can't seem to get file permissions working! I have the following lines in my debian/rules file: ... install: build dh_testdir

Re: Having problems with my (newly created) debian package

2000-12-09 Thread Jeremy Higgs
Your new package is not the problem, here. It seems that the old version of your package provided a broken prerm script. So, when dpkg try to uninstall it before installing the new version, it just crashes.Whatyoucoulddo is just modifying the /var/lib/dpkg/in

Re: Having problems with my (newly created) debian package

2000-12-09 Thread Jeremy Higgs
>Your new package is not the problem, here. It seems that the old >version of your package provided a broken prerm script. So, when dpkg >try to uninstall it before installing the new version, it just >crashes.Whatyoucoulddo is just modifying the >/var/lib/dp

Having problems with my (newly created) debian package

2000-12-09 Thread Jeremy Higgs
Ok, thanks to the help of some, I've configured a lot of the debian package for RCf, but when I install (after running dpkg-buildpackage and lintian), I get a whole lot of errors: [EMAIL PROTECTED]:~/rcf-5.0.1# lintian -i rcf_5.0.1-1_i386.changes warning: lintian's authors do not recommend runn

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

Having problems with my (newly created) debian package

2000-12-08 Thread Jeremy Higgs
Ok, thanks to the help of some, I've configured a lot of the debian package for RCf, but when I install (after running dpkg-buildpackage and lintian), I get a whole lot of errors: root@debian:~/rcf-5.0.1# lintian -i rcf_5.0.1-1_i386.changes warning: lintian's authors do not recommend running it

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 al

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

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://

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 Jeremy Higgs
ckage: source maintainer is Jeremy Higgs <[EMAIL PROTECTED]> dpkg-buildpackage: build architecture is i386 fakeroot debian/rules clean DEB_BUILD_ARCH=i386 DEB_BUILD_GNU_CPU=i386 DEB_BUILD_GNU_SYSTEM=linux DEB_BUILD_GNU_TYPE=i386-linux DEB_HOST_ARCH=i386 DEB_HOST_GNU_CPU=i386 DEB_HOST_GNU_S

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 f

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

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

2000-12-08 Thread Jeremy Higgs
ckage: source maintainer is Jeremy Higgs <[EMAIL PROTECTED]> dpkg-buildpackage: build architecture is i386 fakeroot debian/rules clean DEB_BUILD_ARCH=i386 DEB_BUILD_GNU_CPU=i386 DEB_BUILD_GNU_SYSTEM=linux DEB_BUILD_GNU_TYPE=i386-linux DEB_HOST_ARCH=i386 DEB_HOST_GNU_CPU=i386 DEB_HOST_GNU_S

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

Creating a debian package that doesn't need compiling...

2000-12-08 Thread Jeremy Higgs
Hi, This is my first go at creating a debian package, so please excuse any mistakes that I have made/might make! 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 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,

Creating a debian package that doesn't need compiling...

2000-12-08 Thread Jeremy Higgs
Hi, This is my first go at creating a debian package, so please excuse any mistakes that I have made/might make! 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