Commit graph

4785 commits

Author SHA1 Message Date
joerg
bc48e3b92f pbulk-base-0.50: Don't go into master mode if there is nothing to do. 2015-11-03 19:06:47 +00:00
rillig
04612c3d27 Fixed patch detection in distinfo files
Up to now, all files whose names started with "patch-" were considered
patch files. This was wrong, since e.g. devel/patch also has distfiles
with the same naming pattern.
2015-11-02 18:45:31 +00:00
rillig
8242b7cab3 Removed checkline_spellcheck
It didn't provide much technical value, and its error message was not
polite anyway.
2015-10-27 21:23:36 +00:00
rillig
4e0408301a Removed unused load_shared_dirs 2015-10-27 21:10:56 +00:00
kamil
9e4890aa49 p5-Perl4-CoreLibs as DEPENDS fits better the package needs 2015-10-26 23:26:27 +00:00
kamil
53d895a997 Pull-in p5-Perl4-CoreLibs as the dependency of getopt.pl
PKGREVISION++
2015-10-26 20:38:09 +00:00
joerg
b7008c73ea Drop EOLed PostgreSQL 8.4 and 9.0 from the supported list of PG
versions.
2015-10-24 21:18:12 +00:00
joerg
ad40275cd0 Fix missing change from the machine the scan change was tested on. 2015-10-22 19:57:47 +00:00
joerg
f05a09bbf6 pbulk-base-0.49:
When shutting down the master after all jobs are done, send a zero
length request to the clients and wait a second for them to shutdown the
connection. Calling shutdown on the server side doesn't avoid TIME_WAIT
as originally intended.
2015-10-21 23:03:17 +00:00
jperkin
dcdecb80a0 OpenBSD and derivatives define MACHINE_ARCH in sys/param.h to "amd64" which
overrides our attempt to set it to "x86_64" and ensure consistency across
platforms.  Work around this by setting it using PKGSRC_MACHINE_ARCH.

