Age | Commit message (Collapse) | Author | Files | Lines |
|
phase pkg_install-depends before bootstrap-depends that just tries to
install a new pkg_install if the current version is too old. Still
keep it as bootstrap dependency for the bulk build code.
For NetBSD, PKG_TOOLS_BIN has to be computed in shell code due to a make
bug.
OK: jlam@
|
|
+ Add a "chroot" option, stolen from pkg_comp(8) that starts a root
shell with a better environment setup.
|
|
|
|
|
|
|
|
|
|
|
|
They are long outdated and not maintained upstream.
Update infrastructure for their removal.
Removal was announced on pkgsrc-users on March 13.
|
|
Both have security problems and are not maintained.
Update infrastructure for their removal.
Removal was announced on pkgsrc-users on March 13.
|
|
problems which manifested in "make update" failing.
|
|
|
|
|
|
bumped in the mean time.
|
|
Remove PostgreSQL 8.0 as choice.
|
|
extract script. This can be used in a more natural way by custom
do-extract targets than EXTRACT_CMD.
|
|
|
|
(Need to consider installing a sane shell as part of bootstrap.)
|
|
happen.
|
|
/bin/sh, the "POSIX.2 compliant" shell, is FUBAR:
$ echo {a,b}
a b
|
|
Instead of just looking at the libraries, we check for the headers as
well, and if multiple implementations exist (usually because of symlinks
to shared libraries), then we order the search as:
tinfo, curses, termcap, termlib, c
|
|
in bsd.buildlink3.mk was broken with pkg_install-20080309 was it
returned a relative path. It would have failed before e.g. with symbolic
links in the path. pkg_info -E is simpler and was added exactly for this
purpose. Fixes PR 38213 and PR 38211.
|
|
|
|
|
|
|
|
BUILD_DEFS_EFFECTS instead of BUILD_DEFS.
|
|
code was moved to the builtin.mk file. The buildlink3.mk file should
contain the bits that always apply to all packages that include it.
The builtin.mk file should include the bits that only apply if
"termcap" is listed in ${BUILDLINK_PACKAGES} (this isn't the case
if we use curses to replace termcap). As such, redistribute the
code as follows:
+ Move the parts that remove -l options for terminal libraries we
don't support, as well as for transforming "-ltermcap" into the
appropriate libraries, from the builtin.mk back into the
buildlink3.mk.
+ Leave the parts the remove -lcurses and -lncurses in the
builtin.mk. We can remove the ${TERMCAP_TYPE} == "curses" check
since that part of the file is protected by CHECK_BUILTIN.termcap,
so it should only be triggered if "termcap" is in BUILDLINK_PACKAGES,
which only happens if ${TERMCAP_TYPE} isn't "curses".
|
|
package does not use either curses or ncurses. We determine this
by inspecting BUILDLINK_PACKAGES and looking for "curses" and
"ncurses".
+ Because the above logic uses BUILDLINK_PACKAGES, the code must be
moved from termcap.buildlink3.mk into termcap.builtin.mk where it
is safe to inspect BUILDLINK_PACKAGES.
|
|
the command line so we don't find any system ncurses library.
XXX This currently causes problems with packages using both termcap
XXX (usually via readline) and curses. This will be fixed in time.
|
|
|
|
PKG_GROUPS when SETGIDGAMES == yes.
|
|
files. These variables are currently usable if ${SETGIDGAME} == yes.
These variables should be used when describing ownership of files
and directories to the pkginstall framework, e.g.
SPECIAL_PERMS= bin/foogame ${GAMES_USER} ${GAMES_GROUP} 2555
+ Rename SETGID_GAME_PERMS to SETGID_GAMES_PERMS because the default
group name is "games".
+ Define SETGID_GAMES_PERMS in terms of GAMES_USER and GAMES_GROUP so
that these names are protected from the normal flow of unprivileged.mk.
This fixes the +INSTALL scripts in "user-destdir" packages to
correctly refer to the games:games instead of the user:group of the
user that built the packages.
|
|
|
|
group=game, mode=0775.
|
|
|
|
|
|
terminal library other than the one we specify.
+ Also look for "termlib" as some systems have that. Note that we need to
make the library search more sophisticated to work correctly on more
exotic platforms.
|
|
|
|
|
|
are trying to use (the termcap t*() API).
|
|
|
|
|
|
packages without having to do the LD_LIBRARY_PATH dance.
|
|
what we want. Instead, use another pattern to strip away lone "-l" in
BUILDLINK_LDADD.*.
|
|
|
|
always be used in other builtin.mk files.
+ In the USE_BUILTIN.* == "yes" case, set BUILDLINK_LIBNAME.* to the
corresponding BUILTIN_LIBNAME.* value so that BUILDLINK_LIBNAME.*
can always be used in other buildlink3.mk files.
|
|
|
|
section to be the name of the built-in library if USE_BUILTIN.* is
"yes". These variables can be used in other builtin.mk files.
|
|
defining BUILDLINK_LDADD.* by using a substitution instead of directly
prepending "-l".
|
|
that need basic termlib functionality, i.e. tgetent(), tgoto(),
tputs(), etc. Together with the termlib.builtin.mk file, they will
use either a built-in termcap library, a built-in X/Open "enhanced"
curses library, or ncurses to provide these functions.
+ Add BUILDLINK_LIBNAME.* definitions to the various curses buildlink3.mk
and builtin.mk files that give the "base" library name of the curses
library, e.g. curses, ncurses, etc. These are used by the termlib
files to set BUILDLINK_LIBNAME.termlib.
|
|
that include curses.buildlink3.mk. Generally, the rule is not to set
CURSES_DEFAULT unless it's to set it to "ncurses" or "pdcurses".
# Example mk.conf settings and their results.
# Use the system curses.
PREFER_NATIVE= yes # default value
CURSES_DEFAULT= curses # default value
# Use system "ncurses" if it's available, otherwise use devel/ncurses
# from pkgsrc.
#
PREFER_NATIVE= yes # default value
CURSES_DEFAULT= ncurses
# Use devel/ncurses from pkgsrc.
PREFER_PKGSRC= yes
# Use devel/pdcurses from pkgsrc.
PREFER_PKGSRC= yes
CURSES_DEFAULT= pdcurses
# This causes a package build failure because there is no pkgsrc
# curses.
#
PREFER_PKGSRC= yes
CURSES_DEFAULT= curses
|