From nobody Sat Mar 11 12:48:36 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 4PYjQX5yWBz3xcKs; Sat, 11 Mar 2023 12:48:36 +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 4PYjQX5f2lz4LxR; Sat, 11 Mar 2023 12:48:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678538916; 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=yWNvuwx0ffqzvUVyjK30v1k+ocjun48d4EhcgsQYRMg=; b=noQ2ek9Xak+WWHNWuHHvcvmjlRg6oUPa7YWFn0B7bXzzqXe8t+Q65jAbsiLovFx21jt0jn sVwOY+CqxIH2f3NR7zrD1WgA5nkEd01nr/yP1pIwHxn/+4XcpoQMrIcwFxACw8teNqRiW7 4yZJW7+nOBqGT4J18UduECE0+xAhgRN9NsmhfkvVFn55YmvLl1Y9c5ZcK+rJpG1th8cvVp YLItVqnA/znQMvq149sKtwvnEW70WBj2xlBBQ6cuCuIeao8Kza4GY7t9PIv1IBK2BxImqK ia+GGqY4zBLesSdMfoKtvohBQGSirAtDyQ1Mm87yvvWLHG8vrUSCli4DANRjjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678538916; 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=yWNvuwx0ffqzvUVyjK30v1k+ocjun48d4EhcgsQYRMg=; b=tu9PXbHcW4ZgRxM+r3oQFCtaTiljgLv7I9WqotdFiilDE0vz67P6BVE2+SVeSa/xeFSaP4 uqaf1O2rt9uvVVcXuyof3el4PRI5GQAdJ73xH4y4XNCCSDtptE9kEfFsJVyGusJ6ofGcgI LLEYmfBUBDnAf8ObkUgfrVledmaYPMYID/Qe/IEadfA/cAKmwqYaqEWjrMtpSolLxINrxE RNepNXVbuyrsa8bgn/Bz7ByRsihMFSMwDwStgefWaG3Uflijg8Af6kQTgGSql0tZaVQe3g BTRmizbmI78ljvHB4/P5qFyFXdV5j5Hbs0bHStIUYdjvLls0jjbOeabnuEepWA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678538916; a=rsa-sha256; cv=none; b=Mx7YXVtu5NejKeuHKPnZMBTqOnKd1mDtJjiIq7oVyIOw3GfmqFyptVGk9g9zovvSaeIETZ a2/yuPPly9MO4kWLL5j+QuOXGmC4XNO4FrqnvA3wQVuZyPN/Wxrhbq8V8Ag1m7hq5tpeoN 1TL+vSpP2N5dvtdPxijOyFH+7E2HAWh9vhL+KXUIle9aqaG7DxNPifOL9R02NrIqLvWWsL HT00xfn1R1366PY30NxVRCq3OyoeyluqpEqnwlz6nkxKVPN7bnh3yRHomWPOh46zXoddzY nKcXYBLG/AWyDOpUAFFIPiAc6q3mcAdq2qpOz/i2wkd+kKq7hXJMvEx5UJtfRQ== 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 4PYjQX4fmMzW22; Sat, 11 Mar 2023 12:48:36 +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 32BCmaf0092728; Sat, 11 Mar 2023 12:48:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32BCmaCi092727; Sat, 11 Mar 2023 12:48:36 GMT (envelope-from git) Date: Sat, 11 Mar 2023 12:48:36 GMT Message-Id: <202303111248.32BCmaCi092727@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Juraj Lutter Subject: git: 30dbed028d2b - main - www/squid-langpack: 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: otis X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 30dbed028d2b571c1afb38dd00158452467b0d60 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by otis: URL: https://cgit.FreeBSD.org/ports/commit/?id=30dbed028d2b571c1afb38dd00158452467b0d60 commit 30dbed028d2b571c1afb38dd00158452467b0d60 Author: Juraj Lutter AuthorDate: 2023-03-11 12:16:00 +0000 Commit: Juraj Lutter CommitDate: 2023-03-11 12:48:17 +0000 www/squid-langpack: Add new port This port contains localized error documents for squid web cache as the translations are not a part of squid. --- www/Makefile | 1 + www/squid-langpack/Makefile | 52 + www/squid-langpack/distinfo | 3 + www/squid-langpack/files/pkg-message.in | 13 + www/squid-langpack/pkg-descr | 4 + www/squid-langpack/pkg-plist | 1978 +++++++++++++++++++++++++++++++ 6 files changed, 2051 insertions(+) diff --git a/www/Makefile b/www/Makefile index 8edba62f495b..b88fece28aca 100644 --- a/www/Makefile +++ b/www/Makefile @@ -2258,6 +2258,7 @@ SUBDIR += sqstat SUBDIR += squid SUBDIR += squid-devel + SUBDIR += squid-langpack SUBDIR += squid_radius_auth SUBDIR += squidanalyzer SUBDIR += squidclamav diff --git a/www/squid-langpack/Makefile b/www/squid-langpack/Makefile new file mode 100644 index 000000000000..88b7fd6fafbe --- /dev/null +++ b/www/squid-langpack/Makefile @@ -0,0 +1,52 @@ +PORTNAME= squid-langpack +DISTVERSION= 7.0.0-${SLP_DATE} +CATEGORIES= www +MASTER_SITES= http://www.squid-cache.org/Versions/langpack/ +DISTNAME= ${PORTNAME}-${SLP_DATE} + +MAINTAINER= otis@FreeBSD.org +COMMENT= Language-specific error documents for Squid web cache +WWW= http://www.squid-cache.org/Versions/langpack + +LICENSE= GPLv2 + +NO_ARCH= yes +NO_BUILD= yes + +SUB_FILES= pkg-message + +PORTDOCS= COPYRIGHT TRANSLATORS +PORTEXAMPLES= alias-link.sh alias-upgrade aliases templates + +OPTIONS_DEFINE= DOCS EXAMPLES +OPTIONS_DEFAULT= DOCS EXAMPLES + +# On updating the port, set this variable to the date requested +SLP_DATE= 20230225 +SLP_LANGS= af ar az bg ca cs da de el en es es-mx et fa fi fr he hu hy id \ + it ja ka ko lt lv ms nl oc pl pt pt-br ro ru sk sl sr-cyrl \ + sr-latn sv th tr uk uz vi zh-hans zh-hant + +do-extract: + ${MKDIR} ${WRKSRC} + ${TAR} xzf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} -C ${WRKSRC} + +do-install: + ${MKDIR} ${STAGEDIR}${DATADIR} +.for lang in ${SLP_LANGS} + (cd ${WRKSRC} && ${COPYTREE_SHARE} ${lang} ${STAGEDIR}${DATADIR}) +.endfor + +do-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} +.for doc in ${PORTDOCS} + (cd ${WRKSRC} && ${COPYTREE_SHARE} ${doc} ${STAGEDIR}${DOCSDIR}) +.endfor + +do-install-EXAMPLES-on: + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} +.for example in ${PORTEXAMPLES} + (cd ${WRKSRC} && ${COPYTREE_SHARE} ${example} ${STAGEDIR}${EXAMPLESDIR}) +.endfor + +.include diff --git a/www/squid-langpack/distinfo b/www/squid-langpack/distinfo new file mode 100644 index 000000000000..68f847f60414 --- /dev/null +++ b/www/squid-langpack/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1678524208 +SHA256 (squid-langpack-20230225.tar.gz) = 1532b796f20a65b9f4e7040306172477f7bbaacfce3c5f402fe1a5f9464b92be +SIZE (squid-langpack-20230225.tar.gz) = 371642 diff --git a/www/squid-langpack/files/pkg-message.in b/www/squid-langpack/files/pkg-message.in new file mode 100644 index 000000000000..4c9e339d3341 --- /dev/null +++ b/www/squid-langpack/files/pkg-message.in @@ -0,0 +1,13 @@ +[ +{ type: install + message: <