Commit graph

5213 commits

Author SHA1 Message Date
adam
299d329d51 revbump after icu update 2018-04-14 07:33:52 +00:00
simonb
b6b45abbd1 Document the existing --without-src and new --without-xsrc options. 2018-04-12 02:11:24 +00:00
simonb
874ce22b9f Add a --without-xsrc option similar to the existing --without-src
option.  Allows for building X packages without needing xsrc in the
sandbox.

Approved by agc@.
2018-04-12 02:08:47 +00:00
rillig
4fb0a3154a pkgtools/url2pkg: refactor variable alignment code
The new code is more expressive and uses fewer magic numbers.
2018-04-08 20:13:54 +00:00
gson
a56e6cdcf6 pkgtools/pkg_rolling-replace: update MAINTAINER
Mail to ngoffee bounces, and gdt has agreed to take on maintainership.
2018-04-07 11:04:30 +00:00
rillig
e0a582d629 pkgtools/pkglint: update to 5.5.8
Changes since 5.5.7:
* Enable the check for variable order in Makefiles by default.
2018-04-06 21:04:22 +00:00
sevan
fd36e12c89 X509_get_extended_key_usage and X509_get_extension_flags definitions are also
needed for LibreSSL.


Tested on OpenBSD/amd64 6.3
2018-04-05 21:19:32 +00:00
wiz
77b8275bd5 x11-links: Add missing libXf86dga entries
From David A. Holland in PR 53115.

Sort file while here.
Bump version to 1.10 and depend on it.
2018-03-30 22:10:17 +00:00
bsiegert
429ee23e50 Revbump all Go packages after 1.10.1 update.
ok wiz@ for committing during freeze
2018-03-30 11:56:19 +00:00
sevan
08fcbf11f4 regen catalog files using mandoc. 2018-03-27 22:38:04 +00:00
sevan
86a6aac4d8 Switch from nroff to using mandoc for updating catalog file in the update-catpages
target. This results in closer resemblence to the actual mdoc manuals.

Reviewed by <wiz>
2018-03-27 22:29:38 +00:00
joerg
bf560209d6 cwrappers-20180325: append the append list for -shared support 2018-03-25 20:45:25 +00:00
rillig
63279d80a4 pkgtools/pkglint: remove duplicate files
The definitions from globaldata.go had been moved to pkgsrc.go. Having
these definitions twice led to compile errors.

While here, the file package_test.go doesn't need to be patched anymore
since it gets its @VERSION@ from the constants defined in pkglint.go.
2018-03-25 07:37:39 +00:00
sevan
5210fe357c Bump version for commits earlier this week.
pkg_install-20180325
- pkg_add(1): Documentation fixes
- pkg_delete: Add missing -A to usage()
2018-03-25 03:56:28 +00:00
rillig
e124a6faff Update pkglint to 5.5.7
Changes since 5.5.6:

* When pkglint warns about files that are accidentally executable, it
  offers to fix the file permissions.

* Warn about ${HOMEPAGE:=repository/}, since the := modifier should
  only be used with MASTER_SITES.

* When the distinfo file is missing, suggest setting NO_CHECKSUM.

* Several refactorings.
2018-03-24 14:32:49 +00:00
sevan
c34b2e0d6f List options alphabetically. 2018-03-21 17:32:44 +00:00
sevan
3486b6c44a Document -h option. 2018-03-21 17:26:58 +00:00
sevan
218c21e89e Add missing -A to usage() 2018-03-21 14:35:35 +00:00
mrg
4fe94d4cd2 fix the xorgproto list to include everything in all the subdirs they
may exist in.  i rebuilt the contents from the other xorg*proto
files here, which should make them functionally equivalent.

fixes builds of eg, devel/imake and devel/pango with native x11.

bump version to 1.09.
2018-03-14 02:11:04 +00:00
mrg
b82a4265b4 fake up xorgproto support for native xsrc. it has some failings
but is likely sufficient:

