summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2017-01-01Updated pkglint to 5.4.15.rillig5-4/+24
Changes since 5.4.14: * Definitions for CONF_FILES should always come in pairs (pkg/37284)
2017-01-01Cleaned up and refactored code.rillig32-589/+606
The getopt and pkgver code have been extracted to separate packages to make them reusable. Several other functions have been moved to make the structure easier to understand: * dir.go and main.go have been moved to pkglint.go * utility functions from pkglint.go have been moved to mkline.go Now pkglint.go contains only high-level code.
2017-01-01Fix build warning on DragonFly.rillig1-2/+2
Fixes pkg/51713
2017-01-01Add python-3.6 to incompatible versions.wiz2-4/+4
2016-12-18pbulk-0.65: Add basic support for specifying chroot'd clients byjoerg5-11/+45
absolute path. Introduce hook for setting up the chroot (client_prepare_chroot) similar to client_prepare_action for ssh clients.
2016-12-18pbulk-0.64:joerg4-5/+8
Ensure to reset port after each loop, so that "client" and "client:port" notation can be mixed.
2016-12-18pbulk-0.63:joerg7-12/+64
Introduce a separate client-prepare script. The default configuration runs the renamed client_prepare_action for each scan/build client once, dropping duplicates in the list. Clients are prepared in parallel, but the master waits for all before starting the actual scan. Make bulkbuild-restart re-prepare the clients, i.e. in case they have a pkgsrc tree in a local tmpfs.
2016-12-18pbulk-0.62: cleanup if either the initial pkg_add round or the packagejoerg2-5/+5
upload failed.
2016-12-17Updated pkglint to 5.4.14.rillig4-7/+32
Changes since 5.4.13: * Pkglint can fix $(VARIABLES) in parentheses to ${VARIABLES} in braces automatically
2016-12-16Fix format string. Bump version.joerg2-5/+5
2016-12-13Updated pkglint to 5.4.13.rillig26-213/+461
Changes since 5.4.12: * Added check for unintended # comments, especially in HOMEPAGE * Added check for quotes in COMMENT * Fixed hardcoded package versions for PHP, Python, Lua, etc. * Code cleanup in the tests
2016-12-12Revert "Specify readline requirement on 30 packages"wiz1-2/+1
Many of these definitely do not depend on readline. So there must be a different underlying problem, and that should be tracked down instead of papering over it.
2016-12-09Mark command_child_exec as noreturn. Fix typo.joerg2-3/+6
2016-12-08Hide regeneration rule for people with messed up timestamps.joerg1-1/+3
2016-12-04Revbump Go packages after 1.7.4 update.bsiegert1-1/+2
2016-12-04Updated pkglint to 5.4.12.rillig32-704/+636
Changes since 5.4.11: * warn when PKGSRC_COMPILER is compared with "==", since it may be a chain of compilers * warn about listing Python .egg-info files directly in PLIST files, since lang/python/egg.mk takes care of this * code cleanup: unify Error{0,1,2,3} into Errorf to make understanding the code easier; use interface{} for MkLine data; use regular expression instead of handwritten matching code, since one line is easier to read than 50
2016-12-04Recursive revbump from textproc/icu 58.1ryoon4-8/+8
2016-12-04Specify readline requirement on 30 packagesmarino1-1/+2
Solves: /usr/libexec/binutils225/elf/ld.gold: error: cannot find -lreadline The missing specification is obvious on DragonFly because there's no publically accessible version of readline in base.
2016-11-28add nbcompat.h include to get uint32_tdbj1-1/+2
fixes build on darwin
2016-11-27cwrappers-20161125: If spawn.h and posix_spawnp exist, prefer them overjoerg7-25/+4440
vfork and execp.
2016-11-25PR pkg/50275: Explicitly disable the locking type here. If shlock is notjoerg1-1/+2
a platform tool, it will introduce cyclic dependencies otherwise, e.g. via sysutils/checkperms.
2016-11-21pkgtools/pkg: Upgrade version 1.9.99.3 => 1.99.4marino2-7/+7
- Add progress when fetching (number of files to fetch) - Improved messages about locked packages - Return 1 when a user rejects the proposed plan - When dealing with configuration files '@config' never overwrites untracked files - Warn everyone about deprecation of @dirrm and @exec - Deduplicate metadata loading code - pkg register now understands context aware messages
2016-11-20pkgtools/pkg: Upgrade version 1.8.7 => 1.9.99.3marino7-265/+8
This is a development version, but it contains many fixes for NetBSD and Linux. It's better than the release version here.
2016-11-18pkgtools/pkg: Fix build on recent NetBSD 7.99marino1-1/+5
After the binutils import, the RPATH is not getting set on -current versions of NetBSD. This BUILDLINK_TRANSFORM from wiz should resolve that issue.
2016-11-18add unicode to DEFAULT_ACCEPTABLE_LICENSESspz1-1/+2
2016-11-15pkgtools/pkg: Ensure funopen prototypes are imported on libfetch's ftp.cmarino3-3/+17
This is similar to recent fix on http.c
2016-11-15pkgtools/pkg: Follow recent PKG_DBDIR changes in bootstrap scriptmarino1-2/+2
The default for PKG_DBDIR changed from /var/db/pkg to ${LOCALBASE}/pkgdb Accordingly, the pkgng location is changing from /var/db/pkgng to ${LOCALBASE}/pkgng-db
2016-11-14pkgtools/pkg: Bump PKGREVISION after previous commitmarino1-2/+2
2016-11-14pkgtools/pkg: bring in most of pkgsrc-synth improvementsmarino3-16/+64
Several updates in pkgsrc-synth work are applicable to pkgtools/pkg so let's bring them in. Some changes: 1) fetching segfault fixed 2) change VULNXML URL from FreeBSD ports to pkgsrc version 3) Fix vulnerability report URLs (404) to valid ones (DragonFlyBSD.org) 4) Add ability to build debuggable version 5) Fix PKG_DBDIR default setting for pkg (honor mk.conf) 6) Fix another segfault on NetBSD when pkg(8) attempts to read elfhints. This is only valid on FreeBSD and DragonFly, so bring in upstream fix to block on other platforms. 7) Set as BOOTSTRAP_PKG and block USE_CWRAPPERS for bootstrap reasons 8) realign SUBST* definitions
2016-11-14Updated pkglint to 5.4.11.rillig13-42/+197
Changes since 5.4.10: * Replaced regular expression with hand-written matching code, since it is 30 times as fast. * Reduced number of syscalls by remembering os.Lstat results and CVS/Entries. * Reduced number of syscalls by querying the current user only once. * Added warning for comparing ${PKGSRC_COMPILER} == "clang", which should rather be ${PKGSRC_COMPILER:Mclang}. * Added variable definitions for NOT_PAX_ASLR_SAFE and NOT_PAX_MPROTECT_SAFE.
2016-11-01Updated pkglint to 5.4.10.rillig10-49/+280
Changes since 5.4.9: * Check for mismatch between conditional and unconditional includes of other files (mostly depending on PKG_OPTIONS or OPSYS) * Check that PLIST files contain "man" instead of "${PKGMANDIR}"
2016-10-29Revbump packages depending on Go after the Go 1.7.3 update.bsiegert1-1/+2
2016-10-28pkgtools/pkg: fix installation of conf files (forgotten PLIST delta)marino1-5/+1
Use of OWN_DIRS alleviates use of @pkgdir. Thanks to jperkins and ultimately wiz for the suggestion.
2016-10-28pkgtools/pkg: fix installation of conf files (better)marino1-2/+7
Use of OWN_DIRS alleviates use of @pkgdir. Thanks to jperkins and ultimately wiz for the suggestion.
2016-10-28pkgtools/pkg: fix installation of conf filesmarino2-21/+13
The CONF_FILES are never installed if their target directories don't already exist due to other previous installation. This adds several @pkgdir entries to ensure the CONF_FILES installation can always succeed. While here, simplify the post-install target.
2016-10-28pkgtools/pkg: Honor existing PKG_DBDIR definitionmarino1-4/+4
Rather than defaulting to /var/db/pkgng, use the variable that exists already for this purpose. Similarly, change cache directory definition from /var/cache/pkgng to ${VARBASE}/cache/pkgng
2016-10-27pkgtools/pkg: Allow PORTSDIR to be specifiedmarino1-5/+5
As pointed out by jperkins, defaulting to builder's setting for PKGSRCDIR for the sources isn't aways correct for the binary package consumers. This is not a problem unique to pkgtools/pkg and really requires a system- wide solution. Until there is such a global variable, rename the PORTSDIR variable to PKG.portsdir and allow it to be modified by e.g. make.conf. In the case of pkg, PORTSDIR just refers to a default configuration location which is overridable by a configuration file.
2016-10-27Import the second part of a patch from John Marinokhorben2-3/+48
This: - fixes the "/usr/ports" paths in code and man pages to ${PKGSRCDIR} (normal) or hardcoded to "/usr/pkgsrc" (future, its for builders like Synth and poudriere) - changes default DB path from "/var/db/pkg" to "/var/db/pkgng". It seems the original default was too ambiguous as "pkg" is used everywhere in pkgsrc and it's the default format (not pkgng format) - similarly, changes default CACHE patch from "/var/cache/pkg" to "/var/cache/pkgng" - bumps PKGREVISION again Another relevant comment from John and reworded by myself for context: (all misquotings mine) « Importantly, FreeBSD, NetBSD, and DragonFly all provide libarchive in base. Therefore, this changes the port to use the base version when available because the libarchive requirement is considered heavy. The OpenSSL dependency brings a lot with, including perl. When trying to update the bootstrap to build pkgng instead of pkg_* tools, it is critical that the dependencies remain low. Other platforms will have to suffer with the libarchive requirement if they want to use pkgng. Following this, special linking code is needed for DragonFly since the SSL libraries are now private. In fact, the only userland program allowed to link with them is pkg(8) for bootstrapping reasons listed above. » Thanks again!
2016-10-27Improve the most trivial parts of a patch from John Marinokhorben2-6/+6
This does: - remove the requirement for C++ (there is no C++ code there) - properly substitute $PKGSRCDIR for PORTSDIR - remove sbin/pkg2ng as it is inapplicable for pkgsrc - bump PKGREVISION accordingly More changes pending...
2016-10-25Remove outdated dependencieskhorben1-5/+1
From John Marino, thanks!
2016-10-25Use the official release instead of the GitHub treekhorben5-14/+233
This also adds two patches, to fix the "major OS upgrade detected" error in NetBSD. A file missing from the original archive was imported too. Bump package revision as the upstream was changed. The archive downloaded has a different filename, so there should be no conflict in the "distfiles" folder. From John Marino, thanks!
2016-10-17Add IRIX support from Stuart Shelton in PR 38656.dholland2-4/+25
2016-10-14Update to mksandbox-1.7. Changes:jperkin2-4/+10
- Handle /run/resolvconf/resolv.conf explicitly rather than mounting all of /run. If /run exists then systemd will dynamically create /run/user/uid tmpfs mounts inside the chroot which mksandbox is unable to unmount.
2016-10-10Even more github support.wiz2-3/+12
Bump version.
2016-10-07Adjust comment to reflect reality.joerg1-3/+2
2016-10-03Remove some dead code, python-3.3 is no more.wiz2-3/+3
2016-10-03Allow sissl-1.1 per defaultwiz1-1/+2
See https://opensource.org/licenses/sisslpl
2016-10-03ibm-public-license-1.0 -> ipl-1.0wiz1-2/+2
2016-10-01Add pkgtools/plist-utilskamil1-1/+2
2016-10-01Import plist-utils as pkgtools/plist-utilskamil15-0/+1012
The plist-utils suite aims to facilitate management of PLIST entries. It handles PLIST options and variables, and is especially useful for keeping PLISTs of packages with quickly changing file-lists, such as those closely tracking upstream development branch, up to date. Import approved by <wiz>.