Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Mar 2008 06:23:43 GMT
From:      Scot Hetzel <swhetzel@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/121691: [patch] ftp/wzdftpd: Avahi depencancy fix
Message-ID:  <200803140623.m2E6NhLN049454@www.freebsd.org>
Resent-Message-ID: <200803140630.m2E6U62B076767@freefall.freebsd.org>

Next in thread | Raw E-Mail | Index | Archive | Help

>Number:         121691
>Category:       ports
>Synopsis:       [patch] ftp/wzdftpd: Avahi depencancy fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 14 06:30:06 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Scot Hetzel
>Release:        FreeBSD 8.0-CURRENT
>Organization:
>Environment:
FreeBSD hp010 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sat Feb 16 06:42:46 CST 2008     root@hp010:/usr/src/sys/amd64/compile/DV8135NR  amd64

>Description:
While I was updating several qt4 ports thru portmaster, I noticed that portmaster was unable to build a complete package for some of them due to missing share/nls/POSIX and share/nls/en_US.US-ASCII files.  After reviewing the install phase of these ports, I was able to determine that the ports were not responsible for the creation of these files.  Actually these files are created by install-mtree (bsd.port.mk) as symbolic links to share/nls/C.

I then greped the ports collection, and found several ports had incorrectly included share/nls/POSIX and share/nls/en_US.US-ASCII in their pkg-plist.

chinese/qt4-codecs-cn
chinese/qt4-codecs-tw
deskutils/katapult
deskutils/kmatrix3d
devel/check
devel/cunit
devel/libcheck
devel/nant
devel/qt4-moc
devel/qt4-rcc
devel/qt4-uic
devel/qt4-uic3
finance/ledgersmb
graphics/ivtools
japanese/qt4-codecs-jp
korean/qt4-codecs-kr
lang/gambc
mail/ilohamail-devel
mail/james
misc/qt4-doc
net/yate-devel
net-mgmt/fruity
net-p2p/rblibtorrent
textproc/xaira
www/apache-forrest
www/raqdevil
x11/e17-module-uptime

>How-To-Repeat:
Build any two of the above ports, then uninstall them.
>Fix:
The attached patch removes the POSIX and en_US.US-ASCII from the pkg-plist of the affected ports.

Patch attached with submission follows:

Index: chinese/qt4-codecs-cn/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/chinese/qt4-codecs-cn/pkg-plist,v
retrieving revision 1.3
diff -u -r1.3 pkg-plist
--- chinese/qt4-codecs-cn/pkg-plist	2 Sep 2007 06:23:18 -0000	1.3
+++ chinese/qt4-codecs-cn/pkg-plist	12 Mar 2008 08:00:04 -0000
@@ -1,5 +1,3 @@
 lib/qt4/plugins/codecs/libqcncodecs.so
 %%DEBUG%%lib/qt4/plugins/codecs/libqcncodecs.so.debug
-share/nls/POSIX
-share/nls/en_US.US-ASCII
 @dirrm lib/qt4/plugins/codecs
Index: chinese/qt4-codecs-tw/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/chinese/qt4-codecs-tw/pkg-plist,v
retrieving revision 1.3
diff -u -r1.3 pkg-plist
--- chinese/qt4-codecs-tw/pkg-plist	2 Sep 2007 06:23:18 -0000	1.3
+++ chinese/qt4-codecs-tw/pkg-plist	12 Mar 2008 08:00:30 -0000
@@ -1,5 +1,3 @@
 lib/qt4/plugins/codecs/libqtwcodecs.so
 %%DEBUG%%lib/qt4/plugins/codecs/libqtwcodecs.so.debug
-share/nls/POSIX
-share/nls/en_US.US-ASCII
 @dirrm lib/qt4/plugins/codecs
Index: deskutils/katapult/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/deskutils/katapult/pkg-plist,v
retrieving revision 1.2
diff -u -r1.2 pkg-plist
--- deskutils/katapult/pkg-plist	19 May 2007 20:01:40 -0000	1.2
+++ deskutils/katapult/pkg-plist	12 Mar 2008 09:22:43 -0000
@@ -66,8 +66,6 @@
 share/servicetypes/katapultdisplay.desktop
 @dirrmtry share/servicetypes
 @dirrmtry share/services