- add xorgproto support to x11-links, bump version
- add a builtin.mk for xorgproto.  check for the list of packages
  that xorgproto covers, eliding the few that native xsrc never
  installed, and making sure xproto is last.  use the
  BUILTIN_VERSION_SCRIPT method to convert Version: 7.0.31 into
  the necessary 2018.1.

the missing packages are a problem, but since we've never had a
report about it, it's not a big problem.

the things newer xorgproto has that are wanted may be a problem,
but probably only for X11_TYPE!=native builds that don't really
need these.


longer term native xsrc will get xorgproto (and maybe even for
netbsd-8), though i'm not sure it will help any unless we make
our native xsrc install a fake xorgproto.pc that pkgsrc can
find an use -- currently xorgproto installs .pc files for all
the replaced packages, but not one for itself, so the hack of
finding xproto version and switching may still be needed.

ok @wiz.
2018-03-13 02:06:12 +00:00
wiz
c57215a7b2 Recursive bumps for fontconfig and libzip dependency changes. 2018-03-12 11:15:24 +00:00
wiz
380b6ec244 xorgproto: use xorgproto instead of separate *proto packages
Remove now obsolete packages.
2018-03-07 11:57:28 +00:00
rillig
4aa500ca36 pkgtools/pkglint: update to 5.5.6
Changes since 5.5.5:

* Only offer explanations if an explainable diagnostic has actually
  been logged.

* Clean up code.

* Improve a few diagnostics.

* In any Makefile, treat documented variables as used. This prevents
  warning about defined but unused variables.

* Add support for some variables not previously known to pkglint.
2018-03-04 20:34:32 +00:00
bsiegert
9ab6e4ca7b Revbump all Go packages after Go 1.10 update. 2018-03-04 15:52:12 +00:00
wiz
473fe8c29c x11-links: update to 1.07
Remove fontcacheproto
2018-03-02 15:14:12 +00:00
ginsbach
c0031b705a pkg_install-20180226:
- add option to include IGNORE_URL pkg_install.conf entries in audit
  but flagged as "ignored".
- bump version to 20180226
2018-02-26 23:45:01 +00:00
adam
c359234621 plist-utils: updated to 20180222
20180222:
Also sort the first line (@comment $NetBSD$) as it should be on top.
2018-02-23 06:31:34 +00:00
dholland
ea5db57469 verifypc 1.7: adapt to a change in the log format produced by pkg-config,
and while here, fix PR 50482 (verifypc uses invalid ASCII literal in script).

also tidy some pkglint.
2018-02-20 02:55:15 +00:00
rillig
371a1183ae pkgtools/pkglint: update to 5.5.5
Changes since 5.5.3:

- Removed check for PERL5_PACKLIST, since it was not fixable by the
  package author.

- Completely rewrote the check for ordering variables in simple
  package Makefiles. Now it reports the variables in the correct order
  instead of just saying "this above that" for a few variables.

- Lots of code cleanup and documentation.
2018-02-19 12:40:38 +00:00
wiz
05aea20e3a Fix typo in status message. 2018-02-19 12:03:00 +00:00
kamil
432700fb0d pkg_install: Recognize the happy license as acceptable
Noted by <wiz>
2018-02-05 00:07:56 +00:00
rillig
deaf48767a pkgtools/pkglint: update to 5.5.3
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-28 23:21:16 +00:00
rillig
e795354040 pkgtools/pkglint: update HOMEPAGE 2018-01-28 13:40:22 +00:00
wiz
ab8ef791c0 pkg_chk: Replace PKG_SYSCONFDIR.
From Vicente Chaves in PR 52955.

