* [Buildroot] [PATCH 1/1] librtas: bump to version 2.0.1
@ 2018-06-02 14:43 Fabrice Fontaine
2018-06-02 14:56 ` Romain Naour
2018-06-03 18:30 ` Thomas Petazzoni
0 siblings, 2 replies; 5+ messages in thread
From: Fabrice Fontaine @ 2018-06-02 14:43 UTC (permalink / raw)
To: buildroot
- Switch site to github
- Move to autotools infrastructure
- Remove patch (not needed anymore)
- Since version 1.4 (January 2016), license is now LGPL-2.1+
- Add hash for license file
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
...0001-librtas-install-librtas.so.1-symlink.patch | 31 ----------------------
package/librtas/librtas.hash | 3 ++-
package/librtas/librtas.mk | 24 +++++------------
3 files changed, 9 insertions(+), 49 deletions(-)
delete mode 100644 package/librtas/0001-librtas-install-librtas.so.1-symlink.patch
diff --git a/package/librtas/0001-librtas-install-librtas.so.1-symlink.patch b/package/librtas/0001-librtas-install-librtas.so.1-symlink.patch
deleted file mode 100644
index 2150c3f508..0000000000
--- a/package/librtas/0001-librtas-install-librtas.so.1-symlink.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Add a line to the librtas Makefile to create librtas.so.1 when
-performing "make install".
-
-Without this patch programs linked with librtas will fail at run time:
-
-error while loading shared libraries: librtas.so.1: cannot open shared
-object file: No such file or directory
-
-A patch has been submitted upstream so it is likely that this patch
-can be dropped after the next release of librtas.
-
-Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
----
- librtas_src/Makefile | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/librtas_src/Makefile b/librtas_src/Makefile
-index 3a10222..deba29d 100644
---- a/librtas_src/Makefile
-+++ b/librtas_src/Makefile
-@@ -33,6 +33,7 @@ install:
- @$(call install_lib,$(LIBRTAS),$(DESTDIR))
- @$(call install_inc,$(HEADERS),$(DESTDIR))
- @ln -sf $(LIBRTAS) $(DESTDIR)/$(LIB_DIR)$(call is_lib64,$(LIBRTAS))/$(LIBRTAS_SONAME)
-+ @ln -sf $(LIBRTAS) $(DESTDIR)/$(LIB_DIR)$(call is_lib64,$(LIBRTAS))/$(LIBRTAS_SONAME).1
-
- uninstall:
- @$(call uninstall_lib,$(LIBRTAS),$(DESTDIR))
---
-1.7.10.4
-
diff --git a/package/librtas/librtas.hash b/package/librtas/librtas.hash
index c81b583147..0f3d902226 100644
--- a/package/librtas/librtas.hash
+++ b/package/librtas/librtas.hash
@@ -1,2 +1,3 @@
# Locally computed
-sha256 d5f2951b0934ffbd82bebf26acfa103cc21d89f4c90c7c41472acf7b4ec6d907 librtas-1.3.13.tar.gz
+sha256 a79fd9cdb2f03e7401027fb80a07f14e29b86cc2d363126d527b211fea85d025 librtas-v2.0.1.tar.gz
+sha256 592987e8510228d546540b84a22444bde98e48d03078d3b2eefcd889bec5ce8c COPYING.LESSER
diff --git a/package/librtas/librtas.mk b/package/librtas/librtas.mk
index 46c4cb4bb7..f89394a6af 100644
--- a/package/librtas/librtas.mk
+++ b/package/librtas/librtas.mk
@@ -4,22 +4,12 @@
#
################################################################################
-LIBRTAS_VERSION = 1.3.13
-LIBRTAS_SITE = http://downloads.sourceforge.net/project/librtas
-LIBRTAS_LICENSE = Common Public License Version 1.0
-LIBRTAS_LICENSE_FILES = COPYRIGHT
+LIBRTAS_VERSION = v2.0.1
+LIBRTAS_SITE = $(call github,ibm-power-utilities,librtas,$(LIBRTAS_VERSION))
+LIBRTAS_LICENSE = LGPL-2.1+
+LIBRTAS_LICENSE_FILES = COPYING.LESSER
LIBRTAS_INSTALL_STAGING = YES
+# From git
+LIBRTAS_AUTORECONF = YES
-define LIBRTAS_BUILD_CMDS
- $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
-endef
-
-define LIBRTAS_INSTALL_STAGING_CMDS
- $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install
-endef
-
-define LIBRTAS_INSTALL_TARGET_CMDS
- $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
-endef
-
-$(eval $(generic-package))
+$(eval $(autotools-package))
--
2.14.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/1] librtas: bump to version 2.0.1
2018-06-02 14:43 [Buildroot] [PATCH 1/1] librtas: bump to version 2.0.1 Fabrice Fontaine
@ 2018-06-02 14:56 ` Romain Naour
2018-06-02 15:25 ` Fabrice Fontaine
2018-06-03 18:30 ` Thomas Petazzoni
1 sibling, 1 reply; 5+ messages in thread
From: Romain Naour @ 2018-06-02 14:56 UTC (permalink / raw)
To: buildroot
Hi Fabrice,
Le 02/06/2018 ? 16:43, Fabrice Fontaine a ?crit?:
> - Switch site to github
> - Move to autotools infrastructure
> - Remove patch (not needed anymore)
> - Since version 1.4 (January 2016), license is now LGPL-2.1+
> - Add hash for license file
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Did you check if powerpc-utils with rtas still build with this new version ?
IIRC, librtas package has been added by Sam Bobroff to be used with powerpc-utils.
Best regards,
Romain
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/1] librtas: bump to version 2.0.1
2018-06-02 14:56 ` Romain Naour
@ 2018-06-02 15:25 ` Fabrice Fontaine
2018-06-02 15:44 ` Romain Naour
0 siblings, 1 reply; 5+ messages in thread
From: Fabrice Fontaine @ 2018-06-02 15:25 UTC (permalink / raw)
To: buildroot
Dear Romain,
2018-06-02 16:56 GMT+02:00 Romain Naour <romain.naour@gmail.com>:
> Hi Fabrice,
>
> Le 02/06/2018 ? 16:43, Fabrice Fontaine a ?crit :
> > - Switch site to github
> > - Move to autotools infrastructure
> > - Remove patch (not needed anymore)
> > - Since version 1.4 (January 2016), license is now LGPL-2.1+
> > - Add hash for license file
> >
> > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
>
> Did you check if powerpc-utils with rtas still build with this new version
> ?
>
Yes, powerpc-utils still builds with this new version.
By the way, this new version of librtas is quite old (July 2016) and
powerpc-utils is up to date in buildroot (September 2017).
> IIRC, librtas package has been added by Sam Bobroff to be used with
> powerpc-utils.
>
> Best regards,
> Romain
>
Best Regards,
Fabrice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180602/e93c6cae/attachment.html>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/1] librtas: bump to version 2.0.1
2018-06-02 15:25 ` Fabrice Fontaine
@ 2018-06-02 15:44 ` Romain Naour
0 siblings, 0 replies; 5+ messages in thread
From: Romain Naour @ 2018-06-02 15:44 UTC (permalink / raw)
To: buildroot
Hi Fabrice,
Le 02/06/2018 ? 17:25, Fabrice Fontaine a ?crit?:
> Dear Romain,
>
> 2018-06-02 16:56 GMT+02:00 Romain Naour <romain.naour@gmail.com
> <mailto:romain.naour@gmail.com>>:
>
> Hi Fabrice,
>
> Le 02/06/2018 ? 16:43, Fabrice Fontaine a ?crit?:
> > - Switch site to github
> > - Move to autotools infrastructure
> > - Remove patch (not needed anymore)
> > - Since version 1.4 (January 2016), license is now LGPL-2.1+
> > - Add hash for license file
> >
> > Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com <mailto:fontaine.fabrice@gmail.com>>
>
> Did you check if powerpc-utils with rtas still build with this new version ?
>
> Yes, powerpc-utils still builds with this new version.
Ok, thanks for checking :)
> By the way, this new version of librtas is quite old (July 2016) and
> powerpc-utils is up to date in buildroot (September 2017).
Indeed, there is no activity except one commit in July 2017 in next branch.
Best regards,
Romain
>
> IIRC, librtas package has been added by Sam Bobroff to be used with
> powerpc-utils.
>
> Best regards,
> Romain
>
> Best Regards,
>
> Fabrice
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/1] librtas: bump to version 2.0.1
2018-06-02 14:43 [Buildroot] [PATCH 1/1] librtas: bump to version 2.0.1 Fabrice Fontaine
2018-06-02 14:56 ` Romain Naour
@ 2018-06-03 18:30 ` Thomas Petazzoni
1 sibling, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2018-06-03 18:30 UTC (permalink / raw)
To: buildroot
Hello,
On Sat, 2 Jun 2018 16:43:15 +0200, Fabrice Fontaine wrote:
> - Switch site to github
> - Move to autotools infrastructure
> - Remove patch (not needed anymore)
> - Since version 1.4 (January 2016), license is now LGPL-2.1+
> - Add hash for license file
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> ...0001-librtas-install-librtas.so.1-symlink.patch | 31 ----------------------
> package/librtas/librtas.hash | 3 ++-
> package/librtas/librtas.mk | 24 +++++------------
> 3 files changed, 9 insertions(+), 49 deletions(-)
> delete mode 100644 package/librtas/0001-librtas-install-librtas.so.1-symlink.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-06-03 18:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-02 14:43 [Buildroot] [PATCH 1/1] librtas: bump to version 2.0.1 Fabrice Fontaine
2018-06-02 14:56 ` Romain Naour
2018-06-02 15:25 ` Fabrice Fontaine
2018-06-02 15:44 ` Romain Naour
2018-06-03 18:30 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox