From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Dec 10 21:00:17 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7BA5716A415 for ; Sun, 10 Dec 2006 21:00:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6745F43CB2 for ; Sun, 10 Dec 2006 20:59:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kBAL0FJW032306 for ; Sun, 10 Dec 2006 21:00:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBAL0FWf032305; Sun, 10 Dec 2006 21:00:15 GMT (envelope-from gnats) Resent-Date: Sun, 10 Dec 2006 21:00:15 GMT Resent-Message-Id: <200612102100.kBAL0FWf032305@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Marcin Wisnicki Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DB56816A4A7 for ; Sun, 10 Dec 2006 20:52:47 +0000 (UTC) (envelope-from mwisnicki@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6AE243DB9 for ; Sun, 10 Dec 2006 20:50:03 +0000 (GMT) (envelope-from mwisnicki@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so1050603uge for ; Sun, 10 Dec 2006 12:51:04 -0800 (PST) Received: by 10.67.26.7 with SMTP id d7mr8766888ugj.1165783864583; Sun, 10 Dec 2006 12:51:04 -0800 (PST) Received: from ghost.pnet.one.pl ( [84.40.242.20]) by mx.google.com with ESMTP id i39sm6210351ugd.2006.12.10.12.51.03; Sun, 10 Dec 2006 12:51:04 -0800 (PST) Received: by ghost.pnet.one.pl (sSMTP sendmail emulation); Sun, 10 Dec 2006 21:51:01 +0100 Message-Id: <457c7338.0c1c322d.216b.57cf@mx.google.com> Date: Sun, 10 Dec 2006 21:51:01 +0100 From: Marcin Wisnicki Sender: =?UTF-8?B?TWFyY2luIFdpxZtuaWNraQ==?= To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: thierry@FreeBSD.org Subject: ports/106573: [PATCH] textproc/aspell: strange version numbers for aspell dictionaries X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Dec 2006 21:00:17 -0000 >Number: 106573 >Category: ports >Synopsis: [PATCH] textproc/aspell: strange version numbers for aspell dictionaries >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Dec 10 21:00:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Marcin Wisnicki >Release: FreeBSD 6.2-PRERELEASE i386 >Organization: >Environment: System: FreeBSD ghost.pnet.one.pl 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #1: Mon Nov 13 02:19:14 CET 2006 >Description: Since version 0.60.4_4 of textproc/aspell, dictionary ports have weird version numbers, eg: pl-aspell-.p.0.51.0,1 <-- this is especially bad because it starts with dot iw-aspell-6.h.0.9.0 This is because default PORTVERSION-from-DISTVERSION regexp is not suited for version numbers used by aspell dicts. Attached patch defines custom regexp that removes country code from version number as well as leading version number of aspell(?). With it applied I get following PKGNAMEs: pl-aspell-0.51.0,1 iw-aspell-0.9.0 Please note that most of the dictionary ports will need epoch bump. Port maintainer (thierry@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- aspell-0.60.4_4.patch begins here --- diff -ruN --exclude=CVS /usr/ports/textproc/aspell.orig/Makefile.inc /usr/ports/textproc/aspell/Makefile.inc --- /usr/ports/textproc/aspell.orig/Makefile.inc Sun Dec 10 21:22:41 2006 +++ /usr/ports/textproc/aspell/Makefile.inc Sun Dec 10 21:10:14 2006 @@ -4,6 +4,7 @@ MASTER_SITES?= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR?= aspell/dict/${DICT} DISTNAME?= aspell${DISTVERSION} +PORTVERSION?= ${DISTVERSION:L:C/[0-9]?-?[a-z]+-//g:C/([0-9])([a-z])/\1.\2/g:C/:(.)/\1/g:C/[^a-z0-9+]+/./g} .if ${PORTNAME} == "en-aspell" || defined(WITHOUT_DICTEN) LIB_DEPENDS= aspell:${PORTSDIR}/textproc/aspell-without-dicten --- aspell-0.60.4_4.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: