Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Oct 2003 15:09:05 -0500 (CDT)
From:      "Scot W. Hetzel" <hetzelsw@westbend.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/57870: Missing +INSTALL/+DEINSTALL scripts with package-recursive
Message-ID:  <200310112009.h9BK95KV009773@WBIw009.westbend.net>
Resent-Message-ID: <200310112010.h9BKALaV043328@freefall.freebsd.org>

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

>Number:         57870
>Category:       ports
>Synopsis:       Missing +INSTALL/+DEINSTALL scripts with package-recursive
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 11 13:10:20 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Scot W. Hetzel
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
West Bend Internet
>Environment:
System: FreeBSD database.westbend.net 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Fri Sep 26 20:16:25 CDT 2003 root@database.westbend.net:/usr/obj/usr/src/C/sys/WB i386


>Description:
The package-recursive target is broken, as it doesn't create a package that
includes the +INSTALL/+DEINSTALL scripts for the parent package.  Dependant
packages are not affected.

I noticed this problem when using the package-recursive target on the
security/cyrus-sasl2 port, and then tried to install the package for
cyrus-imapd-2.2.1.b_1 on another system.  The install failed due to a
missing cyrus users, which is supposed to have been created by the
cyrus-sasl package +INSTALL script.

>How-To-Repeat:
1. Change to a port that has dependancies and install/deinstall scripts
   (i.e. mail/cyrus-imapd22)
2. Execute 'make package-recursive'
3. untar the contents of the package
    tar -tjvf <path/to/package>/cyrus-imapd-2.2.1.b_1.tbz | more

    -rw-r--r-- root/wheel    22745 Oct 11 14:14 2003 +CONTENTS
    -rw-r--r-- root/wheel       59 Oct 11 14:14 2003 +COMMENT
    -rw-r--r-- root/wheel     1097 Oct 11 14:14 2003 +DESC
    -rw-r--r-- root/wheel      347 Oct 11 14:14 2003 +DISPLAY
    -r--r--r-- root/wheel     8200 Oct 11 14:14 2003 +MTREE_DIRS
    -r--r--r-- root/wheel     5608 Oct 11 14:13 2003 man/man1/cyradm.1.gz
    -rw-r--r-- root/wheel     2272 Oct 11 14:13 2003 man/man1/imtest.1.gz

4. remove work/.package_done*
5. Execute 'make package'
6. untar the contents of the package
    tar -tjvf <path/to/package>/cyrus-imapd-2.2.1.b_1.tbz | more

    -rw-r--r-- root/wheel    22781 Oct 11 14:18 2003 +CONTENTS
    -rw-r--r-- root/wheel       59 Oct 11 14:18 2003 +COMMENT
    -rw-r--r-- root/wheel     1097 Oct 11 14:18 2003 +DESC
    -rw-r--r-- root/wheel     1165 Oct 11 14:18 2003 +INSTALL
    -rw-r--r-- root/wheel     1175 Oct 11 14:18 2003 +DEINSTALL
    -rw-r--r-- root/wheel      347 Oct 11 14:18 2003 +DISPLAY
    -r--r--r-- root/wheel     8200 Oct 11 14:18 2003 +MTREE_DIRS
    -r--r--r-- root/wheel     5608 Oct 11 14:13 2003 man/man1/cyradm.1.gz
    -rw-r--r-- root/wheel     2272 Oct 11 14:13 2003 man/man1/imtest.1.gz

>Fix:

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



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