summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
AgeCommit message (Collapse)AuthorFilesLines
2008-05-26Move meta package override earlier.joerg1-20/+19
2008-05-25Explicitly add pax dependency in those Makefiles that use it (or havejoerg1-2/+2
patches to add it). Drop pax from the default USE_TOOLS list. Make bsdtar the default for those places that wanted gtar to extract long links etc, as bsdtar can be built of the tree.
2008-05-23PKGNAME_NOREV is used to define the DIST_SUBDIR in some places, sojoerg1-19/+31
ensure it is defined with the rest of the PKGNAME_* variables before including the phase variable files.
2008-05-22Move digest dependency into checksum and fetch part.joerg1-4/+1
Make _ALL_FILES and in turn _CKSUMFILES available earlier. Use it to only depend on digest if _CKSUMFILES is non-empty. NO_CHECKSUM will now only skip the checksum and checksum-phase targets. FAILOVER_FETCH will independently check the sums on distfiles and depend on digest, fixing the remaining issues originally raised in PR 34914.
2008-05-21Commit a workaround for the "make replace fails as non-root" bug:tnn1-2/+2
Make sure _PKGSRC_BARRIER is set when using just-in-time su. I've been running this for a long time in my tree without ill effects. For more information see PR pkg/34470 and PR pkg/38505.
2008-04-03Move handling of pkg_install version into flavor. Add an explicitjoerg1-21/+1
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@
2008-03-08Add PKGVERSION_NOREV to complemenet PKGNAME_NOREV.joerg1-1/+3
2008-02-26Split PKGTOOLS_REQD into two parts. If we don't have PKGTOOLS_REQD,joerg1-4/+7
but something after PKGTOOLS_BASE_REQD, just register a bootstrap dependency.
2008-02-13Pass the proper flags for stripping binaries to packages using BSD Make.rillig1-1/+2
2008-02-10Enable fake home directory support. Also add a wrkref check because antnn1-1/+10
embedded path to the HOME directory can be a security problem if, say, the package looks in the HOME directory of an unprivileged user for configuration files. Note that this has the potential to cause some short-term fallout.
2008-02-07Replaced _PKG_SILENT and _PKG_DEBUG with RUN.rillig1-5/+5
2008-01-16pkg_install 20070802 is good enough, don't be overly aggressive.joerg1-4/+1
2008-01-13Bump PKGTOOLS_REQD to 20071224 so everyone still has the functionalityadrianp1-2/+2
that used to be in security/audit-packages.
2008-01-01Add more *ONW, *GRP and *MODE variables to BSD_MAKE_ENV for unprivileged build.obache1-1/+5
2007-12-19Meta packages have user-destdir support and don't need any patches.rillig1-1/+4
2007-12-19Added a variable META_PACKAGE that should be set to "yes" byrillig1-1/+17
meta-packages. That way, the packages don't need to know the details of how meta-packages are defined.
2007-12-13show-var is related to show-vars and show-subdir-var.rillig1-1/+5
2007-12-01Removed _INTERACTIVE_COOKIE, after asking on tech-pkg if anyone needsrillig1-2/+1
it. It had only been used to change the "nerrors" variable in bulk builds, but this variable is not used further anyway.
2007-10-13Fix the .include lines so that make looks in the right place first.dsl1-51/+51
Remember .include "foo.mk" is looked for (first) in the directory that contains the makefile being processed (like in C), so remove all the ${.PARSEDIR} and ../ sequences that just cause grief.
2007-10-09Remove trailing spaces.martti1-2/+2
2007-09-29Removed a funny comment from 1997.rillig1-6/+1
2007-09-27More comments.rillig1-1/+6
2007-09-07Add a "system features" framework that will eventually be used tojlam1-1/+3
automatically supply missing "basic" headers and libraries from an older system, e.g. IRIX 5.x or Interix or AIX, etc. Example usage: USE_FEATURES+= snprintf glob regex For now, we just pull in libnbcompat to supply the missing bits.
2007-09-07The WRKDIR and PREFIX can be saved in the log directory when a packagerillig1-2/+2
doesn't build properly. These options are off by default since they require much disk space.
2007-08-18Explicitly bail out if X11_TYPE=xorg is found.joerg1-1/+7
2007-08-13Moved the stuff that is common to all directories of pkgsrc into its ownrillig1-38/+2
file. Now "make help" can be called from the top-level directory, avoiding to parse lots of buildlink3.mk files just to get some help.
2007-08-13build-env is no longer defined in bsd.pkg.debug.mk.rillig1-2/+2
2007-08-13Fixed _PKG_DEBUG_SCRIPT for the case of PKG_DEBUG_LEVEL=0.rillig1-2/+2
2007-08-10Try a bit harder to guess which mk.conf the user is using, whenjoerg1-2/+10
telling him to accept a license: - if MAKECONF is set, use that - if this is NetBSD and a non-bootstrap make is used, take /etc/mk.conf - otherwise use ${PREFIX}/etc/mk.conf. Issues reported by Michael Neumann on DragonFly's user list.
2007-08-03Update _USE_DESTDIR=full handling to use the new -u/-g code andjoerg1-1/+5
require pkg_install-20070802 for using it. It is now considered to work correctly and ready for general consumption.
2007-07-29* Add new emulator framework in pkgsrc/mk/emulator that handles alljlam1-1/+5
binary-only packages that require binary "emulation" on the native operating system. Please see pkgsrc/mk/emulator/README for more details. * Teach the plist framework to automatically use any existing PLIST.${EMUL_PLATFORM} as part of the default PLIST_SRC definition. * Convert all of the binary-only packages in pkgsrc to use the emulator framework. Most of them have been tested to install and deinstall correctly. This involves the following cleanup actions: * Remove use of custom PLIST code and use PLIST.${EMUL_PLATFORM} more consistently. * Simplify packages by using default INSTALL and DEINSTALL scripts instead of custom INSTALL/DEINSTALL code. * Remove "SUSE_COMPAT32" and "PKG_OPTIONS.suse" from pkgsrc. Packages only need to state exactly which emulations they support, and the framework handles any i386-on-x86_64 or sparc-on-sparc64 uses. * Remove "USE_NATIVE_LINUX" from pkgsrc. The framework will automatically detect when the package is installing on Linux. Specific changes to packages include: * Bump the PKGREVISIONs for all of the suse100* and suse91* packages due to changes in the +INSTALL/+DEINSTALL scripts used in all of the packages. * Remove pkgsrc/emulators/suse_linux, which is unused by any packages. * cad/lc -- remove custom code to create the distinfo file for all supported platforms; just use "emul-fetch" and "emul-distinfo" instead. * lang/Cg-compiler -- install the shared libraries under ${EMULDIR} instead of ${PREFIX}/lib so that compiled programs will find the shared libraries. * mail/thunderbird-bin-nightly -- update to latest binary distributions for supported platforms. * multimedia/ns-flash -- update Linux version to 9.0.48 as the older version is no longer available for interactive fetch. * security/uvscan -- set LD_LIBRARY_PATH explicitly so that it's not necessary to install library symlinks into ${EMULDIR}/usr/local/lib. * www/firefox-bin-flash -- update Linux version to 9.0.48 as the older version is no longer available for interactive fetch.
2007-07-23Putting bsd.pkginstall.mk under bsd.tools.mk was a bad idea -- thejlam1-13/+4
former set several USE_TOOLS lines that were being missed by bsd.tools.mk. Rearrange the +SHLIBS code so that bsd.tools.mk can now be included after bsd.pkginstall.mk again. The +SHLIBS code has now been moved over to the plist module, which is so far the repository for all of the shlib-type handling. This should fix the problem with fonts handling being broken.
2007-07-20Enabled the warnings.rillig1-1/+2
2007-07-18Add back a facility to rebuild the run-time library search paths databasejlam1-4/+13
on platforms that need it. XXX Right now, if the platform needs it, then it runs for every package. XXX This needs to be fixed to only run for packages that install shared XXX libraries. * Move mk/plist/shlib-type to mk/scripts. * Move definition of SHLIB_TYPE from mk/plist/plist.mk to bsd.pkg.mk. * Move inclusion of bsd.pkginstall.mk below bsd.tools.mk so that it can use SHLIB_TYPE. This is necessary because SHLIB_TYPE's value is the result of evaluating a command, and the command needs "TOOL" definitions provided by bsd.tools.mk.
2007-07-16Change default value of CREATE_WRKDIR_SYMLINK to no. In combination withjoerg1-2/+2
WRKOBJDIR, the pkgsrc tree is now read-only. Brought up multiple times on tech-pkg and no major objection.
2007-05-09Add two targets, pbulk-index and pbulk-index-item.joerg1-1/+5
pbulk-index-item prints a number of variables used by the parallel bulk build code during either the build, the report or the upload phase. pbulk-index checks whether multiple versions of the current package could be build (e.g. because multiple Python versions are supported) and uses pbulk-index-item for each possible combination. Thanks to David Laight for explaining the different between using :[#] in the body of a make target and in a clause of an .if. Powered-by: Google SoC 2007.
2007-04-01Fix quoting issue that gave syntax error when printing the messagekristerw1-2/+2
that new package tools are needed.
2007-03-02Remove warning about LIB_DEPENDS, it's sooooo long gone...wiz1-5/+1
2007-02-22Finished the split of PKGSRC_LOCKTYPE into LOCALBASE_LOCKTYPE andrillig1-3/+3
WRKDIR_LOCKTYPE. Added more documentation.
2007-02-20I find the ABI useful to know when looking at a binary package.rillig1-1/+2
2007-02-09MAKEFLAGS for su-${.TARGET} is ${MAKEFLAGS.su-${.TARGET}},obache1-2/+2
not ${MAKEFLAGS.${.TARGET}} . Fix non-root user update target.
2007-01-11Added the INFO_MSG command, which can be used when the user should berillig1-3/+4
noticed about something that is not severe enough to need a warning. INFO messages go to stdout instead of stderr. Added the :M* modifier to the INSTALL_MACROS to make the resulting command lines somewhat shorter.
2007-01-06Added the FAIL command, which can be prepended to an arbitrary shellrillig1-1/+6
command, making it return with a non-zero exit status. The first use of it is in a command called FAIL_MSG, which prints an error message and exits immediately. ERROR_MSG itself doesn't do that.
2007-01-02Cleaned up bsd.pkg.mk:rillig1-98/+55
- Removed some outdated comments. - Made the inclusion of other *.mk files uniform. - Replaced some instances of ${_PKG_SILENT}${_PKG_DEBUG} with ${RUN}, since the latter is much shorter.
2007-01-02Moved the show-tools target to misc/show.mk.rillig1-60/+6
Moved the changes-entry target to misc/developer.mk. To save some time, that file is only included when PKG_DEVELOPER is defined. Moved the build-defs-message target to misc/show.mk and renamed it to show-build-defs, since almost all other *-message targets just print a single line.
2007-01-02Added an additional line to the parallel error message.rillig1-1/+3
Added an empty line to separate the description of su-target from the definition of _ROOT_CMD (for "make help").
2006-12-15Remove trailing spaces.martti1-2/+2
2006-11-26Moved the code that checks for PKG_FAIL_REASON and PKG_SKIP reason fromrillig1-2/+2
the internal/ directory to misc/, since it is not really internal to pkgsrc. Fixed the case where PKG_SKIP_REASON was not noticed by the bulk builds. Added the NOT_FOR_UNPRIVILEGED and ONLY_FOR_UNPRIVILEGED variables.
2006-11-19Use PKG_FAIL_REASON for platform checks, to make them work again.wiz1-2/+2
XXX: PKG_SKIP_REASON seems broken?
2006-11-16Moved the check for PKG_FAIL_REASON and PKG_SKIP_REASON at the very endrillig1-3/+2
of bsd.pkg.mk, so that all infrastructure parts may add their error messages to PKG_FAIL_REASON.