From nobody Tue Nov 30 11:50:30 2021 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 7239918B26DD; Tue, 30 Nov 2021 11:50:31 +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 4J3LBb0S8nz4cQD; Tue, 30 Nov 2021 11:50:31 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 DDB7115C77; Tue, 30 Nov 2021 11:50:30 +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 1AUBoUNK075829; Tue, 30 Nov 2021 11:50:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AUBoU0w075828; Tue, 30 Nov 2021 11:50:30 GMT (envelope-from git) Date: Tue, 30 Nov 2021 11:50:30 GMT Message-Id: <202111301150.1AUBoU0w075828@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: c7f3f27eee83 - main - www/mediawiki137: Add new port, repocopied from www/mediawiki136 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: c7f3f27eee83eacd904edda79fbac90eca0a8ae2 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638273031; 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=N8MUM4md0W2ZYh6AeIWek1M/uSKKnGDtFsiq/wB5+Bo=; b=G/TiRwuvI2yKKIKMg3EzEZixSqS7I3fztadYW6BskX667icF8r7xYAj8ODS9//db+kA64t MMsICGbG0uDTEujiB2DPtbuq4QqrzOtrQHoaRn4JZqiQK74bIlIjZkNO3jjIPT7eauZlyS 7CYrYEPqTFrRh2vhF1l/69IpReh2flHHP1/v2K/MzFu7VmwjaXBPyEoJHcKh/RChTpEE9m ppYtzD5eoVYCW8hG8NpUdTymzhlkjGg0BbDlLG5dDFLzghugGUfw/QcRM7rj4TR6yU17cn 5GYcOwFZzo681ZyhO8Xu7k0qk5uAhJqaAweSmysMhYe9ZAHvwjNQkC2fI5wt6w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638273031; a=rsa-sha256; cv=none; b=SkBd5ggBl+85NHNIkpfdC3JiIt3//3Lej5nFc4F3ILG+NixhXkJhNqWedX9FIpdtuqu6Dl v+IUhClemAddV0mxJJWncmoTLR92FZ2KlbOHSP6+VPmfJTKYRuJSiZOWEE3n8szK1O06mv KI4rw3IrdiAm9gSiUX71APqUsfS9OUXqHJ4Jm8JOm2RecZAoAgtFF3DbiQJvHqiHQnAW9L E8hcevBqVhVSI+V23oZKJMnk81DEaDRJjpB45uOeGs17M8ihLN4CaZfABL4MV31UpwcCs/ M5S5pvxXuT1HfzbLnb+AGfg5zcxR9aeVbzl9MEhTlQHC4qiejwTfgMj2tryBgg== 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=c7f3f27eee83eacd904edda79fbac90eca0a8ae2 commit c7f3f27eee83eacd904edda79fbac90eca0a8ae2 Author: Wen Heping AuthorDate: 2021-11-30 11:46:12 +0000 Commit: Wen Heping CommitDate: 2021-11-30 11:46:12 +0000 www/mediawiki137: Add new port, repocopied from www/mediawiki136 --- www/mediawiki137/Makefile | 67 +++++++++++++++++++++++++++++++++++ www/mediawiki137/distinfo | 3 ++ www/mediawiki137/files/pkg-message.in | 15 ++++++++ www/mediawiki137/pkg-descr | 6 ++++ 4 files changed, 91 insertions(+) diff --git a/www/mediawiki137/Makefile b/www/mediawiki137/Makefile new file mode 100644 index 000000000000..090e3382f1ae --- /dev/null +++ b/www/mediawiki137/Makefile @@ -0,0 +1,67 @@ +# Created by: Gerrit Beine + +PORTNAME= mediawiki +PORTVERSION= 1.37.0 +CATEGORIES= www +MASTER_SITES= http://releases.wikimedia.org/mediawiki/${PORTVERSION:R}/ +PKGNAMESUFFIX= 136${PHP_PKGNAMESUFFIX} + +MAINTAINER= wen@FreeBSD.org +COMMENT= Wiki engine used by Wikipedia + +LICENSE= GPLv2 + +CONFLICTS= mediawiki13[1-6] + +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/mediawiki137/distinfo b/www/mediawiki137/distinfo new file mode 100644 index 000000000000..e1b8ec682287 --- /dev/null +++ b/www/mediawiki137/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1638236740 +SHA256 (mediawiki-1.37.0.tar.gz) = dd1ad227c5bbbc833d851c01727ee8706a39e4aa31e0f49ce45e50257ef9b97f +SIZE (mediawiki-1.37.0.tar.gz) = 50757145 diff --git a/www/mediawiki137/files/pkg-message.in b/www/mediawiki137/files/pkg-message.in new file mode 100644 index 000000000000..b05e89945b5f --- /dev/null +++ b/www/mediawiki137/files/pkg-message.in @@ -0,0 +1,15 @@ +[ +{ type: install + message: <