Date: Fri, 31 Mar 2023 00:01:56 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: b8a99dc18389 - main - security/openscep: Remove expired port: Message-ID: <202303310001.32V01u6I014424@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=b8a99dc18389585568b5036e4388e77289726b91 commit b8a99dc18389585568b5036e4388e77289726b91 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-03-25 15:02:14 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-03-30 23:59:42 +0000 security/openscep: Remove expired port: 2023-03-31 security/openscep: Do not support recent RFC 8894 --- MOVED | 1 + security/Makefile | 1 - security/openscep/Makefile | 68 ---------- security/openscep/distinfo | 2 - .../openscep/files/patch-include_openscep_err.h | 36 ------ security/openscep/files/patch-include_scep.h | 14 --- security/openscep/files/patch-lib_Makefile.in | 37 ------ security/openscep/files/patch-lib_decode.c | 10 -- security/openscep/files/patch-lib_fingerprint.c | 10 -- security/openscep/files/patch-lib_http.c | 10 -- security/openscep/files/patch-lib_init.c | 22 ---- security/openscep/files/patch-lib_isasu.c | 28 ----- security/openscep/files/patch-lib_openscep__err.c | 139 --------------------- security/openscep/files/patch-lib_payload.c | 28 ----- security/openscep/files/patch-lib_proxy.c | 10 -- security/openscep/files/patch-lib_sigattr.c | 35 ------ security/openscep/files/patch-scepd_Makefile.in | 11 -- security/openscep/files/patch-scepd_dn2xid.c | 10 -- security/openscep/files/patch-scepd_scepconf.c | 14 --- security/openscep/files/patch-scepd_sceplist.c | 32 ----- security/openscep/files/pkg-message.in | 18 --- security/openscep/pkg-descr | 6 - security/openscep/pkg-plist | 94 -------------- 23 files changed, 1 insertion(+), 635 deletions(-) diff --git a/MOVED b/MOVED index 6a5e76f0ee87..193fc4506031 100644 --- a/MOVED +++ b/MOVED @@ -17863,3 +17863,4 @@ news/nntpcache||2023-03-31|Has expired: Upstream site no longer available ports-mgmt/p5-FreeBSD-Portindex||2023-03-31|Has expired: Not working, and no fix forthcoming print/ghostscript9-x11||2023-03-31|Has expired: Released over 10 years ago and unsupported by upstream, consider print/ghostscript9-agpl-x11 print/ghostscript9-base||2023-03-31|Has expired: Released over 10 years ago and unsupported by upstream, consider print/ghostscript9-agpl-base +security/openscep||2023-03-31|Has expired: Do not support recent RFC 8894 diff --git a/security/Makefile b/security/Makefile index 8138752548fa..01c174d4e633 100644 --- a/security/Makefile +++ b/security/Makefile @@ -406,7 +406,6 @@ SUBDIR += openiked-portable SUBDIR += opensaml SUBDIR += opensc - SUBDIR += openscep SUBDIR += openssh-askpass SUBDIR += openssh-portable SUBDIR += openssl diff --git a/security/openscep/Makefile b/security/openscep/Makefile deleted file mode 100644 index dd25c44dc64b..000000000000 --- a/security/openscep/Makefile +++ /dev/null @@ -1,68 +0,0 @@ -PORTNAME= openscep -PORTVERSION= 0.4.2 -PORTREVISION= 11 -CATEGORIES= security -MASTER_SITES= http://openscep.othello.ch/download/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Open source scep server -WWW= http://openscep.othello.ch/ - -LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING - -DEPRECATED= Do not support recent RFC 8894 -EXPIRATION_DATE= 2023-03-31 - -USES= apache gmake ldap libtool ssl -BROKEN_SSL= base -BROKEN_SSL_REASON= unexpected type name 'issuer_and_subject_t': expected expression -IGNORE_SSL= libressl libressl-devel -IGNORE_SSL_REASON= unknown ASN1 functions -USE_LDCONFIG= yes - -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-html-install-dir="${PREFIX}/www/openscep" \ - --with-cgi-install-dir="${PREFIX}/www/cgi-bin/openscep" \ - --with-openscep-dir="${PREFIX}/etc/openscep" \ - --with-pkiclientexe="${PREFIX}/www/cgi-bin/pkiclient.exe" - -CPPFLAGS+= -I${OPENSSLINC} -I${LOCALBASE}/include -LIBS+= -L${OPENSSLLIB} -L${LOCALBASE}/lib - -CONF_DIR= ${PREFIX}/etc/${PORTNAME} -LOCAL_CONF_FILES= openscep.cnf openscep.ldif openscep.schema slapd.conf - -CONFLICTS_INSTALL= nss-3.* - -SUB_FILES= pkg-message -SUB_LIST= CONF_DIR="${CONF_DIR}" CONF_FILES="${LOCAL_CONF_FILES}" - -post-patch: - @${REINPLACE_CMD} -e '/^subdirs=/ s|libltdl||' ${WRKSRC}/configure - @${REINPLACE_CMD} -e '/^SUBDIRS =/ s|libltdl||' ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e 's|^\(install-data-am:\) install-data-local$$|\1|' \ - ${WRKSRC}/ldap/Makefile.in ${WRKSRC}/openssl/Makefile.in - @${REINPLACE_CMD} 's,sbindir),DESTDIR)$$(&,' \ - ${WRKSRC}/openssl/Makefile.in - @${REINPLACE_CMD} -E -e 's,(bin|sbin)dir},DESTDIR}$${&,' \ - -e 's,-o \$$\(USER\) -g \$$\(GROUP\),,' \ - ${WRKSRC}/scep/Makefile.in \ - ${WRKSRC}/scepd/Makefile.in - @${REINPLACE_CMD} -E 's,(CGIINSTALLDIR|PKICLIENTEXE)),DESTDIR)$$(&,' \ - ${WRKSRC}/cgi-bin/Makefile.in - @${REINPLACE_CMD} 's|HTMLINSTALLDIR)|DESTDIR)$$(&|' \ - ${WRKSRC}/Makefile.in \ - ${WRKSRC}/doc/Makefile.in \ - ${WRKSRC}/html/Makefile.in - -post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libscep.so - @${MKDIR} ${STAGEDIR}${CONF_DIR} - ${INSTALL_DATA} ${WRKSRC}/openssl/openscep.cnf \ - ${STAGEDIR}${CONF_DIR}/openscep.cnf.sample -.for f in openscep.ldif openscep.schema slapd.conf - ${INSTALL_DATA} ${WRKSRC}/ldap/${f} ${STAGEDIR}${CONF_DIR}/${f}.sample -.endfor - -.include <bsd.port.mk> diff --git a/security/openscep/distinfo b/security/openscep/distinfo deleted file mode 100644 index ce8b41af53d1..000000000000 --- a/security/openscep/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (openscep-0.4.2.tar.gz) = 1bd44c09872d27abb50ffc75565e7507a5942a93e6dc91b1b2660b3087c098d5 -SIZE (openscep-0.4.2.tar.gz) = 416294 diff --git a/security/openscep/files/patch-include_openscep_err.h b/security/openscep/files/patch-include_openscep_err.h deleted file mode 100644 index 6b003582d0f0..000000000000 --- a/security/openscep/files/patch-include_openscep_err.h +++ /dev/null @@ -1,36 +0,0 @@ ---- include/openscep_err.h.orig Thu May 19 16:26:46 2005 -+++ include/openscep_err.h Thu May 19 16:26:46 2005 -@@ -0,0 +1,33 @@ -+#ifndef HEADER_OPENSCEP_ERR_H -+#define HEADER_OPENSCEP_ERR_H -+ -+#if OPENSSL_VERSION_NUMBER < 0x00907000L -+/* ERR_unload_strings was added in 0.9.7. with older versions, it's -+ redefined as a no-op here so the auto-generated code in -+ openscep_err.c doesn't need to be changed. */ -+#define ERR_unload_strings(A,B) do{}while(0) -+#endif -+ -+/* BEGIN ERROR CODES */ -+/* The following lines are auto generated by the script mkerr.pl. Any changes -+ * made after this point may be overwritten when the script is next run. -+ */ -+void ERR_load_OPENSCEP_strings(void); -+void ERR_unload_OPENSCEP_strings(void); -+void ERR_OPENSCEP_error(int function, int reason, char *file, int line); -+#define OPENSCEPerr(f,r) ERR_OPENSCEP_error((f),(r),__FILE__,__LINE__) -+ -+/* Error codes for the OPENSCEP functions. */ -+ -+/* Function codes. */ -+#define OPENSCEP_F_D2I_ISSUER_AND_SUBJECT 100 -+#define OPENSCEP_F_D2I_PAYLOAD 101 -+#define OPENSCEP_F_ISSUER_AND_SUBJECT_NEW 102 -+#define OPENSCEP_F_PAYLOAD_NEW 103 -+ -+/* Reason codes. */ -+ -+#ifdef __cplusplus -+} -+#endif -+#endif diff --git a/security/openscep/files/patch-include_scep.h b/security/openscep/files/patch-include_scep.h deleted file mode 100644 index 81e686ef7896..000000000000 --- a/security/openscep/files/patch-include_scep.h +++ /dev/null @@ -1,14 +0,0 @@ ---- include/scep.h.orig 2002-02-20 00:40:05.000000000 +0100 -+++ include/scep.h 2014-07-10 22:24:29.366255595 +0200 -@@ -80,7 +80,11 @@ - int recipientNonceLength; - - /* OpenSSL configuration file contents */ -+#ifdef LHASH_OF -+ LHASH_OF(CONF_VALUE) *conf; -+#else - LHASH *conf; -+#endif - - /* signer/client information different from requestor for v2 */ - X509 *selfsignedcert; diff --git a/security/openscep/files/patch-lib_Makefile.in b/security/openscep/files/patch-lib_Makefile.in deleted file mode 100644 index e65904cf12a2..000000000000 --- a/security/openscep/files/patch-lib_Makefile.in +++ /dev/null @@ -1,37 +0,0 @@ ---- lib/Makefile.in.orig Tue Feb 26 02:11:39 2002 -+++ lib/Makefile.in Thu May 19 16:35:38 2005 -@@ -115,14 +115,13 @@ - - LDADD = libscep.la - LDFLAGS = -R$(libdir) $(LIBS) --CPPFLAGS = -DOPENSCEPDIR=\"$(OPENSCEPDIR)\" -+CPPFLAGS += -DOPENSCEPDIR=\"$(OPENSCEPDIR)\" - - VERSION_FILE = openscep_vers.c - - libscep_la_LDFLAGS = -version-info `../shtool version -d libtool $(VERSION_FILE)` - --libscep_la_SOURCES = init.c isasu.c decode.c sigattr.c pkcsreq.c certrep.c getcertinitial.c getcert.c getcrl.c badreply.c attr.c goodreply.c encode.c check.c grant.c scepldap.c fingerprint.c openscep_vers.c selfsigned.c createreq.c http.c iser.c proxy.c payload.c v2request.c transcheck.c pending.c spki2file.c -- -+libscep_la_SOURCES = init.c isasu.c decode.c sigattr.c pkcsreq.c certrep.c getcertinitial.c getcert.c getcrl.c badreply.c attr.c goodreply.c encode.c check.c grant.c scepldap.c fingerprint.c openscep_vers.c selfsigned.c createreq.c http.c iser.c proxy.c payload.c v2request.c transcheck.c pending.c spki2file.c openscep_err.c - - INCLUDES = $(INCLTDL) -I$(top_srcdir)/include -I$(OPENSSLDIR)/include - mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -@@ -138,7 +137,8 @@ - certrep.lo getcertinitial.lo getcert.lo getcrl.lo badreply.lo attr.lo \ - goodreply.lo encode.lo check.lo grant.lo scepldap.lo fingerprint.lo \ - openscep_vers.lo selfsigned.lo createreq.lo http.lo iser.lo proxy.lo \ --payload.lo v2request.lo transcheck.lo pending.lo spki2file.lo -+payload.lo v2request.lo transcheck.lo pending.lo spki2file.lo \ -+openscep_err.lo - CFLAGS = @CFLAGS@ - COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) - LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -@@ -364,6 +364,7 @@ - ../include/scep.h ../include/isasu.h ../include/payload.h \ - ../include/transcheck.h ../include/pending.h \ - ../include/goodreply.h ../include/badreply.h ../include/init.h -+openscep_err.lo openscep_err.o : openscep_err.c ../include/openscep_err.h - - info-am: - info: info-am diff --git a/security/openscep/files/patch-lib_decode.c b/security/openscep/files/patch-lib_decode.c deleted file mode 100644 index e06c58fed984..000000000000 --- a/security/openscep/files/patch-lib_decode.c +++ /dev/null @@ -1,10 +0,0 @@ ---- lib/decode.c.orig Tue Feb 26 02:01:06 2002 -+++ lib/decode.c Thu May 19 16:23:01 2005 -@@ -58,6 +58,7 @@ - __LINE__, (scep->client) ? "reply" : "request"); - - /* convert from base64 to internal representation */ -+ BIO_set_mem_eof_return(bio, 0); - if (msg->base64) { - if (debug) - BIO_printf(bio_err, "%s:%d: prepending Base64 " diff --git a/security/openscep/files/patch-lib_fingerprint.c b/security/openscep/files/patch-lib_fingerprint.c deleted file mode 100644 index edfeb9215388..000000000000 --- a/security/openscep/files/patch-lib_fingerprint.c +++ /dev/null @@ -1,10 +0,0 @@ ---- lib/fingerprint.c.orig -+++ lib/fingerprint.c -@@ -9,6 +9,7 @@ - #include <fingerprint.h> - #include <openssl/bio.h> - #include <openssl/evp.h> -+#include <openssl/md5.h> - #include <init.h> - #include <string.h> - diff --git a/security/openscep/files/patch-lib_http.c b/security/openscep/files/patch-lib_http.c deleted file mode 100644 index 57cd8f999c36..000000000000 --- a/security/openscep/files/patch-lib_http.c +++ /dev/null @@ -1,10 +0,0 @@ ---- lib/http.c.orig Thu May 19 16:37:26 2005 -+++ lib/http.c Thu May 19 16:38:42 2005 -@@ -19,6 +19,7 @@ - #include <string.h> - #include <openssl/err.h> - #include <arpa/inet.h> -+#include <netinet/in.h> - - /* - * parse the url given in the second argument and fill in the h member diff --git a/security/openscep/files/patch-lib_init.c b/security/openscep/files/patch-lib_init.c deleted file mode 100644 index 75bdd1330f11..000000000000 --- a/security/openscep/files/patch-lib_init.c +++ /dev/null @@ -1,22 +0,0 @@ ---- lib/init.c.orig Wed Feb 20 02:40:06 2002 -+++ lib/init.c Thu May 19 16:23:01 2005 -@@ -21,6 +21,7 @@ - #include <sys/types.h> - #include <sys/stat.h> - #include <unistd.h> -+#include <openscep_err.h> - - #define TMPPATH "/var/tmp/openscep" - -@@ -66,6 +67,11 @@ - ERR_load_crypto_strings(); - if (debug) - fprintf(stderr, "%s:%d: crypto strings loaded\n", __FILE__, -+ __LINE__); -+ -+ ERR_load_OPENSCEP_strings(); -+ if (debug) -+ fprintf(stderr, "%s:%d: openscep strings loaded\n", __FILE__, - __LINE__); - - /* add the encryption algorithms available */ diff --git a/security/openscep/files/patch-lib_isasu.c b/security/openscep/files/patch-lib_isasu.c deleted file mode 100644 index 07f62ca1ed5d..000000000000 --- a/security/openscep/files/patch-lib_isasu.c +++ /dev/null @@ -1,28 +0,0 @@ ---- lib/isasu.c.orig Wed Feb 20 02:40:06 2002 -+++ lib/isasu.c Thu May 19 16:23:01 2005 -@@ -12,6 +12,7 @@ - #include <init.h> - #include <unistd.h> - #include <fcntl.h> -+#include <openscep_err.h> - - /* - * the methods in this file are based on the similar functions for the -@@ -40,7 +41,7 @@ - M_ASN1_D2I_get(ret->issuer, d2i_X509_NAME); - M_ASN1_D2I_get(ret->subject, d2i_X509_NAME); - M_ASN1_D2I_Finish(a,issuer_and_subject_free, -- ASN1_F_D2I_PKCS7_ISSUER_AND_SERIAL); -+ OPENSCEP_F_D2I_ISSUER_AND_SUBJECT); - } - - issuer_and_subject_t *issuer_and_subject_new(void) { -@@ -50,7 +51,7 @@ - M_ASN1_New(ret->issuer, X509_NAME_new); - M_ASN1_New(ret->subject, X509_NAME_new); - return ret; -- M_ASN1_New_Error(ASN1_F_PKCS7_ISSUER_AND_SERIAL_NEW); /* wrong error code */ -+ M_ASN1_New_Error(OPENSCEP_F_ISSUER_AND_SUBJECT_NEW); - } - - void issuer_and_subject_free(issuer_and_subject_t *isasu) { diff --git a/security/openscep/files/patch-lib_openscep__err.c b/security/openscep/files/patch-lib_openscep__err.c deleted file mode 100644 index a0ea6b031416..000000000000 --- a/security/openscep/files/patch-lib_openscep__err.c +++ /dev/null @@ -1,139 +0,0 @@ ---- lib/openscep_err.c.orig Thu May 19 16:26:46 2005 -+++ lib/openscep_err.c Thu May 19 16:26:46 2005 -@@ -0,0 +1,136 @@ -+/* openscep_err.c */ -+/* ==================================================================== -+ * Copyright (c) 1999-2003 The OpenSSL Project. All rights reserved. -+ * -+ * Redistribution and use in source and binary forms, with or without -+ * modification, are permitted provided that the following conditions -+ * are met: -+ * -+ * 1. Redistributions of source code must retain the above copyright -+ * notice, this list of conditions and the following disclaimer. -+ * -+ * 2. Redistributions in binary form must reproduce the above copyright -+ * notice, this list of conditions and the following disclaimer in -+ * the documentation and/or other materials provided with the -+ * distribution. -+ * -+ * 3. All advertising materials mentioning features or use of this -+ * software must display the following acknowledgment: -+ * "This product includes software developed by the OpenSSL Project -+ * for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)" -+ * -+ * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to -+ * endorse or promote products derived from this software without -+ * prior written permission. For written permission, please contact -+ * openssl-core@OpenSSL.org. -+ * -+ * 5. Products derived from this software may not be called "OpenSSL" -+ * nor may "OpenSSL" appear in their names without prior written -+ * permission of the OpenSSL Project. -+ * -+ * 6. Redistributions of any form whatsoever must retain the following -+ * acknowledgment: -+ * "This product includes software developed by the OpenSSL Project -+ * for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)" -+ * -+ * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY -+ * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR -+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED -+ * OF THE POSSIBILITY OF SUCH DAMAGE. -+ * ==================================================================== -+ * -+ * This product includes cryptographic software written by Eric Young -+ * (eay@cryptsoft.com). This product includes software written by Tim -+ * Hudson (tjh@cryptsoft.com). -+ * -+ */ -+ -+/* NOTE: this file was auto generated by the mkerr.pl script: any changes -+ * made to it will be overwritten when the script next updates this file, -+ * only reason strings will be preserved. -+ */ -+ -+#include <stdio.h> -+#include <openssl/err.h> -+#include "openscep_err.h" -+ -+/* BEGIN ERROR CODES */ -+#ifndef OPENSSL_NO_ERR -+static ERR_STRING_DATA OPENSCEP_str_functs[]= -+ { -+{ERR_PACK(0,OPENSCEP_F_D2I_ISSUER_AND_SUBJECT,0), "D2I_ISSUER_AND_SUBJECT"}, -+{ERR_PACK(0,OPENSCEP_F_D2I_PAYLOAD,0), "D2I_PAYLOAD"}, -+{ERR_PACK(0,OPENSCEP_F_ISSUER_AND_SUBJECT_NEW,0), "ISSUER_AND_SUBJECT_NEW"}, -+{ERR_PACK(0,OPENSCEP_F_PAYLOAD_NEW,0), "PAYLOAD_NEW"}, -+{0,NULL} -+ }; -+ -+static ERR_STRING_DATA OPENSCEP_str_reasons[]= -+ { -+{0,NULL} -+ }; -+ -+#endif -+ -+#ifdef OPENSCEP_LIB_NAME -+static ERR_STRING_DATA OPENSCEP_lib_name[]= -+ { -+{0 ,OPENSCEP_LIB_NAME}, -+{0,NULL} -+ }; -+#endif -+ -+ -+static int OPENSCEP_lib_error_code=0; -+static int OPENSCEP_error_init=1; -+ -+void ERR_load_OPENSCEP_strings(void) -+ { -+ if (OPENSCEP_lib_error_code == 0) -+ OPENSCEP_lib_error_code=ERR_get_next_error_library(); -+ -+ if (OPENSCEP_error_init) -+ { -+ OPENSCEP_error_init=0; -+#ifndef OPENSSL_NO_ERR -+ ERR_load_strings(OPENSCEP_lib_error_code,OPENSCEP_str_functs); -+ ERR_load_strings(OPENSCEP_lib_error_code,OPENSCEP_str_reasons); -+#endif -+ -+#ifdef OPENSCEP_LIB_NAME -+ OPENSCEP_lib_name->error = ERR_PACK(OPENSCEP_lib_error_code,0,0); -+ ERR_load_strings(0,OPENSCEP_lib_name); -+#endif -+ } -+ } -+ -+void ERR_unload_OPENSCEP_strings(void) -+ { -+ if (OPENSCEP_error_init == 0) -+ { -+#ifndef OPENSSL_NO_ERR -+ ERR_unload_strings(OPENSCEP_lib_error_code,OPENSCEP_str_functs); -+ ERR_unload_strings(OPENSCEP_lib_error_code,OPENSCEP_str_reasons); -+#endif -+ -+#ifdef OPENSCEP_LIB_NAME -+ ERR_unload_strings(0,OPENSCEP_lib_name); -+#endif -+ OPENSCEP_error_init=1; -+ } -+ } -+ -+void ERR_OPENSCEP_error(int function, int reason, char *file, int line) -+ { -+ if (OPENSCEP_lib_error_code == 0) -+ OPENSCEP_lib_error_code=ERR_get_next_error_library(); -+ ERR_PUT_error(OPENSCEP_lib_error_code,function,reason,file,line); -+ } diff --git a/security/openscep/files/patch-lib_payload.c b/security/openscep/files/patch-lib_payload.c deleted file mode 100644 index fe73e22a1dc5..000000000000 --- a/security/openscep/files/patch-lib_payload.c +++ /dev/null @@ -1,28 +0,0 @@ ---- lib/payload.c.orig Mon Feb 25 00:40:01 2002 -+++ lib/payload.c Thu May 19 16:26:46 2005 -@@ -16,6 +16,7 @@ - #include <missl.h> - #include <scepldap.h> - #include <fcntl.h> -+#include <openscep_err.h> - - /* - * payload_build_original convert the original request into a bit string -@@ -68,7 +69,7 @@ - p->rt = -1; - p->od.req = NULL; - return p; -- M_ASN1_New_Error(ASN1_F_X509_REQ_INFO_NEW); /* wrong error code */ -+ M_ASN1_New_Error(OPENSCEP_F_PAYLOAD_NEW); - } - - void payload_free(payload_t *a) { -@@ -171,7 +172,7 @@ - ret->od.spki = d2i_NETSCAPE_SPKI(&r2, &u, l); - break; - } -- M_ASN1_D2I_Finish(a, payload_free, ASN1_F_D2I_X509_REQ_INFO); -+ M_ASN1_D2I_Finish(a, payload_free, OPENSCEP_F_D2I_PAYLOAD); - } - - /* diff --git a/security/openscep/files/patch-lib_proxy.c b/security/openscep/files/patch-lib_proxy.c deleted file mode 100644 index 9d638ea39708..000000000000 --- a/security/openscep/files/patch-lib_proxy.c +++ /dev/null @@ -1,10 +0,0 @@ ---- lib/proxy.c.orig -+++ lib/proxy.c -@@ -10,6 +10,7 @@ - #include <scep.h> - #include <proxy.h> - #include <openssl/evp.h> -+#include <openssl/md5.h> - - /* - * proxy_authenticator compute the proxy authenticator hash value diff --git a/security/openscep/files/patch-lib_sigattr.c b/security/openscep/files/patch-lib_sigattr.c deleted file mode 100644 index f90f9afc4600..000000000000 --- a/security/openscep/files/patch-lib_sigattr.c +++ /dev/null @@ -1,35 +0,0 @@ ---- lib/sigattr.c.orig Wed Feb 20 02:40:06 2002 -+++ lib/sigattr.c Thu May 19 16:26:46 2005 -@@ -8,6 +8,7 @@ - #include <sigattr.h> - #include <init.h> - #include <openssl/err.h> -+#include <openssl/opensslv.h> - - /* - * read an attribute of type string -@@ -120,6 +121,7 @@ - X509_ATTRIBUTE *attr; - int i; - scepmsg_t *msg; -+ int single; - - if (debug) - BIO_printf(bio_err, "%s:%d: looking for attribute '%s'\n", -@@ -146,8 +148,14 @@ - for (i = 0; i < sk_X509_ATTRIBUTE_num(sig_attribs); i++) { - attr = sk_X509_ATTRIBUTE_value(sig_attribs, i); - if (OBJ_cmp(attr->object, asn1_obj) == 0) { -- if ((!attr->set) || (sk_ASN1_TYPE_num(attr->value.set) -- == 0)) { -+#if OPENSSL_VERSION_NUMBER < 0x00907000L -+ /* attr->set was replaced with attr->single (with opposite -+ meaning) somewhere between 0.9.6m-engine and 0.9.7d */ -+ single = !attr->set; -+#else -+ single = attr->single; -+#endif -+ if (single || (sk_ASN1_TYPE_num(attr->value.set) == 0)) { - BIO_printf(bio_err, "%s:%d: attr has no val\n", - __FILE__, __LINE__); - goto err; diff --git a/security/openscep/files/patch-scepd_Makefile.in b/security/openscep/files/patch-scepd_Makefile.in deleted file mode 100644 index 975147e37e41..000000000000 --- a/security/openscep/files/patch-scepd_Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- scepd/Makefile.in.orig Thu May 19 16:41:14 2005 -+++ scepd/Makefile.in Thu May 19 16:41:26 2005 -@@ -132,7 +132,7 @@ - LDADD = ../lib/libscep.la - LDFLAGS = -R$(libdir) - --CPPFLAGS = -DOPENSCEPDIR=\"$(OPENSCEPDIR)\" -+CPPFLAGS += -DOPENSCEPDIR=\"$(OPENSCEPDIR)\" - - INCLUDES = $(INCLTDL) -I$(top_srcdir)/include -I$(OPENSSLDIR)/include - mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs diff --git a/security/openscep/files/patch-scepd_dn2xid.c b/security/openscep/files/patch-scepd_dn2xid.c deleted file mode 100644 index 13b79fec6b1c..000000000000 --- a/security/openscep/files/patch-scepd_dn2xid.c +++ /dev/null @@ -1,10 +0,0 @@ ---- scepd/dn2xid.c.orig Mon Mar 26 14:36:47 2001 -+++ scepd/dn2xid.c Thu May 19 16:26:46 2005 -@@ -11,6 +11,7 @@ - #include <ldap.h> - #include <unistd.h> - #include <openssl/bio.h> -+#include <openssl/evp.h> - #include <openssl/x509.h> - #include <openssl/err.h> - #include <fingerprint.h> diff --git a/security/openscep/files/patch-scepd_scepconf.c b/security/openscep/files/patch-scepd_scepconf.c deleted file mode 100644 index 991ffe76e003..000000000000 --- a/security/openscep/files/patch-scepd_scepconf.c +++ /dev/null @@ -1,14 +0,0 @@ ---- scepd/scepconf.c.orig 2001-03-03 23:23:22.000000000 +0100 -+++ scepd/scepconf.c 2014-07-10 22:26:24.326212726 +0200 -@@ -20,7 +20,11 @@ - int debug = 0; - - int main(int argc, char *argv[]) { -+#ifdef LHASH_OF -+ LHASH_OF(CONF_VALUE) *conf; -+#else - LHASH *conf; -+#endif - long eline; - char *section = NULL, *variable = NULL, *value; - int c, n; diff --git a/security/openscep/files/patch-scepd_sceplist.c b/security/openscep/files/patch-scepd_sceplist.c deleted file mode 100644 index 6fff4ae7bd07..000000000000 --- a/security/openscep/files/patch-scepd_sceplist.c +++ /dev/null @@ -1,32 +0,0 @@ ---- scepd/sceplist.c.orig Thu May 19 16:59:02 2005 -+++ scepd/sceplist.c Thu May 19 17:02:22 2005 -@@ -96,7 +96,6 @@ - /* - * convert ASN1 time string to a struct tm - */ --extern time_t timezone; /* compiler does not like it inside func */ - #ifdef HAVE_ALTZONE - extern time_t altzone; - #endif /* HAVE_ALTZONE */ -@@ -124,19 +123,15 @@ - rtm.tm_year = atoi(work); - if (rtm.tm_year < 70) - rtm.tm_year += 100; -+ rtm.tm_zone = 0; - -- /* set the time zone to GMT, as mktime uses the local time zone */ -- timezone = 0; - #ifdef HAVE_ALTZONE - altzone = 0; - #endif /* HAVE_ALTZONE */ - - /* use mktime to normalize the structure and t convert to a */ - /* time_t value */ -- rt = mktime(&rtm); -- -- /* reset the time zone to local settings */ -- tzset(); -+ rt = timegm(&rtm); - - return rt; - } diff --git a/security/openscep/files/pkg-message.in b/security/openscep/files/pkg-message.in deleted file mode 100644 index 4c68a3e7d0c4..000000000000 --- a/security/openscep/files/pkg-message.in +++ /dev/null @@ -1,18 +0,0 @@ -[ -{ type: install - message: <<EOM -You now need to add an alias to apache's httpd.conf pointing to -%%PREFIX%%/www/openscep in order to access openscep from -your web browser, or create a VirtualHost with DocumentRoot set -to that directory. - -You should also include %%PREFIX%%/etc/openscep/openscep.schema -into your slapd config (sample of this is at -%%PREFIX%%/etc/openscep/slapd.conf). - -Furthermore, you should add your ldap directory information from -%%PREFIX%%/etc/openscep/openscep.ldif and edit DN specific information -there before doing ldapadd. -EOM -} -] diff --git a/security/openscep/pkg-descr b/security/openscep/pkg-descr deleted file mode 100644 index 7f6c777ac173..000000000000 --- a/security/openscep/pkg-descr +++ /dev/null @@ -1,6 +0,0 @@ -OpenSCEP is an open source implementation of the SCEP protocol used by Cisco -routers for certificate enrollment to build VPNs. It implements most of the -draft specification. - -OpenSCEP includes a client and a server implementation, as well as some CGI -programs to simplify certificate and revocation list management. diff --git a/security/openscep/pkg-plist b/security/openscep/pkg-plist deleted file mode 100644 index 5b4f980f3fcc..000000000000 --- a/security/openscep/pkg-plist +++ /dev/null @@ -1,94 +0,0 @@ -bin/derdump -bin/scep -bin/scepclient -bin/scepconf -bin/scepkey -bin/sceplist -bin/scepxid -@owner www -@group www -@sample etc/openscep/openscep.cnf.sample -@sample etc/openscep/openscep.ldif.sample -@sample etc/openscep/openscep.schema.sample -@sample etc/openscep/slapd.conf.sample -@owner -@group -lib/libscep.a -lib/libscep.so -lib/libscep.so.4 -lib/libscep.so.4.0.22 -man/man1/derdump.1.gz -man/man1/scep.1.gz -man/man1/scepclient.1.gz -man/man1/scepconf.1.gz -man/man1/sceplist.1.gz -man/man1/scepxid.1.gz -man/man5/openscep.cnf.5.gz -man/man8/cafingerprint.8.gz -man/man8/createcrl.8.gz -man/man8/crl2ldap.8.gz -man/man8/dn2xid.8.gz -man/man8/scepd.8.gz -man/man8/scepgrant.8.gz -man/man8/scepreject.8.gz -man/man8/updatecrl.8.gz -sbin/cafingerprint -sbin/createcrl -sbin/crl2ldap -sbin/dn2xid -sbin/openscepsetup -sbin/scepd -sbin/scepgrant -sbin/scepreject -sbin/updatecrl -@owner www -@group www -www/cgi-bin/openscep/add.pl -www/cgi-bin/openscep/crl.pl -www/cgi-bin/openscep/granted.pl -www/cgi-bin/openscep/log.pl -www/cgi-bin/openscep/pending.pl -www/cgi-bin/openscep/rejected.pl -www/cgi-bin/openscep/revoked.pl -www/cgi-bin/pkiclient.exe -@owner -@group -www/openscep/COPYING -www/openscep/ChangeLog -www/openscep/INSTALL -www/openscep/NEWS -www/openscep/README -www/openscep/SETUP -www/openscep/TODO -www/openscep/add.gif -www/openscep/cafingerprint.8.html -www/openscep/contents.html -www/openscep/createcrl.8.html -www/openscep/crl.gif -www/openscep/crl2ldap.8.html -www/openscep/derdump.1.html -www/openscep/dn2xid.8.html -www/openscep/draft-nourse-scep-05.txt -www/openscep/granted.gif -www/openscep/help.gif -www/openscep/help.html -www/openscep/index.html -www/openscep/log.gif -www/openscep/openscep.cnf.5.html -www/openscep/openscep.gif -www/openscep/openscep.png -www/openscep/rejected.gif -www/openscep/requests.gif -www/openscep/revocation.html -www/openscep/revoked.gif -www/openscep/scep.1.html -www/openscep/scepclient.1.html -www/openscep/scepconf.1.html -www/openscep/scepd.8.html -www/openscep/scepgrant.8.html -www/openscep/sceplist.1.html -www/openscep/scepreject.8.html -www/openscep/scepxid.1.html -www/openscep/title.html -www/openscep/updatecrl.8.html -www/openscep/welcome.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303310001.32V01u6I014424>