Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] Instructions for creating deb packages

Subject: perfsonar development work

List archive

Re: [pS-dev] Instructions for creating deb packages


Chronological Thread 
  • From: Cándido Rodríguez Montes <>
  • To: Guilherme Fernandes <>
  • Cc: Perfsonar Development List <>, Loukik Kudarimoti <>, Luis Marta <>
  • Subject: Re: [pS-dev] Instructions for creating deb packages
  • Date: Fri, 4 Apr 2008 10:44:04 +0200

Hi Guilherme,
I've tried to create the .deb using perfsonar_maker.pl script but it said: 'dpkg-deb: the name of the package has characters that they are not lowercases, alphanumerics or -+.' (well, something like that because the consola was in Spanish).
Have you had the same problem before? In Debian, Cannot we have something like geant2_java-... because it has an underscore?

Regards

El 03/04/2008, a las 15:20, Guilherme Fernandes escribió:
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:


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


--
Cándido Rodríguez Montes E-mail: 
Middleware warrior Tel:+34 955 05 66 13
Red.ES/RedIRIS
Edificio CICA
Avenida Reina Mercedes, s/n
41012 Sevilla
SPAIN







Archive powered by MHonArc 2.6.16.

Top of Page