From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arne Fitzenreiter To: development@lists.ipfire.org Subject: Re: [PATCH] procps: update to version 3.3.10 (openvmtools need it) Date: Tue, 16 Feb 2016 09:55:16 +0100 Message-ID: <023c25195bfc8557e3ba08bc02d3bd37@mail01.ipfire.org> In-Reply-To: <1455605081-7490-1-git-send-email-lorenz.marcel@web.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7977424815623158264==" List-Id: --===============7977424815623158264== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable pgrep is needed for some scripts e.g the nightly buildscripts so don't=20 comment it out! Arne On 2016-02-16 07:44, Marcel Lorenz wrote: > --- > config/rootfiles/common/procps | 41=20 > +++++++++++++++++++++++++++++++++-------- > lfs/procps | 29 ++++++++++++++--------------- > 2 files changed, 47 insertions(+), 23 deletions(-) >=20 > diff --git a/config/rootfiles/common/procps=20 > b/config/rootfiles/common/procps > index 2863167..e72b184 100644 > --- a/config/rootfiles/common/procps > +++ b/config/rootfiles/common/procps > @@ -1,36 +1,61 @@ > -bin/kill > bin/ps > -lib/libproc-3.2.6.so > sbin/sysctl > usr/bin/free > -usr/bin/pgrep > +#usr/bin/pgrep > +usr/bin/pidof > #usr/bin/pkill > #usr/bin/pmap > #usr/bin/pwdx > -#usr/bin/skill > #usr/bin/slabtop > -#usr/bin/snice > #usr/bin/tload > usr/bin/top > usr/bin/uptime > usr/bin/vmstat > usr/bin/w > usr/bin/watch > +#usr/include/proc > +#usr/include/proc/alloc.h > +#usr/include/proc/devname.h > +#usr/include/proc/escape.h > +#usr/include/proc/procps.h > +#usr/include/proc/pwcache.h > +#usr/include/proc/readproc.h > +#usr/include/proc/sig.h > +#usr/include/proc/slab.h > +#usr/include/proc/sysinfo.h > +#usr/include/proc/version.h > +#usr/include/proc/wchan.h > +#usr/include/proc/whattime.h > +#usr/lib/libprocps.la > +usr/lib/libprocps.so > +usr/lib/libprocps.so.4 > +usr/lib/libprocps.so.4.0.0 > +#usr/lib/pkgconfig/libprocps.pc > +#usr/share/doc/procps-ng-3.3.10 > +#usr/share/doc/procps-ng-3.3.10/BUGS > +#usr/share/doc/procps-ng-3.3.10/FAQ > +#usr/share/doc/procps-ng-3.3.10/README.top > +#usr/share/locale/de/LC_MESSAGES/procps-ng.mo > +#usr/share/locale/fr/LC_MESSAGES/procps-ng.mo > +#usr/share/locale/pl/LC_MESSAGES/procps-ng.mo > +#usr/share/locale/uk/LC_MESSAGES/procps-ng.mo > +#usr/share/locale/vi/LC_MESSAGES/procps-ng.mo > #usr/share/man/man1/free.1 > -#usr/share/man/man1/kill.1 > #usr/share/man/man1/pgrep.1 > +#usr/share/man/man1/pidof.1 > #usr/share/man/man1/pkill.1 > #usr/share/man/man1/pmap.1 > #usr/share/man/man1/ps.1 > #usr/share/man/man1/pwdx.1 > -#usr/share/man/man1/skill.1 > #usr/share/man/man1/slabtop.1 > -#usr/share/man/man1/snice.1 > #usr/share/man/man1/tload.1 > #usr/share/man/man1/top.1 > #usr/share/man/man1/uptime.1 > #usr/share/man/man1/w.1 > #usr/share/man/man1/watch.1 > +#usr/share/man/man3/openproc.3 > +#usr/share/man/man3/readproc.3 > +#usr/share/man/man3/readproctab.3 > #usr/share/man/man5/sysctl.conf.5 > #usr/share/man/man8/sysctl.8 > #usr/share/man/man8/vmstat.8 > diff --git a/lfs/procps b/lfs/procps > index ae30f2f..ff44111 100644 > --- a/lfs/procps > +++ b/lfs/procps > @@ -24,31 +24,30 @@ >=20 > include Config >=20 > -VER =3D 3.2.6 > +VER =3D 3.3.10 >=20 > -THISAPP =3D procps-$(VER) > -DL_FILE =3D $(THISAPP).tar.gz > +THISAPP =3D procps-ng-$(VER) > +DL_FILE =3D $(THISAPP).tar.xz > DL_FROM =3D $(URL_IPFIRE) > DIR_APP =3D $(DIR_SRC)/$(THISAPP) > TARGET =3D $(DIR_INFO)/$(THISAPP) > +PROG =3D procps-ng > +PAK_VER =3D 1 > +DEPS =3D "" >=20 > =20 > ###########################################################################= #### > # Top-level Rules > =20 > ###########################################################################= #### >=20 > objects =3D $(DL_FILE) > - > $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) > - > -$(DL_FILE)_MD5 =3D 7ce39ea27d7b3da0e8ad74dd41d06783 > - > +$(DL_FILE)_MD5 =3D 1fb7f3f6bf92ce6c5c9ed9949ae858fe > install : $(TARGET) > - > check : $(patsubst %,$(DIR_CHK)/%,$(objects)) > - > download :$(patsubst %,$(DIR_DL)/%,$(objects)) > - > md5 : $(subst %,%_MD5,$(objects)) > +dist: > + @$(PAK) >=20 > =20 > ###########################################################################= #### > # Downloading, checking, md5sum > @@ -56,10 +55,8 @@ md5 : $(subst %,%_MD5,$(objects)) >=20 > $(patsubst %,$(DIR_CHK)/%,$(objects)) : > @$(CHECK) > - > $(patsubst %,$(DIR_DL)/%,$(objects)) : > @$(LOAD) > - > $(subst %,%_MD5,$(objects)) : > @$(MD5) >=20 > @@ -69,9 +66,11 @@ $(subst %,%_MD5,$(objects)) : >=20 > $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) > @$(PREBUILD) > - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) > - cd $(DIR_APP) && patch -Np1 < > $(DIR_SRC)/src/patches/$(THISAPP)-fix_unknown_HZ_value.patch > - cd $(DIR_APP) && make $(MAKETUNING) LIBPROC=3Dproc/libproc-$(VER).so > + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) > + cd $(DIR_APP) && ./configure --prefix=3D/usr --exec-prefix=3D=20 > --libdir=3D/usr/lib \ > + --docdir=3D/usr/share/doc/procps-ng-3.3.10 \ > + --disable-static \ > + --disable-kill > cd $(DIR_APP) && make install > install -m 0644 $(DIR_SRC)/config/etc/sysctl.conf /etc > @rm -rf $(DIR_APP) --===============7977424815623158264==--