[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Need some help to package apache-lingerd



* Fabio Massimo Di Nitto (fabbione@fabbione.net) disait :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Alexis Sukrieh wrote:
> | Hello there.
> |
> | I'm pretty interested in trying to package apache-lingerd, which has
> | been requested for more than 500 days now :
> | http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=187460
> |
> | Could someone point me to some piece of docs on how the Debian Apache
> | Maintainers team bild their package ?
> 
> eheh the truth is that our documentation is our debian/rules file.

lol :)
Ok. So I'll enable my debian-patched brain to extract doc from the
debian/ stuff ;)

> | The fact is that lignerd needs the following steps to be packaged :
> |
> | First step : building lingerd :
> |
> | - tuning of config.h file
> | - user creation : 'lingerd'
> | - directory creation for hosting pidfile and unix domain socket
> |   (/var/run/lingerd).
> | - compilation of lingerd binary and installation of it.
> 
> This can be done easily afaict.

Yep, that is definitely not the most difficult part, I agree.

> | Second step : patching Apache.
> |
> | - add some files to the apache src source tree
> | - patch some apache native files
> | - compile apache
> 
> Amen.. this is a pain. I really suggest you to look at how we build
> apache. Take as example the fact that from the same source we create
> binaries for apache, apache-perl and apache-ssl, 

Yes, I think so, the best way is to start from the main debian-apache source.
I will first look deeply inside in order to see what to do for a
'apche-lingerd'.

> |
> | Third step :
> |
> | - update the init.d startup script for apache : lingerd must be launched
> |   before apache to work properly.
> 
> if you start from the apache package check debian/pkgtemplates and the
> script that creates the final scripts.

Ok, I'll take a look at that script.

> | I'm sure that the team has a lot of guidelines to build such a package
> | but I cannont find any docs about this.
> 
> as above.. read the source luke ;)

Hehe, I'll do it, and maybe the force bla bla ... :)

-- 
Alexis Sukrieh <sukria@sukria.net>
 * Another Linux Debian Geek Enthusiast
 * http://www.sukria.net
   



Reply to: