sense of pkg_tools_prefix and prefix in the sense of LOCALBASE.
This allows individual overriding for NetBSD.
Add the forgotten part to allow DESTDIR builds and the pkgsrc.7 man
page.
page. Fix build on !NetBSD. Rebuild man pages with nroff -mandoc on
NetBSD current for consistency. Make it DESTDIR safe. Remove the note
that src/usr.sbin/pkg_install is the authoritive version, it won't be
any longer.
When fixing vsftpd, other FTP server were broken as they return
different error codes for unmatching glob patterns. Basically ignore the
error code and just try the other pattern. chdir errors are still
considered fatal.
Bump version to 20070715.
Merge of audit-packages with various improvements:
* Version 20070714
Initial release of re-write in C
Add support for notfication of eol packages (-e)
Multiple levels of verbosity (e.g. -v -v)
Specify a custom config file to use (-c)
Query running config values (-Q)
Default to download .gz compress pkg-vulnerabilities file
Support for .bz2 compress pkg-vulnerabilities file
Verify signature on downloaded files (-s)
Thanks to tron@, jschauma@, agc@, joerg@ and pkgsrc-security@ for feedback
and testing.
portability somewhat:
- consistently use POSIX uint{8,16,32,64}_t throughout the code.
- asssume for now that the compiler supports ULL as suffix
- use AC_TYPE_UINT{8,16,32,64}_T instead of bits.c to compute
possible replacement types.
Bump to 20070703. Tested by Thorsten Glaser on Interix and tnn@ on
Solaris.
even if standard input is the empty string. Install a wrapper script
bundled with pkgtools/bootstrap-extras to deal with this. This is an
attempt at a permanent workaround for the problem described in PR pkg/25777
which has regressed since it was initially fixed.
We can now bootstrap again on Interix 3.5.
Add vsnprintf prototype as the function is implemented and used.
Add all the macros from NetBSD's sys/queue.h defined for the types
implemented.
Bump version to libnbcompat-20070622.
Tested by dmcmahill@NetBSD.org on Solaris.
OK jlam@, agc@
Discussion of various parts of the design with jlam@, wiz@, tls@
and many other developers. Special thanks to David Maxwell for
testing the initial prototype and finding some bugs with
Coverity Prevent.
Supported by Google's Summer of Code 2007 project.
OK for import during the freeze: jlam@
From DESCR:
pbulk is the modular bulk build framework for pkgsrc.
This package contains:
- pbulk-scan, a program to scan the entire pkgsrc tree
or a list of directories therein for packages and
dependencies. Distributed operation using a master/client
mode is supported.
- pbulk-resolve, a program to resolve the dependencies
from the output of pbulk-scan
- pbulk-build, the build scheduler. Distributed builds via TCP
are supported.
- bulkbuild and related scripts to implement full and limited
bulk builds on top of those programs.
The pbulk framework is considered experimental.
Changes since 20070507:
Completely rewrote the fgetln implementation, since the previous version
couldn't handle files that don't end with a '\n' character. Tested on IRIX,
NetBSD and Solaris.
after the last hyphen is the version, not everything after the first
occurence of '-[0-9]'. This allows pkg_rolling-replace users to upgrade
packages such as font-bitstream-100dpi.
- Use INSTALL_MAN, not INSTALL_SCRIPT. Manpages are not executable.
- Bump PKGREVISION.
preprocessor to find out the absolute path of the system header, so that
we may include it before we add our customizations.
This is especially important when using gcc, due to it's "fixincludes".
For example, <math.h> might not be /usr/include/math.h, but instead
something like /path/to/gcc/lib/gcc/${MACHINE_GNU_PLATFORM}/include/math.h.
This package attempts to resolve deficiencies in system headers.
These deficiencies are commonly found on older operating system releases.
When use of posix_headers has been enabled on a platform, this package will
become a compile-time dependency for every package. It will provide customized
header files that take preference over some system provided ones (that may
not even exist). This happens transparently through use of buildlink3.
Add a missing FAIL= to the start of pkg_install(), the absence
of which would cause a package which had been "previously
installed" to pick up the last value of FAIL (and sometimes be
incorrectly marked as failed). Thanks to Martin Weber for the
diagnosis.
Some FTP server don't expand [] in NLIST, most noticable is vsftpd.
Avoid this by splitting the wildcard search pattern into two commands.
Sync some other minor changes.
Bump to 20070416.
various packages, pass down PKG_PRESERVE. Remove the default setting of
PKG_PRESERVE, it makes perfect sense to install e.g. pkgtools/mtree
and be able to remove it again, if it is not an essientiel tool.
OK jlam@
definitely cannot run pkg_select, they should be added via
NOT_FOR_PLATFORM.
Made PKGTOOLS_PATH configurable. It is now set to the value of
PKG_TOOLS_BIN.
Moved the SUBST block further up in the package Makefile.
PKGREVISION++
- obsolete support for require scripts
- nuke support for the following options of pkg_create:
-X (excludefile)
-r (require script)
-h (Force follow symlink)
- add option for pkg_create to specify additional @blddep packages.
This brings us to version 20070308.
Changes since 2.3:
- When more than one directory exists in WRKDIR after extracting the
distfile, a helpful comment is added to the generated Makefile.
Rewrote the shell parser to handle backticks recursively. This would
have found the recent quoting bug in mk/flavor/pkg/depends.mk.
The RUN make(1) variable is correctly identified.
clear that these variables are completely unrelated to
BUILDLINK_TRANSFORM.
Added a legacy check that catches appearances of BUILDLINK_TRANSFORM.*.
XXX: Where should incompatible changes in pkgsrc be documented?
Changes since 2.2:
- Detect more sourceforge download URLs.
- wrksrc_files and wrksrc_dirs are looked for in WRKSRC, not in WRKDIR.
- When the URL is being read in and an EOF occurs, the program exits.
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.
Fixes PR 35265, although I did not use the patch provided therein.
packages with the modular Xorg equivalent. Those are falling back
to the old location by default, so this commmit doesn't change
dependencies.
graphics/xpm ==> x11/libXpm
fonts/Xft2 ==> x11/libXft
x11/Xfixes ==> x11/libXfixes
x11/xcursor ==> x11/libXcursor
x11/Xrender ==> x11/libXrender
x11/Xrandr ==> libXrandr
Following existing practice, the variable PKG_BUILD_OPTIONS.* may be
queried in buildlink3.mk files in the .include section, and no warning
is generated anymore.
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.
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.
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.
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.
Changes since 4.68:
- Improved the checks for BUILD_DEFS.
- Improved the shell word parser.
- Improved the heuristics for detecting absolute pathnames.
- The :M* operator is only required with GNU configure scripts.
Committed during the freeze to have a unique version number that includes
the features from the last days.
- Sort dependencies properly so that, e.g., 2.10 is considered newer than 2.8.
This is still a hack and might fail in some cases, but is hopefully much
better than before.
reasonably well. In the first pass, all variables that are added to
BUILD_DEFS are collected, and in the second pass it is checked whether
any remaining user-defined variables are used but have not been added to
BUILD_DEFS. This way, it does not matter in which order the variables
appear in the files.
tiger instead. Also kill bogus NULL pointer handling in both algorithms:
passing null pointers as buffers (when len != 0) or context is a serious
programming error and should result in a segfault. Bump version to
20060826. OK agc@
shell parser to correctly handle ${WRKSRC.${d}}, which appears for
example in geography/epsg.
Avoided an internal fatal error for files that contain RCS conflicts.
- Intoduce fatal_later() and fatal_later_check() and use them to clean
up reporting unavailable package dependencies
- Remove unused references to opt_S (reported by bad@)
- Fix manpage reference DEPENDS_TARGET -> UPDATE_TARGET (reported by bad@)
Changes since 4.67:
- Adjusted to the ongoing changes in the pkgsrc infrastructure.
- Many small improvements in the makevars.map file.
- Stricter checking of dependency patterns, to catch foo-*.
- Small improvement on the use of stack space due to complicated regular
expressions.
- Many more absolute pathnames are found in patch files, no matter which
type of file is patched.
- All user-defined variables that are used should be added to BUILD_DEFS.
- All packages that set GNU_CONFIGURE are assumed to need a C compiler.
- Instead of ${TOOL}, tool may be used directly, since the tool wrappers
are installed very early in the build process.
- Removed the --debug option.
... and many more.