Confirmed to fix the issue and not break a variety of other platforms by
Sevan, and approved under duress by Joerg.
2015-10-20 08:18:12 +00:00
wiz
d63cd6aece Bump version for recent fixes. 2015-10-19 09:43:59 +00:00
joerg
4bdd56fb47 pbulk-0.59: Belatedly bump PBULK_CONFIG_VERSION to ensure that
sync_packages etc are present.
2015-10-18 13:32:13 +00:00
sevan
e8f50eac16 Do not check for or include sys/param.h
This resolves issues on platforms which MACHINE & MACHINE_ARCH is explicitly
defined, such as OpenBSD/amd64 & Bitrig/amd64 where we would like to build with
MACHINE_ARCH=x86_64 but can't as a platform check fails when installing
packages after bootstrap
pkg_add: Warning: package `digest-20121220' was built for a platform:
pkg_add: OpenBSD/x86_64 5.8 (pkg) vs. OpenBSD/amd64 5.8 (this host)

Tested on
Mac OS X Tiger/PowerPC
OpenBSD
Bitrig
Solaris 10/SPARC
FreeBSD 10.2-RELEASE & 11-CURRENT
DragonFlyBSD
Debian 8
OmniOS

Reviewed by joerg@
2015-10-15 13:31:27 +00:00
joerg
2ef22f9a96 pbulk-0.58: Create All if it doesn't exist yet. Noticed by asau@ 2015-10-15 11:47:46 +00:00
rillig
56cbdf7755 Fixed one of the unit tests 2015-10-15 03:01:14 +00:00
rillig
fe7728fe6f Reverted part of 1.888 (perlcritic --stern)
The warning that "return undef" is bad must be taken with great care.
Although perlcritic explains it a lot and warns to think before simply
fixing it, it doesn't mention that in some cases a simple "return" means
"return '0'", which had happened here.
2015-10-15 03:00:56 +00:00
rillig
52076b148e Moved the code for checking shell commands into its own file 2015-10-15 02:09:49 +00:00
rillig
aa35a841f1 Code cleanup for loading files that must exist 2015-10-15 01:57:47 +00:00
rillig
aa818f2e89 Replaced distinfo algorithm MD5 with SHA512
* Removed needless check for MD5; all packages have been migrated already
* Made the code simpler by not relying on state transitions
* Allowed the newly introduced SHA512 to be mentioned in distinfo
2015-10-15 01:27:00 +00:00
sevan
759694bbd3 Add the latest version of fontconfig freetype library from OpenBSD 5.8-current
Add EGL & Khronos components to MesaLib list
2015-10-12 18:47:21 +00:00
rillig
6f8badfc31 Fixed some of the errors reported by perlcritic in --stern mode 2015-10-11 21:23:34 +00:00
rillig
1f786c286a Fixed errors reported by perlcritic in --gentle mode 2015-10-11 21:06:20 +00:00
rillig
b5eafd8d08 Moved the code for checking patch files into its own file
The pkglint.pl file has grown pretty large, which makes it hard to under-
stand. Therefore it is useful to split it into reasonable parts.

The code for checking patch files is such a part since it is independent
of the rest of pkglint, and its specialized routines take quite a bit
of space.
2015-10-11 19:20:17 +00:00
rillig
1f2eefc645 Fixed runtime error introduced in version 1.884
The variable $m had been dereferenced although it was undefined.
2015-10-11 18:42:34 +00:00
rillig
f584304659 Removed the code that checked for buildlink.mk files from before 2009 2015-10-11 18:34:23 +00:00
rillig
dd623e73fc Performance: replaced some regular expressions with string functions
Using regular expressions provides more uniform code, but at the cost of
higher runtime, since Perl doesn't optimize them away, even if they are
very simple, like those emulating the startswith() or endswith() functions
that other languages provide.
2015-10-11 18:16:50 +00:00
rillig
69b198e830 Performance: removed some needless string interpolations 2015-10-11 14:31:36 +00:00
rillig
47a721473b Migrated pkglint to Perl 5.12. 2015-10-11 12:31:43 +00:00
tron
23b1190a88 Reset maintainer 2015-10-11 10:56:43 +00:00
rillig
785d2bafe0 Removed redundancy from the patch file checker's data structures 2015-10-11 08:15:31 +00:00
rillig
096f0eef41 Made checking of patch files a little faster
The transition table is using a two-stage lookup now. The redundancy of the
data structure will be removed in a follow-up commit.
2015-10-11 08:04:04 +00:00
rillig
e2cfc9075a Fixed warning for using github.com in MASTER_SITES. 2015-10-11 07:27:12 +00:00
ryoon
b141232e29 Recursive revbump from textproc/icu 2015-10-10 01:57:50 +00:00
tnn
b15ba42987 simplify previous; _ is included in \w 2015-10-05 13:16:44 +00:00
tnn
4a4e222dd6 fix regexps for patch names: '+' and '_' are allowed characters
Fixes false checksum mismatch errors from lintpkgsrc -m.
Bump version to lintpkgsrc-4.90.
2015-10-05 13:12:12 +00:00
gdt
5aafdaef9e Revert previous.
This warning isn't supposed to fire on macro code, so this is either
something subtly odd in pkgin or broken in OS X's clang.  This still
needs fixing, but in a way that's more limited to the problematic
platform.
2015-09-27 16:41:12 +00:00
gdt
1775bf7047 Disable -Werror to avoid build failures.
At least on OS X with clang, pkgin fails to build because of extra
parens around ==.  See https://github.com/NetBSDfr/pkgin/issues/64
for details.

This seems to be a new issue with something in the pkgsrc build
environment (bsd makefiles or compat libs), not in pkgin proper, but
pkgin's use of bsd makefiles leads to Werror.
2015-09-26 12:15:28 +00:00
tnn
b32f026f53 The warning message contained herein is not relevant.
pbulk has safeguards against mismatching config version.
2015-09-20 16:23:30 +00:00
wiz
71725af9ef Handle Makefile parse errors better.
Bump version.

Requested by joerg@
Reviewed by leot@
2015-09-15 08:36:07 +00:00
bouyer
e7926e4be7 Update to 0.98:
Add drm_fourcc.h and radeon_surface.h to libdrm's includes. Needed to
build MesaLib with the native Xorg.
2015-09-13 12:27:42 +00:00
joerg
907b09319a pbulk-0.57: Reorder build phases slightly to make better use of destdir
builds. Introduce hooks for sending bulklog and package explicitly the
master. The default bulklog action is a nop and the package action
mirrors the normal package step, i.e. copying to ${packages}/All and
adding the category symlinks.
2015-09-13 11:45:36 +00:00
leot
b61484a30e Add vera-ttf-license and (previously forgotten) info-zip to reflect
pkgsrc/mk/license.mk current DEFAULT_ACCEPTABLE_LICENSES.
2015-09-13 11:25:52 +00:00
joerg
68bfe531ae When copying the meta directory, preserve time stamps. Otherwise changes
won't be picked up correctly.
2015-09-12 23:04:30 +00:00
joerg
980bf344a9 Make it easier to override the (b)make hard-coded in mkpatches and
patchdiff. It is often useful to have tools in one prefix and reach-over
patch creation with a different make and different WRKOBJDIR settings,
e.g. when developing in a bulk build environment.
2015-09-08 18:47:01 +00:00
joerg
6adcaa3a2a pbulk-0.55: Add option for running the checksum phase unprivileged. This
makes it easy to use DISTDIR=${WRKDIR}/.distfiles or so. Not the default
as it changes the required permissions on ${DISTDIR}.
2015-09-08 17:35:06 +00:00
joerg
267f3d0186 Allow having bulklog and bulklog.old as separate mount points.
When removing bulklog.old fails, try to remove everything but meta and
copy the content.
2015-09-08 17:33:26 +00:00
joerg
84a557a460 Be nicer to broken musl headers that insist on providing warning
headers.
2015-09-08 13:57:36 +00:00
dholland
2984cb92af Per PR 43356, remove references to rules for 'make subdir' for any
subdir in SUBDIRS, as that feature was removed in 1999.

Bump package date to 20150908 as this is a change, even if it's a
fairly minor change.
2015-09-08 04:41:04 +00:00
sevan
b92680fda1 We currently detect $MACHINE_ARCH on OpenBSD/amd64 & Bitrig/amd64 as amd64.
Bitrig uses ELF on amd64 & arm and does not have any legacy dependency on a.out.
Remove if statement to check $MACHINE_ARCH is x86_64 in-order to set $OBJECT_FMT
to ELF, preventing $OBJECT_FMT being set to a.out by mistake.

Reviewed by joerg@
2015-09-07 15:07:54 +00:00
jperkin
edfd9dba4a Explicitly link against -lbz2 and -lz to satisfy libnetpgpverify
dependencies, we can no longer rely on implicit linking from libarchive
on certain platforms.  Fixes build on FreeBSD and DragonFlyBSD.
2015-09-07 09:06:04 +00:00