perfsonar-dev - Re: [pS-dev] Instructions for creating deb packages
Subject: perfsonar development work
List archive
- From: Gijs Molenaar <>
- To: Guilherme Fernandes <>
- Cc: Perfsonar Development List <>
- Subject: Re: [pS-dev] Instructions for creating deb packages
- Date: Fri, 04 Apr 2008 14:26:13 +0200
- Openpgp: id=72EE99CA
Guilherme Fernandes wrote:
> 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.
So this is not yet the case with the RPM build procedure?
We've created a spec file for our release which you can be used from
your home directory with user permissions.
Maybe it is easier to separate the RPM and DEB build process and supply
a template RPM spec file and a template debian rules file with build
instructions. This way everyone can modify the build files to their
needs and include it in their svn tree.
>
> - 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
--
Gijs Molenaar
fingerprint C660 BABA 4B91 4B5C EB60 7739 4385 8ABA 72EE 99CA
- Instructions for creating deb packages, Guilherme Fernandes, 04/03/2008
- Re: [pS-dev] Instructions for creating deb packages, Cándido Rodríguez Montes, 04/04/2008
- Problem with deb packages name, Guilherme Fernandes, 04/04/2008
- Re: [pS-dev] Instructions for creating deb packages, Gijs Molenaar, 04/04/2008
- Re: [pS-dev] Instructions for creating deb packages, Cándido Rodríguez Montes, 04/04/2008
Archive powered by MHonArc 2.6.16.