Bump version.
2018-01-27 23:17:22 +00:00
rillig
c77d3c5335 pkgtools/*: Realign variables in Makefiles
Mainly done by pkglint, manually reviewed and improved in some few cases.
2018-01-27 19:07:46 +00:00
rillig
51008f3dc3 pkgtools/pkglint: Update to 5.5.2
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-27 18:50:36 +00:00
rillig
31a3a6b80c pkglint: Update to 5.5.1
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-13 23:56:14 +00:00
jperkin
d14efc79ff R2pkg: Add missing RCSID. 2018-01-13 09:10:33 +00:00
rillig
5e7481dcd2 pkglint: Update to 5.5
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-10 00:39:52 +00:00
rillig
902c8a49a5 Updated pkglint to 5.4.26.
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-07 17:08:15 +00:00
rillig
17e39f419d Fix indentation in buildlink3.mk files.
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-07 13:03:53 +00:00
rillig
5438820cf3 Update url2pkg-2.29: Fix generation of Perl packages.
The WriteMakefile subroutine was not exported properly.
2018-01-07 11:20:18 +00:00
rillig
f726ad139c Updated pkglint to 5.4.25.
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-07 01:13:21 +00:00
maya
6e5f1de0c2 pkglint 5.4.24: remove references to crypto restrictions.
Discussed with rillig.
2018-01-02 08:13:15 +00:00
rillig
b381c6e2f3 Sort PLIST files.
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-01 22:29:15 +00:00
rillig
e93a88ba30 Updated pkglint to 5.4.23.
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-01 21:55:36 +00:00
rillig
e012ab11fa Updated pkglint to 5.4.22.
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-01 18:04:15 +00:00
wiz
67ea766c4c apache22: remove, it was eol'd in June 2017
Remove packages that only work with apache22.
Remove apache22 references.
2018-01-01 10:23:04 +00:00
maya
db62d15871 pkg_select: fix buffer overflow
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-29 17:55:13 +00:00
plunky
6c5789b15b fix crashes due to SSP being enabled 2017-12-29 11:59:13 +00:00
adam
e556320744 Fix for wrong interpreter 2017-12-15 10:54:59 +00:00
leot
fa5ee20e7a lintpkgsrc: Update pkgtools/lintpkgsrc to 4.94
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-15 09:17:04 +00:00
adam
81ff27f0e0 lintpkgsrc: updated to 4.93
4.93:
Allow alternative location of mk.conf: if /etc/mk.conf does not exist, try PREFIX/etc/mk.conf.
2017-12-14 14:11:40 +00:00
jmmv
96e67ea1f2 Fix typo in reference to pkgbuild-user.
Problem found by Ian D. Leroux and reported via private email... a few
months ago.  My bad.
2017-12-09 20:55:48 +00:00
adam
8977d31a36 Revbump after textproc/icu update 2017-11-30 16:45:00 +00:00
khorben
5338e497d9 Bump cwrappers after reverting the last patch 2017-11-08 04:04:42 +00:00
joerg
6e1d9540d8 Revert: Tokenize the contents of "append_executable"
It's unnecessary and violates the design principles of the
configuration.
2017-11-07 22:26:38 +00:00
khorben
9e7295805a Bump revision to reflect the fixes for PKGSRC_MKPIE 2017-11-07 16:51:44 +00:00
khorben
32f6f2ea74 Tokenize the contents of "append_executable"
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-07 16:50:52 +00:00
khorben
ee812ef964 Teach the wrapper for ld(1) about more cases
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-11-07 16:49:22 +00:00
jperkin
0a2e49d194 pkg_install: Bump version to 20171030 for netpgpverify fixes. 2017-10-30 12:03:50 +00:00
khorben
320e058829 Set the correct operation mode in the wrapper for as(1)
This notably fixes building lang/g95 with PKGSRC_MKPIE=yes.

Reviewed by joerg@
2017-10-27 20:59:59 +00:00
maya
7bada3c053 pkg_install: Fix OpenSSL 1.1.0 build
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-24 15:54:31 +00:00
jlam
317e8a18a7 rc.subr: Fix SERVERS rc.d script to not REQUIRE mountcritremote.
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-24 14:07:59 +00:00
ryoon
c0c6815977 Some files are moved. Fix build 2017-10-17 03:32:28 +00:00
rillig
54c14efe1e Updated pkglint4 to 4.164
Removed support for kde3, since it has been removed from pkgsrc.
2017-10-08 23:25:06 +00:00
rillig
ccb81e9920 Updated pkglint to 5.4.21
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-08 22:31:13 +00:00
wiz
6b593e536e pkglint*: Start sentence with a capital letter
From Thomas Orgis in private mail.
2017-10-02 14:41:21 +00:00
adam
0439033294 plist-utils: update to 20170813
20170813:
Deal with ${PYSITELIB}.
2017-09-30 13:23:05 +00:00
wiz
eef80df883 emacs22*, emacs23*, emacs24*: remove unmaintained emacs versions
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-29 12:40:26 +00:00
maya
33ebf687dc revbump for requiring ICU 59.x 2017-09-18 09:52:56 +00:00
joerg
bf54d0508c Ensure that correct path names are picked up for patches. 2017-09-10 14:12:11 +00:00
wiz
8fdd6b5556 Update HOMEPAGE. 2017-09-08 06:29:40 +00:00
wiz
44faa0cdcd Remove teTeX* packages and references to them.
teTeX was desupported in 2006, and we have texlive in pkgsrc since 2009.
2017-09-06 16:49:21 +00:00
tron
fcdbafc51a Update "x11-links" package to version 1.06:
Add macOS "ibxcb-xkb" shared libraries filenames to fix the build of (at
least) the "libxkbcommon" package
2017-09-02 19:17:37 +00:00
jlam
ed78f0a137 pkgtools/pkg_comp: Correct usage of ${PKG_SYSCONFDIR}.
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-09-02 16:18:56 +00:00
jlam
82e37249af Update pkgtools/pkgtasks to 1.15.
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-23 17:53:19 +00:00
jlam
c5ae74d56d Update pkgtools/pkgtasks to 1.14.
Use TASK_VERBOSE environment variable to select which tasks should
emit output when invoked.
2017-08-19 00:30:07 +00:00
jlam
ee9212244c pkgtools/pkg: Install manpages into ${PKGMANDIR}.
Pass "mandir=..." when running "make install" to pass the correct
location for installed manpages under ${PKGMANDIR}.
2017-08-19 00:24:13 +00:00
jlam
6fcb2ed197 pkgtools/libkver: Install manpages into ${PKGMANDIR}.
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-19 00:22:00 +00:00
jlam
e0d5dbb85b Update pkgtools/pkgtasks to version 1.13.
* 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.
2017-08-10 05:38:30 +00:00
maya
39b6e54aaa Remove -Werror from bootstrap path. It makes the cwrappers build
fail unnecessarily on some edge cases such as older glibc.

PR pkg/52390: current fails to bootstrap on CentOS 6

ok pkgsrc-pmc@
2017-08-02 09:38:06 +00:00
cheusov
17f94dcfca #include config.h only if HAVE_CONFIG_H is defined 2017-07-29 14:15:57 +00:00
tnn
c1cabe0f9e Consolidate openssl handling to options.mk. In particular, do not
pass --with-ssl to configure when the option is actually disabled.
2017-07-27 18:54:44 +00:00
wiz
ea89f938a8 c++11 is valid for USE_LANGUAGES.
Bump PKGREVISION.
2017-07-27 11:21:25 +00:00
wiz
0fd193c72e Sprinkle CHECK_RELRO_SKIP on go packages.
go14 has no relro support AFAICT.

go-1.8.3 has if you use -buildmode=pie, but it claims it's not supported
on Linux.

Disable relro checking for go packages until bsiegert has time to
look at this.
2017-07-22 19:32:40 +00:00
wiz
ec863c4125 Sort options. Minor other fixes. 2017-07-18 18:44:06 +00:00
wiz
6e2c760df4 New sentence, new line.
Sort sections.
Remove trailing whitespace.
Fix Dt argument
2017-07-18 18:41:23 +00:00
brook
b29d11c7fa Update to v0.3.
- Add recursive handling of dependencies.
- Simplify updating pre-existing R packages.
- Improve handling of packages that conflict with base R packages.
2017-07-18 17:24:31 +00:00
joerg
627d49c3b0 Undef bootstrap hack. 2017-07-16 16:51:48 +00:00
markd
82ba8b3fa5 Deal with perl 5.26. Bump PKGREVISION 2017-06-22 06:11:25 +00:00
markd
7077119865 Update texlive2pkg to 1.2
Set default version to 2017
 Teach about more license strings
2017-06-21 14:05:29 +00:00
prlw1
397d0d1852 Revbump for introduction of icon theme handling framework 2017-06-14 16:25:16 +00:00
prlw1
5c827f6f0e Essentially from OBATA Akio in private mail, June 2015:
Introduce Icon Theme cache handling framework

Icon Theme cache files are used by GTK+ and maintained with the
gtk-update-icon-cache tool.  Each Icon Theme package duplicates
its own maintainance scripts: only the specified icon theme directory
differs.  With this framework, if packages have ICON_THEMES=yes,
associated icon themes will be detected and their cache files will
be maintained automatically.

Change cache handling behaviour as follows:
* Icon theme caches will be updated if either gtk2+ or gtk3+
  gtk-update-icon-cache tool is available.
* With installation of gtk2+ package, not only hicolor icon theme but
  also any other icon theme cache files will be updated.
* Prevent removal of icon caches at deinstall, gtk3+ may be installed and
  using them.
* Ditto with gtk3+, gtk2+ may not be installed now, so caches must be
  maintained by gtk3+.
2017-06-14 16:23:09 +00:00
joerg
48c0962bbd cwrappers-20170611:
Add new configuration options {ap,pre}pend_{shared,executable} for
adding options when the operation mode is identified as linking.

Based loosely on patch from khorben.
2017-06-11 19:34:43 +00:00
adam
5dff051605 Expand __arraycount macro - it is not portable 2017-06-08 18:14:51 +00:00
ryoon
543e538acd Recursive revbump from lang/perl5 5.26.0 2017-06-05 14:24:20 +00:00
jlam
3c11e11daa Update pkgtools/pkgtasks to version 1.10.
Change the output of the "directories" and "files" tasks to be less
verbose by halving the number of lines in the most common cases.
2017-06-03 23:54:53 +00:00
wiz
78a889afc6 Not make-jobs safe. 2017-06-01 23:38:29 +00:00
jlam
a4c526430c The "pkgtasks" package has an external repository/website. 2017-06-01 05:43:44 +00:00
jlam
db8c40249f Import pkgtasks-1-1.9 as pkgsrc/pkgtools/pkgtasks.
pkgtasks is a shell script library to ease writing POSIX-compliant
shell scripts to handle common tasks during installation or removal
of a package, e.g.,

  * creating groups and users needed by the package

  * creating and removing directories with special permissions and
    ownership,

  * copying example config files to their final locations during
    package installation, and removing them during package removal
    if they don't differ from the example ones,

  * reminding the user of files that may be customized after
    package installation.
2017-06-01 01:58:34 +00:00
jperkin
cce8ad93ef Recursive revision bump for archivers/libarchive. 2017-05-29 11:09:45 +00:00
adam
f7716a4492 Removed databases/postgresql91 2017-05-24 19:51:12 +00:00
wiz
0872a7baa8 Allow db6 in BDB_* variables.
Bump PKGREVISION.
2017-05-14 14:36:06 +00:00
jperkin
61cb3cd803 Add zsh to default_acceptable_licenses. 2017-05-11 15:15:21 +00:00
jmmv
ac0c47cb8b Fix sysconfdir settings for pkg_comp.
This allows the default configuration in pkg_comp to properly find the
default configuration of sandboxctl.

Bump PKGREVISION to 1.
2017-04-26 00:48:14 +00:00
adam
75a9285105 Revbump after icu update 2017-04-22 21:03:07 +00:00
joerg
be58ddee57 Drop PKG_REVISION. Should never be set here in first place. 2017-04-20 14:38:40 +00:00
joerg
f0b1ff36d9 pkg_install-20170419:
- Convert to libarchive 3.x interfaces, avoiding the legacy glue.
- Rename local copy of netpgpverify to match installed headers.
- Shuffle bootstrap code to reduce special cases in pkg_add.
- Always read/write file names in tar archives as binary. While they are
  supposed to be UTF-8, locale conversion creates more problems than it
  solves here.
- Fix const correctness in gpg_verify.
- Add format string annotation for xasprintf for GCC-like compilers.
- Restrict supported archive formats for binary packages to ar (signed
  packages) and tar (actual content) with uncompressed/gzip/bzip2/xz as
  compression choices. This reduces the exposed libarchive surface.
- The pkg-vulnerability file correspondingly supports only the same
  compression choices.
2017-04-19 21:42:50 +00:00
khorben
6a95312dc6 Remove references to WINDOWMAKER_{OPTIONS,THEMES}
From what I can tell, this is no longer in use.
2017-04-16 22:10:40 +00:00
bsiegert
65e3f16e8f Revbump all Go packages after the Go 1.8.1 update. 2017-04-13 15:12:03 +00:00
rillig
1dacef077c Updated pkglint to 5.4.20.
Changes since 5.4.19:
* Updated allowed Python versions to include py36.
2017-04-05 19:17:19 +00:00
tron
79671d3350 Update "pkg_rolling-replace" to version 0.24.3.
- Make sure that installation path gets correctly recorded in the installed
  shell script to aid detection of the pkgsrc source location
2017-03-31 07:10:58 +00:00
joerg
2ca1b18e73 Restore distinfo for the patches. 2017-03-24 11:38:45 +00:00
joerg
06c8ea6f4a GC unused distinfo files. 2017-03-23 13:35:12 +00:00
joerg
3d1204bc1c Remove unused/empty distinfo files. 2017-03-23 13:07:24 +00:00
rillig
a0818b689b Updated pkglint to 5.4.19.
Changes since 5.4.18:

* Added generated Go yacc source files to CVS, since starting with Go 1.8
  the yacc tool is no longer part of the core distribution. The dependency
  on yacc would pull in all the Go tools, which are quite a few, and some
  of these do not currently build since they depend on go-crypto. See
  https://mail-index.netbsd.org/tech-pkg/2017/03/17/msg017900.html
2017-03-17 22:43:34 +00:00
bsiegert
f8ac46fcc6 pkglint 5.4.18.
Changes:
 - go tool yacc -> goyacc to fix building with Go 1.8 (PR pkg/52081).
2017-03-16 20:03:22 +00:00
ryoon
a55a40b5bf Update to 1.05
* Include native X.org libraries in recent NetBSD-current
2017-03-09 13:05:33 +00:00
joerg
8ad27ea5ce Deal with stupid GCC warnings on Linux due to glibc deciding that
write's return value must be used at all times.
2017-02-25 21:21:53 +00:00
jmmv
8623f309ad Hardcode the location of sandboxctl to not rely on the PATH.
Should fix the problems observed in:
http://ftp.netbsd.org/pub/pkgsrc/misc/joerg/20170219.1406/meta/report.html
2017-02-20 11:15:19 +00:00
jmmv
bfed044c52 Remove file added by mistake. 2017-02-17 21:28:24 +00:00
jmmv
230b79a4d5 Initial addition of pkgtools/pkg_comp-cron, version 1.0:
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-17 21:27:38 +00:00
jmmv
e22e939d47 Readd pkg_comp, now at version 2.0:
**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-17 21:25:46 +00:00
jperkin
8f2ec662de Update for pkg_comp move to pkg_comp1. 2017-02-13 09:36:04 +00:00
jmmv
135a5dd16a Move pkgtools/pkg_comp to pkgtools/pkg_comp1.
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-12 10:48:55 +00:00
ryoon
72c3cb198b Recursive revbump from fonts/harfbuzz 2017-02-12 06:24:36 +00:00
wiz
7ac05101c6 Recursive bump for harfbuzz's new graphite2 dependency. 2017-02-06 13:54:36 +00:00
rillig
0681838a82 Removed expecter.go, which had been moved to files/textproc. 2017-01-29 14:30:26 +00:00
rillig
5bbfc26161 Refactored the code into separate packages. No functional changes. 2017-01-29 14:27:48 +00:00
mrg
4957e8673c add dri.pc and egl.pc (the latter isn't used ... yet?).
bump version.
2017-01-25 02:51:35 +00:00
mrg
725a6bd4b9 add missing xorg present and Mesa support. bump revision.
allows tigervnc to build.

thanks to dmcmahill for testing.
2017-01-24 14:25:00 +00:00
agc
30b55df38e Convert all occurrences (353 by my count) of
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-19 18:52:01 +00:00
rillig
7e20045b7f Updated pkglint to 5.4.17.
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-18 23:05:43 +00:00
rillig
1548b3ba55 Updated pkglint to 5.4.16.
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-17 22:37:27 +00:00
joerg
da2debe4f4 cwrappers-20170112: Fix typos. From jperkin. 2017-01-12 14:56:35 +00:00
tron
328332d442 Fix build under Mac OS X where "pax" doesn't seem to automatically
create the target directory. We therefore do that manually.
2017-01-11 23:20:13 +00:00
sevan
a699bc814e Update message to match the "Checking for security vulnerabilities in installed packages"
section in the pkgsrc guide.
2017-01-09 07:01:33 +00:00
roy
f46104fdb7 Move to curses framework. 2017-01-03 18:45:15 +00:00
jperkin
5067dbcc65 Pass --without-lz4 to libarchive bootstrap, avoids issues on Gentoo where
the native lz4 is found.
2017-01-03 17:53:14 +00:00
rillig
54117d3486 Updated pkglint to 5.4.15.
Changes since 5.4.14:

* Definitions for CONF_FILES should always come in pairs (pkg/37284)
2017-01-01 16:41:37 +00:00
rillig
277fb0b88c Cleaned up and refactored code.
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-01 15:15:47 +00:00
rillig
91cd52a840 Fix build warning on DragonFly.
Fixes pkg/51713
2017-01-01 14:47:45 +00:00
wiz
7f84153239 Add python-3.6 to incompatible versions. 2017-01-01 14:43:22 +00:00
joerg
114f76a09f pbulk-0.65: Add basic support for specifying chroot'd clients by
absolute path. Introduce hook for setting up the chroot
(client_prepare_chroot) similar to client_prepare_action for ssh
clients.
2016-12-18 22:59:35 +00:00
joerg
60337d0d7a pbulk-0.64:
Ensure to reset port after each loop, so that "client" and "client:port"
notation can be mixed.
2016-12-18 22:41:12 +00:00
joerg
da31c10d9c pbulk-0.63:
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-18 22:38:16 +00:00
joerg
16ca8d25dd pbulk-0.62: cleanup if either the initial pkg_add round or the package
upload failed.
2016-12-18 09:36:38 +00:00
rillig
31e4b26be2 Updated pkglint to 5.4.14.
Changes since 5.4.13:

* Pkglint can fix $(VARIABLES) in parentheses to ${VARIABLES} in braces
  automatically
2016-12-17 13:35:32 +00:00
joerg
98971cd2cc Fix format string. Bump version. 2016-12-16 00:01:04 +00:00