Re: Building a package for a web application
I see.
Well, I did create debian/ myself at first and then use dh_make to consult
with some missing files I might have.
I should note that what I'm packaging is a web application software and so it has
no need for compilation of any sort but rather just copy the files tree and run the scripts.
Anyway, so I ran dh_make -e <email> -s -n and was provided with the debian/ example
directory from which I copied the rules file and commented 2 parts:
# Add here commands to compile the package
# $(MAKE)
and
# Add here commands to install the package into debian/daloradius.
# $(MAKE) DESTDIR=$(CURDIR)/debian/daloradius install
As there is no need for any compilation to be done like I've stated before.
Then I ran dpkg-buildpackage -b again, the output is somewhat long but results in:
dpkg-deb: building package `daloradius' in `../daloradius_0.9.3_i386.deb'.
dpkg-genchanges -b
dpkg-genchanges: binary-only upload - not including any source code
signfile daloradius_0.9.3_i386.changes
gpg: skipped "liran <liran@enginx.com>": secret key not available
gpg: [stdin]: clearsign failed: secret key not available
dpkg-buildpackage: binary only upload (no source included)
(WARNING: Failed to sign .changes file)
I'm indeed missing the signature file but I will add this later.
Other than that, is this package ready?
Regards,
Liran.
On 9/17/07, David Paleino <d.paleino@gmail.com> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Il giorno Mon, 17 Sep 2007 13:47:18 +0200
"liran tal" <liransgarage@gmail.com> ha scritto:
> Dear Mentors and Debian users,
Hi,
>
> ...
>
> where as the rules file is actually empty (filled with #)
debian/rules should _NEVER_ be empty. I think the problem is there.
Did you create debian/ by yourself? Was it included in the upstream sources?
> Regards,
> Liran.
Have a nice day,
David
- --
. ''`. Debian maintainer | http://snipurl.com/gofoxygo/
: :' : Linuxer #334216 |
http://www.hanskalabs.net/
`. `'` GPG: 1392B174 | http://www.debianizzati.org/
`- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFG7mwQ5qqQFxOSsXQRAm63AKDKeZAC3pnZNKjkXX5hKVxuLjsQLQCfc5ok
UIrlpNex1loZqD/Hwj/MaB4=
=f3Wb
-----END PGP SIGNATURE-----
Reply to: