From nobody Fri Dec 2 14:02:25 2022 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 4NNvlP2Wzzz4jXJx; Fri, 2 Dec 2022 14:02:25 +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 4NNvlP25MZz3Jkc; Fri, 2 Dec 2022 14:02:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669989745; 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=tEgjiC3Rfv1I/dk0r05yCzSM8qgFMHYKP8zjbLzf0MQ=; b=piqlksEXfpqfBCjKuqOfa9nz4WSWeCvZHiafFiESJ0WRCXwyd8Oa+z1BQJmiZgDjUcQ4Np tMSBFc35lZnEz/wm7WebQYRlqo29xxVfnk2BcmFQhnxyCZFK3Y1OYtZfspubfvBf+/fy/n TWwKhjh7B5A+669ZKqZs23t1cgnn4QzrnNveFyyZ1nKAp6oYRGcC4+/KYp4433Xyq9jJ6Q c04Ly0P074cBKkeJ6Cf+x8IW0Ibsisj8cF82Y0azbGBWQ16eKS3t/vQSZiGsmYMQuBztlu iHfwL2ie9VN0EKvvTQmeikEGwlGpJ5Gr+Jx0EuN7PZnMGtGl0aD7VyxnLU7scg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669989745; 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=tEgjiC3Rfv1I/dk0r05yCzSM8qgFMHYKP8zjbLzf0MQ=; b=xVZvzopczWovRow+PMakf2FUw+m1Czn+aHZkRg058HJ7zpd0wJTs8ZHlGfUbvP5DyxcnmZ nl3GdbrMxSxUb8Vj2AAur/fbmVriXKIYqljGd5gwp0LbDJCv/FJAF8z0VauW0kXMBVw8HX /R+eChzdPCcaiZB1ycFQ7MWsFmhJpPVe0XR7H45ClV9AXyFSCs7oiNfzvjcrppgukWTe/i dfun8LeTX8QqEujA/0BAt4PbiflQI7Mv5785bwZ8Ez0Pna5O8QPghtOmdkR5WKNXyMFwfG IfaLvk1NfyTnDgQVuXIvTdIq9s3RQ6pf2sHroJC8L0mSKxe3clMv0fCaBe3SUg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669989745; a=rsa-sha256; cv=none; b=jEDiSFseWE/XgNR/LZdS7OhiL6B4QwgzWt6PNRUhuH/qHrPeYtUY8rPPlancgqmoturaPu /n6PJT+38/DB2QhvZmw2yqNt4DNJ72fcBtCLfXVPK5vDlKpJ9dPOcZQKno8FjqjcG55qlv aukIWslI+lsxUKIrL9di3RGNiK82rKopvA2nZGl54B38C3EGoLdWJoiwUfP0UVT8CekQ4L jalVurm15ycRCfvDAjmhc76kjrLaRrbijP/GDjqsYHTH0VUWXuMWbA3veiwMehq/VCMkNq MiZ2jwYzIp5LyTjss+Ts4kSMvfWNaaBpMsRQmsS7kefbjbvRnVYqTQbro3IENQ== 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 4NNvlP19MhzJp9; Fri, 2 Dec 2022 14:02:25 +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 2B2E2PKU094081; Fri, 2 Dec 2022 14:02:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2B2E2PdO094080; Fri, 2 Dec 2022 14:02:25 GMT (envelope-from git) Date: Fri, 2 Dec 2022 14:02:25 GMT Message-Id: <202212021402.2B2E2PdO094080@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: adf5f6993fb3 - main - www/mediawiki139: New port, copied from www/mediawiki138 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: adf5f6993fb31f91c1af68d1757e46afa6d3c1e3 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by wen: URL: https://cgit.FreeBSD.org/ports/commit/?id=adf5f6993fb31f91c1af68d1757e46afa6d3c1e3 commit adf5f6993fb31f91c1af68d1757e46afa6d3c1e3 Author: Wen Heping AuthorDate: 2022-12-02 14:01:12 +0000 Commit: Wen Heping CommitDate: 2022-12-02 14:01:12 +0000 www/mediawiki139: New port, copied from www/mediawiki138 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/mediawiki139/Makefile | 66 +++++++++++++++++++++++++++++++++++ www/mediawiki139/distinfo | 3 ++ www/mediawiki139/files/pkg-message.in | 15 ++++++++ www/mediawiki139/pkg-descr | 4 +++ 5 files changed, 89 insertions(+) diff --git a/www/Makefile b/www/Makefile index 3e5819437b06..a1b54dab879e 100644 --- a/www/Makefile +++ b/www/Makefile @@ -329,6 +329,7 @@ SUBDIR += mediawiki135 SUBDIR += mediawiki137 SUBDIR += mediawiki138 + SUBDIR += mediawiki139 SUBDIR += mergelog SUBDIR += mhonarc SUBDIR += micro_httpd diff --git a/www/mediawiki139/Makefile b/www/mediawiki139/Makefile new file mode 100644 index 000000000000..fa9838500897 --- /dev/null +++ b/www/mediawiki139/Makefile @@ -0,0 +1,66 @@ +PORTNAME= mediawiki +PORTVERSION= 1.39.0 +CATEGORIES= www +MASTER_SITES= https://releases.wikimedia.org/mediawiki/${PORTVERSION:R}/ +PKGNAMESUFFIX= 138${PHP_PKGNAMESUFFIX} + +MAINTAINER= wen@FreeBSD.org +COMMENT= Wiki engine used by Wikipedia +WWW= https://www.mediawiki.org/ + +LICENSE= GPLv2 + +CONFLICTS= mediawiki13[5-8] + +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 hash iconv intl json mbstring openssl \ + pcre 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/mediawiki139/distinfo b/www/mediawiki139/distinfo new file mode 100644 index 000000000000..9eadfa3540d0 --- /dev/null +++ b/www/mediawiki139/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1669987031 +SHA256 (mediawiki-1.39.0.tar.gz) = 5ffe7815e00ecf9190d1c401b0185588e8e73c27688ee32697a6cfceb17a9388 +SIZE (mediawiki-1.39.0.tar.gz) = 55728839 diff --git a/www/mediawiki139/files/pkg-message.in b/www/mediawiki139/files/pkg-message.in new file mode 100644 index 000000000000..b05e89945b5f --- /dev/null +++ b/www/mediawiki139/files/pkg-message.in @@ -0,0 +1,15 @@ +[ +{ type: install + message: <