Skip to Content.
Sympa Menu

perfsonar-dev - Instructions for creating deb packages

Subject: perfsonar development work

List archive

Instructions for creating deb packages


Chronological Thread 
  • From: Guilherme Fernandes <>
  • To: Perfsonar Development List <>
  • Cc: Loukik Kudarimoti <>, Luis Marta <>
  • Subject: Instructions for creating deb packages
  • Date: Thu, 03 Apr 2008 15:20:22 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:user-agent:mime-version:to:cc:subject:content-type:content-transfer-encoding; b=KJrAZs7XGEzkNJwl6RD8s6XQsO3I0b6QBz+ylBggxVUjLEofsWG7SARrm+qWIEJsBP4qzi21LpxXpuhWstkNzRWHimGHN3GOM12p5tgPatZWAzp/EvrHQp6cCv3FwsFZ0lCFHiXBg605Ga8UHNgH6eDgJPIQvWOwCzSBycfWpUI=

Hi all,

I am sending a quick guide on how to create deb packages with the package_maker.pl script, so you can use this while we don't update the product-build.doc.

The process is the same as with the RPM version, so use the instruction for creating RPMs as a guideline. Main differences are:

- You can build it being on any directory you want (you don't need to have /home/perfsonar created).
- So just have the webapps directory (with the service directory inside) in the same directory where you're running the package_maker.pl script.

- You can build it as any user you want. But you now need to have "fakeroot" installed (just apt-get install fakeroot).
- So there's a new dependency for the packager_maker on Debian distributions: fakeroot.

- The Dependency field of rpm and deb packages differ in the way you specify version numbers.
- When specifying the dependencies for your service use the following format: <package-name> (<comparison> <version>).
- As an example for the RRD-MA you might have: perfsonar-tomcat (>= 6.0.7-1), perfsonar-exist (>= 1.1.1-1)
- For CL-MP I use only "perfsonar-tomcat" as the dependency, without version numbers (since any *perfsonar*-tomcat package is fine for it, and this is probably the case for most services for now).

You can find the tomcat and exist deb packages (while Loukik doesn't upload them to the perfsonar repository) at:

http://150.162.248.42:8081/perfsonar-tomcat-6.0.16-1.deb
http://150.162.248.42:8081/perfsonar-exist-1.2.0.7233-1.deb

Note that the versions are 6.0.16 for tomcat and 1.2.0 for eXist, if there's a problem with this for any service please let me know.

So to sum up the creation process:

Install fakeroot package (apt-get install fakeroot).
Download the perfsonar_maker.pl script.
Put the webapps folder in the same directory as the script.
Run the script (perl perfsonar_maker.pl or ./perfsonar_maker.pl if it's executable).
Answer the questions and be careful when filling the Dependencies field (see guideline at the third point mentioned above)
Your created should be created automatically and placed in the current folder.


Any questions or comments let me know.

Guilherme



Archive powered by MHonArc 2.6.16.

Top of Page