Commit graph

4465 commits

Author SHA1 Message Date
wiz
18a46154bf Do not set FETCH_USING, should not be set in a package Makefile. 2014-01-27 18:41:11 +00:00
wiz
a1f0ff3f67 No need to have two variables for the same logic.
Replace PYTHON_PATCH_SCRIPTS with REPLACE_PYTHON.
2014-01-25 10:45:15 +00:00
wiz
aa67e11089 Mark packages as not ready for python-3.x where applicable;
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE=  33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE=  33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.

Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.

Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.

Whitespace cleanups and other nits corrected, where necessary.
2014-01-25 10:29:56 +00:00
ryoon
728513505a Update to 0.81
* Add files from OpenBSD 5.4's Xenocara
2014-01-23 21:05:18 +00:00
jperkin
a8b03cb4c2 Support catpage. Bump PKGREVISION. 2014-01-21 16:31:27 +00:00
joerg
13e53eb4e7 Format string annotations. 2014-01-15 13:52:10 +00:00
cheusov
948e1958da Updatd to version 0.12.0:
Most important parts of pkg_grep_summary, a part of
  pkgtools/pkg_summary-utils, was reimplemented in C. As a result
  "nih {search,info,meta,leaf,install,remove,deps}" should work faster.

  nih install:
    - if pkg_update_plan(1) fails, nih(1) exits with pkg_update_plan's
      exit status.
    - packages to be installed or removed are output in sorted order.

  nih {search,meta,info}:
    - "nih meta" now defaults to -1 mode (internally).
    - documentation for -1|-3|-9 ads added for "nih {info,meta}" commands
    - "nih info" now defaults to -3 mode.
    - "nih {search,meta,info}" now work correctly with -{o,i} options
      if ~/.nih/pkg_summary.txt is absent.
    - new option -l was added to "nih {search,info}" that outputs
      package file list.

  Summary for installed packages is cached in
  ~/.nih/pkg_inst_summary.txt. "nih {refresh,search,info,meta,deps,list} -i"
  use this file and update it when necessary.

  nih refresh:
    - Option -P was added for fully rescanning pkgsrc tree.
    - The default value for PKGSRCDIR is not determined at build time
      anymore.  As a result "nih refresh -p" does not try to access
      /tree/pkgsrc used by bouyer@ who builds official NetBSD binary
      packages. Now PKGSRCDIR defaults to /usr/pkgsrc.
    - "nih refresh -p" shows progress counter (the number of scanned
      packages) unless -m is in PSS_OPTIONS.
    - option -i was added that updates summaries for installed
      packages (~/.nih/pkg_inst_summary.txt).

  nih remove:
    - does not try to create $CACHEDIR and "cd" to it.

  nih list:
    - was completely reimplemented and simplified.
    - new option -p was added that outputs pkgsrc tree packages.

  nih deps:
    - new options -b and -p were added for working with binary
      repository and pkgsrc scanned packages
      (pkg_summary.txt ad pkg_src_summary.txt respectively)
    - option -1 was added that outputs direct dependencies or dependents.

  nih/config:
    - better conversion from "uname -r" to repository URL.
    - REPOSITORY for SunOS defaults to smartos.org.

  Support for summaries with no PKGPATH, e.g., compat50-5.1.tgz, was
  added.

  Option -I for "list", "deps', "meta", "info" and "search" was
  renamed to -i. Option -I is supported for backward compatibility.

  package_search.pdf was updated, fixed and improved.
2014-01-14 01:16:28 +00:00
cheusov
a86eb80767 Updated to versiopn 0.63.0:
pkg_grep_summary:
    - almost all search strategies were reimplemented in C for better
      performance, as a result all utilities using pkg_grep_summary(1)
      work much faster.  Strategies still implemented in AWK: awk, kw.
    - converted to use shell's getopts.
    - new regression tests.

  pkg_src_summary:
    - if -m, -d, -D aren't applied, temporary files are not created.
    - adapted for recent paexec(1) improvements.

  pkg_update_src_summary:
    - progress counter is output if -v is applied.

  pkg_summary2deps:
    - workaround for buggy patterns like >=foo-1.* was implemented.

  pkg_summary-utils build infrastructure is completely reimplemented. Now
  it is a two-level project.  Subprojects: scripts and grep_summary
  (enabled by default), doc and tests.

  PKG_TOOLS_BIN env. variable is used at build time as a default
  directory for pkg_info(8) (for OpenBSD/FreeBSD in order to avoid
  conflicts with their native pkg_* tools).

  A number of stupid workarounds for stupid Solaris' userlevel.

  All scripts written in shell uses @SH@ in shebang and therefore uses
  pkgsrc's ${SH} at run time.
