Commit graph

4053 commits

Author SHA1 Message Date
cheusov
9b554ab56a Remove MANDIR= from MAKE_ENV, it is not needed anymore 2011-10-19 21:29:42 +00:00
cheusov
b431a23c1a Document optional variable FILE_CKSUM. Approved by wiz@. 2011-10-19 21:15:39 +00:00
cheusov
3a1d767706 Fix support for non-default PKGMANDIR 2011-10-17 05:45:54 +00:00
cheusov
09ae464896 Update to 0.41.2
Fix partial bulk builds. Sometimes stage_summary fails when
  multivariant packages are built.

  stage_summary has been completely reimplemented.
2011-10-16 12:18:00 +00:00
imil
be0159faee pkgin-0.5.1
. Don't download packages when repository is a file:// scheme
        . Reduce verbosity when marking non-autoremovable packages
        . Keep going if unmet requirements are encountered and warn about
          it before proceeding
        . Always move pkg_install on top of the "to-upgrade" list
        . pkgin now depends on pkgsrc's pkg_install
        . Log timestamp
        . Better handling of pkg_install error logs
        . rec_pkglist() now takes a va_list
        . Added "requires" and "provides" to have a closer look on packages
          requirements
        . Globs can now be passed as an argument for package installation, i.e.
          # pkgin in 'mysql-server<5.1'
        . Export / import a list of packages as requested by wiz@
        . Operations tracing flag (-t)
        . Database silent migration
        . More flexible check_yesno()
        . Made pkgin in / rm yes by default
        . One struct to rule them all (Pkglist)
        . Got rid of many useless lists (speed x10, literally)
        . Introduced FULLPKGNAME as db member, speed ups searches
        . unique_pkg(): no more "many versions of foo", pickup newer
2011-10-16 09:26:36 +00:00
cheusov
d659867782 Update to 0.41.1
FIX: another problem with packages
  having non-empty PKG_FAIL_REASON.
2011-10-14 00:33:49 +00:00
wiz
d94659b9dd Make path absolute. Addresses PR 45450. 2011-10-11 22:16:52 +00:00
cheusov
20609a6910 Update my email 2011-10-09 10:02:44 +00:00
wiz
47f00f034b 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
d5610719ca Simplify to not trigger non-literal format string warnings. 2011-09-24 12:58:55 +00:00
joerg
10e31a8be7 Add support for builtin xbitmaps. Bump x11-links to 0.68. 2011-09-21 14:58:37 +00:00
joerg
fdd3e4413e 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
3829ad0bf4 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
db87ea55c4 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
8502475b4a 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
5164dd49cd Accept '+' in option names; currently used by the gcc-c++ option. 2011-09-09 15:18:28 +00:00
wiz
6d87fb2eab Accept '~' in patch names. Some programs actually have files
with it in their names.
2011-09-09 15:16:26 +00:00
abs
591fed608a 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
620b343d8d For all packages based on mk-configure "configure" target is provided.
This fixes parallel builds.
2011-09-04 18:21:26 +00:00
cheusov
fc729402c0 Fix pkglint warnings 2011-09-04 15:38:49 +00:00
cheusov
84b873a316 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
2e3b2dd1cc 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
74f09d34c8 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
fd6d2db14b 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
18289f2124 Always build libnbcompat with pkgsrc's make,
this fixes some build failures
2011-08-20 16:13:05 +00:00
cheusov
2799371191 Add MESSAGE (note about pkg_online-client) 2011-08-20 15:45:13 +00:00
adam
ba902bca1d Expanded MYSQL_VERSIONS_ACCEPTED 2011-08-17 13:55:59 +00:00
wiz
68bdb1d727 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
cd0c53626c pkgin 0.4.3
Imported progressmeter from OpenSSH, should fix percentage progress
2011-08-13 11:23:36 +00:00
imil
8b562dd476 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
fc40e5f5a3 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
9a6b307550 Revision bump after updating perl to 5.14.1. 2011-08-07 08:15:05 +00:00
agc
2c27b9f1b5 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
ea2c58ef7d 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
43845fe482 Use /usr/bin/ftp on *BSD systems and ftp command from net/tnftp package.
++pkgrevision
2011-08-02 14:16:12 +00:00
wiz
b944530db8 Update for recent freetype2 import in NetBSD-current.
Welcome to 0.66!
2011-08-01 15:09:28 +00:00
tron
df008f1080 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
4899e73ed9 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
6f3b632389 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
e0311c1437 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
99a4bbbad4 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
1c258e12ad 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
06d237f38c 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
3ec68319d7 Remove unnecessary exec. PR 45085 by Thomas Cort. 2011-06-20 15:16:27 +00:00
wiz
4140eef572 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
ab6c83e38d 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
be339d7920 Support for variable SUPERSEDES
Bump version
2011-06-15 22:22:28 +00:00
cheusov
11c5117325 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
159d04ce0a 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
f38363508f recursive bump from textproc/icu shlib major bump. 2011-06-10 09:39:41 +00:00