summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2017-02-25Deal with stupid GCC warnings on Linux due to glibc deciding thatjoerg1-2/+3
write's return value must be used at all times.
2017-02-20Hardcode the location of sandboxctl to not rely on the PATH.jmmv1-1/+2
Should fix the problems observed in: http://ftp.netbsd.org/pub/pkgsrc/misc/joerg/20170219.1406/meta/report.html
2017-02-17Remove file added by mistake.jmmv1-0/+0
2017-02-17Initial addition of pkgtools/pkg_comp-cron, version 1.0:jmmv9-1/+238
This package sets up periodic builds of binary packages using the pkgtools/pkg_comp utility given minimal configuration. All that is needed from the user is to determine which packages to build automatically. If you are on NetBSD, see also sysutils/sysbuild-user, which is the perfect companion to this package to periodically build the base system.
2017-02-17Readd pkg_comp, now at version 2.0:jmmv5-1/+84
**Released on 2017-02-17.** This is the first release of the pkg_comp project as a standalone package. This new release shares no code with previous versions and is not compatible with them. The following are the major differences between pkg_comp 2.0 and all previous releases, which incidentally are the reasons that triggered this rewrite: * Support for multiple platforms. * Use of pbulk to (re)build packages within the sandbox. This results in more reliable incremental builds after pkgsrc updates. * Support for bootstrap, generating binary kits as part of the builds. * Better scriptability to allow running from cron(8) trivially.
2017-02-13Update for pkg_comp move to pkg_comp1.jperkin1-3/+3
2017-02-12Move pkgtools/pkg_comp to pkgtools/pkg_comp1.jmmv7-10/+12
This is to make room for pkg_comp 2.0, which is coming soon. The new release is significantly different from the 1.x series in features (supports multiple platforms, bootstrap, and pbulk) but also comes with a different configuration syntax.
2017-02-12Recursive revbump from fonts/harfbuzzryoon2-4/+4
2017-02-06Recursive bump for harfbuzz's new graphite2 dependency.wiz2-4/+4
2017-01-29Removed expecter.go, which had been moved to files/textproc.rillig1-98/+0
2017-01-29Refactored the code into separate packages. No functional changes.rillig50-903/+1319
2017-01-25add dri.pc and egl.pc (the latter isn't used ... yet?).mrg3-6/+7
bump version.
2017-01-24add missing xorg present and Mesa support. bump revision.mrg6-5/+84
allows tigervnc to build. thanks to dmcmahill for testing.
2017-01-19Convert all occurrences (353 by my count) ofagc4-12/+12
MASTER_SITES= site1 \ site2 style continuation lines to be simple repeated MASTER_SITES+= site1 MASTER_SITES+= site2 lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint accordingly.
2017-01-18Updated pkglint to 5.4.17.rillig4-3/+42
Changes since 5.4.16: * allow multiple definitions for MASTER_SITES in the package Makefile, without triggering a warning about wrong ordering. See https://mail-index.netbsd.org/tech-pkg/2017/01/18/msg017698.html
2017-01-17Updated pkglint to 5.4.16.rillig55-2598/+3217
Changes since 5.4.15: * updated vardefs from mk/defaults/mk.conf from v1.118 (2006) to v1.269 Gone: * PKG_SUFX * USETBL * PKGSRC_SHOW_PATCH_ERRORMSG * USE_XPKGWEDGE * PKGVULNDIR Adjusted: * USE_GAMESGROUP * BIN_INSTALL_FLAG -> BIN_INSTALL_FLAGS * fixed license parsing to be more realistic (the previous version didn't handle parentheses correctly) * lots of housekeeping * moved some code to separate packages, allowing re-use * separated Line checks into LineChecker type * separated MkLine checks into MkLineChecker type * made Line an interface, for further refactorings
2017-01-12cwrappers-20170112: Fix typos. From jperkin.joerg2-6/+6
2017-01-11Fix build under Mac OS X where "pax" doesn't seem to automaticallytron1-1/+2
create the target directory. We therefore do that manually.
2017-01-09Update message to match the "Checking for security vulnerabilities in ↵sevan1-23/+21
installed packages" section in the pkgsrc guide.
2017-01-03Move to curses framework.roy1-3/+3
2017-01-03Pass --without-lz4 to libarchive bootstrap, avoids issues on Gentoo wherejperkin1-3/+3
the native lz4 is found.
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