summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2018-01-28pkgtools/pkglint: update to 5.5.3rillig21-147/+652
Changes since 5.5.2: * Fixed lots of bugs regarding autofixing variable assignments in continuation lines. * Fixed checking of MESSAGE files, which also get fixed now. * In variable assignments, commented assignments are aligned too. * Fixed a crash when checking an empty patch file. * The :Q modifier is only checked on predefined variables, to prevent the --autofix mode from removing :Q from user-defined variables. * Fixed lots of bugs in PLIST autofixing: relevant lines had been removed, and the sorting was not correct.
2018-01-28pkgtools/pkglint: update HOMEPAGErillig1-2/+2
2018-01-27pkg_chk: Replace PKG_SYSCONFDIR.wiz1-3/+3
From Vicente Chaves in PR 52955. Bump version.
2018-01-27pkgtools/*: Realign variables in Makefilesrillig21-86/+86
Mainly done by pkglint, manually reviewed and improved in some few cases.
2018-01-27pkgtools/pkglint: Update to 5.5.2rillig43-1904/+3324
Changes since 5.5.1: * Fixed command line parsing for the --only option. * Improved alignment of variable values in Makefiles. * Code cleanup: better abstraction in the tests.
2018-01-13pkglint: Update to 5.5.1rillig45-864/+1477
Changes since 5.5: * Allow filtering log messages by keyword (--only) * In --autofix and --show-autofix mode, show only fixable diagnostics * When called with --source, show the source below the diagnostics * Don't warn about USE_LANGUAGES in ../../mk/compiler.mk * Fix autofix for .gz in PLIST
2018-01-13R2pkg: Add missing RCSID.jperkin1-0/+1
2018-01-10pkglint: Update to 5.5rillig8-66/+277
Changes since 5.4.26: SUBST blocks are now checked correctly even if they contain conditionals like .if ... .elif ... .endif. AUTO_MKDIRS is only suggested for those directories that actually appear in the PLIST since other directories are not affected by this variable.
2018-01-07Updated pkglint to 5.4.26.rillig14-65/+133
Changes since 5.4.25: * When autofixing a patch, fix the corresponding distinfo file as well. * Properly parse ${VARNAME:[\#]}; the # was interpreted as a comment before. * Don't add unnecessary :Q to PKG_OPTIONS and related variables. * Don't warn about missing manual pages. While Debian and other distributions do this work, pkgsrc keeps the packages as original as possible. * Autofix redundant ".gz" for manual pages in PLISTs.
2018-01-07Fix indentation in buildlink3.mk files.rillig1-3/+3
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was reviewed manually. There are some .include lines that still are indented with zero spaces although the surrounding .if is indented. This is existing practice.
2018-01-07Update url2pkg-2.29: Fix generation of Perl packages.rillig3-25/+32
The WriteMakefile subroutine was not exported properly.
2018-01-07Updated pkglint to 5.4.25.rillig14-42/+232
Changes since 5.4.24: * More specific warning for "exitcode with pipe shell commands" * Don't warn that the echo in "echo | sed" could fail * Allow packages to define custom make targets * Don't warn about a misplaced LICENSE when a package doesn't define it * Skip .git directories * Reduce number of hicolor-icon-theme error messages in PLIST files * Remove MKCRYPTO, USE_CRYPTO, CRYPTO variable definitions
2018-01-02pkglint 5.4.24: remove references to crypto restrictions.maya2-5/+2
Discussed with rillig.
2018-01-01Sort PLIST files.rillig9-18/+18
Unsorted entries in PLIST files have generated a pkglint warning for at least 12 years. Somewhat more recently, pkglint has learned to sort PLIST files automatically. Since pkglint 5.4.23, the sorting is only done in obvious, simple cases. These have been applied by running: pkglint -Cnone,PLIST -Wnone,plist-sort -r -F
2018-01-01Updated pkglint to 5.4.23.rillig4-52/+91
Changes since 5.4.22: Only autofix PLIST sorting in simple cases. Before this version, pkglint sorted the PLIST even when it contained unresolved variable references like ${IMAKE_MAN_DIR}, which resulted in strange and unintuitive orders. These complicated files are left for human inspection.
2018-01-01Updated pkglint to 5.4.22.rillig39-413/+322
Changes since 5.4.21: * Refactoring: moved packages line and linechecks back into main * Fixed panic when autofixing package Makefiles * Removed apache22 * Added a bit of inline documentation
2018-01-01apache22: remove, it was eol'd in June 2017wiz2-7/+7
Remove packages that only work with apache22. Remove apache22 references.
2017-12-29pkg_select: fix buffer overflowmaya4-3/+40
expanding the macro with ++len for size meant our memset to zero was one bigger than the above allocated size. while here simplify the problematic macro - malloc+memset zero is calloc. bump pkgrevision
2017-12-29fix crashes due to SSP being enabledplunky10-22/+96
2017-12-15Fix for wrong interpreteradam2-9/+9
2017-12-15lintpkgsrc: Update pkgtools/lintpkgsrc to 4.94leot2-12/+14
pkgsrc changes: - Use SUBST_VARS instead of SUBST_SED to adjust the several variables in files/lintpkgsrc.pl and avoid some make contortionism in the remaining SUBST_SED Changes: - PKG_SYSCONFDIR can be different to ${PREFIX}/etc, instruct lintpkgsrc about that to possibly pick mk.conf when an /etc/mk.conf file is not available Discussed on pkgsrc-changes@ with <adam> and <jperkin>. Thanks to both <adam> and <jperkin> for feedback, suggestions and review!
2017-12-14lintpkgsrc: updated to 4.93adam2-4/+9
4.93: Allow alternative location of mk.conf: if /etc/mk.conf does not exist, try PREFIX/etc/mk.conf.
2017-12-09Fix typo in reference to pkgbuild-user.jmmv1-1/+1
Problem found by Ian D. Leroux and reported via private email... a few months ago. My bad.
2017-11-30Revbump after textproc/icu updateadam4-8/+8
2017-11-08Bump cwrappers after reverting the last patchkhorben1-2/+2
2017-11-07Revert: Tokenize the contents of "append_executable"joerg1-8/+3
It's unnecessary and violates the design principles of the configuration.
2017-11-07Bump revision to reflect the fixes for PKGSRC_MKPIEkhorben1-2/+2
2017-11-07Tokenize the contents of "append_executable"khorben1-3/+8
This configuration parameter is used when linking executables, through cc(1) or ld(1) for instance. This allows passing multiple arguments via the "append_executable" option, like "-fPIC -pie" for instance. Committing this before joerg@'s approval since a call for testing PKGSRC_MKPIE has just been issued, and this helps with some packages.
2017-11-07Teach the wrapper for ld(1) about more caseskhorben2-2/+14
Building relocatable and omagic files are now recognized. They were previously recognized as executables, which may require a different behaviour in some environments (like when enforcing PIE). Committing this before joerg@'s approval since a call for testing PKGSRC_MKPIE has just been issued, and this helps with some packages.
2017-10-30pkg_install: Bump version to 20171030 for netpgpverify fixes.jperkin1-2/+2
2017-10-27Set the correct operation mode in the wrapper for as(1)khorben5-7/+49
This notably fixes building lang/g95 with PKGSRC_MKPIE=yes. Reviewed by joerg@
2017-10-24pkg_install: Fix OpenSSL 1.1.0 buildmaya1-25/+12
OpenSSL 1.1.0 makes xkusage and ex_flags opaque. Use X509_check_ca rather than a custom and nearly identical implementation. This is available since OpenSSL 0.9.8 (even in RHEL5). This is also done because we cannot implement it identically under OpenSSL 1.1.0 due to missing getters. Test EXFLAG_XKUSAGE rather than zero xkusage test no usage to avoid openssl 1.1.0 getter returning a different code on this case. Use getter for xkusage in the non-zero test case. Provide fallback definitions for getters. PR pkg/52298, PR pkg/52648
2017-10-24rc.subr: Fix SERVERS rc.d script to not REQUIRE mountcritremote.jlam2-4/+3
The distributed rc.d scripts are "barrier" scripts that are used by other rc.d scripts to hook into different points of the startup process by either using REQUIRE or BEFORE. The barrier scripts should not depend on other, non-barrier scripts. This change makes the distributed scripts usable by a simple "rcorder /etc/rc.d/*", whereas it was failing before due to lack of "mountcritremote". Bump the package version to 20171024.
2017-10-17Some files are moved. Fix buildryoon2-125/+0
2017-10-08Updated pkglint4 to 4.164rillig2-12/+3
Removed support for kde3, since it has been removed from pkgsrc.
2017-10-08Updated pkglint to 5.4.21rillig25-112/+287
Changes since 5.4.20: * Removed obsolete kde3 check * Removed obsolete WindowMaker variables * Removed postgresql91 * Removed teTeX * Removed old Emacs versions 22, 23, 24 * Allow db6 * Allow c++11 in USE_LANGUAGES * New check for GNOME icon themes * Added CHECK_RELRO variables * Refactoring: new package linechecks * Refactoring: regex.Pattern
2017-10-02pkglint*: Start sentence with a capital letterwiz4-8/+8
From Thomas Orgis in private mail.
2017-09-30plist-utils: update to 20170813adam2-12/+16
20170813: Deal with ${PYSITELIB}.
2017-09-29emacs22*, emacs23*, emacs24*: remove unmaintained emacs versionswiz2-6/+6
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-18revbump for requiring ICU 59.xmaya4-8/+8
2017-09-10Ensure that correct path names are picked up for patches.joerg1-2/+2
2017-09-08Update HOMEPAGE.wiz1-2/+2
2017-09-06Remove teTeX* packages and references to them.wiz2-6/+1
teTeX was desupported in 2006, and we have texlive in pkgsrc since 2009.
2017-09-02Update "x11-links" package to version 1.06:tron3-7/+9
Add macOS "ibxcb-xkb" shared libraries filenames to fix the build of (at least) the "libxkbcommon" package
2017-09-02pkgtools/pkg_comp: Correct usage of ${PKG_SYSCONFDIR}.jlam1-4/+12
Package configuration files should be found in ${PKG_SYSCONFDIR}, which can be modified by a user-settable variable. Look for the default sandboxctl(8) configuration files in ${PKG_SYSCONFDIR.sandboxctl} if that variable is set, or else in ${PKG_SYSCONFBASE}/sandboxctl. Fixes problem noted by Iain Hibbert on tech-pkg@. Bump the PKGREVISION to 2 due to changes in the binary package if PKG_SYSCONFDIR.pkg_comp is set to a non-default value.
2017-08-23Update pkgtools/pkgtasks to 1.15.jlam11-53/+175
Fix bug where "ocaml_findlib" and "shells" tasks were not preserving the ownership and permissions of existing system files, e.g., /etc/shells, when updating their contents.
2017-08-19Update pkgtools/pkgtasks to 1.14.jlam17-131/+587
Use TASK_VERBOSE environment variable to select which tasks should emit output when invoked.
2017-08-19pkgtools/pkg: Install manpages into ${PKGMANDIR}.jlam3-18/+5
Pass "mandir=..." when running "make install" to pass the correct location for installed manpages under ${PKGMANDIR}.
2017-08-19pkgtools/libkver: Install manpages into ${PKGMANDIR}.jlam1-1/+3
This project uses BSD makefiles to build and install the binaries and manpages. Add "MANDIR=..." to the flags passed to "make install" so that the manpages are installed in the correct location under ${PKGMANDIR}.
2017-08-10Update pkgtools/pkgtasks to version 1.13.jlam27-119/+972
* Add a "icon_themes" task to cache GTK+ icon theme directories. * Change the way that install-info(1) is invoked. * Clarify the output from the "groups" and "users" tasks. * Bug fixes.