Skip to contentSkip to conversation

new package: gnome-keyring

PATCH New Stefan Fröberg 4 participants 5 messages Feb 21, 2013 – Feb 24, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 new package: gnome-keyring

GNOME Keyring

GNOME Keyring is a collection of components in GNOME that store secrets, passwords, keys, certificates and makes them available to applications.

GNOME Keyring is integrated with the user's login, so that their secret storage can be unlocked when the user's logins into their session.

GNOME Keyring is based around a standard called PKCS#11 which is a standard way for applications to manage certificates and keys on smart cards or secure storage.

---
 package/Config.in                      |    1 +
 package/gnome-keyring/Config.in        |   24 ++++++++++++++++++++++++
 package/gnome-keyring/gnome-keyring.mk |   22 ++++++++++++++++++++++
 3 files changed, 47 insertions(+), 0 deletions(-)
 create mode 100644 package/gnome-keyring/Config.in
 create mode 100644 package/gnome-keyring/gnome-keyring.mk
package/Config.in +1 -0
index b2b580b..55c99bb 100644
@@ -169,6 +169,7 @@ source "package/feh/Config.in"
 source "package/freerdp/Config.in"
 source "package/gqview/Config.in"
 source "package/gmpc/Config.in"
+source "package/gnome-keyring/Config.in"
 source "package/gob2/Config.in"
 source "package/gtkperf/Config.in"
 source "package/leafpad/Config.in"
package/gnome-keyring/Config.in new file +24 -0
new file mode 100644
index 0000000..a29fa9f
@@ -0,0 +1,24 @@
+config BR2_PACKAGE_GNOME_KEYRING
+	bool "gnome-keyring"
+	select BR2_PACKAGE_LIBGLIB2
+	select BR2_PACKAGE_LIBGTK2
+	select BR2_PACKAGE_GCONF
+	select BR2_PACKAGE_DBUS
+	select BR2_PACKAGE_LINUX_PAM
+	select BR2_PACKAGE_LIBTASN1
+	select BR2_PACKAGE_LIBGCRYPT
+	help
+	  GNOME Keyring is a collection of components in GNOME that store 
+	  secrets, passwords, kets, certificates  and make them available
+	  to applications.
+
+	  GNOME Keyring is integrated with the user's login, so that their
+	  secret storage can be unlocked when the user logins into their
+	  session.
+
+	  GNOME Keyring is based around a standard called PKCS#11,
+	  which is a standard way for applications to manage
+	  certificates and keys on smart cards or secure storage
+
+	  https://live.gnome.org/GnomeKeyring
+
package/gnome-keyring/gnome-keyring.mk new file +22 -0
new file mode 100644
index 0000000..4daa204
@@ -0,0 +1,22 @@
+#############################################################
+#
+# gnome-keyring
+#
+#############################################################
+
+GNOME_KEYRING_MAJOR_VERSION = 2.28
+GNOME_KEYRING_MINOR_VERSION = 2
+GNOME_KEYRING_VERSION = $(GNOME_KEYRING_MAJOR_VERSION).$(GNOME_KEYRING_MINOR_VERSION)
+GNOME_KEYRING_SOURCE = gnome-keyring-$(GNOME_KEYRING_VERSION).tar.bz2
+GNOME_KEYRING_SITE = http://ftp.gnome.org/pub/gnome/sources/gnome-keyring/$(GNOME_KEYRING_MAJOR_VERSION)
+GNOME_KEYRING_DEPENDENCIES += dbus linux-pam libtasn1 libgcrypt gconf \
+			      libglib2 libgtk2
+GNOME_KEYRING_CONF_OPT += --with-pam-dir=/lib/security \
+			  --with-root-certs=/etc/ssl/certs
+GNOME_KEYRING_AUTORECONF = YES
+GNOME_KEYRING_INSTALL_STAGING = YES
+GNOME_KEYRING_CONF_ENV = LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config \
+			 ASN1PARSER=$(STAGING_DIR)/usr/bin/asn1Parser \
+			 ac_cv_file__dev_random=yes
+
+$(eval $(autotools-package))
Signature · 1 line
1.7.7.6
#1 lore raw

PATCH 1/1 new package: gnome-keyring

Stefan, All,

Quoted 1 line · On Thursday 21 February 2013 Stefan Fr?berg wrote:

GNOME Keyring

^^^
Useless line.

Quoted 11 lines

GNOME Keyring is a collection of components in GNOME that store secrets, passwords, keys, certificates and makes them available to applications.

GNOME Keyring is integrated with the user's login, so that their secret storage can be unlocked when the user's logins into their session.

GNOME Keyring is based around a standard called PKCS#11 which is a standard way for applications to manage certificates and keys on smart cards or secure storage.

[--SNIP--]

Quoted 6 lines
package/gnome-keyring/Config.in new file +0 -0
new file mode 100644
index 0000000..a29fa9f

package/gnome-keyring/Config.in line 9

Quoted 9 lines
package/gnome-keyring/Config.in new file +9 -0
@@ -0,0 +1,24 @@
+config BR2_PACKAGE_GNOME_KEYRING
+	bool "gnome-keyring"
+	select BR2_PACKAGE_LIBGLIB2
+	select BR2_PACKAGE_LIBGTK2
+	select BR2_PACKAGE_GCONF
+	select BR2_PACKAGE_DBUS
+	select BR2_PACKAGE_LINUX_PAM
+	select BR2_PACKAGE_LIBTASN1
+	select BR2_PACKAGE_LIBGCRYPT

