Commit graph

4045 commits

Author SHA1 Message Date
wiz
c919268d4e pkg_delete -R does not remove all leaves.
Fix from Anthony Mallet on tech-pkg.

While here, fix a typo in a comment.
2011-09-29 23:30:21 +00:00
joerg
eb1b3b9290 Simplify to not trigger non-literal format string warnings. 2011-09-24 12:58:55 +00:00
joerg
6e82383fef Add support for builtin xbitmaps. Bump x11-links to 0.68. 2011-09-21 14:58:37 +00:00
joerg
b7e0ba370b pbulk-base-0.43: Explicitly re-run make clean after create-usergroup, if
it was run before configure. This ensures that the work directory gets
the correct owner. Fixes strange error in qmail build.
2011-09-21 11:55:15 +00:00
cheusov
5f58382d47 Update to 0.41.0
FIX: Do not use packages with non-empry PKG_FAIL_REASON for building
  a dependency graph if there are ones without such marker. This
  unbreaks rare failures of bulk builds.

  Changes in dependency graph generation. Old algorithm leads to too
  many failures caused by weak [BUILD_]DEPENDS in pkgsrc. Old
  algorithm is available using "distbb -m1".

  rmd160 and sha512 checksums are generated for packages in pkg_summary(5).

  A number of sanity checks and tips for packagers have been
  implemented which are a part of final report.

  stage_report has been renamed to stage_send_report

  New script pkg_summary2build_deps for building dependency graph
2011-09-12 14:51:03 +00:00
cheusov
4a0ef131c0 Update to 0.56.1
pkg_lint_summary:
    - Serious fix in recently added -n option (misprint actually :-/ )
2011-09-12 14:35:54 +00:00
cheusov
6d94ed7ac9 Update to 0.9.1
fix in "nih deps": option -t now works correctly

  fix: ~/.nih/config has higher priority than @sysconfdir@/nih/config
       Thanks to Jan Smydke for the report!

  fix: Create "$CACHEDIR/All" on startup.
       Thanks to Zafer Aydogan for the report.

  nih.default.conf:
    - REPOSITORY defaults to ftp://ftp.NetBSD.org/...

  Default nih.conf:
    - One more example of use
2011-09-09 22:02:19 +00:00
wiz
d1011588eb Accept '+' in option names; currently used by the gcc-c++ option. 2011-09-09 15:18:28 +00:00
wiz
d8fb97bd4c Accept '~' in patch names. Some programs actually have files
with it in their names.
2011-09-09 15:16:26 +00:00
abs
f486c99435 PR/45220 add support of MacOSX Lion(Darwin 11.0.1) with Xcode 4.1.1
to pkgtools/x11-links

Many thanks to Ryo ONODERA
2011-09-09 09:08:07 +00:00
cheusov
7827725f0a For all packages based on mk-configure "configure" target is provided.
This fixes parallel builds.
2011-09-04 18:21:26 +00:00
cheusov
eb18247c10 Fix pkglint warnings 2011-09-04 15:38:49 +00:00
cheusov
f3b3c78ac8 Update to 0.9.0
Support for "try_out" marker was added. New options for subcommands:
  nih install -t, nih remove -t, nih list -t and nih mark -t/-T.
  See manual page for details.

  nih install:
    - after downloading binary packages it checks for common files in
      PLIST fields. If unregistered conflicts are detected, nih exits
      with error. This can be disabled using NO_PLIST_CHECK variable.
    - New option -a was added for running pkg_add(8) directly.

  nih history:
    - "automatic" and "try_out" flags are registered and output.
    - outputs a warning message if NO_INSTALLED_COPY is set.

  nih install|remove:
    - New option -l was added for keeping auto-removable leaf
      packages.

  nih verify:
    - New option -s was added for comparing running OS and OS packages
      were built for.

  nih:
    - New global option -s was added for specifying path to
      pkg_summary(5).

  ~/.nih/installed_* files are compressed by bzip2 at creation time.
2011-08-29 20:53:32 +00:00
cheusov
820ee97e61 Update to 0.56.0
Version 0.56.0, by Aleksey Cheusov, Sun, 28 Aug 2011 12:05:00 +0300

  pkg_cmp_summary:
    - New option -O was added for specifying fields for
      output without using them for comparison

  Version 0.55.0, by Aleksey Cheusov, Sat, 27 Aug 2011 20:14:53 +0300

  pkg_lint_summary:
    - New option -f option was added that checks files in PLIST
      fields given on input and warns about files common for several
      packages.
    - New option -p option was added for specifying prefix directory
      used by option -l.
    - New option -n was added that analyses PLIST and CONFLICTS
      fields in input summaries and outputs unregistered conflicts.
    - New option -s was added that checks OPSYS, OS_VERSION and
      MACHINE_ARCH fields given on input and warns if they differ from
      that of running system (uname -srm).

  pkg_cmp_summary:
    - New options -a and -A were added for specifying fields for
      comparing in addition to package versions.
    - New option -E was added. It works together with -A and changes
      its output.
    - Options -c and -b were reimplemented using more generic -a.
    - Examples section was added to pkg_cmp_summary.1

  pkg_bin_summary:
    - New option -e option was added for effectively using
      pkg_bin_summary with xargs (xargs -r is not portable).
    - New option -k was added for enriching binary package summaries
      with checksums using algorithms supported by digest(1)

  pkg_digger_backend:
    - Mixed -1|-3|-9 options are now handled correctly.

  pkg_summary2leaves:
    - When no files are given as arguments (stdin),
      pkg_summary2leaves outputs an error message.

  Regression tests have been reorganized. One test - one file.

  Some manual pages were updated and improved.