-@dirrmtry share/nls/en_US.US-ASCII
-@dirrmtry share/nls/POSIX
 @dirrmtry share/icons/hicolor/scalable/apps
 @dirrmtry share/icons/hicolor/scalable
 @dirrmtry share/icons/hicolor/64x64/apps
Index: deskutils/kmatrix3d/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/deskutils/kmatrix3d/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- deskutils/kmatrix3d/pkg-plist	16 Mar 2007 11:55:54 -0000	1.1
+++ deskutils/kmatrix3d/pkg-plist	12 Mar 2008 09:22:52 -0000
@@ -6,8 +6,6 @@
 %%DOCSDIR%%/common
 %%DOCSDIR%%/index.cache.bz2
 %%DOCSDIR%%/index.docbook
-share/nls/POSIX
-share/nls/en_US.US-ASCII
 @dirrm %%DOCSDIR%%
 @dirrmtry share/doc/HTML/en
 @dirrmtry share/doc/HTML
Index: devel/check/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/devel/check/pkg-plist,v
retrieving revision 1.2
diff -u -r1.2 pkg-plist
--- devel/check/pkg-plist	17 Feb 2007 02:38:58 -0000	1.2
+++ devel/check/pkg-plist	12 Mar 2008 08:49:03 -0000
@@ -32,8 +32,6 @@
 %%DOCSDIR%%/example/tests/check_money.6.c
 %%DOCSDIR%%/example/tests/check_money.7.c
 %%DOCSDIR%%/example/tests/check_money.c
-share/nls/POSIX
-share/nls/en_US.US-ASCII
 @dirrm %%DOCSDIR%%/example/tests
 @dirrm %%DOCSDIR%%/example/src
 @dirrm %%DOCSDIR%%/example
Index: devel/cunit/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/devel/cunit/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- devel/cunit/pkg-plist	9 Sep 2007 05:55:50 -0000	1.1
+++ devel/cunit/pkg-plist	12 Mar 2008 08:49:12 -0000
@@ -14,8 +14,6 @@
 share/CUnit/CUnit-Run.xsl
 share/CUnit/Memory-Dump.dtd
 share/CUnit/Memory-Dump.xsl
-share/nls/POSIX
-share/nls/en_US.US-ASCII
 %%PORTDOCS%%%%DOCSDIR%%/CUnit_doc.css
 %%PORTDOCS%%%%DOCSDIR%%/error_handling.html
 %%PORTDOCS%%%%DOCSDIR%%/fdl.html
Index: devel/libcheck/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/devel/libcheck/pkg-plist,v
retrieving revision 1.5
diff -u -r1.5 pkg-plist
--- devel/libcheck/pkg-plist	10 Jan 2007 17:33:43 -0000	1.5
+++ devel/libcheck/pkg-plist	12 Mar 2008 08:49:25 -0000
@@ -36,6 +36,4 @@
 %%PORTDOCS%%%%DOCSDIR%%/NEWS
 %%PORTDOCS%%%%DOCSDIR%%/README
 @dirrm %%PORTDOCS%%%%DOCSDIR%%
-share/nls/POSIX
-share/nls/en_US.US-ASCII
 @dirrm %%EXAMPLESDIR%%
Index: devel/nant/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/devel/nant/pkg-plist,v
retrieving revision 1.5
diff -u -r1.5 pkg-plist
--- devel/nant/pkg-plist	28 Mar 2007 22:30:30 -0000	1.5
+++ devel/nant/pkg-plist	12 Mar 2008 08:50:06 -0000
@@ -467,8 +467,6 @@
 %%PORTDOCS%%%%EXAMPLESDIR%%/UserTask/UserTask.cs
 %%PORTDOCS%%%%EXAMPLESDIR%%/UserTask/default.build
 %%PORTDOCS%%%%EXAMPLESDIR%%/examples.build
-@dirrm share/nls/en_US.US-ASCII
-@dirrm share/nls/POSIX
 %%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/UserTask
 %%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/StyleTask/SimpleExtensionObject
 %%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/StyleTask
