Subject: Faulty PKGWILDCARD breaks show-needs-update
To: None <tech-pkg@netbsd.org>
From: Lars Nordlund <lars.nordlund@hem.utfors.se>
List: tech-pkg
Date: 05/28/2005 02:03:15
Hello
I have seen that PKGWILDCARD has the wrong value in some packages. I
think they lack a proper PKGNAME definition because the DISTNAME differs
from the default name (which is often the name of the directory?), or
some variant of that.
With some shell magic I have found the following packages whose
PKGWILDCARD regex will _not_ catch its PKGNAME (and also have a broken
'make show-needs-update' after installation, I guess, after having tried
a couple of them and seen the fault):
archivers/rar-linux
audio/gqmpeg-devel
audio/icecast1
audio/mserv-devel
audio/p5-CDDB
cad/vipec
chat/dircproxy-devel
chat/jabberd2
chat/xchat2
converters/fondu
converters/wv2
databases/php5-mysqli
databases/php5-sqlite
databases/sqlitemanager
devel/ArX2
devel/apache-ant15
devel/electricfence
devel/eric3
devel/g-wrap1
devel/gdb6
devel/guile14-gtk
devel/guile14-slib
devel/kdesdk3
devel/libgsf
devel/libnet11
devel/libosip
devel/py-TPG
devel/rt3
devel/swig13
editors/emacs20
editors/leim20
editors/mule-ucs
editors/xemacs-current
emulators/gpsim-devel
emulators/suse91_aspell
emulators/suse91_base
emulators/suse91_compat
emulators/suse91_expat
emulators/suse91_fontconfig
emulators/suse91_freetype2
emulators/suse91_glx
emulators/suse91_gtk
emulators/suse91_gtk2
emulators/suse91_libjpeg
emulators/suse91_libpng
emulators/suse91_libtiff
emulators/suse91_linux
emulators/suse91_locale
emulators/suse91_openmotif
emulators/suse91_slang
emulators/suse91_vmware
emulators/suse91_x11
fonts/cyr-rfx-share
games/crossfire-cli
games/gltron
games/gnome2-games
games/kdegames3
games/kdetoys3
graphics/claraocr
graphics/eog2
graphics/gimp1
graphics/gqview-gtk1
graphics/hermes
graphics/kdegraphics3
graphics/mayavi
graphics/p5-SWF-File
graphics/py-gimp
graphics/snx101view
inputmethod/ja-freewnn-server
lang/gauche
lang/perl5
lang/php
lang/python
mail/balsa2
mail/cyrus-imapd21
mail/exim3
mail/libmilter812
mail/libspf-alt
mail/mew3
mail/postfix-current
mail/queue_repair
mail/sendmail812
mail/sylpheed-devel
mail/thunderbird-bin-nightly
math/gnumeric14
mbone/sapserver
meta-pkgs/kde3
meta-pkgs/php4-extensions
meta-pkgs/php5-extensions
meta-pkgs/suse9
misc/gnome2-utils
misc/kdeaccessibility3
misc/kdeaddons3
misc/kdeadmin3
misc/kdeartwork3
misc/kdeedu3
misc/kdepim3
misc/kdeutils3
misc/koffice
misc/visual-regexp
multimedia/gnome2-media
multimedia/kdemultimedia3
net/bittornado
net/irrtoolset-nox11
net/kdenetwork3
net/ncftp2
net/netatalk1
net/ntop1
net/ntp4
net/php5-soap
net/rdist6
net/samba2
net/unison-devel
parallel/mpi-ch
print/ggv2
print/teTeX1
print/texfamily
print/texfamily-share
regress/make-quoting
security/aide06
security/cyrus-sasl2
security/libksba04
security/lsh2
security/nfsbug
security/otpcalc
security/pgp2
security/systrace-policies
shells/zsh3
sysutils/cfengine2
sysutils/gkrellm1
sysutils/user_darwin
sysutils/user_interix
sysutils/vcdimager-devel
textproc/namazu1
textproc/namazu2
textproc/php4-domxml
textproc/php4-xslt
textproc/php5-dom
textproc/php5-xsl
textproc/postgresql-autodoc
time/wmcalclock
time/wmmoonclock
wm/openbox2
www/ap-auth-radius
www/elinks04
www/firefox-bin-nightly
www/galeon12
www/horde3
www/jakarta-tomcat55
www/kdewebdev3
www/mozilla-bin-nightly
www/php4-apc
x11/controlcenter
x11/dtx11session
x11/gdm1
x11/gnome2-applets
x11/gtk
x11/kde3-i18n-ar
x11/kde3-i18n-bg
x11/kde3-i18n-bn
x11/kde3-i18n-br
x11/kde3-i18n-bs
x11/kde3-i18n-ca
x11/kde3-i18n-cs
x11/kde3-i18n-cy
x11/kde3-i18n-da
x11/kde3-i18n-de
x11/kde3-i18n-en_GB
x11/kde3-i18n-eo
x11/kde3-i18n-es
x11/kde3-i18n-et
x11/kde3-i18n-eu
x11/kde3-i18n-fi
x11/kde3-i18n-fr
x11/kde3-i18n-fy
x11/kde3-i18n-ga
x11/kde3-i18n-he
x11/kde3-i18n-hi
x11/kde3-i18n-hsb
x11/kde3-i18n-hu
x11/kde3-i18n-is
x11/kde3-i18n-it
x11/kde3-i18n-ja
x11/kde3-i18n-lt
x11/kde3-i18n-mk
x11/kde3-i18n-nb
x11/kde3-i18n-nds
x11/kde3-i18n-nl
x11/kde3-i18n-nn
x11/kde3-i18n-pa
x11/kde3-i18n-pl
x11/kde3-i18n-pt
x11/kde3-i18n-pt_BR
x11/kde3-i18n-ro
x11/kde3-i18n-ru
x11/kde3-i18n-se
x11/kde3-i18n-sk
x11/kde3-i18n-sl
x11/kde3-i18n-sr
x11/kde3-i18n-sv
x11/kde3-i18n-ta
x11/kde3-i18n-tg
x11/kde3-i18n-tr
x11/kde3-i18n-uk
x11/kde3-i18n-zh_CN
x11/kdebase3
x11/kdelibs3
x11/lablgtk2
x11/mowitz
x11/xdaemon2
x11/xfce3
x11/xfce4-gtk2-engines
x11/xteddy2
For reference, the shell magic (zsh):
===> lars@glengoyne:/usr/pkgsrc %for k in `find
*~CVS~mk~doc~bootstrap~distfiles~packages~wip -type d -prune`; do (cd
$k; for j in `find * -type d -prune \( \! -name CVS \)`; do (cd $j;
make show-var VARNAME=PKGNAME | grep -q `make show-var
VARNAME=PKGWILDCARD` || echo "error")
|| echo $k/$j; done); done 2> /dev/null
(I had to redirect stderr because some packages spewed a bunch of error
messages which I did not try to debug any further.)
Best regards
Lars Nordlund