Subject: pkg/35917: mail/mutt-devel: sidebar patch
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <cg@cgall.de>
List: pkgsrc-bugs
Date: 03/05/2007 02:30:01
>Number:         35917
>Category:       pkg
>Synopsis:       enable sidebar patch via option
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 05 02:30:00 +0000 2007
>Originator:     Christian Gall
>Release:        NetBSD 4.0_BETA2
>Organization:
>Environment:
>Description:
	Include the sidebar-patch from http://lunar-linux.org/~tchan/mutt/
>How-To-Repeat:
>Fix:

CVS diff:

Index: distinfo
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/mail/mutt-devel/distinfo,v
retrieving revision 1.36
diff -u -r1.36 distinfo
--- distinfo	11 Dec 2006 12:47:13 -0000	1.36
+++ distinfo	5 Mar 2007 02:14:42 -0000
@@ -3,12 +3,14 @@
 SHA1 (mutt-1.5.13.tar.gz) = 6d5b88d33e1727bf0342c31f06d55d7a3d2d4e0a
 RMD160 (mutt-1.5.13.tar.gz) = 9327b7f928aad78a20c2395629113ac2519bb945
 Size (mutt-1.5.13.tar.gz) = 3442681 bytes
-SHA1 (patch-1.5.13.rr.compressed.1.gz) = f8a999d79a1c89db7caa6e99028b8f4b65eef29d
-RMD160 (patch-1.5.13.rr.compressed.1.gz) = 2808b8935616d4ec6c1ebdd7710ab6219da655f1
-Size (patch-1.5.13.rr.compressed.1.gz) = 10517 bytes
+SHA1 (patch-1.5.1.dgc.attach.5) = 1ff4c2deaadd9c4a21945dfb716eda60e994538c
+RMD160 (patch-1.5.1.dgc.attach.5) = 02f1832038ea7e2a50aaa9a567f413098e46a852
+Size (patch-1.5.1.dgc.attach.5) = 23772 bytes
+SHA1 (patch-1.5.13.sidebar.20061023.txt) = e4f406eed55c356fc4aa56197a11c549d04b05ce
+RMD160 (patch-1.5.13.sidebar.20061023.txt) = 08ce1ba770c4522bda61cad6bf743ceb85573667
+Size (patch-1.5.13.sidebar.20061023.txt) = 51164 bytes
 SHA1 (patch-aa) = 59d89dce24110be2927c8a1ea1fa5b780d644372
 SHA1 (patch-ab) = 67e0deb5af56830397d897979ac806f9c16fdbda
-SHA1 (patch-ac) = b48ff9f66ff2b483b5aa0c312e08bd22c7cf03be
 SHA1 (patch-ad) = ecfa994c7c5e494b6eb7356327b96de6559146fc
 SHA1 (patch-ae) = 1ff6efde4e7d380008c466800d6164b51a4b3414
 SHA1 (patch-ag) = 84637d95fa9aa0cf58a6e6b2c82b783efa21cf66
Index: options.mk
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/mail/mutt-devel/options.mk,v
retrieving revision 1.21
diff -u -r1.21 options.mk
--- options.mk	18 Oct 2006 20:06:13 -0000	1.21
+++ options.mk	5 Mar 2007 02:14:42 -0000
@@ -5,7 +5,7 @@
 PKG_OPTIONS_VAR=	PKG_OPTIONS.mutt
 PKG_OPTIONS_REQUIRED_GROUPS=	display
 PKG_OPTIONS_GROUP.display=	slang ncurses ncursesw curses
-PKG_SUPPORTED_OPTIONS=	ssl sasl mutt-hcache idn mutt-compressed-mbox debug
+PKG_SUPPORTED_OPTIONS=	ssl sasl mutt-hcache idn mutt-compressed-mbox debug sidebar
 PKG_SUGGESTED_OPTIONS=	ssl curses
 
 .include "../../mk/bsd.options.mk"
@@ -108,3 +108,13 @@
 .if !empty(PKG_OPTIONS:Mdebug)
 CONFIGURE_ARGS+=	--enable-debug
 .endif
+
+###
+### enable sidebar patch
+###
+.if !empty(PKG_OPTIONS:Msidebar)
+PATCH_SITES+=	http://lunar-linux.org/~tchan/mutt/
+PATCHFILES+=	patch-1.5.13.sidebar.20061023.txt
+PATCH_DIST_STRIP.patch-1.5.13.sidebar.20061023.txt=	-p1
+.endif
+