2014-01-14 01:09:20 +00:00
cheusov
46fa0ab4b3 pkglint now warns about broken dependencies like >=x.y.*
Version->4.135
2014-01-13 01:54:52 +00:00
wiz
6dbc64f622 Remove python32 as proposed a week ago on pkgsrc-users.
Upstream doesn't talk about it any longer, and python-3.3 is a drop-in
replacement.
Ok bsiegert, prlw1, rodent
2014-01-12 09:01:50 +00:00
wiz
fa2e30e825 Skip :build and :run from tools to recognize 'perl:run' etc.
Allow https in one more place.
Bump version.
2014-01-05 11:26:06 +00:00
cheusov
1ff9f94621 Remove MESSAGE 2014-01-03 18:14:24 +00:00
cheusov
2c5bd55e85 Add run-time dependency on paexec; ++pkgrevision 2014-01-03 18:13:37 +00:00
dholland
029d2667e9 Add support for PROGS (not just PROG) more or less like in the current
NetBSD make library. Bump version (to 20131207, which was when I wrote
this.) Fixes the build of multimedia/bsdav.

Note: this is not a merge from NetBSD HEAD, but a minimal
reimplementation of the feature to get the job done.

These make templates really need to be merged with or replaced by the
latest versions from NetBSD HEAD. Anyone embarking on such a merge
should probably revert this change (which is only to bsd.prog.mk)
before doing so.

No objection after 3+ weeks on tech-pkg.
2013-12-31 19:10:20 +00:00
wiz
784e3c9f4d Remove aperture reference. Bump date. 2013-12-31 17:22:40 +00:00
ryoon
7fd545ef52 Update to 2.18
* Partial fix for PR pkg/47335
** Define some variables
** Define empty function neatvalue
** Generate Makefile before custom MakeMaker.pm invocation
   to avoid no Makefile error.
2013-12-28 16:46:29 +00:00
wiz
d33dfdeb7c Reset maintainer for resigned developers. 2013-12-23 11:57:02 +00:00
mrg
d9209c6574 update x11-links to 0.80:
- update to handle Xcomposite removal

ok wiz@
2013-12-21 12:40:46 +00:00
dholland
e99357990b Fix const correctness issue that has been intermittently causing build
failures for a long time.  (I'm not sure why it sometimes does and
sometimes doesn't, but I think it may depend on different CFLAGS
arising from bootstrapping vs. not bootstrapping.)

While here add a comment to patch-curses__helpers.c; hi Joerg.
2013-11-29 23:13:56 +00:00
tron
bcf75a38d2 Update "port2pkg" package to version 1.14. It now works with modern
version of Perl, in particular the one distributed with "pkgsrc".
2013-11-19 10:46:06 +00:00
jperkin
5c6e705850 Use the compiler front-end to generate shared libraries on OSX - the
native linker uses different arguments compared to GNU ld.  Fixes various
builds.

