Commit graph

4785 commits

Author SHA1 Message Date
jperkin
112e171d27 Ensure netpgpverify configure is called with CONFIG_SHELL. Fixes
build on legacy Solaris.
2015-09-06 18:38:21 +00:00
jperkin
c7d2a19537 Add ${VARBASE}/db/pkgin to OWN_DIRS. 2015-09-04 19:37:13 +00:00
sevan
0efda134b9 Remove references to a.out.
Add the necessary PIC flags for ELF shared libraries which is now assumed by default.

Reviewed by joerg@ wiz@
2015-09-04 11:50:47 +00:00
joerg
619f051608 Make __nbcompat_unvis13 static, it is not part of the interface
contract. Reorder to avoid using it before it is defined. ANSIfy.
2015-09-03 09:05:54 +00:00
kamil
21bf314b92 Add AC_GNU_SOURCE to configure.ac and regenerate autotools
This fixes build on recent ArchLinux with GCC 5.2 and GLibc 2.22.

Approved by <wiz>
2015-09-01 23:17:51 +00:00
jperkin
747bcb0822 Implement inline package signature verification.
This replaces calling out to an external gpg command for verification
with inline verification using the security/netpgpverify library.

Bump version to 20150901.
2015-09-01 12:14:05 +00:00
jperkin
d376915bde Update bootstrap-mk-files to 20150831. Changes:
* Reduce unnecessary diffs in Darwin, Linux, and SunOS mods.

  * Sync WARNS flags on SunOS.

  * Remove obsolete modifications to bsd.sys.mk and sys.mk on Darwin.  This
    primarily brings in PROG_CXX support.

Tested in bulk builds on all modified platforms.
2015-08-31 09:03:19 +00:00
sevan
bec87d2284 x86_64 is not referenced anywhere in the file, comment appears above if
statement regarding sparc64. s/x86_64/sparc64.
2015-08-29 21:59:18 +00:00
wiz
9fd12c9531 Jason W. Bacon reports he needs -fPIC on CentOS x86_64.
Add it as CPPFLAGS.Linux.
2015-08-21 07:40:39 +00:00
jperkin
27085577b1 Update pkgin to version 0.9.3. Changes:
* Ensure we aren't copying overlapping memory regions.  Issue found by
   Matthias Ferdinand.

 * Free libarchive resources after use.

 * Various WARNS and build cleanups.

Tested on Linux (now builds on Ubuntu 12.04), OSX, SmartOS and NetBSD.
2015-08-18 19:31:29 +00:00
wiz
c7383780db Bump all packages that depend on curses.bui* or terminfo.bui* since they
might incur ncurses dependencies on some platforms, and ncurses just bumped
its shlib.
Some packages were bumped twice now, sorry for that.
2015-08-18 07:31:00 +00:00
wiz
0eb141f110 Bump PKGREVISION for ncurses shlib bump. 2015-08-17 17:11:19 +00:00
jperkin
b80e538302 Pick up configure version bump. Ride previous version. 2015-08-17 16:05:26 +00:00
jperkin
00d4d1af57 Update pkgin to version 0.9.2. Changes:
* Fix -Wempty-body issue, noticed by joerg.
2015-08-17 09:40:11 +00:00
wiz
eeea55b8ce Remove references to xpkgwedge and USE_XPKGWEDGE flag.
Bump version.
2015-08-17 08:18:31 +00:00
wiz
0a84432cf6 Remove xpkgwedge, not needed any longer. 2015-08-17 08:15:40 +00:00
jperkin
7a744f9636 Update pkgin to version 0.9.1. Changes:
* Fix off-by-one NUL handling in pkg_summary.  Problem noticed by yrmt,
    caused occasional failures on OSX.
