Commit graph

5092 commits

Author SHA1 Message Date
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
rillig
ca7de210ff Updated pkglint to 5.4.13.
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-13 00:58:06 +00:00
wiz
7135fcadcc Revert "Specify readline requirement on 30 packages"
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-12 14:22:01 +00:00
joerg
2c269c6435 Mark command_child_exec as noreturn. Fix typo. 2016-12-09 22:25:28 +00:00
joerg
04b730106d Hide regeneration rule for people with messed up timestamps. 2016-12-08 16:58:50 +00:00
bsiegert
4870dcea7e Revbump Go packages after 1.7.4 update. 2016-12-04 16:29:58 +00:00
rillig
055bab28e4 Updated pkglint to 5.4.12.
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-04 15:28:36 +00:00
ryoon
36ed025474 Recursive revbump from textproc/icu 58.1 2016-12-04 05:17:03 +00:00
marino
938dfe006b Specify readline requirement on 30 packages
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-12-04 03:51:14 +00:00
dbj
9a7cbbf7a0 add nbcompat.h include to get uint32_t
fixes build on darwin
2016-11-28 04:56:37 +00:00
joerg
9d6c2d7484 cwrappers-20161125: If spawn.h and posix_spawnp exist, prefer them over
vfork and execp.
2016-11-27 11:46:45 +00:00
joerg
62e657277f PR pkg/50275: Explicitly disable the locking type here. If shlock is not
a platform tool, it will introduce cyclic dependencies otherwise, e.g.
via sysutils/checkperms.
2016-11-25 22:46:40 +00:00
marino
c9a3e49932 pkgtools/pkg: Upgrade version 1.9.99.3 => 1.99.4
- 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-21 14:04:35 +00:00
marino
aec68ef18b pkgtools/pkg: Upgrade version 1.8.7 => 1.9.99.3
This is a development version, but it contains many fixes for NetBSD and
Linux.  It's better than the release version here.
2016-11-20 01:18:46 +00:00
marino
575470394d pkgtools/pkg: Fix build on recent NetBSD 7.99
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-18 14:10:18 +00:00
spz
5a1d0ee4bd add unicode to DEFAULT_ACCEPTABLE_LICENSES 2016-11-18 09:43:39 +00:00
marino
44ed6fe6c2 pkgtools/pkg: Ensure funopen prototypes are imported on libfetch's ftp.c
This is similar to recent fix on http.c
2016-11-15 17:48:56 +00:00
marino
a031c0656c pkgtools/pkg: Follow recent PKG_DBDIR changes in bootstrap script
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-15 15:42:21 +00:00
marino
74bb64aa0b pkgtools/pkg: Bump PKGREVISION after previous commit 2016-11-14 19:38:11 +00:00
marino
7f254b4536 pkgtools/pkg: bring in most of pkgsrc-synth improvements
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-14 18:59:12 +00:00
rillig
ebbdc6dad9 Updated pkglint to 5.4.11.
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-14 01:08:23 +00:00
rillig
95724ea46c Updated pkglint to 5.4.10.
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-11-01 21:40:25 +00:00
bsiegert
e095d6272f Revbump packages depending on Go after the Go 1.7.3 update. 2016-10-29 08:59:46 +00:00
marino
938915d38c pkgtools/pkg: fix installation of conf files (forgotten PLIST delta)
Use of OWN_DIRS alleviates use of @pkgdir.  Thanks to jperkins
and ultimately wiz for the suggestion.
2016-10-28 23:39:10 +00:00
marino
9a555265f0 pkgtools/pkg: fix installation of conf files (better)
Use of OWN_DIRS alleviates use of @pkgdir.  Thanks to jperkins
and ultimately wiz for the suggestion.
2016-10-28 23:37:53 +00:00
marino
3d7455043c pkgtools/pkg: fix installation of conf files
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-28 19:35:30 +00:00
marino
dc5dfa8d53 pkgtools/pkg: Honor existing PKG_DBDIR definition
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-28 15:35:08 +00:00
marino
354fdffdce pkgtools/pkg: Allow PORTSDIR to be specified
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-27 13:22:44 +00:00
khorben
58fbab5524 Import the second part of a patch from John Marino
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-27 00:24:58 +00:00
khorben
a5726bfecf Improve the most trivial parts of a patch from John Marino
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-27 00:06:54 +00:00
khorben
1944d73fc2 Remove outdated dependencies
From John Marino, thanks!
2016-10-25 12:54:37 +00:00
khorben
e891e80dea Use the official release instead of the GitHub tree
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-25 11:51:40 +00:00
dholland
f9d8e99aa4 Add IRIX support from Stuart Shelton in PR 38656. 2016-10-17 01:11:30 +00:00
jperkin
74564c9ae6 Update to mksandbox-1.7. Changes:
- 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-14 12:50:07 +00:00
wiz
0d448a7b6d Even more github support.
Bump version.
2016-10-10 07:42:53 +00:00
joerg
29777c2322 Adjust comment to reflect reality. 2016-10-07 13:22:49 +00:00
wiz
2ea9b05c83 Remove some dead code, python-3.3 is no more. 2016-10-03 12:25:36 +00:00
wiz
59c4a9f6b5 Allow sissl-1.1 per default
See
https://opensource.org/licenses/sisslpl
2016-10-03 11:49:31 +00:00
wiz
577e1cde9e ibm-public-license-1.0 -> ipl-1.0 2016-10-03 08:30:20 +00:00
kamil
4c4f22a933 Add pkgtools/plist-utils 2016-10-01 18:42:53 +00:00
kamil
784c9830b5 Import plist-utils as pkgtools/plist-utils
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>.
2016-10-01 18:37:15 +00:00
reed
f430510cfb pkglint has hardcoded php55 referenced a couple times.
That package was removedi and caused pkglint errors like:
ERROR: ../../lang/php/ext.mk:25: Cannot read
"./../../lang/php55/Makefile.common".

So update to later php56.

I don't understand why the ChecklinesDistinfo function in distinfo.go
has an exception for the php patches directory but changed there too.

I received an okay on packages@ list.

Note that the make check for the pkglint package failed for me
but the pkglint worked for me in my tests of some php using packages.

Increase version of pkglint.
2016-09-30 18:27:37 +00:00
wiz
5c7df860ec Fix HOMEPAGE when packaging github releases. Bump version. 2016-09-27 17:10:09 +00:00
rillig
14dd5b2a97 Updated pkglint to 5.4.9.
Changes since 5.4.8:

* Disallow lib/charset.alias in PLIST. This file may only be installed
  by converters/libiconv. (That package is currently broken, since
  it only touches that file when installing from source, not from a
  binary package. But pkglint is prepared for it to be fixed.)
2016-09-17 23:58:04 +00:00
joerg
64c13b730d cwrappers-20160908: Allow cc -o -. 2016-09-15 17:08:14 +00:00
bsiegert
fa3aa847c2 Revbump all Go packages after the Go 1.7.1 update. 2016-09-10 19:47:19 +00:00
jperkin
c684e9e413 Use PKGMANDIR. 2016-09-08 14:58:06 +00:00
joerg
f927905a3c bootstrap-mk-files-20160908:
Unless a platform explicitly sets DBG, default to -O2 on all
architectures. Most importantly, don't default to unoptimized builds
on AMD64.
2016-09-08 14:28:12 +00:00
rillig
cb4a44d998 Allow packages to define their own tools using TOOLS_CREATE.
Suggested by @jperkin for lang/rust.
2016-09-06 20:54:21 +00:00
rillig
063810441a Updated pkglint to 5.4.8.
Changes since 5.4.7:

* Added cputime as an allowed keyword for UNLIMIT_RESOURCES.
2016-09-06 19:23:03 +00:00
wiz
dee76b76c7 Add partial github support.
Bump version.
2016-08-31 21:15:36 +00:00
wiz
9f3dbdfcf3 Indent. 2016-08-31 21:15:01 +00:00
khorben
b362b2540a Package pkg 1.8.7
For 1.8.0:

New features:
- new vital flag that prevent from removing a package with pkg delete when not specifying -f
- upgrade process now has atomicity per packages meaning now we can safely check the return of the pre* scripts
- handle ctrl-c during upgrade/install/update
- solver improvements
- pkg clean now runs in a capsicum sandbox on supported plateforms

Changes:
- pkg delete now fails if one tries to delete it (the pkg package) without -f. Before it was just warning and skipping it
- pkg install --from-root has been renamed pkg install --recursive to avoir confusion

Fixes:
- correctly handle hardlinked setuid files
- better handling of setuid
- fix elf analysis when some bad libraries have SONAME specified by empty
- fix elf analysis when a binary provides elf_notes but not the expected ones and are still valid freebsd binaries
  (this fixes the case when libgdk_pixbuf was not found as a provided lib on i386)
- NAMESERVER option is now working again and inputs are better checked
- lots of bug fixes: potential leaks mostly

For 1.7.0:

Changes:
- Support new "vital" notion: prevent from implicit deletion
- Improved support for OpenBSD/bitrig (still lacks some functions in libc)
- Improved ZSH completion
- Updated libucl
- Lots of fixes in error messages
- Fixed "pkg lock" handling
- Allow to specify "inline" respositories in pkg.conf
- ipv6 fixes
- Allow to restrict the accepted url schemes
- More commands supports "-q"
- Multiple bug fixes
- As usual multiple new bugs
- Improved support for shlibs dependency generation when packaging base via ALLOW_BASE_SHLIBES

For 1.6.0:
- Lots of improvements in the solver (in particular fixes the case like the
  recent jpeg upgrade)
- Lots of fixes in the 3 way merge code
- pkg add can now work without a version specified in the dependency line
- pkg check -d now also check the required libraries
- Improved support for partial upgrades
- Improved zsh completion support
- Improved linux support (now all regression tests passes on linux)
- Messages can now be context aware: (only print a given message during
  installation, upgrade - version aware -, removal, or always)
- @keywords now accepts new entries to add context aware messages
- Add the ability to generate graphiz's dot format representation of the
  solver's problem
- pkg search now default on showing the comments of of the matched packages
- Lots of bug fixes and code cleanup
- Plenty of new bugs
2016-08-27 21:57:05 +00:00
khorben
a4e9115319 Update pkg to version 1.5.6
From the commit log, since 1.5.4:
- More fixes to pkg-check.8
- Important improvements in the pkg check manpage
- HBSD: fix format specifier in libpkg's pkg_vets(...)
- Fix libexpat buffer overflow: CVE-2015-1283
- Always use sqlite3_column_int64 for reading integers from the db
- Add a new configuration item to define custom HTTP User-Agent
- Don't attempt to set file ownership when INSTALL_AS_USER is set
- zsh-completion: updated all of the currently handled subcommands
- Fix typo s/conpact/compact/
- Fix two typos in pkg_vset(), to correspond to pkg_vget()'s code
- Implement AUTOCLEAN
- Clean up some grammar and formatting in pkg.conf(5).
- Update zsh completion
- Do not distribute generated source files
- Add a random delay to pkg-audit when invoked without a TTY
- Fix display of <root directory>
2016-08-27 21:10:59 +00:00
bsiegert
3d38b5140e Revbump packages using Go for Go 1.7 release. 2016-08-20 09:21:44 +00:00
adam
77b8ed74db Revbump after graphics/gd update 2016-08-03 10:22:08 +00:00
rillig
2498c7154b Updated pkglint to 5.4.7.
Changes since 5.4.6:

* Allow conditionals of the form "${var1}" == "${var2}"
* Check for indentation of .include directives
* Check arbitrarily complex license conditions
* General code cleanup
2016-07-10 21:24:47 +00:00
rillig
9290c4a9bd Fixed pkglint warning. 2016-07-10 13:31:54 +00:00
rillig
2e8432c3d3 Fixed some pkglint warnings. 2016-07-10 13:28:41 +00:00
rillig
c1acc57ca0 Updated pkglint to 5.4.6.
Changes since 5.4.5:

* Fixed shell command parser to correctly parse redirections
* Added type definitions for several variables
* Allowed version numbers to be single digits
2016-07-10 11:37:27 +00:00
rillig
9c9916dff2 Updated pkglint to 5.4.5.
Changes since 5.4.4:

* Removed autofix for variables in BUILDLINK_TREE, since that change
  affects multiple variables in the file and therefore cannot be done
  automatically
* Fixed PLIST sorting to not lose lines
2016-07-09 13:16:43 +00:00
wiz
ad0031c15e Remove python33: adapt all packages that refer to it. 2016-07-09 13:03:30 +00:00
rillig
bc46f036d4 Updated pkglint to 5.4.4.
Changes since 5.4.3:

* Improved detection for undocumented patches from Git
* Added warning about unnecessary space after variable names
* Lots of internal housekeeping
2016-07-09 09:43:48 +00:00
wiz
3861dc08b6 Mention that everything mentioning perl should be bumped for perl bumps.
Bump version.
2016-07-09 06:40:08 +00:00
wiz
73716d23de Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. 2016-07-09 06:38:30 +00:00
rillig
d8d8a2c0be Updated pkglint to 5.4.3.
Changes since 5.4.2:

