summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2017-10-28Remove QMAIL_QFILTER_TMPDIR knob, no longer needed.schmonz1-6/+1
2017-10-28Move mail/nullmailer defaults to mk/defaults/mk.conf.schmonz1-1/+11
2017-10-23Added support for PostgreSQL 10.0adam1-3/+12
2017-10-17Modified file so that opam automatically uses findlibjaapb1-1/+2
2017-10-10mk/platform: Remove unsupported Darwin/SunOS linker arguments.jperkin2-2/+5
2017-10-06Comment out debug printf.wiz1-2/+2
2017-10-04reduce-depends.awk: Also reduce "exact match" and "any version".jlam2-63/+432
Also reduce patterns of the form: pkg-version (exact match) pkg-[0-9]* (fnmatch pattern matching any version)
2017-10-04reduce-depends.awk: Match version strings containing tilde (~).jlam2-2/+27
2017-10-03mk: Disable SSP checks on systems where it is provided in libc.jperkin3-3/+6
The currently implementation of SSP checks simply look for a DT_NEEDED dependency on libssp, and doesn't yet have a way to check for it being enabled when it is done via libc.
2017-10-03mk: Add support for SSP checks.jperkin4-2/+193
2017-10-03mk: Fix SSP detection when using pkgsrc GCC.jperkin1-12/+12
We can't rely on _GCC_VERSION as an accurate indicator of the GCC version, as when using a pkgsrc GCC it will be set to 0 until the pkgsrc GCC is available and we can detect its version. Instead, move the logic later to after CC_VERSION is set and use that instead.
2017-10-03Document "daemontools-moresignals" option.schmonz1-0/+1
2017-10-02mk: check for installed files that are not in PLIST by defaultwiz1-6/+2
Previously, this was only enabled with PKG_DEVELOPER. Ok kamil@ jperkin@
2017-10-01reduce-depends.awk: Avoid "delete array" statement for portability.jlam1-5/+10
POSIX awk doesn't allow "delete array" to delete an entire array. For portability, one must delete each element of the array.
2017-10-01reduce-depends.awk: Avoid gensub() for portability.jlam1-2/+2
2017-10-01reduce-depends.awk: Reduce "pkg>1" and "pkg<2" into "pkg>1<2".jlam3-63/+601
Enhance the reduce-depends.awk script to reduce a larger set of dependencies into a single dependency. The patterns representing intervals of version numbers (can be open-ended) are of the form: pkg>lower pkg>=lower pkg<upper pkg<=upper pkg>lower<upper pkg>lower<=upper pkg>=lower<upper pkg>=lower<=upper These patterns are now condensed into a single dependency of the same form. For example, given the following patterns: pkg>=1.0 pkg>2.0 pkg<3.0 pkg<=4.0 pkg>=2.5<3.5 the reduced pattern becomes: pkg>=2.5<3.0 Add the test script used to help with refactoring and adding the new feature to the script. This is a mostly complete rewrite of the script; change the license to the standard 2-clause BSD license used by TNF.
2017-09-29mk/defaults/options.description: Drop unused gdb6-tuikamil1-1/+0
gdb6 - the only user of gdb6-tui - has been eliminated from pkgsrc.
2017-09-29emacs22*, emacs23*, emacs24*: remove unmaintained emacs versionswiz1-4/+2
As announced in https://mail-index.netbsd.org/pkgsrc-users/2017/09/11/msg025563.html This still leaves emacs20, emacs21, and the current version, emacs25.
2017-09-29remove ftp variant when http server already existsmaya1-3/+1
pretty sure these are the same server but ftp is considerably slower on a high latency connection
2017-09-28Replace LOCALBASE usage with PREFIX.schmonz1-3/+3
2017-09-26*: remove qt3 and the packages using it, including KDE3wiz1-2/+0
Announced in https://mail-index.netbsd.org/pkgsrc-users/2017/09/10/msg025556.html
2017-09-17fetch/sites.mk: ftp.tuwien.ac.at times out, remove itwiz1-3/+1
2017-09-16mk: remove import targetwiz2-121/+1
While it would be useful, the current implementation has not been updated even to use 'cvs add' instead of 'cvs import' (policy change in 2012). Use the import-package.sh script currently residing in wip/ instead.
2017-09-13mk/misc/developer.mk: improve commit messagewiz1-2/+2
Commits to doc/ might also affect the TODO file, so use "doc: " instead of "CHANGES-2017: " as default prefix. Suggested by jperkin.
2017-09-12mk/bsd.pkg.mk: Adapt changes-entry targetwiz1-2/+2
Prefix package name to commit message.
2017-09-11Limit GCC SSP support to 4.x and newer.jperkin1-4/+6
2017-09-08Moved jbuilder detection forward so it deals with opam properlyjaapb1-10/+9
2017-09-08jbuilder not always uses opam, it's just the defaultjaapb1-2/+2
2017-09-08Added options for ocaml 4.05jaapb1-0/+3
2017-09-08Added variable to have ocaml-jbuilder only build certain packagesjaapb1-1/+9
2017-09-07Add a description for the el1 package option.jmcneill1-0/+1
2017-09-07Describe pcre2-jit option.wiz1-0/+1
2017-09-06Remove teTeX* packages and references to them.wiz1-6/+1
teTeX was desupported in 2006, and we have texlive in pkgsrc since 2009.
2017-08-29Remove references to gnupg21 in preparation for its removal.wiz1-2/+0
2017-08-27Use NetBSD rcsid.sevan1-1/+1
Reminded by joerg.
2017-08-25Add support for PKGSRC_MKPIE with cwrapperskhorben2-5/+8
This is based on a patch submitted on 16/04/2017 on tech-pkg@ and adapted by joerg@ for pkgtools/cwrappers. It only consists in the missing part to actually generate PIE executables with cwrappers if configured to do so (currently disabled by default). The aim is really to produce safer binaries where ASLR is in use. This part in pkgsrc is only supported on NetBSD (x86) with GCC at the moment. Tested on NetBSD/amd64, with and without cwrappers, with and without PKGSRC_MKPIE (all four combinations).
2017-08-23mk/pkgtasks: Bump dependency on "pkgtasks" to 1.15.jlam1-2/+2
This picks up the fix to updating system files correctly so that ownership and permissions are preserved.
2017-08-23mk/pkgformat: Only pass "-C" option to pkg_create(1) if it's valid.jlam1-2/+2
Only pass "-C ${CONFLICTS}" to pkg_create(1) if ${CONFLICTS} is non-empty; otherwise, a fatal error occurs. This allows CONFLICTS to be defined, but empty.
2017-08-23mk/pkgtasks: Fix name of variable for mkfontdir(1) tool.jlam1-2/+2
2017-08-21mk/emulator: Move Linux shlibs task settings to package Makefiles.jlam2-10/+2
Move the definitions of LDCONFIG_ADD_CMD and LDCONFIG_REMOVE_CMD into suse_linux/emulator.mk. The commands are specific to the Linux installed, including the path to ldconfig(8), so localize them to the package that provides it. Move the definition of RUN_LDCONFIG out of the emulator framework and into the packages that use them as RUN_LDCONFIG is meant to be a package-settable variable. Fix the path to the Linux ldconfig(8) that was used on FreeBSD to brand the ELF format that has been incorrect for over 10 years. In the suse_base packages, explicitly set LDCONFIG_REMOVE_CMD to ${TRUE} since the ldconfig(8) command is provided by that package and can't be invoked at the postremove stage because it has already been deleted from the system by then. Bump the PKGREVISION of all the suse_base packages because the install scripts have changed. Bump the PKGREVISIONs of the darwin_lib and osf1_lib packages because the install scripts no longer try to run ldconfig(8), which is not provided in either OpenDarwin or OSF/1.
2017-08-21mk/pkgformat: Support INSTALL scripts that rely on UNPACK.jlam1-1/+10
The pkginstall framework had an UNPACK action invoked early in the PRE-INSTALL stage to unpack scriplets that were invoked in later stages to perform extra work for installation, removal, or both. Add an UNPACK action that is a no-op for any scripts that don't support the action.
2017-08-19mk/pkgtasks: Fix postinstall check to not skip last set of files.jlam1-7/+7
The postinstall check was improperly skipping the last N items listed in CONF_FILES (and related) variables when verifying that there is a multiple of N items listed. Fix the bounds check.
2017-08-19mk/pkgtasks: Sometimes avoid error if source files don't exist.jlam1-37/+43
The shell code used to check for the existence of the source files listed in the various CONF_FILES (and related) variables has been refactored out into a separate macro variable. In addition, the macro has been modified to only emit a warning if the source file is not in ${PREFIX} and can't be found on the host system. This supports using /dev/null as a source file, which is a common idiom for creating an empty target file, even if ${DESTDIR} is non-empty.
2017-08-19Bump dependency on pkgtasks to version that supports TASK_VERBOSE.jlam1-2/+5
Pass TASK_VERBOSE=all to the install and deinstall scripts if PKG_VERBOSE is defined by the user.
2017-08-19Run pkg_add(1) and pkg_delete(1) using ${SETENV} ${PKGTOOLS_ENV}.jlam5-16/+22
PKGTOOLS_ENV allows for passing environment variables to the package install and deinstall scripts.
2017-08-19mk/pkgtasks: Substitute for variables unconditionally in scripts.jlam1-7/+10
Replace @VAR@ with ${VAR} unconditionally in scripts, even if they values are empty. This will allow for fall-through to using the pkgtasks hard-coded defaults, usually found by searching the PATH contents, and it avoids having ugly "@VAR@" in the generated scripts.
2017-08-19Substitute the correct string for GTK3_UPDATE_ICON_CACHE.jlam1-2/+2
2017-08-17Remove "libidn" option, superseded by "idn".schmonz1-1/+0
2017-08-13Describe "qmail-customerror" option.schmonz1-0/+1
2017-08-11pbulk is able to handle the creation All directory itself[1].sevan1-5/+2
changing the permission of ${PACKAGES} at the end of the script prevents that from working. Undo the change in r1.4 to create the All directory during setup & instead do not change permissions. Tested on OS X Tiger & FreeBSD. Heads up by joerg [1] http://mail-index.netbsd.org/pkgsrc-changes/2017/08/01/msg160826.html