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
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
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
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
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
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
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
>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
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
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
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
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
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
>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
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://
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
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
>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
>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
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
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
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
>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,
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
24 matches
Mail list logo