* Variables like ${VAR_${OTHER_VAR}} are no longer checked for
  use/define mismatch
* The check for plural variable names has been removed
* The type of variables called *DESTDIR is no longer guessed to be a
  directory name
* The check for unknown shell commands is disabled in Makefile
  sections that depend on OPSYS
* The experimental hand-written shell parser has been replaced with
  a Yacc-generated one
* Meta packages don't need a LICENSE
* When PKGNAME is defined in terms of ${DISTNAME:S/from/to/:tl}, more
  modifiers (like :tl) are handled properly
* When the MAINTAINER or OWNER of a package is not the current user,
  a warning is printed for modified files
* The check for share/applications/*.desktop has been disabled, since
  pkglint would need to inspect the file's actual contents to see
  whether desktopdb.mk must be included or not
* SUBST_CLASSES may also be SUBST_CLASSES.NetBSD
* Loosened the usage restrictions for several variables, e.g. many
  variables that may be appended in a Makefile may also be set
  unconditionally
* PKG_OPTIONS_VAR must be of the form PKG_OPTIONS.*
2016-07-07 12:09:26 +00:00
agc
b5419701b7 catch up with the new opaque pgpv_t and pgpv_cursor_t structures in libnetpgpverify. 2016-07-06 21:00:04 +00:00
wiz
45ac525338 Handle mk/ocaml.mk like a buildlink3.mk file.
Helps with bumping ocaml dependencies. Requested by jaapb.

Bump version.
2016-07-01 21:50:20 +00:00
jperkin
c43e8d9265 The recent libarchive update changed the library major. Increase the
ABI depends and perform a PKGREVISION bump for dependents.

Noticed by OSX binary package users.
2016-07-01 17:55:22 +00:00
wiz
6d90854bd9 Remove last traces of bmp here too.
Was not installed for a long time and recently removed from NetBSD base.
2016-06-30 17:42:04 +00:00
wiz
10596c46f3 Fix typo in github handling.
Bump version.
2016-06-26 19:03:33 +00:00
joerg
34599e08d1 pbulk-base-0.53:
After processing the tree-scan job, reassign jobs to all idle clients.
Before, this was only necessary at the very start of the build.
2016-06-23 15:07:39 +00:00
joerg
f1950d6871 Disable maintainer mode for libarchive. 2016-06-21 12:23:01 +00:00
joerg
9fb46a3b44 pbulk-base-0.52:
Move the tree iteration logic from the master to the client. This
matters primarily when using the additional package list in the top
level makefile and ensures that the client configuration is used
consistently.
2016-06-20 17:54:43 +00:00
wiz
712ddf30b3 USE_CROSSBASE is deprecated, remove it.
Bump version.
2016-06-19 18:03:29 +00:00
wiz
0ea9ee7bd5 USE_CROSSBASE is deprecated, remove it.
Bump version.
2016-06-19 18:03:05 +00:00
cheusov
8b428cc6d0 Update to 0.47.2
Fix: variable USE_DESTDIR disappeared from pkgsrc
2016-06-12 16:05:40 +00:00
dholland
4b9fc8a025 Add a BUG: you can't ignore single files, only whole subtrees, but
there are a number of files from pkgsrc that ought to be ignored by
default, such as $PREFIX/info/dir.

Ride previous version bump.
2016-06-11 21:34:54 +00:00
dholland
c78a6e245a Add patch from Tim Zingelman in PR 46421 to make it work on machines
whose libdb is not the db-1.85 that's in the libc of 4.4 derivates.

Since this program reads the package database it must use the same
libdb as pkg_install, and that's the one in libnbcompat rather than
the one you get from bdb.buildlink3.mk.

Bump PKGREVISION to 5.
2016-06-11 21:26:19 +00:00
rillig
6e7663a945 Don't fail when a regression test uses "set -eu". 2016-06-11 10:31:06 +00:00
rillig
976236ae26 Updated pkg_regress to 0.3.
Changes since 0.2:

* provide usage message when called with invalid options
* moved do_test_default() from public API section in the source
* renamed private variables to not be in uppercase
* indented consistently
* replaced unnecessary ${VAR} with simple $VAR
* moved actual test execution into its own function
* when invoked with the -v option, announce which test will be run
2016-06-11 09:37:16 +00:00
rillig
3878c6ec63 Fixed error message when url2pkg is run from a non-pkgsrc directory.
See http://stackoverflow.com/q/36481302. Bump version.
2016-06-10 21:43:04 +00:00
rillig
baecbd3b40 Updated pkglint to 5.4.1.
Changes since 5.4.0:

* PKG_SKIP_REASON is no longer marked as deprecated, since it still
  has its value
* When PKG_SKIP_REASON is defined depending on OPSYS, suggest to
  use NOT_FOR_PLATFORM instead.
* Check for ROOT_USER/ROOT_GROUP being used in special file
  permissions; using REAL_ROOT_USER/REAL_ROOT_GROUP is better.
2016-06-10 19:42:41 +00:00
wiz
86a78fce2e Bump PKGREVISION for perl-5.24. 2016-06-08 19:22:13 +00:00
wiz
3af1eae2b3 Escape some { for perl-5.22. Bump version. 2016-06-08 18:02:43 +00:00
rillig
aa6acd9ffd Updated pkglint to 5.4.0.
Changes since 5.3.7:

* Replaced the -D... debug options with a single -d
* Omitted duplicate diagnostics
* Marked the :Q operator unnecessary for some variables
* Improved detection of whether bsd.prefs.mk has been included,
  which fixed unwarranted warnings about load time evaluation of
  some variables like ${ECHO} and ${SED}
* Improved detection for $(VAR) with round parentheses
* Fixed allowed locations for several variables
* Improved detection for used variables (still not perfect)
* Added warning that MASTER_SITES should not be used in HOMEPAGE
* Fixed warning about manual patches not being in distinfo
* Added a check for missing MASTER_SITE_* variables
* Added a check for unfinished url2pkg work
* Fixed several wrong warnings
2016-06-05 11:24:32 +00:00
wiz
b6801123fc Use better HOMEPAGEs for github. Bump version. 2016-06-01 12:45:59 +00:00
ryoon
73cfdfda65 Update to 1.02
* Add freetype2 library of latest NetBSD-current native xorg
2016-05-18 21:04:07 +00:00
joerg
42dd6c95bf pbulk-0.61: don't create category symlinks in the default package sync
implementation.
2016-05-09 00:08:21 +00:00
joerg
316ec467f5 Disable noisy warning for GCC. 2016-05-07 10:08:30 +00:00
leot
cf2c59f74f Add hpnd to DEFAULT_ACCEPTABLE_LICENSES and *default_acceptable_licenses.
Discussed in tech-pkg@:
http://mail-index.netbsd.org/tech-pkg/2016/04/20/msg016755.html

Thanks to Memnon Anon!
2016-04-21 07:51:51 +00:00
ryoon
ac20a93574 Recursive revbump from textproc/icu 57.1 2016-04-11 19:01:33 +00:00
jperkin
de194647b7 Update bootstrap-mk-files to 20160411. Changes:
* Default to MKCATPAGES=no if mandoc is available on newer SunOS.
2016-04-11 12:37:48 +00:00
joerg
4e86439aac pkg_install-20160410:
Remove pkgdb handling logic from pkg_create, where it should have never
been in first place. Ignore former -U option as new default.
2016-04-10 19:01:19 +00:00
joerg
051b5b5127 Drop support for USE_DESTDIR=no. Bump version. 2016-04-10 17:00:33 +00:00
joerg
7c420efe84 USE_DESTDIR is gone. 2016-04-10 16:59:37 +00:00
jperkin
7aefd7c6ee Support PKGMANDIR. 2016-04-01 13:11:14 +00:00
agc
14e7888a5e Build fixes for rdigest, following previous changes to pkgtools/digest in
February.
2016-03-31 17:06:18 +00:00
gdt
7d8bb2407a Exclude NetBSD 1-5 from using go-pkglint
(Surely more systems should be using pkgint4, as it's obvious that
being i386 and no SunOS is not sufficient.  However, this is a
~minimal fix for NetBSD 5.)
2016-03-23 16:36:53 +00:00
seb
a95c896613 whitespace fix PR pkg/38651 2016-03-20 19:15:33 +00:00
markd
abbfacfa9a Add support for "-isystem dir", transform in the same way as "-Idir" 2016-03-14 20:16:08 +00:00
rillig
cc0455efbd Updated pkglint to 5.3.6.
Changes since 5.3.5:

* Warn about !empty(${VARNAME}), which should be !empty(VARNAME)
* Distinguish ${VARNAME} == "value" and ${VARNAME:Mpattern}
* Corrected isQuotingNecessary for some variable types
* Generally, parse files from mk/, since they define variables
  used by packages. This avoids wrong warnings about possible
  spelling mistakes.
* Warn about $(VARNAME) (with parentheses instead of braces)
* Warn about missing final @ in ${VAR:@var@...@}
* Updated list of hardware architectures
* Enabled CPU profiling on NetBSD
2016-03-13 13:40:10 +00:00
wiz
a3ec2cee00 Remove duplicate if. Ride bump. 2016-03-12 09:06:29 +00:00
wiz
61eb8ead24 Remove non-working -V option from lintpkgsrc. Bump version.
From Taylor Stearns <tstearns@pobox.com> in PR 42172.
2016-03-12 09:05:22 +00:00
jperkin
adddf7ed08 Use LDFLAGS, LDADD isn't in OPSYSVARS and LDFLAGS doesn't require
having to pass through MAKE_ENV.  Fixes build on SunOS.
2016-03-10 09:25:42 +00:00
jperkin
17661ff9a5 Bump PKGREVISION for security/openssl ABI bump. 2016-03-05 11:27:40 +00:00
agc
86beaec17e Update digest package to 20160304
+ remove unnecessary _POSIX_C_SOURCE definitions

+ fix up explicit_memset usage in sha3.c

+ bump version to 20160304
2016-03-04 23:09:25 +00:00
agc
3cefcc036a Update digest to version 20160216, as proposed on tech-pkg.
Changes since previous version:

+ add Taylor Campbell's implementation of SHA3 digests.  This includes
code to calculate 224, 256, 384 and 512bit length digests.

+ change the license on all the code I wrote to be 2-clause BSD

+ modify license years for things that have been changed

+ add self-test command line option to digest(1) via the -t switch

pkgsrc changes

+ derive version number for the package automatically from the source
code
2016-03-03 22:11:07 +00:00
agc
c006a71287 Patch from Silas Silva to:
+ add a --without-src command line argument which allows a sandbox to be
  made without mounting any src tree component

+ bump mksandbox package to 1.6.
2016-03-03 04:41:15 +00:00
jperkin
d05cac7252 Use OPSYSVARS. 2016-02-25 17:25:05 +00:00
bsiegert
e3b61c4350 Revbump packages that build-depend on Go after 1.6 update.
They all build, I checked :)
2016-02-23 20:18:11 +00:00
agc
b1e09097a6 make the name of the header file correct here too 2016-02-14 08:37:25 +00:00
agc
ae9504f186 Fix a small typo to ensure the name of the header file is correct. 2016-02-14 08:06:54 +00:00
wiz
0622daa0d0 pkgdiff: move automatic cleanup of unnecessary patches from patchdiff(1)
to mkpatches(1).

Requested by jperkin.

Update man pages.

Bump version.
2016-02-10 16:00:10 +00:00
wiz
2a9c8e31cf Add paratype to default-allowed licenses, since it is basically ofl-v1.1. 2016-02-10 10:50:18 +00:00
jperkin
bc5850cedd Update pkgin to 0.9.4. Changes:
* Check for pkg_summary updates before fetching packages.
2016-02-08 16:39:30 +00:00
rillig
fdff3e7423 Don't look in pkgtools/pkglint for a newer version, use pkgtools/pkglint4
Bumped version.
2016-02-02 08:02:29 +00:00
rillig
0e527f2700 Fixed dependency pattern for pkglint4 2016-02-02 08:00:10 +00:00
rillig
500dff51c1 Fixed boolean expression for selecting the proper pkglint version
It had been wrong for SunOS-*-i386, which is not supported by the Go
programming language, but was forced to use the Go version nevertheless.
2016-02-01 21:40:39 +00:00
rillig
4e2f61b1ea Updated pkglint to 5.3.5
Changes since 5.3.4:

* Added parser for Makefile conditionals
* Variables that are matched using the :M modifier are checked whether
  the matched value is sensible
* Reworded and explained warning for variable ordering in packages
* Fixed bug in Tree.String
* Fixed a few variable types
2016-01-31 17:18:54 +00:00
markd
01ad0b2b1a Update to 1.1.
Teach about more licenses.
2016-01-30 04:59:57 +00:00
rillig
fbf5f5542a Updated pkglint4 to 1.161
Changes since 4.160:

* Changed OWNER
* Made the package work with PKGSRC_RUN_TEST=yes
2016-01-29 23:01:46 +00:00