Age | Commit message (Collapse) | Author | Files | Lines |
|
Takayoshi in a private mail.
|
|
|
|
mark a package as not being able to build, due to some fatal error. I
don't see any reason _not_ to use PKG_FAIL_REASON in those cases.
|
|
|
|
logic to all platforms:
Some packages (such as math/gap) create wrappers based on the name of
the compiler, so ${CC} should not contain any flags. Move flags into
CFLAGS.
|
|
|
|
|
|
|
|
Do *not* use "TMPDIR" variable. If the user has already set an environment
variable "TMPDIR" it well be overwritten my the path to the directory
created by the script and passed to "make". As a result it will get
compiled into certain packages (e.g. "sysutils/dbus") which will no
longer work after the directory has been removed.
|
|
If a plist contains @owner or @group entries and first rename failed,
pushout was called with NULL argument. This has the semantic of using a
working directory of "/", even though already read plist entries are
relative to prefix. The calls to chown and chgrp therefore end up with
the wrong arguments for the current directory. To compensate for this,
don't pushout the first time. As plists are not supposed to have
multiple @cwd entries anymore, this could most likely be simplified, but
that is outside the scope of this commit.
Merge lib/plist.c, rev 1.51:
When processing symlinks in pkg_delete and the call to readlink failed,
it often helps to know why, so use warn instead of warnx.
Bump version to 20061103.
|
|
|
|
|
|
(Requested in PR 34920.)
The warning about uncommitted patch files only appears when the distinfo
file is already committed.
|
|
Bump version to 1.6.6.
|
|
|
|
Bugfix: When allocating more memory, it does not help to double the
amount if the current amount is zero.
|
|
|
|
${PREFIX}/${PKGMANDIR} is preferred over ${PREFIX}/man.
{ONLY,NOT}_FOR_PLATFORM may appear multiple times in the package
Makefile.
|
|
|
|
|
|
code.
|
|
|
|
The WRKSRC variable (among others) is checked to consist of ony one
word. The url2pkg tool had created lines like
WRKSRC= ${WRKDIR}/Makefile PLIST distinfo
in the past, which happened to work in most cases up to now, but really
shouldn't.
|
|
|
|
apg is a bit special as it has some hardcoded ownership, so
mark that as "destdir".
|
|
committed to CVS, a warning is printed.
|
|
hand-tuning the directories where KDE files are installed.
|
|
|
|
Added an explanation for why ${DESTDIR}/foo is considered an absolute
pathname.
|
|
sets PREFIX=/.
|
|
|
|
Make sure use PKG_SYSCONFDIR for the "etc" sed expression.
Also do the SUBST_SED on the configuration example file too.
|
|
|
|
Changes since 2.0:
- Made the dependency detection for Perl modules work again. The code
does not assume to be run in a special directory anymore.
- Perl modules that use the prompt() function to query the user
interactively can be handled. All questions are assumed to be answered
by just pressing <enter>.
- Made url2pkg more robust when interpreting the output of MakeMaker.pm.
Many Perl modules write additional things to stdout during the
generation of the Makefile.
- The language for the *.f files is "fortran", not "f".
- Fixed the regular expression for prdownloads.sourceforge.net links, so
that the distfile name is properly extracted.
|
|
- Handle 'badly named' patch files
- In the event of a distint checksum mismatch, report the affected file
as well as package
- If we need to call out to make to parse a makefile and it returns any
errors, ensure we prefix the error output with the Makefile path
- run through perltidy. Ugly, but consistent
|
|
Rewrote url2pkg in Perl, enhancing it in several ways:
- Packages for Perl modules using MakeMaker can be generated almost
completely. The only thing that usually needs to be filled out after
running url2pkg is the DESCR file.
- USE_LANGUAGES is filled automatically.
- After generating the initial Makefile, the editor is run to let the
user edit the Makefile. These changes are preserved as much as
possible. (This had not been the case before.)
- Extending url2pkg has been made much easier by splitting the tasks that
do the "magic" into small subroutines and by adding a detailed
description of what these routines are supposed to do.
Set the version number to 2.0.
|
|
This avoids problem where the plist-man.awk script sees the empty
value for MANINSTALL and sets it to the default of 'maninstall catinstall'.
Fixes install/packaging problems on solaris.
|
|
- Is '*' is passed to -U, unset all tags
- Implement -p, to display all the pkgdirs for a given set of tags
|
|
|
|
|
|
From fgudin at nerim.net, thanks.
|
|
unbreak build of x11-links.
|
|
|
|
|
|
|
|
Cheusov in PR/34453
|
|
|
|
|
|
Since many package fail to build in exotic environments because of that,
it is worth having this check even though we are currently in a freeze.
Improved the detection of absolute pathnames once more.
|
|
took about 300 MB of memory. Now it takes 27 MB, which is still much,
but quite better.
The cause for the memory leak was that I wrote
my ($result) = @_;
instead of
my ($result) = ($1);
after successfully matching a regular expression. That way, pkglint
created some cyclic data structures, and since Perl does not have
garbage collection, these didn't get cleaned up.
Added some checks so that this cannot easily happen again. Also fixed
some other instances where @_ appeared in the source code.
|