Skip to contentSkip to conversation

libsecret: New package

PATCH New Markos Chandras 4 participants 5 messages Aug 28, 2013 – Sep 2, 2013

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 libsecret: New package

libsecret is a library for storing and retrieving passwords and other secrets. It communicates with the "Secret Service" using DBus. gnome-keyring and ksecretservice are both implementations of a Secret Service.

libsecret replaces libgnome-keyring.

https://wiki.gnome.org/Libsecret

---
Changes since v2:
- Drop BR2_PACKAGE_LIBSECRET_CRYPTO and enable encryption if libgcrypt is selected

Changes since v1:
- depend on USE_WCHAR and TOOLCHAIN_HAS_THREADS which are required by libglib2
http://lists.busybox.net/pipermail/buildroot/2013-August/076565.html

---
 package/Config.in              |  1 +
 package/libsecret/Config.in    | 15 +++++++++++++++
 package/libsecret/libsecret.mk | 24 ++++++++++++++++++++++++
 3 files changed, 40 insertions(+)
 create mode 100644 package/libsecret/Config.in
 create mode 100644 package/libsecret/libsecret.mk
package/Config.in +1 -0
index 7069d77..93e280d 100644
@@ -423,6 +423,7 @@ source "package/libassuan/Config.in"
 source "package/libmcrypt/Config.in"
 source "package/libmhash/Config.in"
 source "package/libnss/Config.in"
+source "package/libsecret/Config.in"
 source "package/libsha1/Config.in"
 source "package/nettle/Config.in"
 source "package/openssl/Config.in"
package/libsecret/Config.in new file +15 -0
new file mode 100644
index 0000000..a15f995
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_LIBSECRET
+	bool "libsecret"
+	select BR2_PACKAGE_LIBGLIB2
+	depends on BR2_USE_WCHAR # gettext dep in libglib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
+	help
+	  libsecret is a library for storing and retrieving passwords and other
+	  secrets. It communicates with the "Secret Service" using DBus.
+	  gnome-keyring and ksecretservice are both implementations of a Secret
+	  Service.
+
+	  https://wiki.gnome.org/Libsecret
+
+comment "libsecret requires a toolchain with WCHAR and threading support."
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/libsecret/libsecret.mk new file +24 -0
new file mode 100644
index 0000000..ebdfe11
@@ -0,0 +1,24 @@
+################################################################################
+#
+# libsecret
+#
+################################################################################
+
+LIBSECRET_VERSION = 0.15
+LIBSECRET_SITE = http://ftp.gnome.org/pub/GNOME/sources/libsecret/$(LIBSECRET_VERSION)
+LIBSECRET_SOURCE = libsecret-$(LIBSECRET_VERSION).tar.xz
+LIBSECRET_LICENSE = LGPLv2.1+
+LIBSECRET_LICENSE_FILES = COPYING
+LIBSECRET_INSTALL_STAGING = YES
+
+LIBSECRET_DEPENDENCIES = libglib2
+LIBSECRET_CONF_OPT = --disable-manpages --disable-strict --disable-coverage --enable-vala=no
+
+ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
+	LIBSECRET_DEPENDENCIES += libgcrypt
+	LIBSECRET_CONF_OPT += --enable-gcrypt
+else
+	LIBSECRET_CONF_OPT += --disable-gcrypt
+endif
+
+$(eval $(autotools-package))
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH v3 1/1 libsecret: New package

Quoted 93 lines · Markos Chandras

libsecret is a library for storing and retrieving passwords and other secrets. It communicates with the "Secret Service" using DBus. gnome-keyring and ksecretservice are both implementations of a Secret Service.

libsecret replaces libgnome-keyring.

https://wiki.gnome.org/Libsecret

---
Changes since v2:
- Drop BR2_PACKAGE_LIBSECRET_CRYPTO and enable encryption if libgcrypt is selected

Changes since v1:
- depend on USE_WCHAR and TOOLCHAIN_HAS_THREADS which are required by libglib2
http://lists.busybox.net/pipermail/buildroot/2013-August/076565.html

