Subject: pkg/29063: patch to update chat/micq from 0.4.10.3 to 0.4.12
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <lems@gmx.net>
List: pkgsrc-bugs
Date: 01/24/2005 17:44:00
>Number:         29063
>Category:       pkg
>Synopsis:       patch to update chat/micq from 0.4.10.3 to 0.4.12
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 24 17:44:00 +0000 2005
>Originator:     Leonard Schmidt
>Release:        NetBSD 2.0_STABLE
>Organization:
>Environment:
NetBSD kafka 2.0_STABLE NetBSD 2.0_STABLE (THEWIRED) #0: Sun Jan 23 22:00:22 GMT 2005  lems@kafka:/usr/obj/sys/arch/i386/compile/THEWIRED i386
>Description:
Hello,

this patch will update chat/micq to version 0.4.12.
I've also created a options.mk file and removed the patches/ directory.
>How-To-Repeat:

>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/chat/micq/Makefile,v
retrieving revision 1.17
diff -u -u -r1.17 Makefile
--- Makefile	3 Oct 2004 00:13:15 -0000	1.17
+++ Makefile	24 Jan 2005 17:14:27 -0000
@@ -1,7 +1,6 @@
 # $NetBSD: Makefile,v 1.17 2004/10/03 00:13:15 tv Exp $
 
-DISTNAME=	micq-0.4.10.3
-PKGREVISION=	2
+DISTNAME=	micq-0.4.12
 CATEGORIES=	chat
 MASTER_SITES=	http://www.micq.org/source/ \
 		ftp://www.micq.org/pub/micq/source/
@@ -15,5 +14,7 @@
 USE_GNU_TOOLS+=	make
 GNU_CONFIGURE=	YES
 
+.include "options.mk"
+
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/chat/micq/distinfo,v
retrieving revision 1.9
diff -u -u -r1.9 distinfo
--- distinfo	1 Jun 2003 08:37:07 -0000	1.9
+++ distinfo	24 Jan 2005 17:14:53 -0000
@@ -1,5 +1,4 @@
 $NetBSD: distinfo,v 1.9 2003/06/01 08:37:07 shell Exp $
 
-SHA1 (micq-0.4.10.3.tgz) = 294dda4973cc66dd1d58b827f55cc885c9b2805b
-Size (micq-0.4.10.3.tgz) = 852959 bytes
-SHA1 (patch-aa) = 295d93ca9deb0054906d7bd4119a8b713e82f1b6
+SHA1 (micq-0.4.12.tgz) = 0d7886b6210a6b4a7990787efeaa567117ff7e04
+Size (micq-0.4.12.tgz) = 958364 bytes
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/chat/micq/PLIST,v
retrieving revision 1.5
diff -u -u -r1.5 PLIST
--- PLIST	1 Jun 2003 08:37:07 -0000	1.5
+++ PLIST	24 Jan 2005 17:16:12 -0000
@@ -1,8 +1,29 @@
-@comment $NetBSD: PLIST,v 1.5 2003/06/01 08:37:07 shell Exp $
+@comment $NetBSD$
 bin/micq
+man/de/man1/micq.1
+man/de/man5/micqrc.5
+man/de/man7/micq.7
+man/es/man1/micq.1
+man/es/man7/micq.7
+man/fr/man1/micq.1
+man/fr/man5/micqrc.5
+man/fr/man7/micq.7
+man/it/man1/micq.1
 man/man1/micq.1
 man/man5/micqrc.5
 man/man7/micq.7
+man/pt_BR/man1/micq.1
+man/pt_BR/man5/micqrc.5
+man/pt_BR/man7/micq.7
+man/ru_RU.KOI8-R/man1/micq.1
+man/ru_RU.KOI8-R/man5/micqrc.5
+man/ru_RU.KOI8-R/man7/micq.7
+man/sk/man1/micq.1
+man/sr_YU@cyrillic/man1/micq.1
+man/sr_YU@cyrillic/man5/micqrc.5
+man/sr_YU@cyrillic/man7/micq.7
+man/uk_UA/man1/micq.1
+man/uk_UA/man7/micq.7
 share/micq/C.i18n
 share/micq/bg.i18n
 share/micq/de.i18n
@@ -23,10 +44,30 @@
 share/micq/pt.i18n
 share/micq/ro.i18n
 share/micq/ru.i18n
+share/micq/ru@fun.i18n
 share/micq/se.i18n
+share/micq/sk.i18n
 share/micq/sr.UTF-8.i18n
 share/micq/sr.i18n
 share/micq/uk.i18n
 share/micq/yu.i18n
 share/micq/zh_CN.i18n
 @dirrm share/micq
+@unexec ${RMDIR} %D/man/uk_UA/man7 2> /dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/uk_UA/man1 2> /dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/uk_UA 2> /dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/sr_YU@cyrillic/man7 2> /dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/sr_YU@cyrillic/man5 2> /dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/sr_YU@cyrillic/man1 2> /dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/sr_YU@cyrillic 2> /dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/sk/man1 2> /dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/sk 2> /dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/ru_RU.KOI8-R/man7 2> /dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/ru_RU.KOI8-R/man5 2> /dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/ru_RU.KOI8-R/man1 2> /dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/ru_RU.KOI8-R 2> /dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/pt_BR/man7 2> /dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/pt_BR/man5 2> /dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/pt_BR/man1 2> /dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/pt_BR 2> /dev/null || ${TRUE}
+@unexec ${RMDIR} %D/man/it/man1 2> /dev/null || ${TRUE}


options.mk:

# $NetBSD$

PKG_OPTIONS_VAR=	PKG_OPTIONS.micq
PKG_SUPPORTED_OPTIONS=	gnutls

.include "../../mk/bsd.options.mk"

###
### GNUtls support.
###
.if !empty(PKG_OPTIONS:Mgnutls)
.include "../../security/gnutls/buildlink3.mk"
.endif