summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2007-07-27Move the +SHLIBS generation code back into the pkginstall module. In thejlam3-40/+43
plist module, it was being "defined" too late, and the pkginstall module never created any +SHLIBS scripts. Sidestep the tools problems with SHLIB_TYPE by pretending they don't exist (for now). XXX SHLIB_TYPE needs to be re-thought or removed altogether.
2007-07-27If using X11_TYPE=modular this means we have imake(1) from pkgsrc.tnn1-3/+7
We can't use our own imake to check for builtin packages so disable the check and always report that no builtin implementation exists. No objections on tech-pkg@
2007-07-27Don't depend on digest if FAILOVER_FETCH and NO_CHECKSUM are setjoerg1-2/+5
together.
2007-07-27Remove remaining traces of BUILDLINK_TRANSFORM.${pkg}.joerg1-5/+1
2007-07-25Documented PKGCONFIG_OVERRIDE and PKGCONFIG_OVERRIDE_STAGE.rillig1-1/+12
2007-07-25Add --config <file> from build scriptadrianp1-7/+35
2007-07-25Make sure PKG_INFO is setadrianp1-1/+2
2007-07-24Add epoll and a bunch of inspircd descriptions.adrianp1-0/+7
2007-07-23*blush* One variable was missing for the !modular case.joerg1-1/+2
2007-07-23Putting bsd.pkginstall.mk under bsd.tools.mk was a bad idea -- thejlam4-46/+44
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-23More aggressively conditionalize X11BASE handling. Only one casejoerg1-6/+28
is left now and that is hidden by LOCALBASE=X11BASE for modular Xorg.
2007-07-23When using check-perms, also depend on sysutils/checkperms.joerg1-1/+3
2007-07-21In cce, run cvs edit if the file is not writable. This occurs withgdt1-4/+7
CVSREAD=t, and should result in unchanged behavior with writable files. Split _CCE_CHANGES definition into _CCE_CHANGES_{DIR/BASE} to facilitate above.
2007-07-21Define ${PKG_INFO} before using it - from wiz@adrianp1-1/+2
2007-07-20Kill code to catch Zoularis installations. It is three years old andjoerg1-9/+1
anyone still having such an old installation has other issues like nbawk anyway.
2007-07-20Enabled the warnings.rillig1-1/+2
2007-07-20Added the license-handling code from bsd.pkg.mk to here. When this filerillig1-6/+23
will become active, the corresponding code will be cleaned up in bsd.pkg.mk.
2007-07-20Added code to display warnings at package build time. Among others, thisrillig1-0/+19
will be used for the licenses.
2007-07-20Rework list of default acceptable licenses.gdt1-18/+31
Use lower case to be consistent with existing license names. Declare that free/open licenses do not have -license at the end. Better articulate rationale for default choice. Add x11 license (also called mit). Note 'wait and see' stance towards gnu-gpl-v3.
2007-07-18Reversed file descriptors 1 and 2... time for a coffee break...jlam1-3/+3
2007-07-18Ignore the result of the ldconfig command.jlam1-3/+4
2007-07-18PKG_METADATADIR is the *second* argument.jlam1-2/+2
2007-07-18Add missing definition for "$ACTION", which is the first argument to thejlam1-1/+2
+SHLIBS script.
2007-07-18Add back a facility to rebuild the run-time library search paths databasejlam7-16/+107
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-18Preserve the default value of PLIST_SRC as PLIST_SRC_DFLT while stilljlam1-21/+20
allowing PLIST_SRC to be overridden in a package Makefile. It's now possible to do: PLIST_SRC= ${PLIST_SRC_DFLT} ${WRKDIR}/PLIST_DYNAMIC and still use the default PLIST.* fragment handling.
2007-07-18Add makedepend as a platform tool in case of native X11, due to it'stnn1-1/+4
residing outside of X11BASE.
2007-07-17Drop trailing components like -RELEASE for FreeBSD like we do forjoerg1-1/+2
DragonFly. This fixes the version number of lsof as side effect.
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-07-15Updated list of sourceforge mirrors according toheinz1-8/+7
http://sourceforge.net/project/mirror_picker.php.
2007-07-14Add support for the upcoming pkg_install-20070714 which now includesadrianp6-58/+152
audit-packages.
2007-07-14No need to pass "." as directory, it is default value.obache1-3/+1
2007-07-14Allow empty DIST_SUBDIR, need to fix PR 35494.obache1-3/+7
2007-07-13Don't cd to PREFIX, it might not exist yet. bin-install doesn't dojoerg1-2/+2
that either.
2007-07-12* Add a user-settable variable to tune the default verbosity of thejlam10-132/+84
+INSTALL and +DEINSTALL scripts: PKGINSTALL_VERBOSE A list of scriptlets that will be verbose and output a message noting the actions taken. * "all" is a special value that implies all of the other items * "fonts" for +FONTS * "info-files" for +INFO_FILES Default value: "all" for PKG_DEVELOPERs, empty otherwise. * Be "one-liner brief" when doing the default actions. For example, the info files output now looks like: gmake-3.81: registering info file /usr/pkg/info/make.info We retain the current verbosity for the CHECK-* actions.
2007-07-12No longer pass install_sh in the environment to GNU configure scripts.jlam4-9/+61
We fix GNU configure script stupidity by directly replacing the stock install-sh script provided by the software with the BSD install-compatible sysutils/install-sh script. A new package-settable variable comes to life: INSTALL_SH_OVERRIDE is a list of files relative to WRKSRC which should be overridden by the install-sh script from sysutils/install-sh. If not defined or set to "no", then no files are overridden. Possible values: no, defined, undefined. Default value: defined when GNU_CONFIGURE is defined, undefined otherwise. Get rid of the install_sh tool, which is no longer needed.
2007-07-07Describe flac, add wavpack, remove wcalc-gtk1 (not used, it seems).wiz1-2/+2
2007-07-06Fixed typos from the last commit. Clarified how ACCEPTABLE_LICENSES canrillig1-9/+8
be set in mk.conf.
2007-07-05Revise and expand discussion of variables. Avoid the phrase "the usergdt1-8/+29
accepting the license"; that sounds too close to a contract issue. Pkgsrc's license framework is merely about not building a package with a license not on the ok list by accident, and is not intended to have any contractual effects. Split comment about 'package user" into separate concepts of installing binary packages and running programs in packages. Add XXX about how DEFAULT_ACCEPTABLE_LICENSES relates to the initial value of ACCEPTABLE_LICENSES.
2007-07-04Make it easier to build and install packages "unprivileged", wherejlam1-5/+36
the owner of all installed files is a non-root user. This change affects most packages that require special users or groups by making them use the specified unprivileged user and group instead. (1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to unprivileged.mk. These two variables are lists of other bmake variables that define package-specific users and groups. Packages that have user-settable variables for users and groups, e.g. apache and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP}, etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS so that unprivileged.mk can know to set them to ${UNPRIVILEGED_USER} and ${UNPRIVILEGED_GROUP}. (2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.
2007-07-03+ be@latin for libwnck.wiz1-1/+5
2007-07-03Add common handling for libresolv similiar to dlopen(3) wrapping.joerg1-0/+66
For now, DragonFly and FreeBSD use the libc version, it is not reentrant, but thread-safe. NetBSD 3.0+ and Darwin 8.0+ use libresolv from base (the BIND9 resolver), all other fall back to net/bind9. Feel free to add your favorite platform if it has a thread-safe resolver in base. Modify mail/libspf-alf, mail/milter-greylist, mail/spamdyke and net/nocol accordingly. Testing on !DragonFly and feedback from tron@
2007-07-03Added a first draft for the licenses framework.rillig1-0/+59
2007-07-02s/PRIVILEGED_STAGE/PRIVILEGED_STAGES/g as it could refer to multipleadrianp1-2/+2
stages in the future. Suggested by rillig@
2007-07-02Don't special case mtree as tool.joerg1-2/+2
2007-07-02Remove USE_MTREE support. Keep one copy (the NetBSD version) forjoerg29-24041/+18
the purpose of print-PLIST in plist/common-dirs.mtree. Discussed with wiz@, no objections on tech-pkg@.
2007-07-02DragonFly is ELF-only. Fix indentation.joerg1-6/+2
2007-07-02Remove RSH definition.joerg12-24/+12
2007-07-02SSH_RSHPATH has been unused for ages, remove.joerg1-6/+1
2007-07-01Introduce PRIVILEGED_STAGE.adrianp1-1/+5
This can currently only be set to 'clean' which will result in a priveleged 'make clean' operation in case any package builds result in files under ${WRKSRC} that are owned by root. This is useful for certain packages e.g. python (on NetBSD) and ezm3 and possibly more.
2007-06-30Don't use open-ended dependencies for emacs20 and emacs21 to avoidjoerg1-6/+6
the wrong version from being picked up by pkg_add or bin-install. OK uebayasi@