pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/rt5



Module Name:    pkgsrc
Committed By:   markd
Date:           Wed Oct 14 19:33:35 UTC 2026

Modified Files:
        pkgsrc/devel/rt5: Makefile distinfo
Added Files:
        pkgsrc/devel/rt5/patches: patch-lib_RT_Squish.pm

Log Message:
rt5: fix for Plack > 1.0051


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/rt5/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/rt5/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/rt5/patches/patch-lib_RT_Squish.pm

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/rt5/Makefile
diff -u pkgsrc/devel/rt5/Makefile:1.6 pkgsrc/devel/rt5/Makefile:1.7
--- pkgsrc/devel/rt5/Makefile:1.6       Wed Jun  4 11:33:55 2025
+++ pkgsrc/devel/rt5/Makefile   Wed Oct 14 19:33:35 2026
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2025/06/04 11:33:55 markd Exp $
+# $NetBSD: Makefile,v 1.7 2026/10/14 19:33:35 markd Exp $
 
 DISTNAME=      rt-5.0.8
 PKGNAME=       ${DISTNAME:S/rt/rt5/}
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  https://download.bestpractical.com/pub/rt/release/
 
@@ -228,4 +229,7 @@ INSTALL_MAKE_FLAGS+=        BIN_OWNER=${ROOT_US
                        LIBS_GROUP=${ROOT_GROUP:Q} RTGROUP=${ROOT_GROUP:Q} \
                        WEB_USER=${ROOT_USER:Q} WEB_GROUP=${ROOT_GROUP:Q}
 
+post-install:
+       rm ${DESTDIR}${PREFIX}/share/rt5/lib/RT/Squish.pm.orig
+
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/rt5/distinfo
diff -u pkgsrc/devel/rt5/distinfo:1.4 pkgsrc/devel/rt5/distinfo:1.5
--- pkgsrc/devel/rt5/distinfo:1.4       Wed Jun  4 11:33:55 2025
+++ pkgsrc/devel/rt5/distinfo   Wed Oct 14 19:33:35 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2025/06/04 11:33:55 markd Exp $
+$NetBSD: distinfo,v 1.5 2026/10/14 19:33:35 markd Exp $
 
 BLAKE2s (rt-5.0.8.tar.gz) = b0a8f17e49d890b599cb7f837977cb48ff5f14dda0b279abed6c2fcc36e57fcc
 SHA512 (rt-5.0.8.tar.gz) = beb8f792c369915abdeb259eb34201bbbf874cb1db03f81785ff6e3f681ab48355e1a952f7f1af2bc603df1bdb463f9c3ab0e77fc284eae7cb73ae20b731d26c
@@ -6,3 +6,4 @@ Size (rt-5.0.8.tar.gz) = 20268018 bytes
 SHA1 (patch-Makefile.in) = 9009623bc764c351dcb79d365a4b0728b18f4205
 SHA1 (patch-config.layout) = 9e94a03bc33ea2bbb353172ce9d89365dc8bc723
 SHA1 (patch-etc_cpanfile) = 2af513ff4b95ca6f4e87563e01e971e571d61390
+SHA1 (patch-lib_RT_Squish.pm) = dcb12f69cf74b692a833744913931e6d1d9c256a

Added files:

Index: pkgsrc/devel/rt5/patches/patch-lib_RT_Squish.pm
diff -u /dev/null pkgsrc/devel/rt5/patches/patch-lib_RT_Squish.pm:1.1
--- /dev/null   Wed Oct 14 19:33:35 2026
+++ pkgsrc/devel/rt5/patches/patch-lib_RT_Squish.pm     Wed Oct 14 19:33:35 2026
@@ -0,0 +1,16 @@
+$NetBSD: patch-lib_RT_Squish.pm,v 1.1 2026/10/14 19:33:35 markd Exp $
+
+fix for Plack > 1.0051
+https://forum.bestpractical.com/t/wide-character-error-in-rt-squish/41631/3
+
+--- lib/RT/Squish.pm.orig      2025-04-29 14:01:56.000000000 +0000
++++ lib/RT/Squish.pm
+@@ -82,7 +82,7 @@ sub new {
+ 
+     my $content = $self->Squish;
+     $self->Content($content);
+-    $self->Key( md5_hex $content );
++    $self->Key( md5_hex Encode::encode_utf8 $content );
+     $self->ModifiedTime( time() );
+     $self->ModifiedTimeString( HTTP::Date::time2str( $self->ModifiedTime ) );
+     return $self;



Home | Main Index | Thread Index | Old Index