[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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/

  Statement concerning unsolicited e-mail according to Swedish law:
  http://www.softwolves.pp.se/peter/reklampost.html


--
To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

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 <jhiggs@iprsystems.com>
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_SYSTEM=linux DEB_HOST_GNU_TYPE=i386-linux
dh_testdir
dh_testroot
dh_clean
 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_BUILD_GNU_SYSTEM=linux DEB_BUILD_GNU_TYPE=i386-linux DEB_HOST_ARCH=i386 DEB_HOST_GNU_CPU=i386 DEB_HOST_GNU_SYSTEM=linux DEB_HOST_GNU_TYPE=i386-linux
make: Nothing to be done for `build'.
fakeroot debian/rules binary 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_SYSTEM=linux DEB_HOST_GNU_TYPE=i386-linux
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
install rc.firewall debian/rcf/etc/
tar xf firewall-modules.tar -C debian/rcf/etc/
dh_testdir
dh_testroot
dh_installdocs
dh_installinit
dh_installchangelogs
dh_installmanpages
dh_installinfo
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package `rcf' in `../rcf_5.0.1-1_i386.deb'.
 dpkg-genchanges
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?)?

thanks!!!



Reply to: