Bug 56638

Summary: New port: numlockx
Product: Ports & Packages Reporter: Jean-Baptiste Quenot <jb.quenot>
Component: Individual Port(s)Assignee: Ernst de Haan <znerd>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Jean-Baptiste Quenot 2003-09-09 16:00:31 UTC
This little thingy allows you to start X with NumLock turned on ( which
is a feature that a lot of people seem to miss and nobody really knew how to
achieve this ).

Fix: 

Please extract the following archive to the x11 subdirectory of the ports
collection:
http://caraldi.com/jbq/numlockx/admin/numlockx.tgz
Comment 1 Ernst de Haan freebsd_committer freebsd_triage 2003-09-29 12:11:02 UTC
Responsible Changed
From-To: freebsd-ports-bugs->znerd

I'll handle this.
Comment 2 Ernst de Haan freebsd_committer freebsd_triage 2003-09-29 12:11:18 UTC
State Changed
From-To: open->feedback

Did a quick check with 'portlint' but it had 
quite a few complaints: 

$ portlint 
OK: checking /usr/home/ernst/freebsd/ports/x11/numlockx/pkg-descr. 
OK: checking Makefile. 
FATAL: no "ports collection makefile for" line in comment section of Makefile. 
FATAL: no "Whom" line in comment section of Makefile. 
FATAL: no $FreeBSD$ line in Makefile comment section. 
FATAL: extra item "MAINTAINER" placed in the PORTNAME section. 
FATAL: extra item "COMMENT" placed in the PORTNAME section. 
FATAL: extra item "HAS_CONFIGURE" placed in the PORTNAME section. 
FATAL: extra item "CONFIGURE_ENV" placed in the MAINTAINER section. 
FATAL: COMMENT has to be there. 
OK: checking /usr/home/ernst/freebsd/ports/x11/numlockx/distinfo. 
8 fatal errors and 0 warnings found. 

Please fix this first. 

-- 
Ernst
Comment 3 Ernst de Haan freebsd_committer freebsd_triage 2003-09-30 15:11:07 UTC
I get a time-out while connecting to dforce.sh.cvut.cz. Could you please 
copy the file to a public mirror somewhere and add that to MASTER_SITES 
(preferrably above dforce.sh.cvut.cz.) If you don't have such a location, I 
can upload the file to my distfiles section on the FreeBSD mirrors, but 
then you are dependant on me to update that when there is a new version of 
the distfile...

Ernst
Comment 4 ernst.dehaan 2003-10-01 11:18:56 UTC
I've got the distfile now. But now when I try 'make install deinstall' I get 
an error.

Tail of the output:

===>  Installing for numlockx-1.0
===>   Generating temporary packing list
===>  Checking if x11/numlockx already installed
/bin/sh ./mkinstalldirs /usr/X11R6/bin
  install -c -s -o root -g wheel -m 555  numlockx /usr/X11R6/bin/numlockx
===>   Registering installation for numlockx-1.0
===>  Deinstalling for x11/numlockx
===>   Deinstalling numlockx-1.0
pkg_delete: file '/usr/local/bin/numlockx' doesn't really exist
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)

It seems the pkg-plist is incorrect. Please fix.

Next time, please test using the procedures described in the FreeBSD 
Porter's Handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/
testing.html

Ernst
Comment 5 Ernst de Haan freebsd_committer freebsd_triage 2003-10-01 11:58:19 UTC
State Changed
From-To: feedback->closed

Committed, thanks!