2015-08-13 15:16:55 +00:00
jperkin
33a1582556 Use MASTER_SITE_GITHUB. 2015-08-13 10:06:53 +00:00
jperkin
426b9716c0 Update pkgin to version 0.9.0. Changes:
* Significantly reduce RAM requirements for both "install" and "update",
    headline number is "pkgin install gcc47" on SmartOS/x86_64 reduces from
    383MB to 14MB, as well as being significantly faster, especially on
    slower hardware.  See my blog post at
    <http://www.perkin.org.uk/posts/reducing-ram-usage-in-pkgin.html> for
    more details.

  * Handle pkg_add signature verification failures.

  * Support pkg_summary.xz if available.

  * Don't switch to parsable output when stdout isn't a tty, which broke
    various automation tools.

  * Integrate patches/patch-external_progressmeter.h

Tested on NetBSD, OSX, and SmartOS.
2015-08-13 10:05:19 +00:00
szptvlfn
713e1a7859 add missing libX11-xcb.a 2015-08-12 11:34:00 +00:00
wiz
d12016c572 Add lppl-1.0 here as well. 2015-08-02 07:25:15 +00:00
jperkin
422a978dea Update x11-links to 0.97
* Add multilib ftconfig.h headers from EL6.
2015-07-31 08:51:31 +00:00
sevan
7d2818bbd3 Use details about variants when applicable instead of common names, this means
that the illumos variants such as SmartOS & OmniOS will be labelled accordingly
rather than being lumped in under the SunOS 5.11 banner.

This was put together with the help of Joerg @ pkgsrcCon 2015

Reviewed by joerg@ bsiegert@
2015-07-25 15:14:54 +00:00
ryoon
2d78d2e610 Update to 0.96
* Include freetype2 header file.
2015-07-22 19:06:18 +00:00
ryoon
92fa3c632b Update to 0.95
* Add recent NetBSD/amd64 7.99.20 X libraries.
2015-07-21 12:51:42 +00:00
khorben
69374e98f9 Remove the "-s" option from the usage screen of pkg_add(1)
It is not available anymore (since 1.17).
2015-07-20 13:59:44 +00:00
wiz
27a963a9cd If URL is not recognized as "proper" github URL, don't die, but just print
a warning and continue.
Bump version.
2015-07-15 19:01:44 +00:00
wiz
2f30023e84 Rename zpl to zpl-2.0 to make space for zpl-2.1.
Switch all packages currently referencing zpl to zpl-2.0.
Add zpl-2.1.
Add zpl-2.1 to default-allowed per FSF.
2015-07-15 18:19:54 +00:00
dholland
80442937d2 Remove bogus nroff logic inserted for SunOS and AIX in 2004 -- it
seems that the logic intended at the time was inverted; but it's not
necessary anyway. PKGREVISION -> 5
2015-07-10 17:01:16 +00:00
jperkin
a8002412f4 cwrappers-20150707: handle .dylib extension and Darwin linker flags. 2015-07-07 15:00:25 +00:00
jperkin
a076d14ba7 mksandbox-1.5: Mount /run on newer Linux for dynamic resolv.conf 2015-07-05 11:47:14 +00:00
joerg
11d2712a27 Remove USE_X11BASE and X11PREFIX. 2015-07-04 16:18:28 +00:00
khorben
5421ced8f6 Add pkg 2015-07-04 14:38:28 +00:00
khorben
21a18821d5 Import wip/pkg15 as pkgtools/pkg
pkg is built on top of libpkg, a new library to interface with package
registration backends. It abstracts package management details such as
registration, remote repositories, package creation, updating, etc.
2015-07-04 14:37:25 +00:00
ryoon
baf6bccb13 Revert generic part.
Requested by jperkin@ and joerg@.
2015-07-04 12:33:36 +00:00
ryoon
3335bab482 Update to 20150704
* Improve QNX support.
  From Jan Danielsson.
