Ravenports generated: 20 Dec 2023 01:47
[ravenports.git] / bucket_95 / nss
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               nss
4 VERSION=                3.96.1
5 KEYWORDS=               security
6 VARIANTS=               standard
7 SDESC[standard]=        Application security development libraries
8 HOMEPAGE=               https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            MOZILLA/security/nss/releases/NSS_3_96_1_RTM/src
13 DISTFILE[1]=            nss-3.96.1.tar.gz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        complete
16                         primary
17                         caroot
18                         dev
19
20 OPTIONS_AVAILABLE=      none
21 OPTIONS_STANDARD=       none
22
23 BUILD_DEPENDS=          libressl:primary:standard
24                         nspr:dev:standard
25 BUILDRUN_DEPENDS=       nspr:primary:standard
26 EXRUN[dev]=             nspr:dev:standard
27
28 USES=                   cpe gmake perl:build sqlite zlib ssl:build
29
30 DISTNAME=               nss-3.96.1/nss
31
32 LICENSE=                MPL:primary
33 LICENSE_FILE=           MPL:{{WRKSRC}}/COPYING
34 LICENSE_SCHEME=         solo
35
36 CPE_PRODUCT=            network_security_services
37 CPE_VENDOR=             mozilla
38 FPC_EQUIVALENT=         security/nss
39
40 MAKE_ENV=               LIBRARY_PATH="{{LOCALBASE}}/lib"
41                         SQLITE_INCLUDE_DIR="{{LOCALBASE}}/include"
42                         FREEBL_LOWHASH=1
43                         NSS_DISABLE_GTESTS=1
44                         NSS_USE_SYSTEM_SQLITE=1
45                         NSS_ENABLE_WERROR=0
46                         BUILD_OPT=1
47 SINGLE_JOB=             yes
48
49 PLIST_SUB=              CERTDIR=share/certs
50 SUB_FILES=              nss-config
51                         nss.pc
52                         pkg-message-caroot
53                         MAca-bundle.pl
54 SUB_LIST=               VERSION_NSS=3.96.1
55
56 CFLAGS=                 -I{{LOCALBASE}}/include/nspr
57 LDFLAGS=                -Wl,-rpath,{{PREFIX}}/lib/nss
58 VAR_OPSYS[sunos]=       MAKE_ENV=NS_USE_GCC=1
59                         MAKE_ENV=NO_MDUPDATE=1
60 VAR_OPSYS[linux]=       MAKE_ENV=RPATH=-Wl,-rpath,{{PREFIX}}/lib/nss
61 VAR_ARCH[x86_64]=       MAKE_ENV=USE_64=1
62
63 post-build:
64         ${SETENV} ${MAKE_ENV} ${PERL} ${WRKDIR}/MAca-bundle.pl \
65                 < ${WRKSRC}/lib/ckfw/builtins/certdata.txt > ${WRKDIR}/ca-root-nss.crt
66
67 pre-configure:
68         ${REINPLACE_CMD} '/NSS_DEFAULT_SYSTEM/s,/etc,${PREFIX}&,' \
69                 ${WRKSRC}/lib/sysinit/nsssysinit.c
70         (cd ${WRKSRC} && \
71                 ${FIND} . -name "*.c" -o -name "*.h" | \
72                 ${XARGS} ${GREP} -l -F '"nspr.h"' | \
73                 ${XARGS} ${REINPLACE_CMD} -e 's|"nspr.h"|<nspr.h>|')
74         ${FIND} ${WRKSRC}/tests -name '*.sh' | \
75                 ${XARGS} ${GREP} -l -F '/bin/bash' | \
76                 ${XARGS} ${REINPLACE_CMD} -e 's|#! */bin/bash|#!${SH}|'
77         ${REINPLACE_CMD} -e 's/@OS_RELEASE@/${OSREL}/' ${WRKSRC}/coreconf/arch.mk
78         # prevent attempt to link to shared ssl libraries
79         ${RM} ${LOCALBASE}/libressl/lib*.so
80
81 do-install:
82         @${MKDIR} ${STAGEDIR}${PREFIX}/include/nss/nss \
83                 ${STAGEDIR}${PREFIX}/lib/nss \
84                 ${STAGEDIR}${PREFIX}/share/certs
85         ${FIND} ${WRKDIR}/nss-3.96.1/dist/public/nss -type l \
86                 -exec ${INSTALL_DATA} {} ${STAGEDIR}${PREFIX}/include/nss/nss \;
87         ${INSTALL_LIB} ${WRKDIR}/nss-3.96.1/dist/${OPSYS}*_OPT.OBJ/lib/*.${LIBEXT} \
88                 ${STAGEDIR}${PREFIX}/lib/nss
89         ${INSTALL_DATA} ${WRKDIR}/nss-3.96.1/dist/${OPSYS}*_OPT.OBJ/lib/libcrmf.a \
90                 ${STAGEDIR}${PREFIX}/lib/nss
91 .for bin in certutil cmsutil crlutil derdump makepqg mangle modutil ocspclnt oidcalc p7content p7env p7sign p7verify pk12util rsaperf shlibsign signtool signver ssltap strsclnt symkeyutil vfychain vfyserv
92         ${INSTALL_PROGRAM} ${WRKDIR}/nss-3.96.1/dist/${OPSYS}*_OPT.OBJ/bin/${bin} \
93                 ${STAGEDIR}${PREFIX}/bin
94 .endfor
95         ${INSTALL_SCRIPT} ${WRKDIR}/nss-config ${STAGEDIR}${PREFIX}/bin
96         ${INSTALL_DATA} ${WRKDIR}/nss.pc ${STAGEDIR}${PREFIX}/lib/pkgconfig
97         # CA ROOT CERT
98 .for D in openssl10 openssl11 openssl30 libressl libressl-devel
99         ${MKDIR} ${STAGEDIR}${PREFIX}/etc/${D}
100         ${INSTALL_DATA} ${WRKDIR}/ca-root-nss.crt \
101                 ${STAGEDIR}${PREFIX}/etc/${D}/cert.pem.sample
102 .endfor
103         ${INSTALL_DATA} ${WRKDIR}/ca-root-nss.crt \
104                 ${STAGEDIR}${PREFIX}/share/certs
105
106 [FILE:301:descriptions/desc.primary]
107 Network Security Services (NSS) is a set of libraries designed to support
108 cross-platform development of security-enabled server applications.
109 Applications built with NSS can support SSL v2 and v3, TLS, PKCS #5,
110 PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 certificates, and other
111 security standards.
112
113
114 [FILE:120:descriptions/desc.caroot]
115 Root certificates from certificate authorities included in the Mozilla
116 NSS library and thus in Firefox and Thunderbird.
117
118
119 [FILE:96:distinfo]
120 c51e89f6fbb06163f4302e368eeb672d748b52d583948bdb15ef1b069237a496     76715092 nss-3.96.1.tar.gz
121
122
123 [FILE:438:manifests/plist.primary]
124 %%ONLY-LINUX%%lib/nss/libnsssysinit.so
125 bin/
126  certutil
127  cmsutil
128  crlutil
129  derdump
130  makepqg
131  mangle
132  modutil
133  nss-config
134  ocspclnt
135  oidcalc
136  p7content
137  p7env
138  p7sign
139  p7verify
140  pk12util
141  rsaperf
142  shlibsign
143  signtool
144  signver
145  ssltap
146  strsclnt
147  symkeyutil
148  vfychain
149  vfyserv
150 lib/nss/
151  libfreebl3.so
152  libfreeblpriv3.so
153  libnss3.so
154  libnssckbi-testlib.so
155  libnssckbi.so
156  libnssdbm3.so
157  libnssutil3.so
158  libsmime3.so
159  libsoftokn3.so
160  libssl3.so
161
162
163 [FILE:222:manifests/plist.caroot]
164 @sample etc/libressl-devel/cert.pem.sample
165 @sample etc/libressl/cert.pem.sample
166 @sample etc/openssl10/cert.pem.sample
167 @sample etc/openssl11/cert.pem.sample
168 @sample etc/openssl30/cert.pem.sample
169 %%CERTDIR%%/ca-root-nss.crt
170
171
172 [FILE:1133:manifests/plist.dev]
173 include/nss/nss/
174  base64.h
175  blapit.h
176  cert.h
177  certdb.h
178  certt.h
179  ciferfam.h
180  cmmf.h
181  cmmft.h
182  cms.h
183  cmsreclist.h
184  cmst.h
185  crmf.h
186  crmft.h
187  cryptohi.h
188  cryptoht.h
189  eccutil.h
190  ecl-exp.h
191  hasht.h
192  jar-ds.h
193  jar.h
194  jarfile.h
195  key.h
196  keyhi.h
197  keyt.h
198  keythi.h
199  lowkeyi.h
200  lowkeyti.h
201  nss.h
202  nssb64.h
203  nssb64t.h
204  nssbase.h
205  nssbaset.h
206  nssck.api
207  nssckbi.h
208  nssckepv.h
209  nssckft.h
210  nssckfw.h
211  nssckfwc.h
212  nssckfwt.h
213  nssckg.h
214  nssckmdt.h
215  nssckt.h
216  nssilckt.h
217  nssilock.h
218  nsslocks.h
219  nsslowhash.h
220  nssrwlk.h
221  nssrwlkt.h
222  nssutil.h
223  ocsp.h
224  ocspt.h
225  p12.h
226  p12plcy.h
227  p12t.h
228  pk11func.h
229  pk11hpke.h
230  pk11pqg.h
231  pk11priv.h
232  pk11pub.h
233  pk11sdr.h
234  pkcs11.h
235  pkcs11f.h
236  pkcs11n.h
237  pkcs11p.h
238  pkcs11t.h
239  pkcs11u.h
240  pkcs11uri.h
241  pkcs12.h
242  pkcs12t.h
243  pkcs1sig.h
244  pkcs7t.h
245  portreg.h
246  preenc.h
247  secasn1.h
248  secasn1t.h
249  seccomon.h
250  secder.h
251  secdert.h
252  secdig.h
253  secdigt.h
254  secerr.h
255  sechash.h
256  secitem.h
257  secmime.h
258  secmod.h
259  secmodt.h
260  secoid.h
261  secoidt.h
262  secpkcs5.h
263  secpkcs7.h
264  secport.h
265  shsign.h
266  smime.h
267  ssl.h
268  sslerr.h
269  sslexp.h
270  sslproto.h
271  sslt.h
272  utilmodt.h
273  utilpars.h
274  utilparst.h
275  utilrename.h
276 lib/nss/libcrmf.a
277 lib/pkgconfig/nss.pc
278
279
280 [FILE:449:patches/patch-bug301986]
281 --- lib/util/nssilckt.h.orig    2023-12-18 17:23:08 UTC
282 +++ lib/util/nssilckt.h
283 @@ -163,7 +163,7 @@ typedef enum {
284  ** Declare the trace record
285  */
286  struct pzTrace_s {
287 -    PRUint32 threadID;       /* PR_GetThreadID() */
288 +    pthread_t threadID;      /* PR_GetThreadID() */
289      nssILockOp op;           /* operation being performed */
290      nssILockType ltype;      /* lock type identifier */
291      PRIntervalTime callTime; /* time spent in function */
292
293
294 [FILE:2109:patches/patch-const]
295 --- cmd/modutil/modutil.h.orig  2023-12-18 17:23:08 UTC
296 +++ cmd/modutil/modutil.h
297 @@ -22,8 +22,8 @@
298  #include "error.h"
299  
300  Error LoadMechanismList(void);
301 -Error FipsMode(char *arg);
302 -Error ChkFipsMode(char *arg);
303 +Error FipsMode(const char *arg);
304 +Error ChkFipsMode(const char *arg);
305  Error AddModule(char *moduleName, char *libFile, char *ciphers,
306                  char *mechanisms, char *modparms);
307  Error DeleteModule(char *moduleName);
308 --- cmd/modutil/pk11.c.orig     2023-12-18 17:23:08 UTC
309 +++ cmd/modutil/pk11.c
310 @@ -16,7 +16,7 @@
311   * disable FIPS mode on the internal module.
312   */
313  Error
314 -FipsMode(char *arg)
315 +FipsMode(const char *arg)
316  {
317      char *internal_name;
318  
319 @@ -25,16 +25,18 @@ FipsMode(char *arg)
320              internal_name = PR_smprintf("%s",
321                                          SECMOD_GetInternalModule()->commonName);
322              if (SECMOD_DeleteInternalModule(internal_name) != SECSuccess) {
323 -                PR_fprintf(PR_STDERR, "%s\n", SECU_Strerror(PORT_GetError()));
324 +                PR_fprintf(PR_STDERR, "FipsMode(true): %s (%s)\n", SECU_Strerror(PORT_GetError()), internal_name);
325                  PR_smprintf_free(internal_name);
326                  PR_fprintf(PR_STDERR, errStrings[FIPS_SWITCH_FAILED_ERR]);
327                  return FIPS_SWITCH_FAILED_ERR;
328              }
329 -            PR_smprintf_free(internal_name);
330              if (!PK11_IsFIPS()) {
331 +                PR_fprintf(PR_STDERR, "FipsMode(true): in module %s", internal_name);
332 +                PR_smprintf_free(internal_name);
333                  PR_fprintf(PR_STDERR, errStrings[FIPS_SWITCH_FAILED_ERR]);
334                  return FIPS_SWITCH_FAILED_ERR;
335              }
336 +            PR_smprintf_free(internal_name);
337              PR_fprintf(PR_STDOUT, msgStrings[FIPS_ENABLED_MSG]);
338          } else {
339              PR_fprintf(PR_STDERR, errStrings[FIPS_ALREADY_ON_ERR]);
340 @@ -75,7 +77,7 @@ FipsMode(char *arg)
341   * If arg=="false", verify FIPS mode is disabled on the internal module.
342   */
343  Error
344 -ChkFipsMode(char *arg)
345 +ChkFipsMode(const char *arg)
346  {
347      if (!PORT_Strcasecmp(arg, "true")) {
348          if (PK11_IsFIPS()) {
349
350
351 [FILE:1383:patches/patch-coreconf_Darwin.mk]
352 --- coreconf/Darwin.mk.orig     2023-12-18 17:23:08 UTC
353 +++ coreconf/Darwin.mk
354 @@ -7,8 +7,8 @@ CC     ?= gcc
355  CCC    ?= g++
356  RANLIB ?= ranlib
357  
358 +NSS_ENABLE_WERROR = 0
359  include $(CORE_DEPTH)/coreconf/UNIX.mk
360 -include $(CORE_DEPTH)/coreconf/Werror.mk
361  
362  DEFAULT_COMPILER = gcc
363  
364 @@ -127,21 +127,4 @@ PROCESS_MAP_FILE = grep -v ';+' $< | gre
365  USE_SYSTEM_ZLIB = 1
366  ZLIB_LIBS      = -lz
367  
368 -# The system sqlite library in the latest version of Mac OS X often becomes
369 -# newer than the sqlite library in NSS. This may result in certain Mac OS X
370 -# system libraries having unresolved sqlite symbols during the shlibsign step
371 -# of the NSS build when we set DYLD_LIBRARY_PATH to the NSS lib directory and
372 -# the NSS libsqlite3.dylib is used instead of the system one. So just use the
373 -# system sqlite library on Mac, if it's sufficiently new.
374 -
375 -SYS_SQLITE3_VERSION_FULL := $(shell /usr/bin/sqlite3 -version | awk '{print $$1}')
376 -SYS_SQLITE3_VERSION_MAJOR := $(shell echo $(SYS_SQLITE3_VERSION_FULL) | awk -F. '{ print $$1 }')
377 -SYS_SQLITE3_VERSION_MINOR := $(shell echo $(SYS_SQLITE3_VERSION_FULL) | awk -F. '{ print $$2 }')
378 -
379 -ifeq (3,$(SYS_SQLITE3_VERSION_MAJOR))
380 -    ifeq (,$(filter-out 0 1 2 3 4,$(SYS_SQLITE3_VERSION_MINOR)))
381 -        # sqlite <= 3.4.x is too old, it doesn't provide sqlite3_file_control
382 -    else
383 -        NSS_USE_SYSTEM_SQLITE = 1
384 -    endif
385 -endif
386 +NSS_USE_SYSTEM_SQLITE = 1
387
388
389 [FILE:1313:patches/patch-coreconf_DragonFly.mk]
390 --- /dev/null   2023-12-20 00:54:08 UTC
391 +++ coreconf/DragonFly.mk
392 @@ -0,0 +1,54 @@
393 +#
394 +# This Source Code Form is subject to the terms of the Mozilla Public
395 +# License, v. 2.0. If a copy of the MPL was not distributed with this
396 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
397 +
398 +include $(CORE_DEPTH)/coreconf/UNIX.mk
399 +
400 +DEFAULT_COMPILER       = gcc
401 +CC                     = gcc
402 +CCC                    = g++
403 +RANLIB                 = ranlib
404 +
405 +CPU_ARCH               = $(OS_TEST)
406 +ifeq ($(CPU_ARCH),i386)
407 +CPU_ARCH               = x86
408 +endif
409 +ifeq ($(CPU_ARCH),amd64)
410 +CPU_ARCH               = x86_64
411 +endif
412 +
413 +ifneq (,$(filter %64, $(OS_TEST)))
414 +USE_64                 = 1
415 +endif
416 +
417 +OS_CFLAGS              = $(DSO_CFLAGS) -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK
418 +
419 +DSO_CFLAGS             = -fPIC
420 +DSO_LDOPTS             = -shared -Wl,-soname -Wl,$(notdir $@)
421 +
422 +#
423 +# The default implementation strategy for FreeBSD is pthreads.
424 +#
425 +ifndef CLASSIC_NSPR
426 +USE_PTHREADS           = 1
427 +DEFINES                        += -D_THREAD_SAFE -D_REENTRANT
428 +OS_LIBS                        += -pthread
429 +DSO_LDOPTS             += -pthread
430 +endif
431 +
432 +ARCH                   = freebsd
433 +MOZ_OBJFORMAT          = elf
434 +DLL_SUFFIX             = so
435 +
436 +MKSHLIB                        = $(CC) $(DSO_LDOPTS)
437 +ifdef MAPFILE
438 +       MKSHLIB += -Wl,--version-script,$(MAPFILE)
439 +endif
440 +PROCESS_MAP_FILE = grep -v ';-' $< | \
441 +        sed -e 's,;+,,' -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,;,' > $@
442 +
443 +G++INCLUDES            = -I/usr/include/c++
444 +
445 +USE_SYSTEM_ZLIB                = 1
446 +ZLIB_LIBS              = -lz
447
448
449 [FILE:1125:patches/patch-coreconf_FreeBSD.mk]
450 --- coreconf/FreeBSD.mk.orig    2023-12-18 17:23:08 UTC
451 +++ coreconf/FreeBSD.mk
452 @@ -5,9 +5,9 @@
453  
454  include $(CORE_DEPTH)/coreconf/UNIX.mk
455  
456 -DEFAULT_COMPILER       = gcc
457 -CC                     = gcc
458 -CCC                    = g++
459 +DEFAULT_COMPILER       = $(CC)
460 +CC                     ?= gcc
461 +CCC                    = $(CXX)
462  RANLIB                 = ranlib
463  
464  CPU_ARCH               = $(OS_TEST)
465 @@ -20,6 +20,16 @@ endif
466  ifeq ($(CPU_ARCH),amd64)
467  CPU_ARCH               = x86_64
468  endif
469 +ifneq (,$(filter arm%, $(CPU_ARCH)))
470 +CPU_ARCH               = arm
471 +endif
472 +ifneq (,$(filter powerpc%, $(CPU_ARCH)))
473 +CPU_ARCH               = ppc
474 +endif
475 +
476 +ifneq (,$(filter %64, $(OS_TEST)))
477 +USE_64                 = 1
478 +endif
479  
480  OS_CFLAGS              = $(DSO_CFLAGS) -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK
481  
482 @@ -46,7 +56,11 @@ else
483  DLL_SUFFIX             = so.1.0
484  endif
485  
486 -MKSHLIB                        = $(CC) $(DSO_LDOPTS)
487 +ifneq (,$(filter alpha ia64,$(OS_TEST)))
488 +MKSHLIB                        = $(CC) -Wl,-Bsymbolic -lc $(DSO_LDOPTS)
489 +else
490 +MKSHLIB                        = $(CC) -Wl,-Bsymbolic $(DSO_LDOPTS)
491 +endif
492  ifdef MAPFILE
493         MKSHLIB += -Wl,--version-script,$(MAPFILE)
494  endif
495 @@ -55,4 +69,5 @@ PROCESS_MAP_FILE = grep -v ';-' $< | \
496  
497  G++INCLUDES            = -I/usr/include/g++
498  
499 -INCLUDES               += -I/usr/X11R6/include
500 +USE_SYSTEM_ZLIB                = 1
501 +ZLIB_LIBS              = -lz
502
503
504 [FILE:1315:patches/patch-coreconf_MidnightBSD]
505 --- /dev/null   2023-12-20 00:54:08 UTC
506 +++ coreconf/MidnightBSD.mk
507 @@ -0,0 +1,54 @@
508 +#
509 +# This Source Code Form is subject to the terms of the Mozilla Public
510 +# License, v. 2.0. If a copy of the MPL was not distributed with this
511 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
512 +
513 +include $(CORE_DEPTH)/coreconf/UNIX.mk
514 +
515 +DEFAULT_COMPILER       = gcc
516 +CC                     = gcc
517 +CCC                    = g++
518 +RANLIB                 = ranlib
519 +
520 +CPU_ARCH               = $(OS_TEST)
521 +ifeq ($(CPU_ARCH),i386)
522 +CPU_ARCH               = x86
523 +endif
524 +ifeq ($(CPU_ARCH),amd64)
525 +CPU_ARCH               = x86_64
526 +endif
527 +
528 +ifneq (,$(filter %64, $(OS_TEST)))
529 +USE_64                 = 1
530 +endif
531 +
532 +OS_CFLAGS              = $(DSO_CFLAGS) -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK
533 +
534 +DSO_CFLAGS             = -fPIC
535 +DSO_LDOPTS             = -shared -Wl,-soname -Wl,$(notdir $@)
536 +
537 +#
538 +# The default implementation strategy for FreeBSD is pthreads.
539 +#
540 +ifndef CLASSIC_NSPR
541 +USE_PTHREADS           = 1
542 +DEFINES                        += -D_THREAD_SAFE -D_REENTRANT
543 +OS_LIBS                        += -pthread
544 +DSO_LDOPTS             += -pthread
545 +endif
546 +
547 +ARCH                   = freebsd
548 +MOZ_OBJFORMAT          = elf
549 +DLL_SUFFIX             = so
550 +
551 +MKSHLIB                        = $(CC) $(DSO_LDOPTS)
552 +ifdef MAPFILE
553 +       MKSHLIB += -Wl,--version-script,$(MAPFILE)
554 +endif
555 +PROCESS_MAP_FILE = grep -v ';-' $< | \
556 +        sed -e 's,;+,,' -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,;,' > $@
557 +
558 +G++INCLUDES            = -I/usr/include/c++
559 +
560 +USE_SYSTEM_ZLIB                = 1
561 +ZLIB_LIBS              = -lz
562
563
564 [FILE:1446:patches/patch-coreconf_SunOS5.mk]
565 --- coreconf/SunOS5.mk.orig     2023-12-18 17:23:08 UTC
566 +++ coreconf/SunOS5.mk
567 @@ -33,10 +33,10 @@ endif
568  DEFAULT_COMPILER = cc
569  
570  ifdef NS_USE_GCC
571 -       CC         = gcc
572 +       CC        ?= gcc
573         OS_CFLAGS += -Wall -Wno-format -Werror-implicit-function-declaration -Wno-switch
574         OS_CFLAGS += -D__EXTENSIONS__
575 -       CCC        = g++
576 +       CCC       ?= g++
577         CCC       += -Wall -Wno-format
578         ASFLAGS   += -x assembler-with-cpp
579         OS_CFLAGS += $(NOMD_OS_CFLAGS) $(ARCHFLAG)
580 @@ -107,15 +107,11 @@ endif
581         DSO_LDOPTS += -shared -h $(notdir $@)
582  else
583  ifeq ($(USE_64), 1)
584 -       ifeq ($(OS_TEST),i86pc)
585 -           DSO_LDOPTS +=-xarch=amd64
586 -       else
587 -           DSO_LDOPTS +=-xarch=v9
588 -       endif
589 +       DSO_LDOPTS += -m64
590  endif
591         DSO_LDOPTS += -G -h $(notdir $@)
592  endif
593 -DSO_LDOPTS += -z combreloc -z defs -z ignore
594 +# DSO_LDOPTS += -Wl,-z,origin
595  
596  # -KPIC generates position independent code for use in shared libraries.
597  # (Similarly for -fPIC in case of gcc.)
598 @@ -127,16 +123,5 @@ endif
599  
600  NOSUCHFILE   = /solaris-rm-f-sucks
601  
602 -ifeq ($(BUILD_SUN_PKG), 1)
603 -# The -R '$ORIGIN' linker option instructs this library to search for its
604 -# dependencies in the same directory where it resides.
605 -ifeq ($(USE_64), 1)
606 -RPATH = -R '$$ORIGIN:/usr/lib/mps/secv1/64:/usr/lib/mps/64'
607 -else
608 -RPATH = -R '$$ORIGIN:/usr/lib/mps/secv1:/usr/lib/mps'
609 -endif
610 -else
611 -RPATH = -R '$$ORIGIN'
612 -endif
613 -
614 -OS_LIBS += -lthread -lnsl -lsocket -lposix4 -ldl -lc
615 +OS_LIBS += -lrt
616 +RPATH = $(LDFLAGS) #-Wl,-rpath,$(PREFIX)/lib/nss
617
618
619 [FILE:286:patches/patch-coreconf_UNIX.mk]
620 --- coreconf/UNIX.mk.orig       2023-12-18 17:23:08 UTC
621 +++ coreconf/UNIX.mk
622 @@ -10,10 +10,8 @@ AR          = ar cr $@
623  LDOPTS     += -L$(SOURCE_LIB_DIR)
624  
625  ifdef BUILD_OPT
626 -       OPTIMIZER  += -O
627         DEFINES    += -UDEBUG -DNDEBUG
628  else
629 -       OPTIMIZER  += -g
630         DEFINES    += -DDEBUG -UNDEBUG
631  endif
632  
633
634
635 [FILE:441:patches/patch-coreconf_arch.mk]
636 --- coreconf/arch.mk.orig       2023-12-18 17:23:08 UTC
637 +++ coreconf/arch.mk
638 @@ -97,6 +97,14 @@ ifeq ($(OS_ARCH),Linux)
639      include $(CORE_DEPTH)/coreconf/Linux.mk
640  endif
641  
642 +ifeq ($(OS_ARCH),DragonFly)
643 +OS_RELEASE := @OS_RELEASE@
644 +endif
645 +
646 +ifeq ($(OS_ARCH),MidnightBSD)
647 +OS_RELEASE := @OS_RELEASE@
648 +endif
649 +
650  # Since all uses of OS_ARCH that follow affect only userland, we can
651  # merge other Glibc systems with Linux here.
652  ifeq ($(OS_ARCH),GNU)
653
654
655 [FILE:496:patches/patch-coreconf_command.mk]
656 --- coreconf/command.mk.orig    2023-12-18 17:23:08 UTC
657 +++ coreconf/command.mk
658 @@ -12,7 +12,7 @@ AS            = $(CC)
659  ASFLAGS      += $(CFLAGS)
660  CCF           = $(CC) $(CFLAGS)
661  LINK_DLL      = $(LD) $(OS_DLLFLAGS) $(DLLFLAGS) $(XLDFLAGS)
662 -CFLAGS        = $(OPTIMIZER) $(OS_CFLAGS) $(WARNING_CFLAGS) $(XP_DEFINE) \
663 +CFLAGS       += $(OPTIMIZER) $(OS_CFLAGS) $(WARNING_CFLAGS) $(XP_DEFINE) \
664                  $(DEFINES) $(INCLUDES) $(XCFLAGS)
665  CSTD          = -std=c99
666  CXXSTD        = -std=c++11
667
668
669 [FILE:472:patches/patch-coreconf_config.mk]
670 --- coreconf/config.mk.orig     2023-12-18 17:23:08 UTC
671 +++ coreconf/config.mk
672 @@ -31,7 +31,7 @@ endif
673  #######################################################################
674  
675  TARGET_OSES = FreeBSD BSD_OS NetBSD OpenUNIX OS2 QNX Darwin OpenBSD \
676 -              AIX RISCOS WINNT WIN95 Linux Android
677 +              AIX RISCOS WINNT WIN95 Linux Android DragonFly MidnightBSD
678  
679  ifeq (,$(filter-out $(TARGET_OSES),$(OS_TARGET)))
680  include $(CORE_DEPTH)/coreconf/$(OS_TARGET).mk
681
682
683 [FILE:248:patches/patch-coreconf_location.mk]
684 --- coreconf/location.mk.orig   2023-12-18 17:23:08 UTC
685 +++ coreconf/location.mk
686 @@ -37,7 +37,7 @@ ifdef NSPR_INCLUDE_DIR
687  endif
688  
689  ifndef NSPR_LIB_DIR
690 -    NSPR_LIB_DIR = $(DIST)/lib
691 +    NSPR_LIB_DIR = $(PREFIX)/lib
692  endif
693  
694  ifdef NSS_INCLUDE_DIR
695
696
697 [FILE:308:patches/patch-coreconf_ruleset.mk]
698 --- coreconf/ruleset.mk.orig    2023-12-18 17:23:08 UTC
699 +++ coreconf/ruleset.mk
700 @@ -30,7 +30,7 @@
701  #
702  
703  ifndef COMPILER_TAG
704 -    ifneq ($(DEFAULT_COMPILER), $(notdir $(firstword $(CC))))
705 +    ifneq ($(DEFAULT_COMPILER), $(CC))
706  #
707  # Temporary define for the Client; to be removed when binary release is used
708  #
709
710
711 [FILE:780:patches/patch-lib_freebl_Makefile]
712 --- lib/freebl/Makefile.orig    2023-12-18 17:23:08 UTC
713 +++ lib/freebl/Makefile
714 @@ -272,7 +272,7 @@ else ifeq ($(CPU_ARCH),x86)
715  endif
716  endif # Darwin
717  
718 -ifeq ($(OS_TARGET),Linux)
719 +ifeq (,$(filter-out Linux DragonFly FreeBSD MidnightBSD, $(OS_TARGET)))
720  ifeq ($(CPU_ARCH),x86_64)
721      # Lower case s on mpi_amd64_common due to make implicit rules.
722      ASFILES  = arcfour-amd64-gas.s mpi_amd64_common.s
723 @@ -366,7 +366,7 @@ endif
724  # to bind the blapi function references in FREEBLVector vector
725  # (ldvector.c) to the blapi functions defined in the freebl
726  # shared libraries.
727 -ifeq (,$(filter-out BSD_OS FreeBSD Linux NetBSD OpenBSD, $(OS_TARGET)))
728 +ifeq (,$(filter-out BSD_OS DragonFly FreeBSD Linux NetBSD OpenBSD MidnightBSD, $(OS_TARGET)))
729      MKSHLIB += -Wl,-Bsymbolic
730  endif
731  
732
733
734 [FILE:1041:patches/patch-lib_freebl_mpi_mpcpucache.c]
735 --- lib/freebl/mpi/mpcpucache.c.orig    2023-12-18 17:23:08 UTC
736 +++ lib/freebl/mpi/mpcpucache.c
737 @@ -706,6 +706,32 @@ s_mpi_getProcessorLineSize()
738  #endif
739  
740  #if defined(__ppc64__)
741 +
742 +#if defined(__FreeBSD__)
743 +#include <sys/stddef.h>
744 +#include <sys/sysctl.h>
745 +
746 +#include <machine/cpu.h>
747 +#include <machine/md_var.h>
748 +
749 +unsigned long
750 +s_mpi_getProcessorLineSize()
751 +{
752 +       static int cacheline_size = 0;
753 +       static int cachemib[] = { CTL_MACHDEP, CPU_CACHELINE };
754 +       int clen;
755 +       
756 +       if (cacheline_size > 0)
757 +               return cacheline_size;
758 +
759 +       clen = sizeof(cacheline_size);
760 +       if (sysctl(cachemib, sizeof(cachemib) / sizeof(cachemib[0]),
761 +           &cacheline_size, &clen, NULL, 0) < 0 || !cacheline_size)
762 +               return 128; /* guess */
763 +
764 +       return cacheline_size;
765 +}
766 +#else
767  /*
768   *  Sigh, The PPC has some really nice features to help us determine cache
769   *  size, since it had lots of direct control functions to do so. The POWER
770 @@ -759,6 +785,7 @@ s_mpi_getProcessorLineSize()
771      }
772      return 0;
773  }
774 +#endif
775  
776  #define MPI_GET_PROCESSOR_LINE_SIZE_DEFINED 1
777  #endif
778
779
780 [FILE:566:patches/patch-lib_softoken_pkcs11.c]
781 --- lib/softoken/pkcs11.c.orig  2023-12-18 17:23:08 UTC
782 +++ lib/softoken/pkcs11.c
783 @@ -3506,8 +3506,8 @@ loser:
784          char buf[200];
785          int major = 0, minor = 0;
786  
787 -        long rv = sysinfo(SI_RELEASE, buf, sizeof(buf));
788 -        if (rv > 0 && rv < sizeof(buf)) {
789 +        long sunrv = sysinfo(SI_RELEASE, buf, sizeof(buf));
790 +        if (sunrv > 0 && sunrv < sizeof(buf)) {
791              if (2 == sscanf(buf, "%d.%d", &major, &minor)) {
792                  /* Are we on Solaris 10 or greater ? */
793                  if (major > 5 || (5 == major && minor >= 10)) {
794
795
796 [FILE:1013:patches/patch-lib_softoken_pkcs11c.c]
797 --- lib/softoken/pkcs11c.c.orig 2023-12-18 17:23:08 UTC
798 +++ lib/softoken/pkcs11c.c
799 @@ -6312,9 +6312,6 @@ sftk_unwrapPrivateKey(SFTKObject *key, S
800              break;
801          case NSSLOWKEYDSAKey:
802              keyType = CKK_DSA;
803 -            crv = (sftk_hasAttribute(key, CKA_NSS_DB)) ? CKR_OK : CKR_KEY_TYPE_INCONSISTENT;
804 -            if (crv != CKR_OK)
805 -                break;
806              crv = sftk_AddAttributeType(key, CKA_KEY_TYPE, &keyType,
807                                          sizeof(keyType));
808              if (crv != CKR_OK)
809 @@ -6354,9 +6351,6 @@ sftk_unwrapPrivateKey(SFTKObject *key, S
810          /* what about fortezza??? */
811          case NSSLOWKEYECKey:
812              keyType = CKK_EC;
813 -            crv = (sftk_hasAttribute(key, CKA_NSS_DB)) ? CKR_OK : CKR_KEY_TYPE_INCONSISTENT;
814 -            if (crv != CKR_OK)
815 -                break;
816              crv = sftk_AddAttributeType(key, CKA_KEY_TYPE, &keyType,
817                                          sizeof(keyType));
818              if (crv != CKR_OK)
819
820
821 [FILE:6041:files/MAca-bundle.pl.in]
822 ##
823 ##  MAca-bundle.pl -- Regenerate ca-root-nss.crt from the Mozilla certdata.txt
824 ##
825 ##  Rewritten in September 2011 by Matthias Andree to heed untrust
826 ##
827
828 ##  Copyright (c) 2011, 2013 Matthias Andree <mandree@FreeBSD.org>
829 ##  All rights reserved.
830 ##
831 ##  Redistribution and use in source and binary forms, with or without
832 ##  modification, are permitted provided that the following conditions are
833 ##  met:
834 ##
835 ##  * Redistributions of source code must retain the above copyright
836 ##  notice, this list of conditions and the following disclaimer.
837 ##
838 ##  * Redistributions in binary form must reproduce the above copyright
839 ##  notice, this list of conditions and the following disclaimer in the
840 ##  documentation and/or other materials provided with the distribution.
841 ##
842 ##  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
843 ##  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
844 ##  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
845 ##  FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
846 ##  COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
847 ##  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
848 ##  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
849 ##  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
850 ##  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
851 ##  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
852 ##  ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
853 ##  POSSIBILITY OF SUCH DAMAGE.
854
855 use strict;
856 use Carp;
857 use MIME::Base64;
858
859 my $VERSION = '$FreeBSD: head/security/ca_root_nss/files/MAca-bundle.pl.in 325572 2013-08-29 08:10:09Z mandree $';
860
861 #   configuration
862 print <<EOH;
863 ##
864 ##  ca-root-nss.crt -- Bundle of CA Root Certificates
865 ##
866 ##  This is a bundle of X.509 certificates of public Certificate
867 ##  Authorities (CA). These were automatically extracted from Mozilla's
868 ##  root CA list (the file `certdata.txt').
869 ##
870 ##  Extracted from nss-%%VERSION_NSS%%
871 ##  with $VERSION
872 ##
873 EOH
874 my $debug = 0;
875 $debug++
876     if defined $ENV{'WITH_DEBUG'}
877         and $ENV{'WITH_DEBUG'} !~ m/(?i)^(no|0|false|)$/;
878
879 my %certs;
880 my %trusts;
881
882 sub printcert_plain($$)
883 {
884     my ($label, $certdata) = @_;
885     print "=== $label ===\n" if $label;
886     print
887         "-----BEGIN CERTIFICATE-----\n",
888         MIME::Base64::encode_base64($certdata),
889         "-----END CERTIFICATE-----\n\n";
890 }
891
892 sub printcert_info($$)
893 {
894     my (undef, $certdata) = @_;
895     return unless $certdata;
896     open(OUT, "|openssl x509 -text -inform DER -fingerprint")
897             || die "could not pipe to openssl x509";
898     print OUT $certdata;
899     close(OUT) or die "openssl x509 failed with exit code $?";
900 }
901
902 sub printcert($$) {
903     my ($a, $b) = @_;
904     printcert_info($a, $b);
905 }
906
907 sub graboct()
908 {
909     my $data;
910
911     while (<>) {
912         last if /^END/;
913         my (undef,@oct) = split /\\/;
914         my @bin = map(chr(oct), @oct);
915         $data .= join('', @bin);
916     }
917
918     return $data;
919 }
920
921
922 sub grabcert()
923 {
924     my $certdata;
925     my $cka_label;
926     my $serial;
927
928     while (<>) {
929         chomp;
930         last if ($_ eq '');
931
932         if (/^CKA_LABEL UTF8 "([^"]+)"/) {
933             $cka_label = $1;
934         }
935
936         if (/^CKA_VALUE MULTILINE_OCTAL/) {
937             $certdata = graboct();
938         }
939
940         if (/^CKA_SERIAL_NUMBER MULTILINE_OCTAL/) {
941             $serial = graboct();
942         }
943     }
944     return ($serial, $cka_label, $certdata);
945 }
946
947 sub grabtrust() {
948     my $cka_label;
949     my $serial;
950     my $maytrust = 0;
951     my $distrust = 0;
952
953     while (<>) {
954         chomp;
955         last if ($_ eq '');
956
957         if (/^CKA_LABEL UTF8 "([^"]+)"/) {
958             $cka_label = $1;
959         }
960
961         if (/^CKA_SERIAL_NUMBER MULTILINE_OCTAL/) {
962             $serial = graboct();
963         }
964
965         if (/^CKA_TRUST_(SERVER_AUTH|EMAIL_PROTECTION|CODE_SIGNING) CK_TRUST (\S+)$/)
966         {
967             if ($2 eq      'CKT_NSS_NOT_TRUSTED') {
968                 $distrust = 1;
969             } elsif ($2 eq 'CKT_NSS_TRUSTED_DELEGATOR') {
970                 $maytrust = 1;
971             } elsif ($2 ne 'CKT_NSS_MUST_VERIFY_TRUST') {
972                 confess "Unknown trust setting on line $.:\n"
973                 . "$_\n"
974                 . "Script must be updated:";
975             }
976         }
977     }
978
979     if (!$maytrust && !$distrust && $debug) {
980         print STDERR "line $.: no explicit trust/distrust found for $cka_label\n";
981     }
982
983     my $trust = ($maytrust and not $distrust);
984     return ($serial, $cka_label, $trust);
985 }
986
987 while (<>) {
988     if (/^CKA_CLASS CK_OBJECT_CLASS CKO_CERTIFICATE/) {
989         my ($serial, $label, $certdata) = grabcert();
990         if (defined $certs{$label."\0".$serial}) {
991             warn "Certificate $label duplicated!\n";
992         }
993         $certs{$label."\0".$serial} = $certdata;
994     } elsif (/^CKA_CLASS CK_OBJECT_CLASS CKO_NSS_TRUST/) {
995         my ($serial, $label, $trust) = grabtrust();
996         if (defined $trusts{$label."\0".$serial}) {
997             warn "Trust for $label duplicated!\n";
998         }
999         $trusts{$label."\0".$serial} = $trust;
1000     } elsif (/^CVS_ID.*Revision: ([^ ]*).*/) {
1001         print "##  Source: \"certdata.txt\" CVS revision $1\n##\n\n";
1002     }
1003 }
1004
1005 sub printlabel(@) {
1006     my @res = @_;
1007     map { s/\0.*//; s/[^[:print:]]/_/g; $_ = "\"$_\""; } @res;
1008     return wantarray ? @res : $res[0];
1009 }
1010
1011 # weed out untrusted certificates
1012 my $untrusted = 0;
1013 foreach my $it (keys %trusts) {
1014     if (!$trusts{$it}) {
1015         if (!exists($certs{$it})) {
1016             warn "Found trust for nonexistent certificate ".printlabel($it)."\n" if $debug;
1017         } else {
1018             delete $certs{$it};
1019             warn "Skipping untrusted ".printlabel($it)."\n" if $debug;
1020             $untrusted++;
1021         }
1022     }
1023 }
1024
1025 print           "##  Untrusted certificates omitted from this bundle: $untrusted\n\n";
1026 print STDERR    "##  Untrusted certificates omitted from this bundle: $untrusted\n";
1027
1028 my $certcount = 0;
1029 foreach my $it (sort {uc($a) cmp uc($b)} keys %certs) {
1030     if (!exists($trusts{$it})) {
1031         die "Found certificate without trust block,\naborting";
1032     }
1033     printcert("", $certs{$it});
1034     print "\n\n\n";
1035     $certcount++;
1036     print STDERR "Trusting $certcount: ".printlabel($it)."\n" if $debug;
1037 }
1038
1039 if ($certcount < 25) {
1040     die "Certificate count of $certcount is implausibly low.\nAbort";
1041 }
1042
1043 print           "##  Number of certificates: $certcount\n";
1044 print STDERR    "##  Number of certificates: $certcount\n";
1045 print "##  End of file.\n";
1046
1047
1048 [FILE:2352:files/nss-config.in]
1049 #!/bin/sh
1050
1051 prefix=%%PREFIX%%
1052 version=%%VERSION_NSS%%
1053
1054 usage()
1055 {
1056         cat <<EOF
1057 Usage: nss-config [OPTIONS] [LIBRARIES]
1058 Options:
1059         [--prefix[=DIR]]
1060         [--exec-prefix[=DIR]]
1061         [--includedir[=DIR]]
1062         [--libdir[=DIR]]
1063         [--version]
1064         [--libs]
1065         [--cflags]
1066 Dynamic Libraries:
1067         nss
1068         nssutil
1069         ssl
1070         smime
1071 EOF
1072         exit $1
1073 }
1074
1075 if test $# -eq 0; then
1076         usage 1 1>&2
1077 fi
1078
1079 lib_ssl=yes
1080 lib_smime=yes
1081 lib_nss=yes
1082 lib_nssutil=yes
1083
1084 while test $# -gt 0; do
1085   case "$1" in
1086   -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
1087   *) optarg= ;;
1088   esac
1089
1090   case $1 in
1091     --prefix=*)
1092       prefix=$optarg
1093       ;;
1094     --prefix)
1095       echo_prefix=yes
1096       ;;
1097     --exec-prefix=*)
1098       exec_prefix=$optarg
1099       ;;
1100     --exec-prefix)
1101       echo_exec_prefix=yes
1102       ;;
1103     --includedir=*)
1104       includedir=$optarg
1105       ;;
1106     --includedir)
1107       echo_includedir=yes
1108       ;;
1109     --libdir=*)
1110       libdir=$optarg
1111       ;;
1112     --libdir)
1113       echo_libdir=yes
1114       ;;
1115     --version)
1116       case $version in
1117       *.*.*) echo $version ;;
1118       *.*) echo $version.0 ;;
1119       *) echo $version.0.0 ;;
1120       esac
1121       ;;
1122     --cflags)
1123       echo_cflags=yes
1124       ;;
1125     --libs)
1126       echo_libs=yes
1127       ;;
1128     ssl)
1129       lib_ssl=yes
1130       ;;
1131     smime)
1132       lib_smime=yes
1133       ;;
1134     nss)
1135       lib_nss=yes
1136       ;;
1137     nssutil)
1138       lib_nssutil=yes
1139       ;;
1140     *)
1141       usage 1 1>&2
1142       ;;
1143   esac
1144   shift
1145 done
1146
1147 # Set variables that may be dependent upon other variables
1148 if test -z "$exec_prefix"; then
1149     exec_prefix=$prefix
1150 fi
1151 if test -z "$includedir"; then
1152     includedir=$prefix/include/nss
1153 fi
1154 if test -z "$libdir"; then
1155     libdir=$prefix/lib/nss
1156 fi
1157
1158 if test "$echo_prefix" = "yes"; then
1159     echo $prefix
1160 fi
1161
1162 if test "$echo_exec_prefix" = "yes"; then
1163     echo $exec_prefix
1164 fi
1165
1166 if test "$echo_includedir" = "yes"; then
1167     echo $includedir
1168 fi
1169
1170 if test "$echo_libdir" = "yes"; then
1171     echo $libdir
1172 fi
1173
1174 if test "$echo_cflags" = "yes"; then
1175     echo -I$includedir -I$includedir/nss
1176 fi
1177
1178 if test "$echo_libs" = "yes"; then
1179       libdirs="-Wl,-R${libdir} -L$libdir"
1180       if test -n "$lib_ssl"; then
1181         libdirs="$libdirs -lssl3"
1182       fi
1183       if test -n "$lib_smime"; then
1184         libdirs="$libdirs -lsmime3"
1185       fi
1186       if test -n "$lib_nss"; then
1187         libdirs="$libdirs -lnss3"
1188       fi
1189       if test -n "$lib_nssutil"; then
1190         libdirs="$libdirs -lnssutil3"
1191       fi
1192       echo $libdirs
1193 fi      
1194
1195
1196 [FILE:315:files/nss.pc.in]
1197 prefix=%%PREFIX%%
1198 exec_prefix=%%PREFIX%%
1199 libdir=%%PREFIX%%/lib/nss
1200 includedir=%%PREFIX%%/include
1201
1202 Name: NSS
1203 Description: Mozilla Network Security Services
1204 Version: %%VERSION_NSS%%
1205 Requires: nspr
1206 Libs: -Wl,-R${libdir} -L${libdir} -lnss3 -lsmime3 -lssl3 -lnssutil3
1207 Cflags: -I${includedir}/nss -I${includedir}/nss/nss
1208
1209
1210 [FILE:948:files/pkg-message-caroot.in]
1211 ********************************* WARNING *********************************
1212
1213 Ravenports do not, and can not warrant that the certification authorities
1214 whose certificates are included in this package have in any way been
1215 audited for trustworthiness or RFC 3647 compliance.
1216
1217 Assessment and verification of trust is the complete responsibility of the
1218 system administrator.
1219
1220 *********************************** NOTE **********************************
1221
1222 This package installs symlinks to support root certificates discovery by
1223 default for software that uses OpenSSL.
1224
1225 This enables SSL Certificate Verification by client software without manual
1226 intervention.
1227
1228 If you prefer to do this manually, replace the following symlinks with
1229 either an empty file or your site-local certificate bundle.
1230
1231   * /etc/ssl/cert.pem
1232   * %%PREFIX%%/etc/ssl/cert.pem
1233   * %%PREFIX%%/openssl/cert.pem
1234
1235 ***************************************************************************
1236