Skip to contentSkip to conversation

package/libnss: install certutil tool on target

PATCH New Julien Floret 2 participants 2 messages Sep 4, 2020 – Sep 5, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libnss: install certutil tool on target

certutil is a command-line utility for managing keys and certificate in both NSS databases and other NSS tokens.

---
 package/libnss/libnss.mk | 2 ++
 1 file changed, 2 insertions(+)
package/libnss/libnss.mk +2 -0
index f28e16a40670..d0b2d51772bd 100644
@@ -105,6 +105,8 @@ define LIBNSS_INSTALL_TARGET_CMDS
 		$(@D)/$(LIBNSS_DISTDIR)/lib/*.a
 	$(INSTALL) -D -m 0644 $(TOPDIR)/package/libnss/nss.pc.in \
 		$(TARGET_DIR)/usr/lib/pkgconfig/nss.pc
+	$(INSTALL) -D -m 755 $(@D)/$(LIBNSS_DISTDIR)/bin/certutil \
+		$(TARGET_DIR)/usr/bin/certutil
 	$(SED) 's/@VERSION@/$(LIBNSS_VERSION)/g;' \
 		$(TARGET_DIR)/usr/lib/pkgconfig/nss.pc
 endef
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 package/libnss: install certutil tool on target

Julien, All,

On 2020-09-04 13:35 +0200, Julien Floret spake thusly:

Quoted 4 lines

certutil is a command-line utility for managing keys and certificate in both NSS databases and other NSS tokens.

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 24 lines
---
 package/libnss/libnss.mk | 2 ++
 1 file changed, 2 insertions(+)
package/libnss/libnss.mk +2 -0
index f28e16a40670..d0b2d51772bd 100644
@@ -105,6 +105,8 @@ define LIBNSS_INSTALL_TARGET_CMDS
 		$(@D)/$(LIBNSS_DISTDIR)/lib/*.a
 	$(INSTALL) -D -m 0644 $(TOPDIR)/package/libnss/nss.pc.in \
 		$(TARGET_DIR)/usr/lib/pkgconfig/nss.pc
+	$(INSTALL) -D -m 755 $(@D)/$(LIBNSS_DISTDIR)/bin/certutil \
+		$(TARGET_DIR)/usr/bin/certutil
 	$(SED) 's/@VERSION@/$(LIBNSS_VERSION)/g;' \
 		$(TARGET_DIR)/usr/lib/pkgconfig/nss.pc
 endef
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'