2015-07-04 07:19:08 +00:00
abs
3ac7efd69a Update pkglint to 4.156 - "8" is also a valid USE_JAVA2 value 2015-07-03 09:52:04 +00:00
tron
0231a844df Update "lintpkgsrc" package to version 4.89:
- Fix warnings reported by Perl 5.22.
2015-07-01 19:57:31 +00:00
ryoon
7110bb1f60 Rename MASTER_SITE_SOURCEFORGE_JP to MASTER_SITE_OSDN.
sourceforge.jp is renamed to osdn.jp.
However its mirror sites are not ready for osdn.jp.
2015-06-29 11:06:46 +00:00
dholland
2abadb7170 Apply sbd's patch for PR 37380 to fix build failure on systems without
err(3) in libc.
2015-06-18 06:29:18 +00:00
wiz
9c64019527 Fix uninitialized variables warnings.
From ISIHARA Takanori in PR 49980.
2015-06-17 11:59:58 +00:00
sborrill
c8749a295d Remove duplicate entries from previous commit. 2015-06-17 08:20:21 +00:00
wiz
09a02cafba Fix some perl-5.22 warnings.
Bump version.
2015-06-14 18:18:34 +00:00
wiz
0982effce2 Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
2015-06-12 10:48:20 +00:00
joerg
2b310ad796 Do not add -Werror or -Wno-error in sys.mk, it is the generic ruleset
included everywhere.
2015-06-11 09:20:55 +00:00
joerg
bde919dca2 As the seemingly untested -Werror changes break the bootstrap at least
on Linux, update libnbcompat to 20150615:
- Assume a C89 environment and malloc, vprintf, memcpy, memset, memmove
  to be present and working.
- Use full prototypes for isblank, snprintf, asprintf and strdup.
  This avoids GCC failing to do conflicts with the builtins.
2015-06-08 00:44:46 +00:00
joerg
b8d3c06e36 Allow clients to be specified with port number, simplifying multi-chroot
setups.
2015-06-07 22:49:04 +00:00
ryoon
ac93782508 Ride previous version bump.
My previous commit is wrong.
From share/mk/bsd.README of NetBSD src/:

NOGCCERROR      If defined, prevents passing certain ${CFLAGS} to GCC
                that cause warnings to be fatal, such as:
                        -Werror -Wa,--fatal-warnings
                (The latter being for as(1).)

In !defined(NOGCCERROR) case, -Werror should be passed to CFLAGS.
This change may break many packages.
2015-06-04 17:11:33 +00:00
ryoon
10223677c6 Update to 20150605
* If NOGCCERROR is not defined, add -Wno-error to CFLAGS instead of -Werror.
  NOGCCERROR means 'do not treat warnings as errors'.
2015-06-04 16:38:10 +00:00
sevan
8514571a7a Introduce preliminary support for Bitrig to pkgsrc
Initial patchset to add support by rodent@
Further adjustments made based on feedback by joerg@
Tested by myself with numerous bulkbuilds thanks to Patrick Wildt @ Bitrig

Reviewed by bsiegert@ joerg@ wiz@
2015-06-04 15:48:45 +00:00
joerg
019aaa058c pkgsurvey-1.0: Build the package list in a more useful format by
including package name, package location and automatic flag. Send to a
new list to keep the new format separate from the old one.
2015-05-10 19:47:03 +00:00
bsiegert
99833b4516 Use /bin/echo on Darwin, as the builtin does not have the -n option.
Bump version.
Patch from Jason White in PR pkg/49724.
2015-05-10 19:20:09 +00:00
agc
3f1bdca4aa Fix format string in pkg_add's help message - from J. Lewis Muir
Bump version number for pkg_install to 20150508
2015-05-08 16:29:37 +00:00
wiz
2000d3d19c Add lppl-1.2, an older version of lppl-1.3c, and add it to default-allowed
like the 1.3c version.
2015-05-08 10:37:32 +00:00
wiz
b2cf423302 libxcb-xkb shlib version was bumped in NetBSD, add new version to list.
Bump version.
2015-05-05 07:51:43 +00:00
bsiegert
d37999c02e Add BOOTSTRAP_PKG and USE_GCC_RUNTIME variables to makevars. Patch from
Olivier Duclos on tech-pkg.
Bump package version.
2015-05-03 15:20:23 +00:00
wiz
8ab127a536 Add the GUST Font Source License (GFSL) from
http://ctan.org/license/gfsl

