ports/57870: Missing +INSTALL/+DEINSTALL scripts with package-recursive
Scot W. Hetzel
hetzelsw at westbend.net
Sat Oct 11 20:10:24 UTC 2003
>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 at 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:
More information about the freebsd-ports-bugs
mailing list