Be careful to properly inherit all required dependencies of the packages you 'select'.

package/gnome-keyring/Config.in line 12

Quoted 3 lines
package/gnome-keyring/Config.in new file +3 -0
+	help
+	  GNOME Keyring is a collection of components in GNOME that store 
+	  secrets, passwords, kets, certificates  and make them available
                              ^^^^              ^^

keys, I presume?
Please, squash multiple spaces.

package/gnome-keyring/Config.in line 15

Quoted 3 lines
package/gnome-keyring/Config.in new file +3 -0
+	  to applications.
+
+	  GNOME Keyring is integrated with the user's login, so that their
                                               ^^^^^^[1]

package/gnome-keyring/Config.in line 16

Quoted 1 line
package/gnome-keyring/Config.in new file +1 -0
+	  secret storage can be unlocked when the user logins into their
                                                       ^^^^^^[2]

I know you copied the text on the frontpage, but:
[1] the users' login (its a plural form because of the subsequent "their")
[2] the user logs in (the verb is: to log in)

package/gnome-keyring/Config.in line 21

Quoted 5 lines
package/gnome-keyring/Config.in new file +5 -0
+	  session.
+
+	  GNOME Keyring is based around a standard called PKCS#11,
+	  which is a standard way for applications to manage
+	  certificates and keys on smart cards or secure storage

Missing trailing dot (yes, nit-picking here ;-) )

[--SNIP--]

Quoted 12 lines
package/gnome-keyring/gnome-keyring.mk new file +6 -0
new file mode 100644
index 0000000..4daa204
@@ -0,0 +1,22 @@
+#############################################################
+#
+# gnome-keyring
+#
+#############################################################
+

package/gnome-keyring/gnome-keyring.mk line 16

Quoted 10 lines
package/gnome-keyring/gnome-keyring.mk new file +10 -0
+GNOME_KEYRING_MAJOR_VERSION = 2.28
+GNOME_KEYRING_MINOR_VERSION = 2
+GNOME_KEYRING_VERSION = $(GNOME_KEYRING_MAJOR_VERSION).$(GNOME_KEYRING_MINOR_VERSION)
+GNOME_KEYRING_SOURCE = gnome-keyring-$(GNOME_KEYRING_VERSION).tar.bz2
+GNOME_KEYRING_SITE = http://ftp.gnome.org/pub/gnome/sources/gnome-keyring/$(GNOME_KEYRING_MAJOR_VERSION)
+GNOME_KEYRING_DEPENDENCIES += dbus linux-pam libtasn1 libgcrypt gconf \
+			      libglib2 libgtk2
+GNOME_KEYRING_CONF_OPT += --with-pam-dir=/lib/security \
+			  --with-root-certs=/etc/ssl/certs
+GNOME_KEYRING_AUTORECONF = YES

Add a comment explaining why you need autoreconf.

package/gnome-keyring/gnome-keyring.mk line 18

Quoted 2 lines
package/gnome-keyring/gnome-keyring.mk new file +2 -0
+GNOME_KEYRING_INSTALL_STAGING = YES
+GNOME_KEYRING_CONF_ENV = LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config \

This should point to the host-variant of libgcrypt-config.

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 new package: gnome-keyring

Quoted 2 lines · Yann E. MORIN
Quoted 1 line
Quoted 1 line

+GNOME_KEYRING_CONF_ENV = LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config \

This should point to the host-variant of libgcrypt-config.

Huh? There is no host-libgcrypt...

Regards,
Arnout

Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
#3 lore raw

PATCH 1/1 new package: gnome-keyring

In reply to Yann E. MORIN

Dear Yann E. MORIN,

Quoted 4 lines · Yann E. MORIN

package/gnome-keyring/gnome-keyring.mk line 18

Quoted 2 lines
package/gnome-keyring/gnome-keyring.mk new file +2 -0
+GNOME_KEYRING_INSTALL_STAGING = YES
+GNOME_KEYRING_CONF_ENV = LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config \

This should point to the host-variant of libgcrypt-config.

Hu? No, gnome-keyring is being built for the target here, and we install the <foo>-config scripts in $(STAGING_DIR), even though they are ultimately executed on the host.

Best regards,

Thomas

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

PATCH 1/1 new package: gnome-keyring

Thomas, All,

Quoted 10 lines · On Sunday 24 February 2013 Thomas Petazzoni wrote:
Quoted 4 lines · Yann E. MORIN

package/gnome-keyring/gnome-keyring.mk line 18

Quoted 2 lines
package/gnome-keyring/gnome-keyring.mk new file +2 -0
+GNOME_KEYRING_INSTALL_STAGING = YES
+GNOME_KEYRING_CONF_ENV = LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config \

This should point to the host-variant of libgcrypt-config.

Hu? No, gnome-keyring is being built for the target here, and we install the <foo>-config scripts in $(STAGING_DIR), even though they are ultimately executed on the host.

Yes, of course, I've completely busted that one. :-(

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'