summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2007-12-20remember to close() the "ls -l " exprs, lest we run out of file descriptorsabs1-1/+2
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-18Doing USE_TOOLS+=cmake in the configure stage is too late so move itmarkd5-14/+31
to tools. Also cmake wants cpack to exist in the same directory so toolise it and make cmake and cpack imply each other.
2007-12-17Make Apache 2.2.x the default as discussed on "tech-pkg" mailing list.tron1-2/+2
2007-12-16Fix cut and paste error in last change.tron1-2/+2
2007-12-16Mac OS X's Leopard "/bin/sh" doesn't support "echo -n" (apparently bytron1-1/+5
purpose because if it is invoked as "/bin/bash" it does). Use "/bin/echo -n" instead.
2007-12-16Removing '||' does not mean 'simpler' (hi rillig).obache1-2/+2
2007-12-16audit-packages logic for its location depends on a variety of factorsadrianp1-1/+19
including OS, pkg_install version and NetBSD version. The following should pick the correct version to run.
2007-12-14Add an nls option so that packages can make it optional.bjs1-0/+1
2007-12-13show-var is related to show-vars and show-subdir-var.rillig1-1/+5
2007-12-13Made "bmake show-help topic=show-var" (and probably some others) workrillig1-4/+4
again.
2007-12-13Added information about the interface to this file, which can be queriedrillig1-1/+37
with "bmake show-all-pkginstall".
2007-12-12Add support for kde4 (currently in wip) so that packages in wip can usemarkd1-1/+8
"USE_DIRS+= kde4-1.0"
2007-12-12Add support for cmake as a tool (USE_TOOLS+=cmake) and for using it inmarkd6-5/+144
the configure stage of a build (by setting USE_CMAKE=yes).
2007-12-11Updated list of sourceforge mirrors according toheinz1-5/+2
http://sourceforge.net/project/mirror_picker.php and sourceforge.jp
2007-12-10Added compatibility code for INSTALLATION_DIRS_FROM_PLIST. I hadrillig1-1/+2
intended that all the time, but didn't test enough. :( Thanks to wiz for catching this one.
2007-12-07Added AUTO_MKDIRS as an alias for INSTALLATION_DIRS_FROM_PLIST. Therillig1-1/+3
variable is much more comfortable than specifying all the directories in INSTALLATION_DIRS that using such a long name for it feels like a punishment. It also doesn't look nice in the package Makefiles, for example: old: INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man8 new: AUTO_MKDIRS= yes The variable INSTALLATION_DIRS_FROM_PLIST will be deprecated slowly.
2007-12-06Print an understandable error message if the number of arguments forrillig1-1/+6
CONF_FILES, CONF_FILES_PERMS, REQD_FILES, REQD_FILES_PERMS is wrong. NB: The code doesn't read like "shift 5 || error_out" since NetBSD's shell exits if a shift fails in this case, instead of just reporting an error. Fixes PR 37489. I didn't fix the code in pkglint (which was suggested in the PR) since it seems too complicated to me. There is no support for a "MultipleShellWords" data type by now, and pkglint would have to know that SETUID_ROOT_PERMS is of type "ThreeShellWords: Username, Groupname, Filemode". That's too much work and doesn't look nicely.
2007-12-05Don't prefer "pkgsrc" versions of "MesaLib", "Xft2" etc. undertron1-1/+6
Mac OS X Leopard which ships with an uptodate version of X.org.
2007-12-05Escape colons in preprocessor, compiler or linker flags while checkingtron1-12/+12
their existances in other variables. This avoids parsing errors if e.g. "BUILDLINK_LDFLAGS.<pkg>" contains a colon.
2007-12-02Revert unintended commit.wiz1-5/+2
2007-12-02Fix typo in error message. From Sergey Svishchev.wiz2-4/+7
2007-12-02Removed the block comments, as they were full of redundant words.rillig1-61/+29
2007-12-01Removed _INTERACTIVE_COOKIE, after asking on tech-pkg if anyone needsrillig8-27/+12
it. It had only been used to change the "nerrors" variable in bulk builds, but this variable is not used further anyway.
2007-12-01If a package defines FETCH_MESSAGE, show that instead of the genericrillig1-2/+2
instructions.
2007-11-30Since the "build" target is run inside the pkgsrc barrier, "build-env"rillig2-3/+7
gets the same treatment.
2007-11-30Solaris SunPro Compiler 11/12 fails on Solaris 8/9 with -xc99. The header ↵rhaen1-1/+9
files supplied by the OS are not c99 aware, the manpage suggests the setting: -xc99=all,no_lib for Solaris 8/9. See PR 37200
2007-11-30The interpreter check for packages which are their own interpreter,bjs1-2/+6
e.g. lang/perl5, was failing. Adding a check for ${DESTDIR}"$$interp" fixes this.
2007-11-30Documented USE_IMAKE.rillig1-1/+9
2007-11-29Add comment noting that support for OLDNAME in Removed case is needed.gdt1-1/+2
2007-11-29More examples of "Undefined Symbol" from Solaris 10.rillig1-6/+79
2007-11-29Added more keywords.rillig1-3/+5
2007-11-28Print a warning for every file that has /bin/sh as interpreter, but onlyrillig1-1/+6
on Solaris.
2007-11-28Do not load the $cache file for every argument. Instead, load it oncerillig2-5/+8
and then call it as a shell function. Note that the shell function is not called "cache", since some shells have problems when a function has the same name as a variable. This speeds up the wrapper by as little as 75 percent for the final link command of editors/abiword on SunOS-5.10-sparc (before: 20 seconds, after: 5 seconds).
2007-11-28Oops, don't overflow the terminal.rillig1-2/+2
2007-11-28sunpro doesn't need -lstdc++.rillig1-1/+4
2007-11-28Using a single awk process instead of a pipe of four grep processesrillig1-4/+6
should be both faster and easier to read.
2007-11-28Added keywords for "bmake help".rillig1-1/+2
2007-11-28Modern versions of Solaris include "/bin/bash".tron1-1/+4
2007-11-27Made the code a bit more readable by elimination common subexpressions.rillig1-7/+10
2007-11-26Bump PKGREVISION to 4.seb1-1/+23
As proposed on pkgsrc-users@... - Introduce NAGIOSDIR, defaults to VARBASE/spool/nagios, for log and status files. - Drop unused(?) 'nagadmin' user and group. - Sync user and group handling with Nagios install documentation/recommendations. Introduce the Nagios "external command" group, NAGIOSCMD_GROUP, defaults to APACHE_GROUP. The Nagios user should be manually added after package installation to the NAGIOSCMD_GROUP group. Add this recommandation to the MESSAGE file. Make the "external command directory", NAGIOSDIR/rw, owned by NAGIOS_USER:NAGIOSCMD_GROUP. - Use /var/run/nagios.lock as pidfile. - Only install existing example configuration files. - Put default values of NAGIOSDIR, NAGIOS_USER, NAGIOS_GROUP and NAGIOSCMD_GROUP in mk/defaults/mk.conf and allow MAKECONF to override them. - Miscellaneous clean up and sync with the changes mentionned above. - When deleting the package allow removal of directories shared with other Nagios packages to fail.
2007-11-26Define "TOOLS_PLATFORM.flex" to "/usr/bin/flex" not "/usr/bin/lex".tron1-2/+2
The later is shell script which tries to execute "<current-dir>/flex" under Mac OS X Leopard. This resulted in an endless loop caused by the buildlink wrappers. This is backward compatible with at least Mac OS X Tiger where "/usr/bin/lex" and "/usr/bin/flex" are identical.
2007-11-24+snmpadrianp1-0/+2
+libwww-aliases
2007-11-23added bdb - Berkeley DB option.obache1-0/+1
2007-11-23The last change didn't receive enough testing. Now it is ok to haverillig1-16/+12
/dev/null as an example file, and the proper file names are checked.
2007-11-23After a package is installed, make sure that the example files forrillig1-1/+36
CONF_FILES and similar exist, since the pkginstall framework skips them silently, which is not a good idea. For example I just installed dovecot, and there was neither a configuration file installed nor a message that a configuration file exists at all.
2007-11-23Add aria2-metalink option.bjs1-0/+1
2007-11-23+ asprintfrillig1-1/+6
2007-11-22Don't try to use "/usr/bin/perl" as a tool under Darwin.tron1-2/+1
This breaks packages (e.g. "gimp") which need Perl with a certain module that is only provided by "pkgsrc" as a build tool.