Index: devel/qt4-moc/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/devel/qt4-moc/pkg-plist,v
retrieving revision 1.4
diff -u -r1.4 pkg-plist
--- devel/qt4-moc/pkg-plist	2 Sep 2007 06:23:23 -0000	1.4
+++ devel/qt4-moc/pkg-plist	12 Mar 2008 07:58:44 -0000
@@ -1,4 +1,2 @@
 bin/moc-qt4
 %%DEBUG%%bin/moc-qt4.debug
-share/nls/POSIX
-share/nls/en_US.US-ASCII
Index: devel/qt4-rcc/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/devel/qt4-rcc/pkg-plist,v
retrieving revision 1.3
diff -u -r1.3 pkg-plist
--- devel/qt4-rcc/pkg-plist	2 Sep 2007 06:23:24 -0000	1.3
+++ devel/qt4-rcc/pkg-plist	12 Mar 2008 08:03:36 -0000
@@ -1,4 +1,2 @@
 bin/rcc
 %%DEBUG%%bin/rcc.debug
-share/nls/POSIX
-share/nls/en_US.US-ASCII
Index: devel/qt4-uic/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/devel/qt4-uic/pkg-plist,v
retrieving revision 1.4
diff -u -r1.4 pkg-plist
--- devel/qt4-uic/pkg-plist	2 Sep 2007 06:23:25 -0000	1.4
+++ devel/qt4-uic/pkg-plist	12 Mar 2008 08:03:41 -0000
@@ -1,4 +1,2 @@
 bin/uic-qt4
 %%DEBUG%%bin/uic-qt4.debug
-share/nls/POSIX
-share/nls/en_US.US-ASCII
Index: devel/qt4-uic3/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/devel/qt4-uic3/pkg-plist,v
retrieving revision 1.3
diff -u -r1.3 pkg-plist
--- devel/qt4-uic3/pkg-plist	2 Sep 2007 06:23:25 -0000	1.3
+++ devel/qt4-uic3/pkg-plist	12 Mar 2008 08:02:57 -0000
@@ -1,4 +1,2 @@
 bin/uic3
 %%DEBUG%%bin/uic3.debug
-share/nls/POSIX
-share/nls/en_US.US-ASCII
Index: finance/ledgersmb/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/finance/ledgersmb/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- finance/ledgersmb/pkg-plist	7 Sep 2007 04:54:24 -0000	1.1
+++ finance/ledgersmb/pkg-plist	12 Mar 2008 09:22:34 -0000
@@ -2483,9 +2483,6 @@
 ledger-smb/utils/notify_short/listener.pl
 ledger-smb/winprint.bat
 
-share/nls/POSIX
-share/nls/en_US.US-ASCII
-
 @dirrmtry ledger-smb/users/members
 
 @dirrm ledger-smb/utils/notify_short
Index: graphics/ivtools/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/graphics/ivtools/pkg-plist,v
retrieving revision 1.10
diff -u -r1.10 pkg-plist
--- graphics/ivtools/pkg-plist	17 Mar 2007 13:30:19 -0000	1.10
+++ graphics/ivtools/pkg-plist	12 Mar 2008 09:20:31 -0000
@@ -42,6 +42,4 @@
 lib/libFrameUnidraw.so.1.2.4
 lib/libGraphUnidraw.so
 lib/libGraphUnidraw.so.1.2.4
-share/nls/POSIX
-share/nls/en_US.US-ASCII
 @dirrm lib/ivtools
Index: japanese/qt4-codecs-jp/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/japanese/qt4-codecs-jp/pkg-plist,v
retrieving revision 1.3
diff -u -r1.3 pkg-plist
--- japanese/qt4-codecs-jp/pkg-plist	2 Sep 2007 06:23:26 -0000	1.3
+++ japanese/qt4-codecs-jp/pkg-plist	12 Mar 2008 08:03:17 -0000
@@ -1,5 +1,3 @@
 lib/qt4/plugins/codecs/libqjpcodecs.so
 %%DEBUG%%lib/qt4/plugins/codecs/libqjpcodecs.so.debug
-share/nls/POSIX
-share/nls/en_US.US-ASCII
 @dirrm lib/qt4/plugins/codecs