Since this is basically the LaTeX Project Public License with one clause
removed, add it to the default acceptable licenses.
(lppl is fine with both OSI and FSF and already allowed.)
2015-05-02 13:21:37 +00:00
joerg
3015f4863b Reapply 1.37, but split the dependencies correctly into the header and
library dependency.
2015-05-02 12:52:59 +00:00
ryoon
0bd6a3c318 Fix build failure on many platforms.
The previous commit is obviously wrong because OBJS depends on LIB
and LIB is generated from OBJS.

And I can build this package with MAKE_JOBS=32.
2015-05-02 11:59:05 +00:00
joerg
fb6b8befd6 Ensure that nbconfig.h is created before all object files, avoiding
mysterious failures for parallel builds.
2015-05-01 12:18:09 +00:00
jperkin
242e0aba28 Remove USE_CWRAPPERS setting, now handled by _USE_CWRAPPERS logic. 2015-04-29 14:23:58 +00:00
tnn
66e35611c3 Add note about transform rules for HP-UX and Tru64 linkers. 2015-04-28 13:26:37 +00:00
jperkin
6861e07fe0 Ensure we don't try to rebuild the generated transform-gcc.c, it requires
NetBSD-specific build tools.
2015-04-27 09:51:24 +00:00
brook
6e87d7caa1 Initial import of the R2pkg package. 2015-04-25 22:08:40 +00:00
brook
d6d65acf47 Initial import of the R2pkg package:
The R2pkg program, which is modeled after url2pkg, creates a new
  pkgsrc package for the corresponding R package.  It is intended to
  help pkgsrc developers create new R packages quickly and easily.

This package was discussed in a thread beginning with the following:
http://mail-index.netbsd.org/tech-pkg/2015/02/04/msg014227.html
2015-04-25 22:06:34 +00:00
tnn
6a69e9522b Recursive revbump following MesaLib update, categories p through x. 2015-04-25 14:24:44 +00:00
joerg
73982d96a0 Since CONFIG_*_OVERRIDE replaces the automatic list, add ${WRKSRC}
manually.
2015-04-21 00:28:19 +00:00
joerg
841dc95145 Use canonical version of config.guess and config.sub for inplace builds. 2015-04-21 00:26:48 +00:00
rodent
a8a7c601b6 default_acceptable_licenses+=w3c 2015-04-19 22:19:15 +00:00
jperkin
6aa39003c8 Portability fix, use err.h from libnbcompat. 2015-04-19 14:30:07 +00:00
tnn
afb657e78b Trust libnbcompat to know if we need a getline(3) replacement or not.
Avoids us having to encode a list of all such platforms here.
2015-04-19 13:30:35 +00:00
tnn
871b1a2550 libnbcompat-20150419: provide getline(3) 2015-04-19 12:24:21 +00:00
tnn
72ae24afa9 regen 2015-04-19 12:23:25 +00:00
tnn
84fa97de4f - provide getline(3) to let cwrappers build on netbsd-5
- also provide getdelim(3) for the getline(3) implementation
2015-04-19 12:22:14 +00:00
adam
c27f5ffce5 Fixed a typo 2015-04-17 15:31:32 +00:00
wiz
fe0d9a87aa Remove more references to python-2.6. 2015-04-14 11:40:31 +00:00
jperkin
5f58e288b1 Update to libnbcompat-20150414. Changes:
- Provide a setenv() prototype, required by Solaris 9 for the cwrappers
    build.
2015-04-14 09:23:48 +00:00
jperkin
73742a85a5 Update to mksandbox-1.4. Changes:
- Only copy $kernel if it exists, fixes warning on OSX 10.10 which moves
   the kernel location to a directory we already mount, noted by J. Lewis
   Muir on pkgsrc-users.

 - Add NO_CHECKSUM=yes to appease pkglint.