2011-08-29 20:45:42 +00:00
cheusov
d20e57b0a5 IRIX: Set CPP to '${CC} -E' by default (old value is 'CC -E').
This fixes bootstrap failure on IRIX with MIPSPro C compiler when
   MIPSPro C++ is not available. Approved by wiz@
2011-08-29 10:43:35 +00:00
abs
57b71441c1 Updated pkgtools/pkgdiff to 1.3
1.3: Handle whitespace in filenames a little better in pkgvi

plus: a light sprinkle of pkglint
2011-08-23 21:47:18 +00:00
cheusov
43b64a320f Always build libnbcompat with pkgsrc's make,
this fixes some build failures
2011-08-20 16:13:05 +00:00
cheusov
c52223c3b1 Add MESSAGE (note about pkg_online-client) 2011-08-20 15:45:13 +00:00
adam
51f5dbbf32 Expanded MYSQL_VERSIONS_ACCEPTED 2011-08-17 13:55:59 +00:00
wiz
1d58c2695d Avoid use of qw as parentheses. Silences a warning with perl-5.14.
Bump version to 4.103.
2011-08-16 23:13:34 +00:00
imil
162ee96ea0 pkgin 0.4.3
Imported progressmeter from OpenSSH, should fix percentage progress
2011-08-13 11:23:36 +00:00
imil
5d7c5f0000 pkgin 0.4.2.2
Cleaned up download.c
	SQLite upgraded to 3.7.7.1
2011-08-10 10:56:23 +00:00
cheusov
e28b914b21 Update to 0.40.1
FIX: distbb may fail at stage_summary because not all packages
  that need to be rebuilt are marked as such.
2011-08-08 10:05:21 +00:00
tron
3d386f02d1 Revision bump after updating perl to 5.14.1. 2011-08-07 08:15:05 +00:00
agc
e5061b6f81 Fix for pkg_delete on NFS from Anthony Mallet.
Problem analysis from Anthony:

	On Wednesday, at 23:52, Anthony Mallet wrote:
	> # rm -rf ~tmp && mkdir ~/tmp
	> # pkg_add -K ~/tmp/var/db/pkg -p ~/tmp /usr/pkgsrc/packages/All/digest-20080510.tgz
	> # pkg_add -U -K ~/tmp/var/db/pkg -p ~/tmp /usr/pkgsrc/packages/All/digest-20080510.tgz
	> pkg_delete: Couldn't remove package directory in `/home/tho/tmp/var/db/pkg/digest-20080510'
	> Also, the dir var/db/pkg/digest-20080510.xxxxxxx is never cleaned.
	>
	> The problem apparently is that pkg_delete finds some stalled NFS entries
	> (.nfs*) in the var/db/pkg/digest-20080510 dir, so it does not delete the
	> directory. Is this due to pkg_add not correctly closing file descriptors before
	> exec'ing pkg_delete? For instance, I really don't understand the logic in
	> check_already_installed() (add/perform.c:375) regarding the open() of +CONTENTS
	> which is almost never closed (and never used as well...). Shouldn't this be
	> closed before running pkg_delete?

	ktrace shows that the +CONTENTS file is open() by pkg_add, I believe this is in
	check_already_installed(), add/perform.c:381. Then pkg_delete is run and when
	it comes to deleting the pkgdir entry, it finds that .nfs file and aborts.

Bump version to 20110805
2011-08-05 07:04:28 +00:00
imil
f10af0eee0 20110802
Release 0.4.2.1
	Fixed the "too many connexions" problem with libfetch and FTP
2011-08-02 21:26:59 +00:00
cheusov
84ca0b5798 Use /usr/bin/ftp on *BSD systems and ftp command from net/tnftp package.
++pkgrevision
2011-08-02 14:16:12 +00:00
wiz
5161bc85db Update for recent freetype2 import in NetBSD-current.
Welcome to 0.66!
2011-08-01 15:09:28 +00:00
tron
a5b6d704a9 Update "pkglint" package to version 4.102. Changes since version 4.101:
Allow "@" as a character for directories in "${WRKSRC}". This stop bogus
warnings for the "phpmyadmin" package which contains directory names
like "locale/sr@latin/LC_MESSAGES".

