Re: creating a debian package that doesn't require compiling...
I cannot see anything wrong...?? but I still get a 'missing
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_
peter - http://www.softwolves.pp.se/
Statement concerning unsolicited e-mail according to Swedish law:
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com
ok, I put in tabs into the rules file, and fixed up some errors in
the control file, and this was the output of creating it:
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: source maintainer is Jeremy Higgs <firstname.lastname@example.org>
dpkg-buildpackage: build architecture is i386
fakeroot debian/rules clean DEB_BUILD_ARCH=i386
dpkg-source -b rcf-5.0.1
dpkg-source: building rcf using existing rcf_5.0.1.orig.tar.gz
dpkg-source: building rcf in rcf_5.0.1-1.diff.gz
dpkg-source: building rcf in rcf_5.0.1-1.dsc
debian/rules build DEB_BUILD_ARCH=i386 DEB_BUILD_GNU_CPU=i386
DEB_HOST_ARCH=i386 DEB_HOST_GNU_CPU=i386 DEB_HOST_GNU_SYSTEM=linux
make: Nothing to be done for `build'.
fakeroot debian/rules binary DEB_BUILD_ARCH=i386
install rc.firewall debian/rcf/etc/
tar xf firewall-modules.tar -C debian/rcf/etc/
dpkg-deb: building package `rcf' in `../rcf_5.0.1-1_i386.deb'.
dpkg-genchanges: including full source code in upload
dpkg-buildpackage: full upload (original source is included)
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?
there's also a etc/firewall.conf file that is GENERATED after the
install (otherwise it will not find any of the modules in
/etc/firewall-modules/). this is done by typing /etc/rc.firewall
--update-config (rc.firewall is supposed to go in
/etc/rc.d/rc.firewall, but debian doesn't have an rc.d dir, so I put
it in /etc, unless there is a better place?)
there is also an S11firewall file in the tarball, which I would like
to include. How do I ensure it is installed into /etc/rc2.3 ,
/etc/rc3.d and /etc/rc.4d (any others?)?