Re: [2.1] procps

"Gilles Espinasse" <[email protected]>
Newsgroups gmane.comp.security.ipcop.devel
Message-ID <00e501ccee30$2ff359a0$f9b5a8c0@pii350>
----- Original Message ----- 
From: "Olaf Westrik" <weizen_42-Yz37vSk3/[email protected]>
To: "IPCop devel" <[email protected]>
Sent: Saturday, February 18, 2012 9:39 AM
Subject: [IPCop-devel] [2.1] procps


> All,
>
>
> due to change of kernel, we get warning messages on console as described
> here: https://bugzilla.redhat.com/show_bug.cgi?id=711192
>
> As I see it we have 2 options, we either patch procps [1] or go with
> forked procps-ng [2].
>
> Looks like procps-ng has more 'momentum' and procps is currently asleep.
>
>
> Thoughts?
>
>
> Olaf
>
>
> [1] http://sourceforge.net/projects/procps/
> [2] http://gitorious.org/procps
>
I had a look at gitorious trees while looking for procps patches before I
picked sourceforge cvs upstream patch.
I was a bit lost between the different branches on gitorious and the code
used by distribs, so I checked that another time.

gitorious procps tree owner is the Fedora packager but Fedora still claim to
compile 3.2.8, even spec file show git tree is used (from 20110302) . There
is still 31 patches applied to git tree on spec file [3].

3.3.2 has been tagged by debian procps maintainer and is used by debian
unstable tree (with 7 more patches applied). Testing tree still use 3.2.8
with many patches.

procps-ng is how gentoo maintainer named one of his git branches. But I
haven't seen a procps-ng package. In gentoo tree, there is procps-3.2.8_p11
that is stable for most arch and 3.3.2_p2-r1 that is unstable in all arch
(when ~ is before arch name) [4]

I try dowloading 3.3.2 package from gitorious and this is simple as it
should.
If I click on Download v3.3.2 as tar.gz, I have a page displayed stating
"The archive is currently being generated, try again later"

That mean that tar.gz are dynamically created, and probably due to gzip
include timestamp, md5 will vary each time a new tar.gz is remade.
We may load the package from another distrib or we would need to package
sources ourself.
Source package need a bootstrap as there is a configure.ac, but no
configure, and as it is compiled before autconf/automake, we may need to
change make.sh order (or create for ourself a package ready to be compiled
(with configure and co). There is no instruction on 3.3.2 how to bootstrap
the package (at least grep -r bootstrap show nothing and README only hold
3.2.x instructions, gentoo simply use autoreconf only).

I am not sure 3.3.x is yet ready for immediate consumption. We could switch
later.
3.2.8+patches should be good enought for us.

I try to use debian testing package, so use the 3.2.8 heavily patched
package.
We already made that for a few problematic packages. Change was even easy as
no creative way to patch was invented there. The only issue is that fail to
compile on our tree as debian use ncursesw/ncurses.h for an include instead
of ncurses.h. Anyway a sed fixed that.

This is still ugly with so many warnings but that should work. I am ready to
commit that change.

Gilles

[3] http://pkgs.fedoraproject.org/gitweb/?p=procps.git;a=blob;f=procps.spec
[4] http://gentoo-portage.com/sys-process/procps


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.