Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] nss: update to 3.94.
@ 2023-10-03 15:42 sgn
  2023-10-04  3:06 ` [PR PATCH] [Merged]: " sgn
  0 siblings, 1 reply; 2+ messages in thread
From: sgn @ 2023-10-03 15:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1239 bytes --]

There is a new pull request by sgn against master on the void-packages repository

https://github.com/sgn/void-packages nss
https://github.com/void-linux/void-packages/pull/46409

nss: update to 3.94.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/46409.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-nss-46409.patch --]
[-- Type: text/x-diff, Size: 2888 bytes --]

From b00af0da0fdc4833926c2a2c9a666ceed04dca5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 3 Oct 2023 22:42:00 +0700
Subject: [PATCH] nss: update to 3.94.

---
 srcpkgs/nss/template | 43 +++++++++++++++++++++++++++++--------------
 1 file changed, 29 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/nss/template b/srcpkgs/nss/template
index d53ea7ac87b75..8bde5376a064e 100644
--- a/srcpkgs/nss/template
+++ b/srcpkgs/nss/template
@@ -3,17 +3,17 @@
 _nsprver=4.35
 
 pkgname=nss
-version=3.93
+version=3.94
 revision=1
 hostmakedepends="perl which"
 makedepends="nspr-devel sqlite-devel zlib-devel"
 depends="nspr>=${_nsprver}"
 short_desc="Mozilla Network Security Services"
 maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
-license="MPL-2.0"
+license="MPL-2.0, MIT, BSD-3-Clause"
 homepage="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS"
 distfiles="${MOZILLA_SITE}/security/nss/releases/NSS_${version//\./_}_RTM/src/nss-${version}.tar.gz"
-checksum=15f54bb72048eb105f8c0e936a04b899e74c3db9a19bbc1e00acee2af9476a8a
+checksum=463ae180ee9e5ee9e3ad4f629326657e236780cc865572a930a16520abad9dd8
 
 export NS_USE_GCC=1
 export LIBRUNPATH=
@@ -115,24 +115,39 @@ do_install() {
 
 	install -m644 dist/*.OBJ/lib/libcrmf.a ${DESTDIR}/usr/lib
 
-	for f in certutil cmsutil crlutil modutil pk12util shlibsign \
-		signtool signver ssltap; do
+	for f in certutil cmsutil crlutil derdump modutil pk12util pp shlibsign \
+		signtool signver ssltap vfychain vfyserv; do
 		install -m755 dist/*.OBJ/bin/${f} ${DESTDIR}/usr/bin
 	done
 
+	vmkdir usr/libexec/nss
+	for f in addbuiltin chktest dbtest dbtool ecperf httpserv \
+		ocspclnt p7content p7env p7sign p7verify pk1sign pwdecrypt \
+		rsaperf selfserv strsclnt symkeyutil
+	do
+		install -m755 dist/*.OBJ/bin/${f} ${DESTDIR}/usr/libexec/nss/
+	done
+
+	for f in nss/doc/nroff/*.1
+	do
+		vman $f
+	done
+
 	install -m644 dist/public/nss/*.h ${DESTDIR}/usr/include/nss
 
 	sed -ne '/Copyright/,/SUCH DAMAGE/p' nss/lib/dbm/src/db.c >dbm.LICENSE
 	vlicense dbm.LICENSE
-	sed -ne '/The MIT License/,\!// SOFTWARE[.]$!p' \
-		nss/lib/freebl/ecl/curve25519_32.c >fiat.LICENSE
-	vlicense fiat.LICENSE
-	sed -ne '/The MIT License/,/ [*] SOFTWARE[.]$/p' \
-		nss/lib/freebl/ecl/ecp_secp384r1.c >ecckiila.LICENSE
-	vlicense ecckiila.LICENSE
-	sed -ne '/The MIT License/,/ [*] SOFTWARE[.]$/p' \
-		nss/lib/freebl/verified/Hacl_Chacha20.c >hacl.LICENSE
-	vlicense hacl.LICENSE
+	{
+		echo "The MIT License"
+		find nss/lib -name '*.h' -o -name '*.c' |
+		xargs grep -l 'MIT License' |
+		xargs grep -h 'Copyright' |
+		sed 's,^[[:space:]]*[*/]*[[:space:]]*,,' |
+		sort -u
+		sed -ne '/Permission is hereby/,/ [*] SOFTWARE[.]$/p' \
+			nss/lib/freebl/verified/Hacl_Chacha20.c
+	} >MIT.license
+	vlicense MIT.license
 }
 
 nss-devel_package() {

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: nss: update to 3.94.
  2023-10-03 15:42 [PR PATCH] nss: update to 3.94 sgn
@ 2023-10-04  3:06 ` sgn
  0 siblings, 0 replies; 2+ messages in thread
From: sgn @ 2023-10-04  3:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1100 bytes --]

There's a merged pull request on the void-packages repository

nss: update to 3.94.
https://github.com/void-linux/void-packages/pull/46409

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-04  3:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-03 15:42 [PR PATCH] nss: update to 3.94 sgn
2023-10-04  3:06 ` [PR PATCH] [Merged]: " sgn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).