Date: Thu, 17 Jan 2002 22:16:01 +0100 (CET) From: Jimmy Olgeni <olgeni@uli.it> To: FreeBSD-gnats-submit@freebsd.org Cc: re@freebsd.org Subject: bin/34007: pkg_create -b forgets to include install scripts Message-ID: <200201172116.g0HLG1p16097@olgeni.olgeni>
next in thread | raw e-mail | index | archive | help
>Number: 34007 >Category: bin >Synopsis: pkg_create -b forgets to include install scripts >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 17 13:20:02 PST 2002 >Closed-Date: >Last-Modified: >Originator: Jimmy Olgeni >Release: FreeBSD 4.5-RC i386 >Organization: Colby >Environment: >Description: The -b option of pkg_create can be used to build binary packages from installed ports. However, it will skip files which are essential to pkg_add operation (like +INSTALL for the package installation script). >How-To-Repeat: Try to create packages with "pkg_create -b" and the misc/pkg_tarup port, then compare the package contents (I used the postgresql port as an example only). $ pkg_tarup postgresql-7.1.3 $ tar tvfz /var/tmp/postgresql-7.1.3.tgz -rw-r--r-- root/wheel 71942 Jan 11 11:27 2002 +CONTENTS -rw-r--r-- root/wheel 50 Jan 11 11:27 2002 +COMMENT -rw-r--r-- root/wheel 1346 Jan 11 11:27 2002 +DESC -rwxr-xr-x root/wheel 910 Jan 11 11:27 2002 +INSTALL -rw-r--r-- root/wheel 1262 Jan 11 11:27 2002 +DISPLAY -rw-r--r-- root/wheel 1552 Sep 13 15:23 2001 man/man1/createdb.1.gz -rw-r--r-- root/wheel 1077 Sep 13 15:23 2001 man/man1/createlang.1.gz -rw-r--r-- root/wheel 1455 Sep 13 15:23 2001 man/man1/createuser.1.gz ... (this is ok) $ pkg_create -b postgresql-7.1.3 $ tar tvfz postgresql-7.1.3.tgz -rw-r--r-- root/wheel 71748 Nov 16 13:01 2001 +CONTENTS -rw-r--r-- root/wheel 50 Oct 1 18:39 2001 +COMMENT -rw-r--r-- root/wheel 1346 Oct 1 18:39 2001 +DESC -rw-r--r-- root/wheel 1552 Sep 13 15:23 2001 man/man1/createdb.1.gz -rw-r--r-- root/wheel 1077 Sep 13 15:23 2001 man/man1/createlang.1.gz -rw-r--r-- root/wheel 1455 Sep 13 15:23 2001 man/man1/createuser.1.gz ... The package from pkg_create is missing both +DISPLAY and +INSTALL. >Fix: The misc/pkg_tarup utility can be used as a workaround. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201172116.g0HLG1p16097>
