Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Oct 2010 22:09:22 GMT
From:      Aragon Gouveia <aragon@phat.za.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/151374: [patch] net-p2p/uhub pkg-plist errors
Message-ID:  <201010102209.o9AM9MWQ056181@www.freebsd.org>
Resent-Message-ID: <201010102210.o9AMA1cs090903@freefall.freebsd.org>

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

>Number:         151374
>Category:       ports
>Synopsis:       [patch] net-p2p/uhub pkg-plist errors
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 10 22:10:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Aragon Gouveia
>Release:        8.1-STABLE
>Organization:
>Environment:
FreeBSD igor.geek.sh 8.1-STABLE FreeBSD 8.1-STABLE #0: Sat Jul 24 19:06:08 SAST 2010     toor@igor.geek.sh:/usr/obj/usr/src/sys/IGOR  amd64

>Description:
net-p2p/uhub has pathname errors in its pkg-plist.  Pardon me, I don't have the error messages at hand, but I think the attached patch will be self explanatory.

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- pkg-plist.orig	2010-06-11 18:06:11.000000000 +0200
+++ pkg-plist	2010-10-10 20:19:55.000000000 +0200
@@ -1,14 +1,14 @@
 bin/uhub
 @unexec if cmp -s %D/etc/uhub/uhub.conf.sample %D/etc/uhub/uhub.conf; then rm -f %D/etc/uhub/uhub.conf; fi
 etc/uhub/uhub.conf.sample
-@exec if [ ! -f %D/etc/uhub/uhub.conf ] ; then cp -p %D/%F %B/uhub/uhub.conf; fi
+@exec if [ ! -f %D/etc/uhub/uhub.conf ] ; then cp -p %D/%F %B/uhub.conf; fi
 @unexec if cmp -s %D/etc/uhub/users.conf.sample %D/etc/uhub/users.conf; then rm -f %D/etc/uhub/users.conf; fi
 etc/uhub/users.conf.sample
-@exec if [ ! -f %D/etc/uhub/users.conf ] ; then cp -p %D/%F %B/uhub/users.conf; fi
+@exec if [ ! -f %D/etc/uhub/users.conf ] ; then cp -p %D/%F %B/users.conf; fi
 @unexec if cmp -s %D/etc/uhub/motd.txt.sample %D/etc/uhub/motd.txt; then rm -f %D/etc/uhub/motd.txt; fi
 etc/uhub/motd.txt.sample
-@exec if [ ! -f %D/etc/uhub/motd.txt ] ; then cp -p %D/%F %B/uhub/motd.txt; fi
+@exec if [ ! -f %D/etc/uhub/motd.txt ] ; then cp -p %D/%F %B/motd.txt; fi
 @unexec if cmp -s %D/etc/uhub/rules.txt.sample %D/etc/uhub/rules.txt; then rm -f %D/etc/uhub/rules.txt; fi
 etc/uhub/rules.txt.sample
-@exec if [ ! -f %D/etc/uhub/rules.txt ] ; then cp -p %D/%F %B/uhub/rules.txt; fi
+@exec if [ ! -f %D/etc/uhub/rules.txt ] ; then cp -p %D/%F %B/rules.txt; fi
 @dirrmtry etc/uhub


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



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