Index: korean/qt4-codecs-kr/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/korean/qt4-codecs-kr/pkg-plist,v
retrieving revision 1.3
diff -u -r1.3 pkg-plist
--- korean/qt4-codecs-kr/pkg-plist	2 Sep 2007 06:23:26 -0000	1.3
+++ korean/qt4-codecs-kr/pkg-plist	12 Mar 2008 08:03:29 -0000
@@ -1,5 +1,3 @@
 lib/qt4/plugins/codecs/libqkrcodecs.so
 %%DEBUG%%lib/qt4/plugins/codecs/libqkrcodecs.so.debug
-share/nls/POSIX
-share/nls/en_US.US-ASCII
 @dirrm lib/qt4/plugins/codecs
Index: lang/gambc/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/lang/gambc/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- lang/gambc/pkg-plist	19 Jan 2007 22:08:32 -0000	1.1
+++ lang/gambc/pkg-plist	12 Mar 2008 09:21:01 -0000
@@ -22,7 +22,5 @@
 lib/r4rs#.scm
 lib/r5rs#.scm
 share/emacs/site-lisp/gambit.el
-share/nls/POSIX
-share/nls/en_US.US-ASCII
 syntax-case.scm
 @dirrm doc
Index: mail/ilohamail-devel/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/mail/ilohamail-devel/pkg-plist,v
retrieving revision 1.5
diff -u -r1.5 pkg-plist
--- mail/ilohamail-devel/pkg-plist	5 Sep 2007 14:06:03 -0000	1.5
+++ mail/ilohamail-devel/pkg-plist	12 Mar 2008 09:21:55 -0000
@@ -25,8 +25,6 @@
 share/ilohamail-devel/MySQL/CVS/Repository
 share/ilohamail-devel/MySQL/CVS/Root
 share/ilohamail-devel/MySQL/sql
-share/nls/POSIX
-share/nls/en_US.US-ASCII
 www/ilohamail-devel/CVS/Entries
 www/ilohamail-devel/CVS/Repository
 www/ilohamail-devel/CVS/Root
Index: mail/james/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/mail/james/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- mail/james/pkg-plist	9 Apr 2007 20:44:47 -0000	1.1
+++ mail/james/pkg-plist	12 Mar 2008 09:22:07 -0000
@@ -112,8 +112,6 @@
 %%T%%/tools/lib/spice.LICENSE
 %%T%%/tools/lib/xsdlib-20020414.jar
 %%T%%/tools/lib/xsdlib.LICENSE
-@dirrm share/nls/en_US.US-ASCII
-@dirrm share/nls/POSIX
 @dirrm %%T%%/tools/lib
 @dirrm %%T%%/tools
 @dirrm %%T%%/logs
Index: misc/qt4-doc/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/misc/qt4-doc/pkg-plist,v
retrieving revision 1.4
diff -u -r1.4 pkg-plist
--- misc/qt4-doc/pkg-plist	2 Sep 2007 06:23:26 -0000	1.4
+++ misc/qt4-doc/pkg-plist	12 Mar 2008 09:21:35 -0000
@@ -4075,8 +4075,6 @@
 share/doc/qt4/html/xml-tools.html
 share/doc/qt4/html/xml-xmlstreamlint-main-cpp.html
 share/doc/qt4/html/xml-xmlstreamlint.html
-share/nls/POSIX
-share/nls/en_US.US-ASCII
 @dirrm share/doc/qt4/html/images
 @dirrm share/doc/qt4/html
 @dirrm share/doc/qt4
Index: net/yate-devel/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/net/yate-devel/pkg-plist,v
retrieving revision 1.2
diff -u -r1.2 pkg-plist
--- net/yate-devel/pkg-plist	11 Dec 2007 19:36:00 -0000	1.2
+++ net/yate-devel/pkg-plist	12 Mar 2008 09:20:45 -0000
@@ -187,5 +187,3 @@
 @dirrm lib/yate/modules
 @dirrm lib/yate
 %%WITH_X11%%@dirrmtry share/applications
-@dirrmtry share/nls/en_US.US-ASCII
-@dirrmtry share/nls/POSIX
Index: net-mgmt/fruity/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/net-mgmt/fruity/pkg-plist,v
retrieving revision 1.2
diff -u -r1.2 pkg-plist
--- net-mgmt/fruity/pkg-plist	8 Jan 2007 13:05:39 -0000	1.2
+++ net-mgmt/fruity/pkg-plist	12 Mar 2008 09:21:44 -0000
@@ -1,5 +1,3 @@
-share/nls/POSIX
-share/nls/en_US.US-ASCII
 etc/fruity.config.inc-sample
 www/fruity/CHANGELOG
 www/fruity/INSTALL
