From nobody Wed Dec 27 15:13:18 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 4T0ZsB6rcCz55nPM; Wed, 27 Dec 2023 15:13:18 +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 4T0ZsB570Rz3HTD; Wed, 27 Dec 2023 15:13:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703689998; 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=hWg23vi4fNee8UqKCP72dO4RGrnWNsGJxG2+uXMrtkQ=; b=Jb7a9mMdCppBHuv7GOTnPhAQwYI9J8EuODJQxQsBw+UldFp3MoH9QsU71Dv/RajqphIJJi LGbCgJ95+uARN2veV/PeOChEftT97aDEKAYSjTDabYUDCaIUSjMv/VgJiziXw0J9xQTVQV JGrUZCmZdQ7yBUCBN2Bq0+XMGCORH8yogZWcJUwBzhbjBnQjAWCTARxix6vHiBCCFNUjq6 csOLO23n7d3b3wk38xunUlI1D7bwD8uuDlAYRwVvmC3jw7CoL81v9/OQOqGpqrS28tvawp KG6mRZaxegA9cjdei/IYw2QjvaT0NKdnEH3VmoyVbhZJkz9Elh+mAJga/Ys3rA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703689998; a=rsa-sha256; cv=none; b=eSCB6pIsi2EjexQgAuO3fhCR0+Bs35530L1c7ZNT1JmV6Pabk3F9pQN3Eu6kmXqLAVaQL2 wkhAZUj14Mfd0Lx/TyahZq6G2vj2UJoRe2vGygTXZMBewcqZQNT7xD81sRCQGao6k87IH7 3jNMhvQUyCDDJi+J71T7LpCSigDYteuO29TEWp4bV3rqEHPOxhcEH455T6/1ZW23nPS9zK f0hAjp/ySgsjTMuMEyjsvab8npZop/L7ekAoiWAVivoz/HXjuS8cXh4x8fLg/7I+9I5I30 OdHo+7LzJylrWjbHyCdoQ8MQKy9L3BfSUHKi+nTlN0MXuNnTlRDiJ9M1DBgBuA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703689998; 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=hWg23vi4fNee8UqKCP72dO4RGrnWNsGJxG2+uXMrtkQ=; b=w9vfs/KUrMOgXiTTAuhAmQhOK6nr5SZbSP2xYUn2okU2wCp3xazkjBV8WCfcjOPsewQoZR JHiH0LMCAndj6SwW+hjpI0MS3jWSZBnyeNwLm9wrYFhuiS4f+c6aP/xRTzdF921LHJQpFx hUUobnIRcXwpP5/aG8w+5F2+V/TeeeU8Vk6DiP/8qx3lFDKqb2TfSlRftAbnMhZiZniApJ /LkVwAq1WVK+/d+8Osb9ivGl0/fDDTxV3/w3JS/KbUqpPiKNayM1DhI4G7E+YdKvRq/zX0 GN+jej0B7JB8CEVh6Dc6/qJKL3HsbI3t8xlS6Em8DDQdYQt4sEjkP19TPyWlvg== 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 4T0ZsB4F2KzkRN; Wed, 27 Dec 2023 15:13:18 +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 3BRFDIXG047186; Wed, 27 Dec 2023 15:13:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BRFDIlj047183; Wed, 27 Dec 2023 15:13:18 GMT (envelope-from git) Date: Wed, 27 Dec 2023 15:13:18 GMT Message-Id: <202312271513.3BRFDIlj047183@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: 183809190723 - main - www/mediawiki141: New port, copied from www/mediawiki140 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: wen X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 183809190723b9b1b6cc88cd72a732c29730d38a Auto-Submitted: auto-generated The branch main has been updated by wen: URL: https://cgit.FreeBSD.org/ports/commit/?id=183809190723b9b1b6cc88cd72a732c29730d38a commit 183809190723b9b1b6cc88cd72a732c29730d38a Author: Wen Heping AuthorDate: 2023-12-27 15:11:36 +0000 Commit: Wen Heping CommitDate: 2023-12-27 15:12:51 +0000 www/mediawiki141: New port, copied from www/mediawiki140 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/mediawiki141/Makefile | 66 +++++++++++++++++++++++++++++++++++ www/mediawiki141/distinfo | 3 ++ www/mediawiki141/files/pkg-message.in | 15 ++++++++ www/mediawiki141/pkg-descr | 4 +++ 5 files changed, 89 insertions(+) diff --git a/www/Makefile b/www/Makefile index 165f459e18b4..cef2e99ca51d 100644 --- a/www/Makefile +++ b/www/Makefile @@ -352,6 +352,7 @@ SUBDIR += mediawiki135 SUBDIR += mediawiki139 SUBDIR += mediawiki140 + SUBDIR += mediawiki141 SUBDIR += mergelog SUBDIR += mhonarc SUBDIR += micro_httpd diff --git a/www/mediawiki141/Makefile b/www/mediawiki141/Makefile new file mode 100644 index 000000000000..8cd2263e0973 --- /dev/null +++ b/www/mediawiki141/Makefile @@ -0,0 +1,66 @@ +PORTNAME= mediawiki +PORTVERSION= 1.41.0 +CATEGORIES= www +MASTER_SITES= https://releases.wikimedia.org/mediawiki/${PORTVERSION:R}/ +PKGNAMESUFFIX= 141${PHP_PKGNAMESUFFIX} + +MAINTAINER= wen@FreeBSD.org +COMMENT= Wiki engine used by Wikipedia +WWW= https://www.mediawiki.org/ + +LICENSE= GPLv2 + +CONFLICTS= mediawiki13[5-9] mediawiki140 + +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/mediawiki141/distinfo b/www/mediawiki141/distinfo new file mode 100644 index 000000000000..f62e9be5204c --- /dev/null +++ b/www/mediawiki141/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1703689627 +SHA256 (mediawiki-1.41.0.tar.gz) = f3842b72aa7a25888f1ec632323dd890417739a120d951c485f850e0cccb421b +SIZE (mediawiki-1.41.0.tar.gz) = 115573782 diff --git a/www/mediawiki141/files/pkg-message.in b/www/mediawiki141/files/pkg-message.in new file mode 100644 index 000000000000..b05e89945b5f --- /dev/null +++ b/www/mediawiki141/files/pkg-message.in @@ -0,0 +1,15 @@ +[ +{ type: install + message: <