Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 2008 23:24:28 +0200
From:      "Charlie &" <root@cubic.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/125760: fix of documentation packaging for devel/quilt port
Message-ID:  <20080718223650.7C3308FC1B@mx1.freebsd.org>
Resent-Message-ID: <200807182240.m6IMe3Dj010061@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         125760
>Category:       ports
>Synopsis:       fix of documentation packaging for devel/quilt port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 18 22:40:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Jagdmann
>Release:        FreeBSD 6.1-RELEASE-p11 i386
>Organization:
>Environment:
System: FreeBSD freebsd6.doj 6.1-RELEASE-p11 FreeBSD 6.1-RELEASE-p11 #0: Thu Jan 4 22:21:55 CET 2007 root@freebsd6.doj:/usr/obj/usr/src/sys/SMP i386


	
>Description:
	In one of the patches to devel/quilt port version 0.46 the listing
	of the documentation files and their directory were included in
	pkg-plist with the %%PORTSDIR%% prefix, which would mark the files
	as optionally installed. As they are always installed with the
	Makefile directive PORTDOCS= there is no need to list them again
	in pkg-plist. The patch below fixed this and bumps the patchlevel
	of devel/quilt to 4.
	This problem was reported by "QA Tindy" on 2008-07-17:
	http://t64.tecnik93.com/logs/7-STABLE-FTP/quilt-0.46_3.log
>How-To-Repeat:
	Install and deinstall devel/quilt with patchlevel 3 and three files
	will remain in usr/local/share/doc/quilt/ along with the directory.
	After applying the patch the files and directory are removed when
	deinstalling.
>Fix:
Index: quilt/pkg-plist
===================================================================
--- quilt.orig/pkg-plist	2008-06-23 23:38:14.000000000 +0200
+++ quilt/pkg-plist	2008-07-18 23:02:49.000000000 +0200
@@ -48,9 +48,6 @@
 share/libexec/quilt/unapplied
 share/libexec/quilt/upgrade
 share/libexec/quilt/wrapper/patch
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/README.MAIL
-%%PORTDOCS%%%%DOCSDIR%%/quilt.pdf
 %%NLS%%share/locale/de/LC_MESSAGES/quilt.mo
 %%NLS%%share/locale/fr/LC_MESSAGES/quilt.mo
 %%NLS%%share/locale/ja/LC_MESSAGES/quilt.mo
@@ -60,4 +57,3 @@
 @dirrm share/libexec/quilt
 @dirrm share/libexec
 @dirrm etc/bash_completion.d
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
Index: quilt/Makefile
===================================================================
--- quilt.orig/Makefile	2008-06-23 23:38:14.000000000 +0200
+++ quilt/Makefile	2008-07-18 23:07:13.000000000 +0200
@@ -7,7 +7,7 @@
 
 PORTNAME=	quilt
 PORTVERSION=	0.46
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_SAVANNAH}
 MASTER_SITE_SUBDIR=	quilt
@@ -31,7 +31,7 @@
 CONFIGURE_ARGS=	--with-sed=${LOCALBASE}/bin/gsed --without-getopt --with-patch=${LOCALBASE}/bin/gpatch
 
 MAN1=		guards.1 quilt.1
-PORTDOCS=	README* quilt.pdf
+PORTDOCS=	README README.MAIL quilt.pdf
 
 .include <bsd.port.pre.mk>
 
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080718223650.7C3308FC1B>