From nobody Thu Jun 16 14:05:22 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 61C9D846FFA; Thu, 16 Jun 2022 14:05:24 +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 4LP3pr0P71z3G8Z; Thu, 16 Jun 2022 14:05:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655388324; 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=h4QEbgKOqwem87OITQh29vs3QJbPu0w9MUpP6n6Rv0Q=; b=mSmQnluSid1mWjcfsrs4xjViN/fp/zPo467cQJ/01ecarrq0D3vVUoeChRN9ULAeOZt8zM oDRuNcAZulflthwGpuQzU48XZtLDMnPhgyJGn+Mr93CGGx7qf0r+nm7GILJ8CD6koAhyQ5 VbIRW2mnLREdXBNR24Zl/lXiiydZsfBMnamZaBD+12bduBRhOOkbnnnXdEH/O/NrObq/2F WKFTky0caLxAkA/EwA6T6JzS664FArr/Jp+Zsi7W6OGXGTqnBgYpvbwqX5dVFOqhQJVn60 O3GLh+72ny7I8hMjerRnL38M2IG7MuCoQn4c4w61MNPx874adhhVhTvuW36hhg== 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 BB84445E0; Thu, 16 Jun 2022 14:05:22 +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 25GE5MIe012668; Thu, 16 Jun 2022 14:05:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25GE5M4H012667; Thu, 16 Jun 2022 14:05:22 GMT (envelope-from git) Date: Thu, 16 Jun 2022 14:05:22 GMT Message-Id: <202206161405.25GE5M4H012667@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: d6a8a2919375 - main - sysutils/colorize: Remove Perl core module 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d6a8a29193758b68f9c93bf25564ccfe22ec921c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655388324; 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=h4QEbgKOqwem87OITQh29vs3QJbPu0w9MUpP6n6Rv0Q=; b=w9Plkcpsoxu46EeW/XsX/bn+Sis1CK/JbRY5UHTR9jOxViZXnakt8IitK8EV4LUb18AM0E 6Z7UixZxRWHF+28tWh41KiDVSqVm44aY9q/OECZxQm7S/oZHgneBcQgki+HqQ7tsKXnu3z eMrHUmpuQDy6Hy48DZVSKYr2zeDIv3Y/PCTLiz00k18U/R4skkFbXwrIubyZihbxD0qeXd nYivmriNYQ7btdTmmO3SUhWi10rcZvSuCyOUnlCmr4OtO5erDYMf2v23fB9STxYmw7sj3u K6c/BQViqE7k4pj0EXxAZbQC7zOEBDT9kAACZgOY/NlJij4Q/f/XKbwYx8mWkw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655388324; a=rsa-sha256; cv=none; b=qUB2ANtBVSpncBYLHtTs3ctEp59g/x//dwParE0/96anq4bCF+zADp3cWa2dxrk7hkHBYl rJwW/DEuHKXSSusD9rO5IjOdq42I94LSzihQPcsFv71+M3Xzu0+8UYrQxnYhwX8s7+PXUd Q/TIY6cV533hX8bF+Rw33hgsAeWQ2egbMmaeIoXj3N12Hx/fFUm9IgdOpl1cY3vtjp+jFj OHqxTrvc6Vik4ohNAM83+peFmJVOEi0guJwEl4ycUpfd0SMFUF/QUFCn4Xo9Rhnpqm3TvJ x1WOLdW3BSC62eczwQfEDAE/Q7NTOcjkUG6csPDFHWeKRzy4qEBZPQNmBvqXKA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=d6a8a29193758b68f9c93bf25564ccfe22ec921c commit d6a8a29193758b68f9c93bf25564ccfe22ec921c Author: Po-Chuan Hsieh AuthorDate: 2022-06-16 13:59:15 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-06-16 13:59:15 +0000 sysutils/colorize: Remove Perl core module - Fix LICENSE - Convert REINPLACE_CMD to patch file - Do not silence installation message - Update manpage location (003a571d1d6585196545295efc181514f171c4c4, r523104) - Bump PORTREVISION for dependency and package change - Take maintainership --- sysutils/colorize/Makefile | 24 ++++++++++++------------ sysutils/colorize/files/patch-colorize | 11 +++++++++++ sysutils/colorize/pkg-descr | 2 +- sysutils/colorize/pkg-plist | 2 +- 4 files changed, 25 insertions(+), 14 deletions(-) diff --git a/sysutils/colorize/Makefile b/sysutils/colorize/Makefile index 731353f1896a..c3fba2f55eb7 100644 --- a/sysutils/colorize/Makefile +++ b/sysutils/colorize/Makefile @@ -3,31 +3,31 @@ PORTNAME= colorize PORTVERSION= 0.3.4 DISTVERSIONPREFIX= v -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Robust log colorizer -LICENSE= GPLv2 +LICENSE= GPLv2+ -RUN_DEPENDS= p5-Term-ANSIColor>=0:devel/p5-Term-ANSIColor +USES= shebangfix perl5 + +NO_BUILD= yes + +SUB_FILES= pkg-message USE_GITHUB= yes GH_ACCOUNT= raszi -NO_BUILD= yes -SUB_FILES= pkg-message -USES= shebangfix perl5 SHEBANG_FILES= colorize post-patch: - @${REINPLACE_CMD} -i '' -e 's|/etc/colorizerc|${PREFIX}/etc/colorizerc|' \ - ${WRKSRC}/colorize + @${REINPLACE_CMD} -e 's|%%PREFFIX%%|${PREFIX}|' ${WRKSRC}/colorize do-install: - @${INSTALL_SCRIPT} ${WRKSRC}/colorize ${STAGEDIR}${PREFIX}/bin - @${INSTALL_DATA} ${WRKSRC}/colorizerc ${STAGEDIR}${PREFIX}/etc/colorizerc.sample - @${INSTALL_MAN} ${WRKSRC}/colorize.1.gz ${STAGEDIR}${MAN1PREFIX}/man/man1 + ${INSTALL_SCRIPT} ${WRKSRC}/colorize ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/colorizerc ${STAGEDIR}${PREFIX}/etc/colorizerc.sample + ${INSTALL_MAN} ${WRKSRC}/colorize.1.gz ${STAGEDIR}${PREFIX}/share/man/man1 .include diff --git a/sysutils/colorize/files/patch-colorize b/sysutils/colorize/files/patch-colorize new file mode 100644 index 000000000000..98d998e31999 --- /dev/null +++ b/sysutils/colorize/files/patch-colorize @@ -0,0 +1,11 @@ +--- colorize.orig 2004-01-10 15:40:50 UTC ++++ colorize +@@ -68,7 +68,7 @@ $default_output = "STDOUT"; + $default_color = "white"; + + # Config file places (order is important, we will override the previous values of config) +-@config_files = ("/etc/colorizerc"); ++@config_files = ("%%PREFIX%%/etc/colorizerc"); + if (defined($ENV{HOME})) { + push(@config_files, "$ENV{HOME}/.colorizerc"); + } diff --git a/sysutils/colorize/pkg-descr b/sysutils/colorize/pkg-descr index c5ea6380d116..66f3206853a8 100644 --- a/sysutils/colorize/pkg-descr +++ b/sysutils/colorize/pkg-descr @@ -2,4 +2,4 @@ colorize is a perl script to add color to your logs (system logs, apache logs, squid logs, and many other formats). colorize can also output a colorized version of your logs as HTML. -WWW: http://colorize.raszi.hu/ +WWW: https://github.com/raszi/colorize diff --git a/sysutils/colorize/pkg-plist b/sysutils/colorize/pkg-plist index fecc9ffb0808..f4f4de8c4258 100644 --- a/sysutils/colorize/pkg-plist +++ b/sysutils/colorize/pkg-plist @@ -1,3 +1,3 @@ bin/colorize @sample etc/colorizerc.sample -man/man1/colorize.1.gz +share/man/man1/colorize.1.gz