---
 package/Config.in              |  1 +
 package/libsecret/Config.in    | 15 +++++++++++++++
 package/libsecret/libsecret.mk | 24 ++++++++++++++++++++++++
 3 files changed, 40 insertions(+)
 create mode 100644 package/libsecret/Config.in
 create mode 100644 package/libsecret/libsecret.mk
package/Config.in +1 -0
index 7069d77..93e280d 100644
@@ -423,6 +423,7 @@ source "package/libassuan/Config.in"
 source "package/libmcrypt/Config.in"
 source "package/libmhash/Config.in"
 source "package/libnss/Config.in"
+source "package/libsecret/Config.in"
 source "package/libsha1/Config.in"
 source "package/nettle/Config.in"
 source "package/openssl/Config.in"
package/libsecret/Config.in new file +15 -0
new file mode 100644
index 0000000..a15f995
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_LIBSECRET
+       bool "libsecret"
+       select BR2_PACKAGE_LIBGLIB2
+       depends on BR2_USE_WCHAR # gettext dep in libglib2
+       depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
+       help
+         libsecret is a library for storing and retrieving passwords and other
+         secrets. It communicates with the "Secret Service" using DBus.
+         gnome-keyring and ksecretservice are both implementations of a Secret
+         Service.
+
+         https://wiki.gnome.org/Libsecret
+
+comment "libsecret requires a toolchain with WCHAR and threading support."
+       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/libsecret/libsecret.mk new file +24 -1
new file mode 100644
index 0000000..ebdfe11
@@ -0,0 +1,24 @@
+################################################################################
+#
+# libsecret
+#
+################################################################################
+
+LIBSECRET_VERSION = 0.15
+LIBSECRET_SITE = http://ftp.gnome.org/pub/GNOME/sources/libsecret/$(LIBSECRET_VERSION)
+LIBSECRET_SOURCE = libsecret-$(LIBSECRET_VERSION).tar.xz
+LIBSECRET_LICENSE = LGPLv2.1+
+LIBSECRET_LICENSE_FILES = COPYING
+LIBSECRET_INSTALL_STAGING = YES
+
+LIBSECRET_DEPENDENCIES = libglib2
+LIBSECRET_CONF_OPT = --disable-manpages --disable-strict --disable-coverage --enable-vala=no
+
+ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
+       LIBSECRET_DEPENDENCIES += libgcrypt
+       LIBSECRET_CONF_OPT += --enable-gcrypt
+else
+       LIBSECRET_CONF_OPT += --disable-gcrypt
+endif
+
+$(eval $(autotools-package))
--

1.8.3.2

Quoted 4 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Ping? :) This package is needed for newer webkits which I intend to submit a patch for it when libsecret package
is committed.

Signature · 2 lines
Regards,
Markos Chandras
#2 lore raw

PATCH v3 1/1 libsecret: New package

Dear Markos Chandras,

Quoted 3 lines · Markos Chandras

Ping? :) This package is needed for newer webkits which I intend to submit a patch for it when libsecret package
is committed.

You can always submit series of patches that include both libsecret and the webkit bump, for example.

But anyway, this package looks good. Peter, can you commit this?

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#3 lore raw

PATCH v3 1/1 libsecret: New package

Quoted 10 lines · Thomas Petazzoni

Dear Markos Chandras,

Quoted 3 lines · Markos Chandras

Ping? :) This package is needed for newer webkits which I intend to submit a patch for it when libsecret package
is committed.

You can always submit series of patches that include both libsecret and the webkit bump, for example.

Hi Thomas,

Well yeah, but webkit is a bit messy so I was hoping to do it in a clean patchset without including other dependencies in it :)

Quoted 2 lines

But anyway, this package looks good. Peter, can you commit this?

Thanks!

Signature · 2 lines
Regards,
Markos Chandras
#4 lore raw

PATCH v3 1/1 libsecret: New package

In reply to Markos Chandras
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Markos" == Markos Chandras <[email protected]> writes:

Markos> libsecret is a library for storing and retrieving passwords Markos> and other secrets. It communicates with the "Secret Service" Markos> using DBus. gnome-keyring and ksecretservice are both Markos> implementations of a Secret Service.

