From nobody Sat Jun 04 13:29:48 2022 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 BCCED1BDE903; Sat, 4 Jun 2022 13:29:49 +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 4LFgbK3bBFz3Bld; Sat, 4 Jun 2022 13:29:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654349389; 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=ABf4f48ANwE/nY+JT/ncqDK8X7IblmdaNjsRDTv3HKg=; b=KpFgjUo8q68sZKS6ewubFIWjfWUr7BSmtG/MDISK9BKOCBhNicBfOqDkSdJi4ykQ6b1A8c NU3q8NDVI0eMV7an+Lwj2yhrhno4GaaNAmD6qo23IH40XMSfHrnx67bI+XbOn0/XvacjB9 +S+i4Me2/YoIcEdWvAPJQEoob0LdfsMIUyxhSJVxYEgUqYnSoDk6Bi9AwyVv75ZNP38ngk LI/v3LtSrE2GHJw4YlGCgbflvyW3CQu0ReDHSgIJgxbkZGDcONY862H91vMtcPjVubupKr WqYepskjdpI7HXpXFf6errn6SQhwI4sh5J3F9Hy9+2XWj7xwWxUi2kcy/loKdA== 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 195D71E75E; Sat, 4 Jun 2022 13:29:48 +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 254DTmUP007289; Sat, 4 Jun 2022 13:29:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 254DTmL7007288; Sat, 4 Jun 2022 13:29:48 GMT (envelope-from git) Date: Sat, 4 Jun 2022 13:29:48 GMT Message-Id: <202206041329.254DTmL7007288@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: 6633804ed400 - main - www/mediawiki138: Add new port 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: 6633804ed400e07645217fb706c39204114abaa6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654349389; 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=ABf4f48ANwE/nY+JT/ncqDK8X7IblmdaNjsRDTv3HKg=; b=dXchhZK3s5xD9YjPG0/yqWSN5B65FJj4zOhke/EKZmyNvk4e6IJm0/mrUm6TM0JyjteeNP 6EnuohTnDsa263GWmnmOMbSSevMaeNwIVnskejQK1XISVgvlEwDv0TzTXMiw4FGsHMHgI0 wKnWb+0ptYe0BOtF0PyeVmOUknTI52gxq71r/N9y7RrN4gMsJTXxwbYib6saTq5Q/qZCWp o+7WrcfGnsuxP3rl/YCDI4JufLlXFX40Yymju4dhGo+EtkhCiBkt806Ye9Q0hRDnqvU80l 882Tmcuuj8xbHY3g69eZN2L6XZzD+lk2oQQq0yfolsFxXP7MWReTE4fp8vt83g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654349389; a=rsa-sha256; cv=none; b=UkITezG5PKFL2gxYh6Uatlw2k5kBWddYLr0Di2dwbNMQfDIJyI2WlzZgXlOtikLAYd7YJR J0bfWwa7q7Iru6SEaU006hW7A60TSriJOxF/qQ4kpnVxgCnATLozHK/G4NbPDQSlgr2pFH g5ESSFiPCFD6Sp9SciXj4VL14EpjCnJ+RkE8DBVGzZK6LeoOEQPlzc5qQudKZ7Ukw0JmIx 8Y6kEUaI7WxoW6SeYEmgyktkcwgm/1y5hDPZ4gQZ8ouw78Rcs/t8eq08/UY+wo1lsBYFaZ UJpuP9G8yPS/g4BPaFORJfYDXY8++sSYZWzBMHt6Foy38rk3IyZ81qtfavv5ow== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by wen: URL: https://cgit.FreeBSD.org/ports/commit/?id=6633804ed400e07645217fb706c39204114abaa6 commit 6633804ed400e07645217fb706c39204114abaa6 Author: Wen Heping AuthorDate: 2022-06-04 08:44:50 +0000 Commit: Wen Heping CommitDate: 2022-06-04 08:44:50 +0000 www/mediawiki138: Add new port 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: http://www.mediawiki.org/ --- www/Makefile | 1 + www/mediawiki138/Makefile | 67 +++++++++++++++++++++++++++++++++++ www/mediawiki138/distinfo | 3 ++ www/mediawiki138/files/pkg-message.in | 15 ++++++++ www/mediawiki138/pkg-descr | 6 ++++ 5 files changed, 92 insertions(+) diff --git a/www/Makefile b/www/Makefile index 35f93b97e2ba..32b809de1847 100644 --- a/www/Makefile +++ b/www/Makefile @@ -344,6 +344,7 @@ SUBDIR += mediawiki135 SUBDIR += mediawiki136 SUBDIR += mediawiki137 + SUBDIR += mediawiki138 SUBDIR += mergelog SUBDIR += mhonarc SUBDIR += micro_httpd diff --git a/www/mediawiki138/Makefile b/www/mediawiki138/Makefile new file mode 100644 index 000000000000..fddefbd0778d --- /dev/null +++ b/www/mediawiki138/Makefile @@ -0,0 +1,67 @@ +# Created by: Gerrit Beine + +PORTNAME= mediawiki +PORTVERSION= 1.38.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 + +LICENSE= GPLv2 + +CONFLICTS= mediawiki13[5-7] + +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/mediawiki138/distinfo b/www/mediawiki138/distinfo new file mode 100644 index 000000000000..466fcbb01746 --- /dev/null +++ b/www/mediawiki138/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1654322045 +SHA256 (mediawiki-1.38.0.tar.gz) = fc2c0e74282c1e10b75b2ee1aad69422440adbaf7fdc9ef071a3f24089c80c97 +SIZE (mediawiki-1.38.0.tar.gz) = 54844856 diff --git a/www/mediawiki138/files/pkg-message.in b/www/mediawiki138/files/pkg-message.in new file mode 100644 index 000000000000..b05e89945b5f --- /dev/null +++ b/www/mediawiki138/files/pkg-message.in @@ -0,0 +1,15 @@ +[ +{ type: install + message: <