package/sscep: new package
PATCH 1/1 package/sscep: new package
SSCEP is a client-only implementation of the SCEP (Cisco System's Simple Certificate Enrollment Protocol).
The goal of SCEP is to support the secure issuance of certificates to network devices in a scalable manner, using existing technology whenever possible. The protocol supports the following operations:
* CA and RA public key distribution
* Certificate enrollment
* Certificate and CRL query
Certificate and CRL access can be achieved by using the LDAP protocol, or by using the query messages defined in SCEP.
--- DEVELOPERS | 1 + package/Config.in | 1 + package/sscep/Config.in | 9 +++++++++ package/sscep/sscep.hash | 3 +++ package/sscep/sscep.mk | 14 ++++++++++++++ 5 files changed, 28 insertions(+) create mode 100644 package/sscep/Config.in create mode 100644 package/sscep/sscep.hash create mode 100644 package/sscep/sscep.mk
DEVELOPERS +1 -0
@@ -681,6 +681,7 @@ F: package/luaexpat/ F: package/xinetd/ N: Dario Binacchi <[email protected]> +F: package/sscep/ F: package/uuu/ N: Dario Binacchi <[email protected]>
package/Config.in +1 -0
@@ -1949,6 +1949,7 @@ menu "Networking" source "package/slirp4netns/Config.in" source "package/snmppp/Config.in" source "package/sofia-sip/Config.in" + source "package/sscep/Config.in" source "package/sysrepo/Config.in" source "package/thrift/Config.in" source "package/usbredir/Config.in"
package/sscep/Config.in new file +9 -0
@@ -0,0 +1,9 @@ +config BR2_PACKAGE_SSCEP + bool "sscep" + depends on BR2_PACKAGE_OPENSSL + help + SSCEP is a client-only implementation of the SCEP + (Cisco System's Simple Certificate Enrollment Protocol). + + https://github.com/certnanny/sscep +
package/sscep/sscep.hash new file +3 -0
@@ -0,0 +1,3 @@ +# locally computed +sha256 489cc8e093986776eb3f15082bf766778f707176f3cd604bf0ef1008da06b8e5 sscep-v0.10.0.tar.gz +sha256 e1328c292102a22c10e8dcfbfda33740f603767c73f8c5b5189c5513eb6b4dea COPYING
package/sscep/sscep.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# sscep +# +################################################################################ + +SSCEP_VERSION = v0.10.0 +SSCEP_SITE = $(call github,certnanny,sscep,$(SSCEP_VERSION)) +SSCEP_LICENSE = BSD +SSCEP_LICENSE_FILES = COPYING +SSCEP_AUTORECONF = YES +SSCEP_DEPENDENCIES += openssl + +$(eval $(autotools-package))
Signature · 6 lines
2.32.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hello Dario,
Quoted 11 lines · On Fri, 11 Nov 2022 14:32:54 +0100 Dario Binacchi…
SSCEP is a client-only implementation of the SCEP (Cisco System's Simple Certificate Enrollment Protocol).
The goal of SCEP is to support the secure issuance of certificates to network devices in a scalable manner, using existing technology whenever possible. The protocol supports the following operations:
* CA and RA public key distribution
* Certificate enrollment
* Certificate and CRL query
Quoted 6 lines
Certificate and CRL access can be achieved by using the LDAP protocol, or by using the query messages defined in SCEP.
CC Angelo Compagnucci <[email protected]>Signed-off-by Angelo Compagnucci <[email protected]>Signed-off-by Dario Binacchi <[email protected]>
Thanks for your contribution. I applied to master, but after fixing a number of things. See below.
package/sscep/Config.in line 3
Quoted 9 lines
package/sscep/Config.in new file +3
-0@@ -0,0 +1,9 @@ +config BR2_PACKAGE_SSCEP + bool "sscep" + depends on BR2_PACKAGE_OPENSSL
This should have been a "select", not a "depends on".
Quoted 6 lines
package/sscep/sscep.mk new file +0
-0
package/sscep/sscep.mk line 8
Quoted 8 lines
package/sscep/sscep.mk new file +8
-0@@ -0,0 +1,14 @@ +################################################################################ +# +# sscep +# +################################################################################ + +SSCEP_VERSION = v0.10.0 +SSCEP_SITE = $(call github,certnanny,sscep,$(SSCEP_VERSION))
This should have been:
+SSCEP_VERSION = 0.10.0
+SSCEP_SITE = $(call github,certnanny,sscep,v$(SSCEP_VERSION))
I.e the "v" prefix should not be in the VERSION variable.
package/sscep/sscep.mk line 9
Quoted 1 line
package/sscep/sscep.mk new file +1
-0+SSCEP_LICENSE = BSD
BSD is not a valid SPDX license code and is not specific enough. I've changed this to:
+SSCEP_LICENSE = BSD-2-Clause, OpenSSL, OpenOSP
package/sscep/sscep.mk line 12
Quoted 3 lines
package/sscep/sscep.mk new file +3
-0+SSCEP_LICENSE_FILES = COPYING +SSCEP_AUTORECONF = YES +SSCEP_DEPENDENCIES += openssl
+= is not needed, a simple = is sufficient. But more importantly, the host-pkgconf dependency was missing, causing the package to fail building.
I've addressed all those small issues when committing.
Thanks again!
Best regards,
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hello Thomas,
Quoted 78 lines · Thomas Petazzoni
Hello Dario,
Quoted 11 lines · On Fri, 11 Nov 2022 14:32:54 +0100 Dario Binacchi…
SSCEP is a client-only implementation of the SCEP (Cisco System's Simple Certificate Enrollment Protocol).
The goal of SCEP is to support the secure issuance of certificates to network devices in a scalable manner, using existing technology whenever possible. The protocol supports the following operations:
* CA and RA public key distribution
* Certificate enrollment
* Certificate and CRL queryQuoted 6 lines
Certificate and CRL access can be achieved by using the LDAP protocol, or by using the query messages defined in SCEP.
CC Angelo Compagnucci <[email protected]>Signed-off-by Angelo Compagnucci <[email protected]>Signed-off-by Dario Binacchi <[email protected]>Thanks for your contribution. I applied to master, but after fixing a number of things. See below.
package/sscep/Config.in line 3
Quoted 9 lines
package/sscep/Config.in new file +3
-0@@ -0,0 +1,9 @@ +config BR2_PACKAGE_SSCEP + bool "sscep" + depends on BR2_PACKAGE_OPENSSLThis should have been a "select", not a "depends on".
Quoted 6 lines
package/sscep/sscep.mk new file +0
-0package/sscep/sscep.mk line 8
Quoted 8 lines
package/sscep/sscep.mk new file +8
-0@@ -0,0 +1,14 @@ +################################################################################ +# +# sscep +# +################################################################################ + +SSCEP_VERSION = v0.10.0 +SSCEP_SITE = $(call github,certnanny,sscep,$(SSCEP_VERSION))This should have been:
(quoted diff) +2
-0+SSCEP_VERSION = 0.10.0 +SSCEP_SITE = $(call github,certnanny,sscep,v$(SSCEP_VERSION))I.e the "v" prefix should not be in the VERSION variable.
package/sscep/sscep.mk line 9
Quoted 1 line
package/sscep/sscep.mk new file +1
-0+SSCEP_LICENSE = BSDBSD is not a valid SPDX license code and is not specific enough. I've changed this to:
+SSCEP_LICENSE = BSD-2-Clause, OpenSSL, OpenOSP
package/sscep/sscep.mk line 12
Quoted 3 lines
package/sscep/sscep.mk new file +3
-0+SSCEP_LICENSE_FILES = COPYING +SSCEP_AUTORECONF = YES +SSCEP_DEPENDENCIES += openssl+= is not needed, a simple = is sufficient. But more importantly, the host-pkgconf dependency was missing, causing the package to fail building.
Quoted 1 line
I've addressed all those small issues when committing.
Thanks for your fixings and explanations.
Best regards,
Dario
Quoted 10 lines
Thanks again!
Best regards,
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training
https://bootlin.com
Signature · 21 lines
Dario Binacchi Embedded Linux Developer [email protected] __________________________________ Amarula Solutions SRL Via Le Canevare 30, 31100 Treviso, Veneto, IT T. +39 042 243 5310 [email protected] www.amarulasolutions.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot