From nobody Sat Jan 21 18:31:13 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NzlLT6xztz2ssqj; Sat, 21 Jan 2023 18:31:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NzlLT6Mjkz4YGB; Sat, 21 Jan 2023 18:31:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674325873; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=B/JWQx3Zh0FjvUNWvAinmFIwQtZ0tCA+ByRLsddQZ9I=; b=i2pCduMx9BPuuVN5ynWhdVwyoiJJhe0+PgCpTdLKW6Km3Zetec8xg8vP5g8G/iXriGmXJ8 DnnFVl26F4VRHU+USt5j3ao3ZB7MetqWBfH48rONBJF4wOCYNp3eXIMrRd4CSimgwcXBdF s1ZSNGJktYasNXQQQIeOFjUQm+KB8IOoETVATPOGormdxgLU3wzkH9DOajDQSx1ZZ/k6LW zkJ/s3EIoyH3Cpx5t3UZNqwL0P54OmOQCLaBkr0nzpEg5nbCjH30KA+j1pc2L/pVUQxyrZ hqscCE2Dplf2W1XijlnNPtbC1yJkp8o/n/vECflSWsQ/7j5fnykFjTUfXuhreA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674325873; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=B/JWQx3Zh0FjvUNWvAinmFIwQtZ0tCA+ByRLsddQZ9I=; b=J7sro9TL1Iu0zc4I0SEYqEZlj4do3kqT+uVsPCxTbEuVy2bvO6qh2I/PSXNET3osLs+yIv A3sUevx6nDRGv3mbbn1eEQeIcAY+okR+ntVqizzwYxT8iaeUtynQL4oW+2Wfu/OBF0v7cg wQwGfd7W54s5cNnRGmnwBAb72S9XLEUMmn27AbbhYkqoBb3dVfWDK0EugC0vgHi7PfkoST TSI1+J8n4X390Ec7HBwUHBV9gCe/1cxvhj42yrLB/gwfa9yF+15Zj51brYWUEWY0+GYC/V dJZqc0pyjvxl5JVUMPl92W1m9rc17O95GGXlTWAPn8nhKfS6T2MdkfQ7JFJPWA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674325873; a=rsa-sha256; cv=none; b=pyT2KnlRzuUQTmVm7ldW8WZS2JqPYhEVgbi47Nw/64BT6RwPzJvskV5BqmnjXJ7jiZBUU/ 7M6ENQW5LTLBk1OBj3Bv2Ni4xoxQPUUuXjPU0Z2srcFvW5kJyT6erlDej206z9vizqQjxh 5WU7nCqMw6uMTACj9cRM5GTkblVPGqIKt0r+Og8RuOk/jihYLDYnjYJbjiJdIf39lA/TZ9 Gb3n4Z5ba8rjlYby7w4VUyuiEsioi1rnRoFVglpjoWEy9bRUOEggQrtWD7vZ/pt6hE9D3Z qhxcddFtagoilrABOn1Gh6zQ0xxStmCh9dWXPbBoaoFbAoErHtj5EpQ+E5FyzQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NzlLT5LrczKh9; Sat, 21 Jan 2023 18:31:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30LIVDl9091275; Sat, 21 Jan 2023 18:31:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30LIVDhM091274; Sat, 21 Jan 2023 18:31:13 GMT (envelope-from git) Date: Sat, 21 Jan 2023 18:31:13 GMT Message-Id: <202301211831.30LIVDhM091274@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: eca308db63ad - main - security/openscep: Mark DEPRECATED List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: eca308db63ad45220ee35b405b5c3b7d67a14c03 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=eca308db63ad45220ee35b405b5c3b7d67a14c03 commit eca308db63ad45220ee35b405b5c3b7d67a14c03 Author: Muhammad Moinur Rahman AuthorDate: 2023-01-21 18:25:36 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-01-21 18:29:18 +0000 security/openscep: Mark DEPRECATED - This port is based on the RFC https://datatracker.ietf.org/doc/draft-nourse-scep/ which has been replaced with https://datatracker.ietf.org/doc/rfc8894/. Additionally this application has not been updated since 2003. Hence mark this port as DEPRECATED - Set EXPIRATION_DATE to 2023-03-31 - Add LICENSE GPLv2 - Refactor the SSL IGNORE and SSL BROKEN macros --- security/openscep/Makefile | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/security/openscep/Makefile b/security/openscep/Makefile index 9e1aef4b5227..1835c7ba6232 100644 --- a/security/openscep/Makefile +++ b/security/openscep/Makefile @@ -8,38 +8,37 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Open source scep server WWW= http://openscep.othello.ch/ -CONFLICTS_INSTALL= nss-3.* +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +DEPRECATED= Do not support recent RFC 8894 +EXPIRATION_DATE= 2023-03-31 USES= apache:2.2+ gmake libtool ssl -USE_OPENLDAP= yes -GNU_CONFIGURE= yes +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 +USE_OPENLDAP= yes -CPPFLAGS+= -I${OPENSSLINC} -I${LOCALBASE}/include -LIBS+= -L${OPENSSLLIB} -L${LOCALBASE}/lib +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}" -.include - -.if ${SSL_DEFAULT} == base -BROKEN_FreeBSD_12= unexpected type name 'issuer_and_subject_t': expected expression -BROKEN_FreeBSD_13= unexpected type name 'issuer_and_subject_t': expected expression -BROKEN_FreeBSD_14= unexpected type name 'issuer_and_subject_t': expected expression -.endif - -.if ${SSL_DEFAULT:Mlibressl*} -IGNORE= Detected LibreSSL (unknown ASN1 functions) -.endif - post-patch: @${REINPLACE_CMD} -e '/^subdirs=/ s|libltdl||' ${WRKSRC}/configure @${REINPLACE_CMD} -e '/^SUBDIRS =/ s|libltdl||' ${WRKSRC}/Makefile.in @@ -67,4 +66,4 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/ldap/${f} ${STAGEDIR}${CONF_DIR}/${f}.sample .endfor -.include +.include