Diff ca-certificates-20211016.3.88.1 with a ca-certificates-20230311.3.89

/usr/portage/app-misc/ca-certificates/ca-certificates-20230311.3.89.ebuild 2023-10-09 14:52:28.788368332 +0300
44 44
if ${PRECOMPILED} ; then
45 45
	SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb"
46 46
else
47
	SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${DEB_VER}${NMU_PR:++nmu}${NMU_PR}.tar.xz
47
	SRC_URI="
48
		mirror://debian/pool/main/c/${PN}/${PN}_${DEB_VER}${NMU_PR:++nmu}${NMU_PR}.tar.xz
48 49
		https://archive.mozilla.org/pub/security/nss/releases/${RTM_NAME}/src/nss-${NSS_VER}.tar.gz
49 50
		cacert? (
50 51
			https://dev.gentoo.org/~whissi/dist/ca-certificates/nss-cacert-class1-class3-r2.patch
51
		)"
52
		)
53
	"
52 54
fi
53 55

  
54 56
LICENSE="MPL-1.1"
55 57
SLOT="0"
56
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
58
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
57 59
IUSE=""
58 60
${PRECOMPILED} || IUSE+=" cacert"
59 61

  
......
112 114

  
113 115
	if ! ${PRECOMPILED} ; then
114 116
		mkdir -p usr/sbin || die
115
		cp -p "${S}"/${PN}-${DEB_VER}/sbin/update-ca-certificates \
117
		cp -p "${S}"/${PN}/sbin/update-ca-certificates \
116 118
			usr/sbin/ || die
117 119

  
118 120
		if use cacert ; then
......
125 127
	default
126 128
	eapply -p2 "${FILESDIR}"/${PN}-20150426-root.patch
127 129

  
128
	pushd "${S}/${PN}-${DEB_VER}" >/dev/null || die
129
	eapply "${FILESDIR}"/${PN}-20211016.3.72-no-cryptography.patch
130
	pushd "${S}/${PN}" >/dev/null || die
131
	# We patch out the dep on cryptography as it's not particularly useful
132
	# for us. Please see the discussion in bug #821706. Not to be removed lightly!
133
	eapply "${FILESDIR}"/${PN}-20230311.3.89-no-cryptography.patch
130 134
	popd >/dev/null || die
131 135

  
132 136
	local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g')
......
140 144
	cd "image/${EPREFIX}" || die
141 145

  
142 146
	if ! ${PRECOMPILED} ; then
143
		local d="${S}/${PN}-${DEB_VER}/mozilla" c="usr/share/${PN}"
147
		local d="${S}/${PN}/mozilla" c="usr/share/${PN}"
144 148

  
145 149
		# Grab the database from the nss sources.
146 150
		cp "${S}"/nss-${NSS_VER}/nss/lib/ckfw/builtins/{certdata.txt,nssckbi.h} "${d}" || die
......
177 181
src_install() {
178 182
	cp -pPR image/* "${D}"/ || die
179 183
	if ! ${PRECOMPILED} ; then
180
		cd ${PN}-${DEB_VER} || die
184
		cd ${PN} || die
181 185
		doman sbin/*.8
182 186
		dodoc debian/README.* examples/ca-certificates-local/README
183 187
	fi
Thank you!