Change suggested by Thomas Klausner in private e-mail.
2011-08-01 11:58:14 +00:00
cheusov
7ccfed1d3c Update nih to 0.8.0
nih remove:
    - FIX: -n now works correctly
      Affected versions: 0.7.1-0.7.2

  nih install:
    - FIX: "nih install -n" doesn't change "automatic" flag anymore
    - new suboption -k for continuing download after failures
    - BUILD_DATE field is included to installed_*.txt files

  New command "nih audit" for checking packages for vulnerabilities

  New command "nih history"

  nih mark:
    - new suboption -A and -U, synonyms to -u and -a respectively
    - if neither -a, -A, -u or -U were specified, markers are output.

  nih list:
    - new suboption -b for outputting packages in the repository
    - new suboption -r for outputting raw package summaries

  nih meta:
    - new suboption -r for outputting raw package summaries

  nih refresh:
    - error message is output when download fails

  Minor improvements in "nih -h" and manual page

  Path to ftp(1) defaults to /usr/bin/ftp on NetBSD, FreeBSD, OpenBSD
  and DragonFlyBSD.  On other systems it defaults to tnftp from
  pkgsrc.

  FTP_OPTIONS and WGET_OPTIONS default to "-4" for using IPv4 only.

  New configuration variable IGNORE_CKSUMS was added in order to
  ignore SHA512.txt absent in some repositories.
2011-07-30 10:46:01 +00:00
cheusov
bff36ad9a9 Updated to 0.54.0
pkg_micro_src_summary:
     - support for PSS_SLAVES=nnn was added

  pkg_digger:
     - workaround for buggy shells (set -e; if eval false; ...)

  Regression tests were updated
2011-07-30 09:54:17 +00:00
seb
cd1ea51389 Fix build on (RH)EL 5 and 6, and possibly others.
Don't assume something if HAVE_NBTOOL_CONFIG_H is not defined, in
pkgsrc case we HAVE_CONFIG_H to sort things out.
2011-07-27 15:31:00 +00:00
taca
f87fcdb5d8 Add "php" to default_acceptable_licenses.
* Why DEFAULT_ACCEPTABLE_LICENSES is hardcoded here?
* Should I update pkg_install's version?
2011-06-29 03:16:27 +00:00
wiz
6d141b702d Add -w flag to mkpatches(1), which makes it look in WRKDIR instead of
WRKSRC. Needed for some ruby packages, requested by taca@

Bump version to 1.2.
2011-06-26 12:11:39 +00:00
wiz
5e6d27a6ff Bump PKGREVISION for PLIST change.
(Not really necessary, but PKGREVISIONs are cheap; and the binary packages
do differ.)
2011-06-20 15:17:02 +00:00
wiz
80d70a4ff3 Remove unnecessary exec. PR 45085 by Thomas Cort. 2011-06-20 15:16:27 +00:00
wiz
465a81356d Recognize PY_PATCHLIST and add py27 and py31 to python versions.
Welcome to pkglint-4.101!
2011-06-18 10:45:32 +00:00
obache
9ee7d428d7 Fixes bsd.own.mk handling in bootstrap.sh script to same as pkg's Makefile.
PR#45061.
2011-06-17 11:00:36 +00:00
cheusov
8aceff3c6b Support for variable SUPERSEDES
Bump version
2011-06-15 22:22:28 +00:00
cheusov
57f99cd02d Update to nih-0.7.2
Fix for "Package xxx is not found" problem:

       0 > nih -y install editors/emacs22
       ...
       0 > nih -y install editors/emacs20 emacs-
       Package editors/emacs20 is not found
       1 >
2011-06-14 21:21:08 +00:00
dholland
e8e8c4eddd verifypc-1.5: replace improper seddery with a call to reduce-depends.awk.
(This avoids false positive reports in some circumstances, such as a pair
of depends on e.g. foo-2.0 and 2.0.3, and also for more complicated forms
of version numbers.)
2011-06-12 20:28:32 +00:00
obache
9572f6d892 recursive bump from textproc/icu shlib major bump. 2011-06-10 09:39:41 +00:00
obache
1d8485a5b0 replace shebang for perl.
Bump PKGREVISION.
2011-06-06 01:39:59 +00:00
cheusov
ccc6102ecf Add LICENSE
Update to 2.13:
   HOMEPAGE is detected correctly for code.google.com projects
   USE_CMAKE is to yes for cmake-based projects
2011-05-30 07:28:21 +00:00
cheusov
9a59e3c058 Provide DESTDIR and UNPRIVILEGED installation support
Add LICENCE
Fix a few pkglint warnings
2011-05-28 17:27:08 +00:00
wiz
93e3ddc0ad Warn that one should NOT use jpeg, giflib, or libungif directly, but go through
mk/{jpeg,giflib}.buildlink3.mk instead. Bump version.
2011-05-26 20:31:47 +00:00
cheusov
5ca06fe7fe fix. pkglint doesn't treat files ending with .mk under patches/ directory
as Makefiles. Version bumped. Oked by wiz@
2011-05-23 10:59:36 +00:00
cheusov
314f472c23 fix #!/usr/bin/env issue, oked by wiz@ 2011-05-23 08:28:42 +00:00
wiz
ea17083d26 Do not use DESCR_SRC, the readme job doesn't handle it well and it's not
even a dynamic description.
2011-05-21 09:07:04 +00:00
cheusov
9a101f39ad +distbb, oked by sponsors 2011-05-18 19:41:11 +00:00