2015-04-14 08:55:07 +00:00
rodent
4d31c3a113 Don't consider "package.xml" as a candidate for ${WRKSRC}. This can affect
PECL packages. Bump PKGVERSION.
2015-04-07 00:10:33 +00:00
adam
9071d6b787 Revbump after updating textproc/icu 2015-04-06 08:17:13 +00:00
rodent
1566321c2f Documenting history. 2015-04-05 03:11:00 +00:00
rodent
499539b2fc Initial support for automating the creation of Makefiles from GitHub URLs.
Initial support for automating the addition of DIST_SUBDIR. Bump PKGVERSION
2015-04-04 04:00:49 +00:00
jperkin
7243ee4d58 Ensure we do not try to regenerate the fetch catpage. Avoids possible
issues on platforms where nroff isn't native.
2015-04-02 23:06:34 +00:00
rodent
65559addc2 Including <sys/termios.h> on FreeBSD throws a warning. This warning breaks
the build. Patch fixes that.
2015-03-25 02:10:01 +00:00
jperkin
9e9b1a8802 cwrappers-20150318: Don't ferror() after fclose().
Fixes libtool cwrapper on Linux, ok joerg@
2015-03-18 15:05:35 +00:00
joerg
94ec8eaf36 -mt should be discarded, not ignored. 2015-03-18 15:01:21 +00:00
joerg
57935dc377 Drop properly drop -mt and generate. 2015-03-18 14:54:53 +00:00
jperkin
3132d89bb7 cwrappers-20150317: Discard obsolete GCC '-mt' argument. 2015-03-17 18:39:45 +00:00
joerg
a315e88103 cwrappers-20150314: Drop trailing / when searching for path names.
If a pattern ends in a slash, consider it as exact match.
2015-03-15 19:16:45 +00:00
ryoon
bd590952a2 Update to 0.93
* Adjust for recent NetBSD current X.org.
2015-03-12 14:46:09 +00:00
rillig
13d395ba74 Removed the comment about updating the version from the Makefile
I had used the pkglint_current tag in the past to summarize the changes
whenever I bumped the version number. In the last 7 years, this hasn't
been done, so there seems to be no need for it.
2015-03-11 19:09:38 +00:00
rillig
dfd5907057 Fixed a wrong warning for the HOMEPAGE variable
WARN: Makefile:9: Please use ${MASTER_SITE_GITHUB:=glmark2/glmark2}
      instead of "https://github.com/glmark2/glmark2".

This warning is wrong because HOMEPAGE is neither a plural variable nor
does it contain a "fetch URL".

To fix this, there is a new data type FetchURL, which has one more check
than the existing data type URL, namely the MASTER_SITES abbreviation.
The existing definitions in makevars.map have been updated accordingly
to the appropriate data types.

Note: This patch is not perfect, since ideally only variables of type
"List of FetchURL" should be suggested to be replaced with MASTER_SITES,
but since currently all these variables are actually "List of FetchURL"
and not simply "FetchURL", this should be fine.
2015-03-11 19:05:58 +00:00
jperkin
e859f81175 Put the catpage back. 2015-03-09 11:45:08 +00:00
wiz
a0e2ae2c85 Add GITHUB_*. Bump version. 2015-03-09 06:24:09 +00:00
wiz
182608ee1d Add MASTER_SITE_GITHUB. 2015-03-09 06:15:17 +00:00
imil
12ee1fb684 Updated pkgin to version 0.8.0
20150308
        bugfix: added missing dash before ffu

20150128
        0.8.0
        Added preferred.conf support
        man page now based on ronn <http://rtomayko.github.io/ronn/ronn.1.html>
2015-03-08 17:57:42 +00:00
tnn
e3b246a370 add TODO item for warning about MASTER_SITES containing github.com. 2015-03-07 15:33:21 +00:00
cheusov
a1cccca1c2 Update to version 0.66.0
New utility pkg_cksum2summary was added
2015-03-01 14:58:47 +00:00
jmcneill
d0b2ce8a3f add xcb/xkb.h and libxcb-xkb 2015-02-21 17:31:44 +00:00
jmcneill
0023e55e26 add xcb-xkb.pc 2015-02-21 16:51:11 +00:00