systemd: Enable build of compat libs.
Message ID | 1445009734-29367-1-git-send-email-stefan.schantl@ipfire.org |
---|---|
State | Accepted |
Commit | 4cdcf12702ac05a3ba368f0667fe7daf2e5dbd78 |
Headers |
Return-Path: <development-bounces@lists.ipfire.org> Received: from mail01.ipfire.org (mail01.tremer.info [172.28.1.200]) by septima.ipfire.org (Postfix) with ESMTP id F118461DF1 for <patchwork@ipfire.org>; Fri, 16 Oct 2015 17:35:41 +0200 (CEST) Received: from hedwig.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 8D1D3D6E; Fri, 16 Oct 2015 17:35:41 +0200 (CEST) Received: from tuxedo.stevee (host228-133-28-81.hiway.at [81.28.133.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 66BE0D5; Fri, 16 Oct 2015 17:35:39 +0200 (CEST) From: Stefan Schantl <stefan.schantl@ipfire.org> To: development@lists.ipfire.org Subject: [PATCH] systemd: Enable build of compat libs. Date: Fri, 16 Oct 2015 17:35:34 +0200 Message-Id: <1445009734-29367-1-git-send-email-stefan.schantl@ipfire.org> X-Mailer: git-send-email 2.4.3 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: IPFire development talk <development.lists.ipfire.org> List-Unsubscribe: <http://lists.ipfire.org/mailman/options/development>, <mailto:development-request@lists.ipfire.org?subject=unsubscribe> List-Archive: <http://lists.ipfire.org/pipermail/development/> List-Post: <mailto:development@lists.ipfire.org> List-Help: <mailto:development-request@lists.ipfire.org?subject=help> List-Subscribe: <http://lists.ipfire.org/mailman/listinfo/development>, <mailto:development-request@lists.ipfire.org?subject=subscribe> Errors-To: development-bounces@lists.ipfire.org Sender: "Development" <development-bounces@lists.ipfire.org> |
Message
Stefan Schantl
17 Oct 2015, 2:35 a.m. UTC
Some software out there is still linking against the old
systemd libraries which now are shipped in an own package.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
systemd/systemd.nm | 24 +++++++++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-)
Comments
What packages are depending on this? Couldn't these just be recompiled? -Michael On Fri, 2015-10-16 at 17:35 +0200, Stefan Schantl wrote: > Some software out there is still linking against the old > systemd libraries which now are shipped in an own package. > > Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org> > --- > systemd/systemd.nm | 24 +++++++++++++++++++++++- > 1 file changed, 23 insertions(+), 1 deletion(-) > > diff --git a/systemd/systemd.nm b/systemd/systemd.nm > index 7112a3c..7346c09 100644 > --- a/systemd/systemd.nm > +++ b/systemd/systemd.nm > @@ -5,7 +5,7 @@ > > name = systemd > version = 221 > -release = 1 > +release = 2 > > maintainer = Stefan Schantl <stefan.schantl@ipfire.org> > groups = System/Base > @@ -60,6 +60,7 @@ build > --with-sysvrcnd-path= \ > --enable-introspection \ > --enable-zlib \ > + --enable-compat-libs \ > --disable-smack \ > --disable-backlight \ > --disable-firstboot \ > @@ -358,9 +359,30 @@ packages > end > end > > + package %{name}-compat-libs > + summary = systemd compatibility libraries. > + description > + Compatibility libraries for systemd. If your > package requires this > + package, you need to update your link > options and build. > + end > + > + requires > + %{name}-libs = %{thisver} > + end > + > + files > + %{libdir}/libsystemd-daemon.so.* > + %{libdir}/libsystemd-login.so.* > + %{libdir}/libsystemd-journal.so.* > + %{libdir}/libsystemd-id128.so.* > + end > + end > + > package %{name}-devel > template DEVEL > > + requires += %{name}-compat-libs = %{thisver} > + > files += %{prefix}/lib/pakfire/macros/ > end >
Hello Michael, currently the own known package in IPFire 3 is the strongswan package (also the latest available version), which requires those compat libs during configure and building. Perhaps there are some more packages which may be include in the future affected by this problem and requires those libs to build. An additional reason for adding the compat libraries would be keep the compatiblity with some old packages which have been compiled and linked against systemd < 215 which was the last version that provided these libs. Otherwise they are not installable and useable anymore. Best regards, -Stefan > What packages are depending on this? Couldn't these just be > recompiled? > > -Michael > > On Fri, 2015-10-16 at 17:35 +0200, Stefan Schantl wrote: > > Some software out there is still linking against the old > > systemd libraries which now are shipped in an own package. > > > > Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org> > > --- > > systemd/systemd.nm | 24 +++++++++++++++++++++++- > > 1 file changed, 23 insertions(+), 1 deletion(-) > > > > diff --git a/systemd/systemd.nm b/systemd/systemd.nm > > index 7112a3c..7346c09 100644 > > --- a/systemd/systemd.nm > > +++ b/systemd/systemd.nm > > @@ -5,7 +5,7 @@ > > > > name = systemd > > version = 221 > > -release = 1 > > +release = 2 > > > > maintainer = Stefan Schantl <stefan.schantl@ipfire.org> > > groups = System/Base > > @@ -60,6 +60,7 @@ build > > --with-sysvrcnd-path= \ > > --enable-introspection \ > > --enable-zlib \ > > + --enable-compat-libs \ > > --disable-smack \ > > --disable-backlight \ > > --disable-firstboot \ > > @@ -358,9 +359,30 @@ packages > > end > > end > > > > + package %{name}-compat-libs > > + summary = systemd compatibility libraries. > > + description > > + Compatibility libraries for systemd. If > > your > > package requires this > > + package, you need to update your link > > options and build. > > + end > > + > > + requires > > + %{name}-libs = %{thisver} > > + end > > + > > + files > > + %{libdir}/libsystemd-daemon.so.* > > + %{libdir}/libsystemd-login.so.* > > + %{libdir}/libsystemd-journal.so.* > > + %{libdir}/libsystemd-id128.so.* > > + end > > + end > > + > > package %{name}-devel > > template DEVEL > > > > + requires += %{name}-compat-libs = %{thisver} > > + > > files += %{prefix}/lib/pakfire/macros/ > > end
Okay, I will merged this then. On Fri, 2015-10-16 at 18:16 +0200, Stefan Schantl wrote: > Hello Michael, > > currently the own known package in IPFire 3 is the strongswan package > (also the latest available version), which requires those compat libs > during configure and building. > > Perhaps there are some more packages which may be include in the > future > affected by this problem and requires those libs to build. > > An additional reason for adding the compat libraries would be keep > the > compatiblity with some old packages which have been compiled and > linked > against systemd < 215 which was the last version that provided these > libs. Otherwise they are not installable and useable anymore. > > Best regards, > > -Stefan > > What packages are depending on this? Couldn't these just be > > recompiled? > > > > -Michael > > > > On Fri, 2015-10-16 at 17:35 +0200, Stefan Schantl wrote: > > > Some software out there is still linking against the old > > > systemd libraries which now are shipped in an own package. > > > > > > Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org> > > > --- > > > systemd/systemd.nm | 24 +++++++++++++++++++++++- > > > 1 file changed, 23 insertions(+), 1 deletion(-) > > > > > > diff --git a/systemd/systemd.nm b/systemd/systemd.nm > > > index 7112a3c..7346c09 100644 > > > --- a/systemd/systemd.nm > > > +++ b/systemd/systemd.nm > > > @@ -5,7 +5,7 @@ > > > > > > name = systemd > > > version = 221 > > > -release = 1 > > > +release = 2 > > > > > > maintainer = Stefan Schantl <stefan.schantl@ipfire.org> > > > groups = System/Base > > > @@ -60,6 +60,7 @@ build > > > --with-sysvrcnd-path= \ > > > --enable-introspection \ > > > --enable-zlib \ > > > + --enable-compat-libs \ > > > --disable-smack \ > > > --disable-backlight \ > > > --disable-firstboot \ > > > @@ -358,9 +359,30 @@ packages > > > end > > > end > > > > > > + package %{name}-compat-libs > > > + summary = systemd compatibility libraries. > > > + description > > > + Compatibility libraries for systemd. If > > > your > > > package requires this > > > + package, you need to update your link > > > options and build. > > > + end > > > + > > > + requires > > > + %{name}-libs = %{thisver} > > > + end > > > + > > > + files > > > + %{libdir}/libsystemd-daemon.so.* > > > + %{libdir}/libsystemd-login.so.* > > > + %{libdir}/libsystemd-journal.so.* > > > + %{libdir}/libsystemd-id128.so.* > > > + end > > > + end > > > + > > > package %{name}-devel > > > template DEVEL > > > > > > + requires += %{name}-compat-libs = %{thisver} > > > + > > > files += %{prefix}/lib/pakfire/macros/