Bug 54805 - makeself port problems
Summary: makeself port problems
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
Depends on:
Reported: 2003-07-24 12:30 UTC by Andriy I Pylypenko
Modified: 2003-07-28 06:11 UTC (History)
0 users

See Also:

file.diff (1.63 KB, patch)
2003-07-24 12:30 UTC, Andriy I Pylypenko
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andriy I Pylypenko 2003-07-24 12:30:16 UTC
There are two problems with makeself port. 

1. Starting from version 2.x makeself binary consists of two scripts - makeself.sh and makeself-header.sh. The port was updated recently, but file makeself-header.sh was not added to port.

2. The makeself script is not compatible with FreeBSD's /bin/sh. It produces broken archives when runs under /bin/sh. Changing interpreter to bash resolves this problem.

Fix: The following patch resolves both of these problems.

How-To-Repeat: Problem 1. Install makeself from the ports collection and try to run it. It will fail and will report that the makeself-header.sh file is missing.

Problem 2. Copy makeself-header.sh to /usr/local/bin/ to avoid first problem, create the self-extracting archive with the makeself then try to run that archive. Self-extractor will fail and will complain about checksum error.
Comment 1 Daichi GOTO freebsd_committer 2003-07-28 06:09:42 UTC
State Changed
From-To: open->closed

Committed. Thanks!