Markos> libsecret replaces libgnome-keyring.

Markos> https://wiki.gnome.org/Libsecret

Markos> Signed-off-by: Markos Chandras <[email protected]> Markos> ---
Markos> Changes since v2:
Markos> - Drop BR2_PACKAGE_LIBSECRET_CRYPTO and enable encryption if Markos> libgcrypt is selected

Markos> Changes since v1:
Markos> - depend on USE_WCHAR and TOOLCHAIN_HAS_THREADS which are required by libglib2 Markos> http://lists.busybox.net/pipermail/buildroot/2013-August/076565.html
Markos> ---

 Markos>  package/Config.in              |  1 +
 Markos>  package/libsecret/Config.in    | 15 +++++++++++++++
 Markos>  package/libsecret/libsecret.mk | 24 ++++++++++++++++++++++++
 Markos>  3 files changed, 40 insertions(+)
 Markos>  create mode 100644 package/libsecret/Config.in
 Markos>  create mode 100644 package/libsecret/libsecret.mk

Markos> diff --git a/package/Config.in b/package/Config.in Markos> index 7069d77..93e280d 100644
Markos> --- a/package/Config.in
Markos> +++ b/package/Config.in
Markos> @@ -423,6 +423,7 @@ source "package/libassuan/Config.in"

 Markos>  source "package/libmcrypt/Config.in"
 Markos>  source "package/libmhash/Config.in"
 Markos>  source "package/libnss/Config.in"
 Markos> +source "package/libsecret/Config.in"
 Markos>  source "package/libsha1/Config.in"
 Markos>  source "package/nettle/Config.in"
 Markos>  source "package/openssl/Config.in"
 Markos> diff --git a/package/libsecret/Config.in b/package/libsecret/Config.in
 Markos> new file mode 100644
 Markos> index 0000000..a15f995
 Markos> --- /dev/null
 Markos> +++ b/package/libsecret/Config.in
 Markos> @@ -0,0 +1,15 @@
 Markos> +config BR2_PACKAGE_LIBSECRET
 Markos> +	bool "libsecret"
 Markos> +	select BR2_PACKAGE_LIBGLIB2
 Markos> +	depends on BR2_USE_WCHAR # gettext dep in libglib2
 Markos> +	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
 Markos> +	help
 Markos> +	  libsecret is a library for storing and retrieving passwords and other
 Markos> +	  secrets. It communicates with the "Secret Service" using DBus.
 Markos> +	  gnome-keyring and ksecretservice are both implementations of a Secret
 Markos> +	  Service.

Just like Arnout I wonder if this does anything useful without dbus? If not, I think we should select dbus even if it is only a runtime dependency.

Markos> +
Markos> + https://wiki.gnome.org/Libsecret
Markos> +
Markos> +comment "libsecret requires a toolchain with WCHAR and threading support."
Markos> + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
Markos> diff --git a/package/libsecret/libsecret.mk b/package/libsecret/libsecret.mk Markos> new file mode 100644
Markos> index 0000000..ebdfe11
Markos> --- /dev/null
Markos> +++ b/package/libsecret/libsecret.mk
Markos> @@ -0,0 +1,24 @@
Markos> +################################################################################ Markos> +#
Markos> +# libsecret
Markos> +#
Markos> +################################################################################ Markos> +
Markos> +LIBSECRET_VERSION = 0.15
Markos> +LIBSECRET_SITE = http://ftp.gnome.org/pub/GNOME/sources/libsecret/$(LIBSECRET_VERSION)
Markos> +LIBSECRET_SOURCE = libsecret-$(LIBSECRET_VERSION).tar.xz
Markos> +LIBSECRET_LICENSE = LGPLv2.1+
Markos> +LIBSECRET_LICENSE_FILES = COPYING
Markos> +LIBSECRET_INSTALL_STAGING = YES
Markos> +
Markos> +LIBSECRET_DEPENDENCIES = libglib2

It also needs host-intltool.

Committed with this fixed, thanks.

Signature · 1 line
Bye, Peter Korsgaard