pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/39271: rcd_scripts don't work if names match package directory

>Number:         39271
>Category:       pkg
>Synopsis:       rcd_scripts don't work if names match package directory
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 02 13:30:00 +0000 2008
>Originator:     Steven M. Bellovin
>Release:        NetBSD 4.99.59
Department of Computer Science, Columbia University
System: NetBSD 4.99.59 NetBSD 4.99.59 (YELLOWSTONE) 
#10: Fri Jun 6 15:51:05 EDT 2008
Architecture: x86_64
Machine: amd64
        When processing RCD_SCRIPTS, the files are copied to
        ${WRKDIR}.  If, however, the script name matches ${PKGBASE} -- quite
        normal in many cases -- and the source tarball doesn't have a
        version name attached to its top-level directory (or indeed
        doesn't have a top-level direcotry at all, per pkgsrc.txt),
        this copy won't do the right thing, and the rc.d file won't get
        See above.
        The proper fix, I suspect, is for there to be another . subdirectory
        of ${WRKDIR} to hold the rc.d files.  (N.B. I suspect this
        can happen with other files staged to ${WRKDIR}.)  What I've
        done temporarily is have a post-extract rule to rename to
        extract directory to ${DISTNAME}.


Home | Main Index | Thread Index | Old Index