Index: net-p2p/rblibtorrent/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/net-p2p/rblibtorrent/pkg-plist,v
retrieving revision 1.7
diff -u -r1.7 pkg-plist
--- net-p2p/rblibtorrent/pkg-plist	5 Jun 2007 06:05:15 -0000	1.7
+++ net-p2p/rblibtorrent/pkg-plist	12 Mar 2008 09:21:25 -0000
@@ -212,8 +212,6 @@
 lib/libtorrent.so
 lib/libtorrent.so.1
 libdata/pkgconfig/libtorrent.pc
-share/nls/POSIX
-share/nls/en_US.US-ASCII
 @dirrm include/libtorrent/kademlia
 @dirrm include/libtorrent/extensions
 @dirrm include/libtorrent/aux_
Index: textproc/xaira/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/textproc/xaira/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- textproc/xaira/pkg-plist	19 Sep 2007 12:21:34 -0000	1.1
+++ textproc/xaira/pkg-plist	12 Mar 2008 09:20:53 -0000
@@ -18,5 +18,3 @@
 %%DATADIR%%/cql.xsd
 %%DATADIR%%/xgrammar.xsd
 @dirrm %%DATADIR%%
-@dirrmtry share/nls/en_US.US-ASCII
-@dirrmtry share/nls/POSIX
Index: www/apache-forrest/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/www/apache-forrest/pkg-plist,v
retrieving revision 1.3
diff -u -r1.3 pkg-plist
--- www/apache-forrest/pkg-plist	18 Apr 2007 21:14:26 -0000	1.3
+++ www/apache-forrest/pkg-plist	12 Mar 2008 09:21:10 -0000
@@ -1329,8 +1329,6 @@
 %%DATADIR%%/tools/xxe/toolBar.xml
 %%DATADIR%%/whiteboard/plugins/build.xml
 %%DATADIR%%/whiteboard/plugins/whiteboard-plugins.xml
-share/nls/POSIX
-share/nls/en_US.US-ASCII
 @dirrm %%DATADIR%%/bin
 @dirrm %%DATADIR%%/build/plugins/org.apache.forrest.plugin.output.pdf/resources
 @dirrm %%DATADIR%%/build/plugins/org.apache.forrest.plugin.output.pdf/src/documentation/classes
Index: www/raqdevil/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/www/raqdevil/pkg-plist,v
retrieving revision 1.4
diff -u -r1.4 pkg-plist
--- www/raqdevil/pkg-plist	11 Apr 2007 19:23:37 -0000	1.4
+++ www/raqdevil/pkg-plist	12 Mar 2008 09:21:19 -0000
@@ -1164,8 +1164,6 @@
 share/locale/ja/LC_MESSAGES/palette.mo
 share/locale/ja/LC_MESSAGES/swatch.mo
 share/locale/ja/LC_MESSAGES/trueBlue.mo
-share/nls/POSIX
-share/nls/en_US.US-ASCII
 @dirrm raqdevil/ui/web/uifc
 @dirrm raqdevil/ui/web/nav
 @dirrm raqdevil/ui/web/manuals
Index: x11/e17-module-uptime/pkg-plist
===================================================================
RCS file: /home/ncvs/ports/x11/e17-module-uptime/pkg-plist,v
retrieving revision 1.4
diff -u -r1.4 pkg-plist
--- x11/e17-module-uptime/pkg-plist	19 May 2007 20:26:08 -0000	1.4
+++ x11/e17-module-uptime/pkg-plist	12 Mar 2008 09:22:17 -0000
@@ -11,8 +11,6 @@
 share/locale/it/LC_MESSAGES/uptime.mo
 share/locale/ja/LC_MESSAGES/uptime.mo
 share/locale/sv/LC_MESSAGES/uptime.mo
-share/nls/POSIX
-share/nls/en_US.US-ASCII
 @dirrmtry lib/enlightenment/modules/uptime/%%E17_ARCH%%
 @dirrmtry lib/enlightenment/modules/uptime
 @dirrmtry lib/enlightenment/modules


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?200803140623.m2E6NhLN049454>