From nobody Sat Jul 01 12:54:30 2023 X-Original-To: dev-commits-ports-all@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 4QtXFf2dhRz4jyFl; Sat, 1 Jul 2023 12:54:30 +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 4QtXFf26qcz4LDc; Sat, 1 Jul 2023 12:54:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688216070; 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=c/WFZxyRWTBUXLwJmTaCEzPVRdDXTLuvWtnd3pkDAjU=; b=xk8824WADbUzxjkW5v2tSSX6d2fXrIc12aZUVzw1kuev7JALYsHQVR6/cM+ZzuYrlQEQrW /dqfbRS6sJdSI7NBjbtf1kvGLhNry/SzgUxkCPqGqhxMa6A6nxn4yoKGJCJcpLs54A8+Zu VuhJqJA06e79tdmdwQTdIUDGZ/rL/eQPTAqzsuL+yh73QZc3do1v8vY/PBaMG16J/zTanQ eWhqIcV19DSR8psmGMzDroEnanK44OiiMedwJNpRYQmBSeDz/Wutc4wNhcuvrWRQpu7quM BbrM+ZmQ7+VwVhdulkWxfi64qkX6Xs/m48A1dWk2qtAL1fOQFsYB+9a/PoNO5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688216070; 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=c/WFZxyRWTBUXLwJmTaCEzPVRdDXTLuvWtnd3pkDAjU=; b=dYAMhw4puIyIvKWPiqSwPUm3F5YJ0Bcj0vRHitB0SDA3XDelQu+w7ly9bPl3FSZTlJPNkO ioWjAkXJXRCjZMo7OpLmTzIhOvqVzaR82nRxJbailfGi9aKbU6/8E3xJwEaMptC8tOAb4L PufssFrME48JeJN2xBHJWedccjJWGcQP6/mit9R1D3NE1HTTSxBaIZkDUVL+UVImKx5IEI ATIjy22UEDUqpi+TAqaWKNug6Jr+buUQxDiXVDFmXidSlHXcpRkw+a/F0KCyT1eToBdWxo 0PbU3Cg1E+B163NenwgEXfo343ABjnFMpcf+rXh8KUxSyigZPrVYmvQon6L7Fw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688216070; a=rsa-sha256; cv=none; b=fTTjw8igsgNn8tdhD5nvyteysPbCcekOSjwkLlXHLu/h9HRBYrhazrMdev+4VXCZM9Z4cI qt4PFWrqv/wJbDL4lGJF5RWXNPM1s0/2pLt9gg1rX/HcMTBT9PCkoYRWdMnYBK5APYnXkA a8UkbnanCFQIlNfyySyOWHJNrp8nq77hnaWpLh3K/qNUoWSyk3Fy9yC0sJR9TuGkD7wVFJ sEtSw0EKI/MwS/AwjsSz+rdCPny3GO4XV9pKp9bGPqPeYOUsmV7CmHFC2q6bzLBw7wmTlg pB0ifpdMC+helpv8FfGBuWymBUOUzKLkW91bDRkww2YXe8t1GBwyd8J74sct8A== 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 4QtXFf14f9zRLw; Sat, 1 Jul 2023 12:54:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 361CsUfX021036; Sat, 1 Jul 2023 12:54:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 361CsUcT021035; Sat, 1 Jul 2023 12:54:30 GMT (envelope-from git) Date: Sat, 1 Jul 2023 12:54:30 GMT Message-Id: <202307011254.361CsUcT021035@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Wen Heping Subject: git: 1fceef362033 - main - www/mediawiki140: New port, copied from www/mediawiki139 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: wen X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1fceef36203352ae45671a95df9cce3c260932c2 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by wen: URL: https://cgit.FreeBSD.org/ports/commit/?id=1fceef36203352ae45671a95df9cce3c260932c2 commit 1fceef36203352ae45671a95df9cce3c260932c2 Author: Wen Heping AuthorDate: 2023-07-01 12:52:37 +0000 Commit: Wen Heping CommitDate: 2023-07-01 12:52:37 +0000 www/mediawiki140: New port, copied from www/mediawiki139 MediaWiki is the collaborative editing software that runs Wikipedia, the free encyclopedia, and other projects. It's designed to handle a large number of users and pages without imposing too rigid a structure or workflow. --- www/Makefile | 1 + www/mediawiki140/Makefile | 66 +++++++++++++++++++++++++++++++++++ www/mediawiki140/distinfo | 3 ++ www/mediawiki140/files/pkg-message.in | 15 ++++++++ www/mediawiki140/pkg-descr | 4 +++ 5 files changed, 89 insertions(+) diff --git a/www/Makefile b/www/Makefile index fee4f2e01268..d791c771cbea 100644 --- a/www/Makefile +++ b/www/Makefile @@ -335,6 +335,7 @@ SUBDIR += mediawiki135 SUBDIR += mediawiki138 SUBDIR += mediawiki139 + SUBDIR += mediawiki140 SUBDIR += mergelog SUBDIR += mhonarc SUBDIR += micro_httpd diff --git a/www/mediawiki140/Makefile b/www/mediawiki140/Makefile new file mode 100644 index 000000000000..d5d9f1f2186e --- /dev/null +++ b/www/mediawiki140/Makefile @@ -0,0 +1,66 @@ +PORTNAME= mediawiki +PORTVERSION= 1.40.0 +CATEGORIES= www +MASTER_SITES= https://releases.wikimedia.org/mediawiki/${PORTVERSION:R}/ +PKGNAMESUFFIX= 140${PHP_PKGNAMESUFFIX} + +MAINTAINER= wen@FreeBSD.org +COMMENT= Wiki engine used by Wikipedia +WWW= https://www.mediawiki.org/ + +LICENSE= GPLv2 + +CONFLICTS= mediawiki13[5-9] + +USES= cpe php:flavors shebangfix +SHEBANG_FILES= maintenance/dev/*.sh \ + maintenance/storage/make-blobs +SHEBANG_LANG= hhvm +hhvm_OLD_CMD= /usr/bin/hhvm +hhvm_CMD= ${LOCALBASE}/bin/hhvm # not installed by anything yet +USE_PHP= ctype dom fileinfo filter iconv intl mbstring \ + readline session xml xmlreader zlib +MEDIAWIKIDIR?= www/mediawiki + +NO_BUILD= yes +PLIST= ${WRKDIR}/plist + +SUB_FILES= pkg-message +SUB_LIST= MEDIAWIKIDIR=${PREFIX}/${MEDIAWIKIDIR} + +OPTIONS_DEFINE= LDAP MEMCACHED IMAGICK SOCKETS +OPTIONS_SINGLE= DB +OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE +OPTIONS_DEFAULT= MYSQL SOCKETS + +MEMCACHED_DESC= Use memcached +IMAGICK_DESC= Use ImageMagick +SOCKETS_DESC= Use sockets + +MYSQL_USES= mysql +MYSQL_USE= php=mysqli +PGSQL_USE= php=pgsql +SQLITE_USE= php=sqlite3 +LDAP_USE= php=ldap +SOCKETS_USE= php=sockets + +MEMCACHED_RUN_DEPENDS= memcached:databases/memcached +IMAGICK_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:graphics/pecl-imagick@${PHP_FLAVOR} + +pre-install: + @${FIND} -s -d ${WRKSRC} -not -type d | ${SED} "s?${WRKSRC}?${MEDIAWIKIDIR}?g" >>${PLIST} + @${ECHO} "@dir %%WWWDIR%%/cache" >> ${PLIST} + @${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST} + @${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST} + @${ECHO} "@mode 0755" >> ${PLIST} + @${ECHO} "@dir %%WWWDIR%%/images" >> ${PLIST} + @${ECHO} "@mode" >> ${PLIST} + @${ECHO_CMD} "@owner" >> ${PLIST} + @${ECHO_CMD} "@group" >> ${PLIST} + @${ECHO} @dir ${MEDIAWIKIDIR} >> ${PLIST} + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/${MEDIAWIKIDIR} + @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${MEDIAWIKIDIR} + +.include diff --git a/www/mediawiki140/distinfo b/www/mediawiki140/distinfo new file mode 100644 index 000000000000..218efd2ec230 --- /dev/null +++ b/www/mediawiki140/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1688215702 +SHA256 (mediawiki-1.40.0.tar.gz) = e9c4877718698f082d8096d8a9d16cd9aeb21ee1982a3d8b4603af7cfd158ad4 +SIZE (mediawiki-1.40.0.tar.gz) = 65441100 diff --git a/www/mediawiki140/files/pkg-message.in b/www/mediawiki140/files/pkg-message.in new file mode 100644 index 000000000000..b05e89945b5f --- /dev/null +++ b/www/mediawiki140/files/pkg-message.in @@ -0,0 +1,15 @@ +[ +{ type: install + message: <