Bump version to 20131025.
2013-10-25 13:53:03 +00:00
dholland
17b4c5c392 pkglint is written in perl; it should depend on perl and not just some
perl modules. (fix USE_TOOLS to have perl:run instead of just perl)
2013-10-24 06:23:35 +00:00
wiz
c268adc398 2.5:
finddepends: Also search in mozilla-common.mk.
Update instructions.
2013-10-21 10:43:28 +00:00
adam
63c018902c Revbump after updating textproc/icu 2013-10-19 09:06:55 +00:00
rillig
de7761b3fc - Added check for unused license files
- Improved allowed filenames for patches
- Added license for pkglint itself
- Cleaned up Makefile and TODO
2013-10-12 18:09:59 +00:00
rillig
a53a0e63f5 The hicolor-icon-theme issue has been resolved. 2013-10-12 15:01:45 +00:00
ryoon
3fba1a52dd Recursive revbump from pango-1.36.0 2013-10-10 14:41:44 +00:00
wiz
cd0c98e194 Add list_todo to DESCR. 2013-10-06 16:52:29 +00:00
wiz
1a229f0701 Allow specifying multiple input files for 'pkgin import'.
Ok imil@, will be integrated upstream
2013-10-06 08:28:47 +00:00
jperkin
8466b0b129 Use CATMAN_SECTION_SUFFIX in packages which perform their own catman
page installation.
2013-09-12 11:18:40 +00:00
jperkin
ca67532cca Add USE_TOOLS+=nroff to packages which generate catman pages. 2013-09-12 11:15:12 +00:00
jperkin
9582311a77 Add CATMAN_SECTION_SUFFIX support. 2013-09-12 11:03:10 +00:00
jperkin
8196793d1e bootstrap-mk-files-20130912: Fix catman pages on SunOS.
Introduce a modified bsd.own.mk on SunOS which enables MKCATPAGES by
default, and a modified bsd.man.mk which correctly installs catman
pages with a section suffix rather than a blanket '.0'.

This allows the SunOS man(1) to find the catman pages correctly.
2013-09-12 10:56:36 +00:00
wiz
ea73376087 Fix pkg_info -X segfault when last entry wasn't terminated with \n.
Addresses PR 48207.
2013-09-12 07:28:28 +00:00
wiz
083eff9c30 Add missing files to 'make distclean'.
Fix a typo.
2013-09-11 14:39:21 +00:00
khorben
d915c85610 Fixed installation of signed packages. Some variables part of struct
signature_archive were not initialized properly, therefore randomly failing
in the verify_signature_read_cb() callback.

Partly closes PR pkg/48194; pkgsrc needs to be updated as well.

"please commit" agc@

XXX pull-up to netbsd-6
2013-09-11 14:10:05 +00:00
joerg
f7a9a45b34 Don't pass non-literal strings as format string. 2013-09-10 14:40:33 +00:00
joerg
f69790e4c5 Don't pass formatted buffers as format strings. Drop -Wno-traditional
for clang. Bump revision.
2013-09-10 14:39:54 +00:00
joerg
b5804ab54d Don't fail on missing noreturn attributes for clang. 2013-09-10 14:38:51 +00:00
joerg
43e5ead856 Fix const usage. 2013-09-08 16:31:13 +00:00
joerg
6fc1e91775 Don't apply noreturn checks for clang. 2013-09-08 16:29:43 +00:00
ryoon
01bd63e51a Update to 20130908
* Add FreeMiNT support. This file is needed for bootstrapping pkgsrc.
2013-09-08 16:27:23 +00:00
ryoon
3a1b61def2 Update to 20130908
* Fix build on FreeMiNT.
* Tested on some platforms, See files/README.
2013-09-08 16:24:43 +00:00
ryoon
81ef462337 Update to 20130908
* Fix build with libnbcompat-20120702, PR pkg/42142's side effect is fixed.
  Tested on Solaris 10, OpenBSD, FreeBSD etc.
  Detect system's sha2.h and SHA2 functions, and include nbcompat/sha2.h
  conditionally.
2013-09-08 16:20:10 +00:00
ryoon
361c4e8675 Fix typos in comment from FreeMiNT's db1 patches. 2013-09-08 12:02:03 +00:00
adam
d2cb6dec32 Revbump after cairo update 2013-09-02 19:50:38 +00:00
jperkin
ee0b394160 Bump version of pkg_install required. Ride previous PKGREVISION. 2013-09-02 11:01:42 +00:00
jperkin
319c043093 Remove workaround for 'pkg_add -f' bug, now that it is fixed in pkg_install.
Bump PKGREVISION.
2013-09-02 10:38:04 +00:00
jperkin
9f9d79bc6f pkg_install-20130902: Fix 'pkg_add -f'.
Remove incorrect return value when in force mode, which was causing pkg_add
to exit with failure even though the operation completed successfully.  This
also fixes the case where 'pkg_add -uf' would leave an update in an
inconsistent state.
2013-09-02 10:28:44 +00:00
obache
c3c0863966 tell TOOL_DEPENDS, same as BUILD_DEPENDS. 2013-09-01 05:30:15 +00:00