Commit graph

4594 commits

Author SHA1 Message Date
joerg
bc33260ee1 Don't disable builtins for GCC. 2011-12-05 22:40:21 +00:00
marino
04619e863e pkgtools/tinderbox-dragonfly: Minor fixes
1) Bulk Build: don't add ports where there's no makefile present (x2)
2) Make hook processing more robust (g option on regex, check for
   non-empty string value)
3) Make enterBuild function work with HOST_WKRDIRS option
4) Handle specific DEPENDS+= case for perl where the addition of the
   dependency port is conditional on the version of perl used.
   This addresses the infinite loop case seen on some perl packages
2011-12-04 21:55:01 +00:00
cheusov
ddb7f698c9 Update to 0.56.4
FIX: Shell scripts now use "trap" corectly.

  Minor correction in pkg_lint_summary.1.

  pkg_summary4view:
    - TARGET_BUILD_DEPENDS and _ALL_DEPENDS are formatted
      just like DEPENDS.
2011-12-03 14:51:35 +00:00
ryoon
270a0b35a2 Remove gnu-agpl-v3 from hardcoded default acceptable list.
Sync with DEFAULT_ACCEPTABLE_LICENSES in mk/license.mk.
See http://mail-index.netbsd.org/tech-pkg/2011/11/30/msg008081.html .
2011-12-01 22:07:21 +00:00
adam
0308ebe252 Added 91 to PGSQL_VERSIONS_ACCEPTED 2011-11-29 12:39:00 +00:00
wiz
a62c393165 Bump version for NOT_FOR_COMPILER improvement. 2011-11-28 16:50:35 +00:00
wiz
d8e470e50c Sync NOT_FOR_COMPILER list with supported compiler list. 2011-11-28 16:50:18 +00:00
cheusov
7704d13adf REPLACE_SH for SunOS<5.11 and friends 2011-11-27 21:44:20 +00:00
joerg
4900ea76d8 pbulk-base-0.44: Fix hash function to actually do proper hashing.
Do some further tweaking to improve matching by storing string size.
While here, add the necessary .WAIT to allow parallel builds.
2011-11-27 19:53:30 +00:00
agc
4b10b7ddde allow for non-standard values of PKG_DBDIR when packaging up binary packages 2011-11-27 00:10:38 +00:00
ryoon
826e7ec8cd Add gnu-agpl-v3 to the default list. 2011-11-26 19:19:42 +00:00
ryoon
a7de66bc45 Update to 4.104
* Allow value "6" and "7" in USE_JAVA2.
2011-11-26 18:38:05 +00:00
dholland
161fe78ad0 Propagate a fix from NetBSD base bsd.lib.mk: if SHLIB_FULLVERSION is
the same as SHLIB_MAJOR, don't try to symlink SHLIB_MAJOR. Otherwise
you lose the library and get a symlink pointing to itself, and things
fail later with ELOOP.

Fixes builds of packages that use bsd.lib.mk for shared libraries and
set only a major version number.
2011-11-26 15:54:43 +00:00
minskim
c95c8a77df Fix the directory name for paexec. 2011-11-23 02:11:36 +00:00
marino
d1b3784368 pkgtools/tinderbox-dragonFly: bulk build, jail fixes
1) postbuild hook sed was too greedy and deleted extra packages from
   the queue, fixed regex.
2) Hook checks if a queue entry exists before requesting that it be
   removed to avoid build aborts
3) The makeJail process was updated to include "make upgrade" which
   is required for certain device headers to appear.
4) Changed "dud" handling.  Previously requesting a build with a dud
   dependency would cause it never to move to the next package.
5) Add the two files that should have been committed with 3.4.1
2011-11-23 00:54:33 +00:00
cheusov
944956734a REPLACE_SH for SunOS<5.11; ++pkgrevision 2011-11-22 21:07:29 +00:00
cheusov
da85fd0fe1 Fixes for SunOS<5.11 broken userlevel; ++pkgrevision 2011-11-22 21:03:07 +00:00
joerg
295a773795 Ensure everything is prototypes correctly. 2011-11-22 18:13:09 +00:00
cheusov
a20b103ea0 Fix bug introduced in 0.10.0. Do not check library files on filesystems
for not installed (yet) dependencies.
++pkgrevision.
2011-11-21 17:24:31 +00:00
marino
30259bb14f pkgtools/tinderbox-dragonfly: Update to version 3.4.1
Besides syncing with FreeBSD Tinderbox 3.4.1, the following updates were
included:
1) Creating bulkbuild handling script
2) Created postPortBuild hook script to support bulk builds
3) Fixed fake "wrong arch" error due to funky licenses
4) Deviated "mark_failed()" from Tinderbox-FreeBSD to fire postPortBuild
   hook for ports marked failed due to failed dependency
5) Added tc_command.pl patch that should have gone in previous update to
   support pkgsrc scan bulk script
2011-11-20 16:20:24 +00:00
cheusov
84c0921d9f Update to 0.56.3
pkg_src_summary:
    - fixed: gathering DESCRIPTION and ALLDISTFILES fields eats
      too much CPU. Now full summary is gathered drammatically faster.
      This may significantly speed up distbb bulk builds.
    - While generating ALLDISTFILES do not try to read "distinfo" files when
      DISTFILES is empty.
    - More regression tests.
    - If MAKECONF and PSS_SLAVES are not empty, MAKECONF is passed to
      pkg_src_summary processes running on slave hosts.
2011-11-17 18:47:42 +00:00
cheusov
1214776ce5 Update to 0.10.0
A lot of improvements and grammar fixes in manual page
  by Nikolai Krot.

  Support for marker "keep" was implemented.
  (nih mark -k|-K, nih list -k, nih install).
  "keep" marker means that a package can't be updated by "nih update"
  command.  This marker is particularly useful to mark packages that
  the user compiled manually from pkgsrc.
  Original idea belongs to Debian APT.

  nih install:
    - Options -r and -R options were added
      for installing dependencies or dependent packages.
      Sometimes they may fix mysterious segfaults.
    - Support for package suffix `/' was added that means "remove
      update". See the manual page for details.
    - A virtual package "_" was implemented that means "all packages"
      for which update is available".
    - Fixed: bug in REQUIRES/PROVIDES problem resolver.  Now packages
      that solve REQUIRES/PROVIDES problems are marked as installed by
      user.  Thanks to Jan Smydke for the report.
    - Library files including system libraries that packages require
      through REQUIRES field are also checked during update plan
      generation.

  fix: $CACHEDIR/All directory is created only when it is really necessary.
2011-11-15 21:11:21 +00:00
marino
b763f6a333 pkgtools/tinderbox-dragonfly: Several bug fixes
This update of tinderbox addresses several issues:
 1) Updates obsolete failure message on options.mk
 2) Adds support for PKG_DEVELOPER=yes
 3) Switches build failure default to build only once, twice is the option.
 4) Merge BOOTSTRAP_DEPENDS with FETCH_DEPENDS in order to maintain the
    same database structure as Tinderbox.  Removes two patches.
 5) Change behavior where leftover files immediately after package deinstall
    is no longer considered an error, but still list the files that do this.
 6) Add a way out of an infinite recursion loop as seen when the package
    name changed between portbuild and buildscript (considered a safeguard).
 7) Push the package name from portbuild to buildscript to avoid issue with
    php5 packages getting renamed to php53 (for example), which was the
    cause for the infinite loop on lang/pear.
 8) Fix enterbuild by allowing it to properly detected when the port has
    entered the sleep state.
 9) Fix php/pgsql bug on row limiting, should be fixed upstream for next
    released.  Requires old patch to be reincarnated.
10) Fix PLIST, several files were missing
11) Add utility script to add all 10K packages to database (this takes
    several hours to do)
2011-11-14 02:00:19 +00:00
joerg
e620cb24e0 Missing forward prototypes. 2011-11-11 23:45:21 +00:00
cheusov
a68e033f84 Update to 0.56.2
pkg_src_summary:
    - Mysterious infinite loop was fixed in 'pkg_src_summary -m'
    - summary2multi_variants script was separated from pkg_src_summary
  pkg_bin_summary:
    - CKSUM was renamed to FILE_CKSUM (by analogy with FILE_SIZE
      and FILE_NAME) as suggested by spz@
2011-11-11 10:56:02 +00:00
joerg
a2f8a2ca29 Don't use implementation namespace as include guard. If not using our
SHA2 code, fallback to <sha2.h>.
2011-11-10 21:58:43 +00:00
joerg
5240579584 Avoid overlap with libcrypto, the OSF linker can't deal with that.
Fixes PR 42142.
2011-11-08 18:20:03 +00:00
shattered
948d8a9736 PR/36986 -- two new options: -D -- print DESCR file of matched package to
stdout; -P -- search in PLIST files.
2011-11-07 20:27:30 +00:00
tcort
2b50f16fbb Add Minix specific Makefiles to bootstrap-mk-files. PR pkg/45045 2011-11-06 21:01:30 +00:00
joerg
0c32c56a1e Fix dependency 2011-11-06 19:51:13 +00:00
cheusov
75f5cc8ca9 Fix segmentation fault of digest(1) on Linux when directory
is passed as an argument or when read error occurs.
Update version to 20111104.
2011-11-04 23:58:14 +00:00
jnemeth
7a6d4b5ffd add and enable tinderbox-dragonfly 2011-11-03 03:38:49 +00:00
marino
8195554cc2 Import pkgtools/tinderbox-dragonfly
Tinderbox is a well-known package building system for FreeBSD.
This commit ports the original Tinderbox to DragonFly.  The scripts
are highly platform specific, so only one operating system can be
supported per package.  With interest, alternative versions such as
tinderbox-netbsd and tinderbox-sunos could be developed fairly easily
as they would share the pkgsrc-specific changes with this package.

The repository for the project is:
https://github.com/jrmarino/pkgsrc-tinderbox
2011-11-02 21:13:10 +00:00
sbd
0dc6193f32 Recursive bump for archivers/libarchive buildlink addition. 2011-11-01 06:50:28 +00:00
sbd
04daa2f1b8 Recursive bump for graphics/freetype2 buildlink addition. 2011-11-01 06:00:33 +00:00
sbd
98aee4d22c Move the NOGCCERROR. When using '+=' on a make variable it must come
_after_ '?=' is used on that variable.

Bump PKGREVISION
2011-10-31 23:41:21 +00:00
wiz
26b00a1a70 Add support for groff-1.18. From norc on pkgsrc-users. 2011-10-30 22:12:45 +00:00
imil
e574d5ee3c pkgin-0.5.2.1
Handled the very rare case where CONFLICTS is placed *after* PKGNAME
	in pkg_summary(5), leading to database inconsistency.
2011-10-29 14:25:47 +00:00
cheusov
8249841c62 Workaround for PR 45491 again. 2011-10-28 21:19:42 +00:00
sbd
ec705491c0 To go with the rename of "flavor" to "pkgformat" on Sat, 15 Oct 2011 by
reed@ the path to reduce-depends.awk must be updated.

Update version to 1.6
2011-10-26 08:03:34 +00:00
imil
a1d63b0f76 pkgin-0.5.2
Various minor fixes from NetBSDfr hackathon
        Moved break_depends() at the end of impact.c to avoid inconsistencies
        Check for real filesystem size to be occuppied by upgrade
        Check for user permissions before update_db
        update_db() returns a status so we can warn simple users
        introduced have_enough_rights(), fixed pkg_keep() perms
        Various return codes fixed to satisfy frontends
2011-10-24 10:00:45 +00:00
cheusov
6a6c6d8793 Remove MANDIR= from MAKE_ENV, it is not needed anymore 2011-10-19 21:29:42 +00:00
cheusov
c552f46850 Document optional variable FILE_CKSUM. Approved by wiz@. 2011-10-19 21:15:39 +00:00
cheusov
6488fdc918 Fix support for non-default PKGMANDIR 2011-10-17 05:45:54 +00:00
cheusov
9d4a0a5cf6 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
b495cd3b95 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
48d09c971c 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
95ad0b836f Make path absolute. Addresses PR 45450. 2011-10-11 22:16:52 +00:00
cheusov
98589abbad Update my email 2011-10-09 10:02:44 +00:00
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
cheusov
ece269c2b2 distbb - distributed bulk build tool for pkgsrc
Key features:
   - several packages can be built at the same time on different
        machines or chroots
   - good design ;-)
   - flexibility
   - compactness
   - no limit on a number of "slave" machines and/or chroots
   - fault tolerance, e.g. failures of slave hosts is not a problem
   - nice logging
2011-05-18 19:36:39 +00:00
dholland
ea0b7ae802 typo 2011-05-18 07:13:10 +00:00
cheusov
29d0826346 Add ftp://ftp.NetBSD.org/pub/NetBSD/misc/cheusov/nih/ to mirrors. 2011-05-17 19:53:21 +00:00
cheusov
2fb1bd1daf Add nih, approved by sponsors 2011-05-16 22:04:47 +00:00
cheusov
a2cdb27cbf NIH Invented Here :-)
This is a package manager for pkgsrc.

Available commands:
   nih help            - Display help message
   nih refresh         - Download pkg_summary and SHA512 files
   nih install         - Install or update packages
   nih uninstall       - Uninstall packages
   nih verify          - Verify packages integrity
   nih status          - Show status of installed packages
   nih info            - Show information about packages
   nih meta            - Output available or installed meta packages
   nih search          - Powerful search in packages
   nih leaf            - Output or remove autoinstalled leaf packages
   nih list            - List packages
   nih mark            - Mark packages
   nih deps            - Show dependencies
   nih clean-cache     - Clean-up cache directory with binaries
2011-05-16 22:03:14 +00:00
cheusov
061c1bf3f9 add pkg_online removed from pkgsrc by mistake 2011-05-16 21:46:13 +00:00
cheusov
3b7a3f4e23 imported to pkgsrc 2011-05-16 19:24:11 +00:00
cheusov
4bd8951356 Add pkg_online client and server, approved by sponsors 2011-05-16 19:20:43 +00:00
cheusov
14e91fecd2 pkg_online - client/server package searcher for pkgsrc.
Every separate field (PKGPATH, PKGNAME, COMMENT etc.) may be queried
separately and multiple fields may be queried too. A lot of search
strategies are available. Set of fields and search strategies may
very depending on your server configuration. Search in multiple
"repositories" is supported too, e.g. search in binary repository
or in pkgsrc source tree.

Communication protocol is a well known dictionary protocol described
in RFC-2229. Server may run dictd or any other dictionary protocol
server.  For dictd see http://www.dict.org and
http://sourceforge.net/projects/dict

pkg_online has minimal amount of things specific to pkgsrc and can
easily be adapted to any other packageing systems.

Of course it is based on pkg_summary-utils ;-)
2011-05-16 19:16:22 +00:00
wiz
5bb4b8af46 Mark PKG_APACHE_ACCEPTED as package-settable. 2011-05-15 16:30:59 +00:00
adam
624338bd90 Added PKGCONFIG_OVERRIDE_STAGE 2011-05-12 12:31:05 +00:00
cheusov
02f352008c +pkg_summary-utils, oked by sponsors 2011-05-11 20:07:29 +00:00
cheusov
2f8980a267 Remove alt_names.txt imported by mistake
Fix .include "../../wip/<...>"
2011-05-11 19:28:41 +00:00
cheusov
f625f64fcf A collection of utilities for manipulating pkg_summary(5) files.
pkg_list_all_pkgs       - list (in PKGPATH form) all packages in pkgsrc tree
pkg_src_summary         - create a full pkg_src_summary
                          for given (in PKGPATH form) packages
pkg_bin_summary         - creates a summary for binary or installed packages
pkg_micro_src_summary   - create a micro pkg_src_summary
                          for given (in PKGPATH form) packages
pkg_cmp_summary         - compare two summary files, i.e. packages
                          are compared by their versions
pkg_grep_summary        - grep the summary using AWK expression
pkg_digger              - very powerful package searcher
pkg_digger_backend      - pkg_summary.txt backend for pkg_digger
pkg_update_summary      - updates pkg_summary(5) by analysing the
modification
                          time of binary packages and pkg_summary(5) file
pkg_update_src_summary  - efficiently updates pkg_src_summary for all
                          packages in pkgsrc tree
pkg_summary4view        - convert a summary file to human readable format
pkg_refresh_summary     - output an information about latest/newest version
                          of packages
pkg_cleanup_distdir     - remove old unused distfiles
pkg_uniq_summary        - filter out repeated package summaries
pkg_summary2deps        - summary to dependency graph converter
pkg_subgraph_deps       - analyses dependency graph given on input
pkg_lint_summary        - sanity checks for summaries
pkg_summary2leaves      - output leaf packages
2011-05-11 19:24:47 +00:00
ryoon
65d0907fb6 Add mplusfont and cc-by-sa-v3.0 to the default list. 2011-05-08 10:53:22 +00:00
obache
cae9dbcdea net/libfetch is USE_BSD_MAKEFILE, pass ${BSD_MAKE_ENV} additionally for
building libfetch.

Fixes PR#44881, it will be happend with groff from pkgsrc.
2011-04-26 12:17:51 +00:00
obache
1d9df3258a recursive bump from gettext-lib shlib bump. 2011-04-22 13:41:54 +00:00
adam
2c35b05632 Added postgresql-license 2011-04-22 08:16:42 +00:00
morr
d9213b73d6 Add linux to list for retaining the numeric OS version.
Fixes PR pkg/43622.
2011-04-20 09:57:25 +00:00
tron
b502acef82 Make build warnings non-fatal unless developer mode is enabled. 2011-04-12 22:36:11 +00:00
tron
5e63f2a5e7 Update "rpm2pkg" package to version 3.2.2:
- Remove unused CheckSymLinks() function to fix build problems under
  DragonFly BSD.

This fixes PR pkg/44862 by Francois Tigeot.
2011-04-12 22:12:41 +00:00
wiz
cd7950f17b Make MAKE_PROGRAM overridable by packages.
From Aleksey Cheusov in PR 44696.
2011-04-05 12:42:06 +00:00
wiz
8ad22f5cfd Allow GNU GPL v1 by default. 2011-04-01 13:11:07 +00:00
obache
44736878b8 Pass MAKE_SET_VARS with environment variables instead of make flags,
or it will be passwd down to subsequent make (ex. installation of dependencies)
and result in unwanted behaviour.
2011-03-22 04:04:58 +00:00
wiz
e7ac0de684 Add filebase support, allowing to choose the filename for the resulting
package; from Aleksey Cheusov in relation to PR 44698.

Bump version to 1.9.
2011-03-19 09:44:16 +00:00
bad
77c589a414 Add unlicense to default_acceptable_licenses. Per advice by wiz. 2011-03-17 23:07:52 +00:00
imil
868c402e8a pkgin 0.4.2
20110306
        Moving to SF.net
        Check for mark_as_automatic_installed() return code

20110301
        pkgin can now upgrade pkg_install with user's approval

20110228
        url_stat's size is declared as off_t, will be > SSIZE_MAX on
        32 bits systems. Added a fix for this.

20110227
        Added -P, print package version instead of globs in sd, srd, sfd
        Added warning for repositories with 0-lenght FILE_SIZE
        Added -V (verbosity) flag
        Moved integer flags to uint8_t
2011-03-06 18:44:59 +00:00
wiz
6910bf835e Use slightly more modern packages in example. 2011-03-06 17:00:50 +00:00
seanb
69f6c2d377 - pass fullpath in argv[0] when pkg-scan spawns bmake so that
the same gets inherited across a sub make.
2011-03-06 02:23:32 +00:00
wiz
d5d34eac9a Revert previous, the files were already there (in sort(1) order). 2011-03-05 08:36:54 +00:00
mrg
cb5c9168db add libX11-xcb.so* versions. 2011-03-05 02:55:00 +00:00
wiz
bf96bde0b5 Add "-D"/"-d dir" options to mkpatches and patchdiff.
-D provides the previous behaviour of creating patches in $WRKDIR/.newpatches
-d dir specifies the directory where the patches will be created.

Requested by Aleksey Cheusov for read-only pkgsrc checkouts.

Fix minor bugs while here.

Bump version.
2011-03-04 15:57:07 +00:00
wiz
417be86318 Add x11-xcb.pc (riding bump from a few minutes ago) and depend on this
version by default.
2011-02-26 10:00:54 +00:00
wiz
12cda8262f Add libX11-xcb files. Bump version to 0.65. 2011-02-26 09:30:10 +00:00
mrg
3c998e670c add libXext.so.7.1 2011-02-26 08:14:58 +00:00
imil
e51ba24248 pkgin 0.4.1
. Wiped out file.c, ftpio.c, path.c, str.c, pexec.c, pkg_io.c,
  pen.c, strsep.c, lpkg.c, iterate.c
. Inform about logging
2011-02-21 22:42:48 +00:00
aymeric
39ed5d2ec1 . fix audit-history subcommand to include patterns making use of [x-y] notation
. bump version to 20110215
2011-02-18 15:59:52 +00:00
wiz
5cd519b879 mdoclint cleanup. 2011-02-16 11:58:30 +00:00
imil
c804df31d0 pkgin 0.4.0
20110207
        Replaced naive repository arch check by MACHINE_ARCH check

20110206
        Bump to SQLite 3.7.5

20110205
        Added statvfs64 support
        Redirect stderr to logfile while pkg_{add,delete}

20110204
        Feature request: -F / force-reinstall
        Feature request: PR 43049
        Generated repositories.conf for NetBSD, DragonFly BSD and MINIX

20110130
        Merged 0.4.0 to HEAD
        MINIX patches from Gautam are now upstream
        Re-added download-only
        Makefile.in / configure.ac cleanup
        Integrated some of bapt's patches
        - chroot
        - bandwidth calculation

20110122
        pkgin 0.4.0
        SQLite "Amalgamation" version is now part of the tree,
        No more databases/sqlite3 dependency needed
2011-02-13 16:03:56 +00:00
adam
3c2bdd8355 Added clang to PKGSRC_COMPILER 2011-02-10 12:08:04 +00:00
schnoebe
9183be950b Bring in boost-license, 1.0. Certified by OSI as an Open Source
license.
2011-02-06 18:54:49 +00:00
obache
56c954b911 Kill Interix libc shlibname base OS_VERSION detection, broken for SUA.
It is based on ancient bsd.prefs.mk and not works as expected for SUA,
because all SUA (5.2, 6.0 and 6.1) have libc.so.5.2 (and also old version).
Moreover shlibname base OS version was introduced to speed up to avoid invoking
`uname', but in this script, `uname' always will be invoked.
2011-02-05 13:21:13 +00:00
wiz
020efad979 Set LICENSE. 2011-02-02 23:35:51 +00:00
wiz
9088fe4c6f Add proper license for files by dillo and myself.
Ok dillo.
2011-02-02 23:35:11 +00:00
wiz
4f3515d80f Fix wording in my licencse. 2011-02-02 23:34:48 +00:00
hubertf
0ac4a86717 Sign over copyright to TNF 2011-02-02 21:44:13 +00:00
wiz
ad63d4f126 Clarify my license. 2011-02-02 10:36:20 +00:00
wiz
856f2acae4 Update to 1.0.
Smarter pkgdiff, doesn't create chunks that are added automatically
by the pkgsrc infrastructure (configure:exit instead of regenerate,
Makefile: localedir).

mkpatches: patch file names now contain the path to the file and its name
per discussion on tech-pkg June 2010.
Also, the files are created directly in the patches/ directory; backups
are saved as patches/patch-foo.orig.

patchdiff: now compares patches/patch-foo with patches/patch-foo.orig;
if they only differ in non-essential parts, patchdiff reinstates the
original patch to keep commits less noisy.
2011-02-02 10:23:02 +00:00
wiz
eeabfe1f2c Make a missing LICENSE an error.
Be more permissive wrt what characters are allowed in patch file names.

Bump version to 4.97.
2011-02-01 09:08:01 +00:00
agc
3d2906b41f This package needs someone to look after it - I'll do that for just now. 2011-01-31 07:25:03 +00:00
agc
9891855ef3 Protect against de-referencing a pointer which might be NULL.
Fixes PR pkg/44476 from Uwe Klaus
2011-01-31 07:22:15 +00:00
wiz
f5f849fcc6 Fix xorg recognition. Inspired by PR 44471 by Robert Elz.
Bump version to 0.64 and depend on it.
2011-01-30 17:26:32 +00:00
agc
e81f515156 Add support for MirBSD to pkgsrc. Patches from Benny Siegert and
Thorsten Glaser.
2011-01-23 19:07:24 +00:00
obache
32ee54fe21 Allow emacs24, emacs23 and emacs23nox to EMACS_VERSIONS_ACCEPTED and
EMACS_VERSION_REQD.
2011-01-23 08:30:05 +00:00
imil
8ab9fe4530 pkgin 0.3.3.4, never say "this is the last release"
Fixed a non-critical bug: some packages were marked
	for upgrade more than once.
2011-01-20 18:14:09 +00:00
jmcneill
8a5d8bf6d3 add libXvMCW 2011-01-19 16:33:51 +00:00
tron
b4c7e0082b Update "rpm2pkg" package to version 3.2.1:
- Go back to manual installation to avoid problems on unprivileged
  NetBSD installation. This fixes PR pkg/44415 by Hauke Fath.
- Don't install "rpm2pkg.cat8" any more as it is not really useful.
2011-01-19 16:23:02 +00:00
imil
7e77fca53c pkgin 0.3.3.3, hopefully the last 0.3 release
- Double dewey match fixed, i.e. foo>=1.2.3<3.0
- Duplicate entries for remove and upgrade fixed
- "Missing package in repository" case handled
2011-01-19 12:10:11 +00:00
tron
0033846ba0 Set "NEED_OWN_INSTALL_TARGET" to get unpriviliged installation under
NetBSD to work. This should fix PR pkg/44415 by Hauke Fath.
2011-01-19 11:49:18 +00:00
jmcneill
3c3daa7985 Update x11-links to 0.62: add libdrm_intel and libdrm_radeon 2011-01-19 03:39:13 +00:00
ghen
4cbbfc22d5 Fix the fix for Arch Linux 2011-01-17 15:12:46 +00:00
wiz
c5559214d0 Allow fortran77 in USE_LANGUAGES. 2011-01-17 09:13:59 +00:00
imil
70ad22906c Removed patches, now upstream. 2011-01-16 22:52:52 +00:00
imil
af39bce556 pkgin 0.3.3.2
Fixed a nasty bug in handling dependencies like php>=5.2.17<5.3
Included is@ patch upstream for Solaris build
2011-01-16 22:47:56 +00:00
jmmv
58c9a361c6 Respect user-defined settings of PKG_DBDIR in the manpage.
Bump PKGREVISION to 1.
2011-01-13 17:07:01 +00:00
wiz
af3596f984 png shlib name changed for png>=1.5.0, so bump PKGREVISIONs. 2011-01-13 13:36:05 +00:00
wiz
61eb916759 Add png-license and add it to the default-allowed licenses.
(very similar to mit or modified-bsd, but different)
2011-01-13 13:25:56 +00:00
tron
148f0a13bc Include "string.h" not "strings.h" (a typo anyway) to fix the build under
DragonFly. Patch supplied by Peter Avalos in PR pkg/44373.
2011-01-12 08:47:52 +00:00
wiz
81b68f34d8 New sentence, new line. Bump date for previous. 2011-01-12 06:09:25 +00:00
tron
b5240743e9 Update "rpm2pkg" package to version 3.2.0. Changes since 3.1.8:
- Major overhaul of the source code to make maintenance and support
  for new compression formats easier.
- Use "liblzma" instead of "xzcat" for dealing with LZMA compressed RPMs.
2011-01-12 00:26:33 +00:00
markd
0fd7bb9d32 Yet Another Groff Version (1.21). Fixes bootstrap on ArchLinux. 2011-01-10 10:16:31 +00:00
dholland
3bcb20223b Add missing MAKEVARS+=BUILTIN_X11_TYPE.native; fixes build problems
that appear in renderproto's bl3.mk. Problem reported by Snader_LB on
freenode.
2011-01-08 21:46:56 +00:00
tron
b63d3972cf Update "rpm2pkg" package to version 3.1.8. Changes since 3.1.7:
Drop unnecessary dependences on "gettext-lib" and Berkeley DB. Neither
of them have been necessary when this package stopped depending on the
"rpm" package.

Approved by Thomas Klausner.
2010-12-30 00:39:15 +00:00
tron
6979e2eb0d Update "rpm2pkg" package to version 3.1.7. Changes since 3.1.6:
- Use "xzcat" instead of "lzcat". This package now doesn't depend on the
  "archivers/xz" package under NetBSD-current because "xzcat" is part of
  the base distribution.
2010-12-22 09:36:35 +00:00
gdt
fd0c4fecfb 0.23: Pass PKGNAME_REQD to make operations.
Set PKGNAME_REQD to give underlying make processes a chance to set
options derived from the package name.  For example, the appropriate
version of Python can be derived from the package name (so, when
building py25-foo, use python-2.5, not python-2.6).   Specifically,
  MAKE_SET_VARS='PKGNAME_REQD=${pkg}-*'

From Alan Barret via pkgsrc-users@.
2010-12-20 15:39:09 +00:00
gdt
a4866d94d3 0.22: Avoid infinite loop in some error cases.
Sometimes, the set of packages to be replaced ($REPLACE_TODO) does not
have any members which are installed (and hence in $TSORTED).  This
caused the loop over $TSORTED to not find any packages to replace.
The check for not having found one was missing, resulting in the last
package in TSORTED being replaced.  Because $REPLACE_TODO is still
non-empty, this repeats.

This patch adds an abort when no packages in $TSORTED are in
$REPLACE_TODO.  Analysis and patch from Ian D. Leroux on
pkgsrc-users@.
2010-12-20 15:24:24 +00:00
wiz
7eaf427383 Don't warn about _ALPHA, _BETA, _PATCH, _RC, _STABLE mismatches
when pkg_add'ing on NetBSD. Bump version to 20101212.

Ok jym, gdt
2010-12-12 13:18:38 +00:00
wiz
74800ea77c Add a new header file and a library with newer minor in shlib, to match
NetBSD-current after last weekends xorg imports.

Remove Xmu files from xorg file list, they are in xorg.libXmu list.

Bump version to 0.61 and depend on it in bl3.mk.
2010-11-23 13:24:26 +00:00
joerg
e1f372d84e pkg_install-20101122: Fix crash in pkg_info -X on hand-written packages 2010-11-22 09:00:12 +00:00
abs
9987fa4b3a PKGREVISION bumps for changes to gtk2, librsvg, libbonobo and libgnome 2010-11-15 22:56:08 +00:00
christos
2187770975 mention that lists are space-separated. 2010-11-13 20:07:01 +00:00
jmmv
cf51f462dc Update to 1.35:
* Fix BUILD_PACKAGES to really support multiple packages.  Reported by
  Ian D. Leroux in private mail.
2010-11-13 16:23:22 +00:00
tron
5fa99c5319 Update "rpm2pkg" package to version 3.1.6. Changes since version 3.1.5:
- Don't apply the strip count (option "-s") to entries that we will
  ignore ("-i" option). This should fix PR pkg/44082 by Dr. W. Stukenbrock.
2010-11-11 13:07:34 +00:00
wiz
e24e880ef1 Put LICENSE into MAINTAINER section, where other documentation puts it.
Bump version.
2010-10-26 22:32:39 +00:00
adam
a56087eef1 Allow 90 in PGSQL_VERSIONS_ACCEPTED 2010-09-22 12:51:54 +00:00
wiz
f862ee827f Reset maintainer. 2010-09-15 13:55:15 +00:00
joerg
bb63d1cfd3 pkg_install-20100915: Allow https URLs. From mbalmer.
Reset maintainership.
2010-09-15 13:18:01 +00:00
gdt
23b6cd52c9 Add -D flag to pkg_install, to override the "pkg_add -U" check that
all depending packages have their dependencies satisfied by the new
package.  Essentially, split off this particular behavior as a special
case of -f, so that -f works as before, unforced works as before, and
one can give -D to override exactly this check, leaving all other
checks intact.

The -D flag is in support of make replace, as the workflow for make
replace is that inter-package dependencies are sometimes violated (but
then one must replace the depending packages, which is what
pkg_rolling-replace does via the unsafe_depends flags).

Bump PKGTOOLS_VERSION.

Add missing break statement in option parsing of "pkg_add -C", riding
the version bump.

Discussed extensively on tech-pkg@ over the summer.
OK pkgsrc-pmc@.
2010-09-14 22:26:18 +00:00
tron
ed8a0c9a4c Update "x11-links" package to version 0.60:
- Fix a fundamental problem which meant that the package included links
  for builtin components that "pkgsrc" will not use because they are too old.
- Remove NetBSD specific "pixman" hack that is no longer necessary.
2010-09-14 19:40:15 +00:00
tron
54765b05cd Update "x11-links" package to version 0.56:
- Add a nasty hack to deal with the "pixman" issue under NetBSD 5.1*
  (and 5.0?) which provides an old version of "libpixman" with a higher
  major number than the package in "pkgsrc".
2010-09-14 17:30:12 +00:00
wiz
200e3c4a04 Bump dependency on pixman to 0.18.4 because cairo-1.10 needs that
version, and bump all depends.

Per discussion on pkgsrc-changes.
2010-09-14 11:00:44 +00:00
tron
04977b5c67 Update "x11-links" package to version 0.55:
- Add "pthread-stubs.pc" which is required for "libxcb" under Mac OS X.
2010-09-14 08:55:42 +00:00
wiz
7cac493208 Fix comment. 2010-09-11 20:39:22 +00:00
wiz
792d49d737 Add support for xcb-util.
Bump to 0.54.

While here, remove two _pic.a files from two other file lists -- no other
file list included any _pic.a.
2010-09-11 20:26:11 +00:00
wiz
be27f7e65d Update to 0.53:
Remove xcb-utils files from xorg.libxcb and add symlinks for
NetBSD-current's libxcb.
2010-09-11 20:15:20 +00:00
tron
6f92e6cdac Update "x11-links" package to version 0.52:
- Add support for "xcb-proto".
2010-09-11 19:47:31 +00:00
tron
fcd380e5a2 Update "x11-links" package to version 0.51:
- Add support for "libxcb" under Mac OS X. Other platforms will need
  entries for ELF shared libraries.
2010-09-11 19:11:47 +00:00
tron
e75a4cd7a4 Update "rpm2pkg" package to version 3.1.5:
- Use "@pkgdir" instead of "@exec mkdir ..." to create empty directories.
- Don't add "@dirrm" lines for empty directories as they are now deleted
  automatically.

Based on a suggestion by Thomas Klausner in private e-mail.
2010-09-08 22:41:39 +00:00
tron
062934be5a Update "rpm2pkg" to version 3.1.4:
Always treat symbolic links like file when generating the package list.
A long time ago "pkg_install" didn't like symbolic links which is why
"rpm2pkg" created "@exec" and "@unexec" lines in the package list.
This does however cause false positive reported by the "CHECK_FILES" check.

This should fix a part of PR pkg/41191.
2010-09-07 17:32:05 +00:00
tron
0f55267aed Update "rpm2pkg" package to version 3.1.3:
- Avoid handling RPMs with uncompress data via "lzcat -f".
- Improve handling of LZMA compression via "lzcat":
  - Fail early if the child process fails to start "lzcat".
  - Don't try to kill the chld process blindly when we close the parent
    end of the pipe. Check first whether it already terminated which
    is the normal case.

Handling of RPM files with LZMA compression is now tested.
2010-09-05 15:51:56 +00:00
tron
12956aee94 Update "rpm2pkg" package to version 3.1.2 (*sigh*):
Fix bug in last change which broke extracting RPMs via "lzcat" (which is
now also used for uncompressed RPMs).
2010-09-05 01:22:29 +00:00
tron
2e9aed871d Update "rpm2pkg" package to version 3.1.1:
- Fix start of "lzcat" if "LZCAT" is not defined as a full pathname.
- Handle short reads on the pipe to "lzcat".
2010-09-05 00:24:30 +00:00
tron
e5da946245 Update "rpm2pkg" package to version 3.1:
- Implement a minimal parser for the RPM header section and use it to
  skip to the data section instead of searching for BZip2 or GZip
  magic headers.
- Add untested support for LZMA compression. It currently uses "lzcat"
  from the "xz" package which is what "pkgsrc" itself uses to handle
  ".lzma" files.
2010-09-04 19:23:00 +00:00
seb
c3f1e700ad Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.

sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
2010-08-21 16:32:42 +00:00
joerg
b3ca539ed1 pbulk-0.48: If pkg_add fails, remove binary package 2010-07-23 21:19:40 +00:00
jmmv
09da11f79d Update to 1.34:
- Remove pkg_install version check and rebuild if outdated.  pkgsrc is
  supposed to do that for us.  Addresses PR pkg/38323.

- Don't bother to explicitly builddigest.  pkgsrc DTRT nowadays when
  PKGSRC_COMPILER includes ccache/distcc.
2010-07-20 16:50:25 +00:00
sbd
4a98cde1fe Use a single pattern to match changes in the diff header so that a change to
the input timestamp/name _and_/or output timestamp _and_/or line numbers
changes handled.

update version number to 0.123
2010-07-04 22:20:04 +00:00
sbd
f66158f0f0 1) Add a space to the second white-space block, when matching filenames as some
diff version must uses spaces to separate the filename and timestamp (that
or somepeople do cut-n-pasting of patches).

2) add the comma "," to the pattern used to match line numbers, to match POSIX.
2010-07-04 22:18:28 +00:00
wiz
09727a550d Update docs for some problems found during the png bump.
Bump version.
2010-06-20 19:29:50 +00:00
joerg
d041bec600 pkg_install-20100616:
- Recognize -C for pkg_add like the rest of the tools do
- Do the existing check for pkg_add -f, it makes the combination of
  -f and -U a bit less surprising
- Fix option handling for CHECK_VULNERABILITIES (from spz@)
- Make end-of-life check the default. pkg_install.conf(5) can be used to
  override the default. The existing admin -e & co continue to work as
  before.
2010-06-16 23:02:48 +00:00
rillig
cd0b558071 In patch files, comments are so useful that this is no longer a
warning that only applies when -Wextra is given.

ok wiz@
2010-06-15 22:06:48 +00:00
joerg
4e7162d393 pbulk-0.47:
- Explicitly call make create-usergroup if USERGROUP_PHASE is specified
  and DESTDIR is active
- If the current user is not root, don't use su.
- Skip lines starting with # in the limited bulk build list.
2010-06-15 21:11:43 +00:00
tron
59fdc3d367 Update "rpm2pkg" package to version 3.0.2. Changes since 3.0.1:
Avoid problems on 32-bit platforms by gently hinting the compiler how
to do type expansion properly.

This fixes PR pkg/43478 by Greg Oster.
2010-06-15 19:52:02 +00:00
tron
e1eb362408 Update "rpm2pkg" to version 3.0.1. Changes since 3.0:
- Fix detection of BZip2/GZip signature which would have failed if the
  signature was located behind a prefix of the signature.
- Increase I/O buffer size so that "rpm2pkg" will usually find the data
  section after only one read(2) system call.
2010-06-14 11:24:47 +00:00
wiz
e8d8834f6a Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.
2010-06-13 22:43:46 +00:00
tron
181caf4aee Update "rpm2pkg" to version 3.0. Changes since version 2.3:
- Don't use the original "rpm" libraries. All we need to do is to identify
  a file as an RPM file and afterwards find the BZip2 or GZip compressed
  section at the end of the file.
- Use C99's "stdbool.h" instead of home-grown defines.
2010-06-13 13:08:51 +00:00
wiz
deaebbd313 Fix build with gtk2-2.20. 2010-06-11 08:50:04 +00:00
is
d3d2384ade Update to 0.3.3.1 (on wip: 20100124) + a local patch to fix building on
Solaris (and, I suspect, other autoconf-using architectures). En detail:

20100123:
        Many cleanups from stacktic
        - Replaced strstr's with str{n}cmp when possible
        - #ifdef'ed PROVIDES
        - Queries are now const chars

20100102:
        Solaris 10 support
        Mac OS X support
        Many cleanups from stacktic

20100101:
        Many fixes by stacktic :
        - Added -n (no-flag)
        - Various memleaks fixed
        - pkgname comparison fix
        - Cleaned up trailing spaces
        - Got rid of recursion !

20091206:
        Added -l status flags

20091203:
        autoconf support
        percentage redraw fix (jmcneill)
        variables cleanups (PKG_SYSCONFDIR, VARBASE) (sketch)
        auto-lookup for SUMEXTS, removed options.mk (sketch)
        opensolaris fixes (sketch)
        repositories.conf variables substitution (tuxillo)
        impact mutex (Johannes Hofmann)
        SunOS 5.8 support (Mikhail T.)
2010-06-10 08:05:00 +00:00
obache
73730e5195 for OpenBSD-4.7. 2010-06-09 09:33:42 +00:00
dholland
0bed2abb59 Force-set ManPath on Debian in order to work around silly things Debian
ships in their imake templates, which otherwise result in pkgsrc man pages
landing in /usr/share/man. PR 38248 (and possibly others).
2010-06-06 03:45:17 +00:00
ghen
8bbfbab260 Add pkgconfig file for xkeyboard-config. Bump x11-links version to 0.50. 2010-06-04 10:52:21 +00:00
adam
6a27ccc8ec Added databases/db5 version 5.0.21 2010-06-02 12:09:35 +00:00
wiz
059db49455 Reset PKGREVISION after update (oops). Should be quick enough... 2010-05-31 21:21:28 +00:00
wiz
43d24bf4a9 Apply patch from Bernd Ernesti in PR 43392, updating the package
for recent changes in NetBSD-current's xsrc.

Bump version.
2010-05-31 21:20:02 +00:00
martin
0d15430e60 Add X11/extensions/shapeconst.h 2010-05-30 12:55:17 +00:00
wiz
086703b915 Tri-license it, adding the 2-clause BSD-license.
OK dillo.
2010-05-28 14:56:14 +00:00
tez
e51f92232a In SunOS, use cpp rather than ${CC} -E, as gcc -E is broken.
If /usr/ucb/lib/cpp is in the path before gnu cpp this could break things
but that is not an expected situation.  The only executable in /usr/ucb/lib
is cpp, so there is no other reason to add it to the path.

This should fix PR#42624
2010-05-12 20:57:46 +00:00
obache
8956c4ec26 Add isc license as default acceptable license. 2010-05-06 13:16:59 +00:00
joerg
8f3632e1c4 pbulk-base-0.41:
Improve diagnostic message for dependency cycles by actually showing the
path.
2010-05-05 00:07:07 +00:00
sbd
5268dbae38 Update to x11-links-0.48
This is just a simple version bump so that ${OS_VERSION} can be removed from
the DISTNAME as this package now depends on 'pkgtools/osabi'

Update BUILDLINK_API_DEPENDS.x11-links to match.
2010-04-30 03:37:44 +00:00
sbd
63ddc26df9 Added pkgtools/osabi 2010-04-30 03:23:27 +00:00
sbd
95399dd4b4 Import the 'osabi-${OPSYS}-${OS_VERSION}' as pkgtools/osabi
This is a dummy-package which is made a dependence for packages which are
tightly bound to a specific version of an operating system, e.g. LKMs or
sysutils/lsof. Such binary packages are not backwards compatible with other
versions of the OS.

The version number of this package should be similar to the operating system
version (`uname -r' output).
2010-04-30 03:18:26 +00:00
obache
ebe456dbe4 + ipafont to default_acceptable_license. 2010-04-26 11:54:31 +00:00
gdt
238a61c28c Start todo list for pkg_rolling-replace (not installed). 2010-04-23 17:11:12 +00:00
joerg
eaec97cc87 pkg_install-20100421:
Fix an off-by-one in the check for properly sized pkgdb entries.
It rejected perfectly valid entries.
2010-04-20 21:22:38 +00:00
joerg
9ebc608c9d pkg_install-20100420:
Extract dependencies of libarchive from the pkgconfig file and thereby
drop knowledge of the needed libraries.

At least some versions of HP-UX are known to not support %zu, add a
workaround. This is using the black list approach for now.

Recognize xz as compression type for pkg_create.

The first time an error is hit while fetching packages, try to reget
from the same position. This works around the server closing the
connection while fetching dependencies.
2010-04-20 00:39:12 +00:00
joerg
4d2055c5a6 Add workaround for broken pread/pwrite. This is needed at least on
HP-UX.
2010-04-20 00:32:22 +00:00
tron
25f25e824c Link using the "-search_paths_first" option under Mac OS X to make
sure that the linker uses our static "libarchive.a" instead of
the outdated dynamic library "/usr/lib/libarchive.dylib".
2010-04-15 22:25:11 +00:00
jmmv
464f85b522 Update to 1.33:
* Make PKG_DBDIR customizable.  This sets the variable in mk.conf, in
  pkg_install.conf and in the environment.
2010-04-15 09:42:45 +00:00
joerg
89c516b24c pkg_install-20100405:
- Try to detect common forms of pkgdb corruption and issue a warning in
  that case.
- Refactor the pkg_vulnerabilities logic to use the compression support
  from libarchive. This reduces the amount zlib/bzip2 interaction to the
  linkage.
2010-04-14 18:24:58 +00:00
wiz
288552e3c7 Remove trailing space. 2010-04-13 20:59:19 +00:00
jmmv
4c0ca68e76 Update to 1.32:
* Do not force the install target to take a full package name.  pkg_add will
  automatically pick the latest version.

* When building a package as part of makeroot, make sure it actually gets
  installed.  This is to fix a regression with the switch to USE_DESTDIR=yes.
  Otherwise these packages will get rebuilt later on when needed.

* It is common for calls to mktemp to have 6 placeholders in the template,
  not 4.  Make it so.
2010-04-13 16:46:01 +00:00
joerg
48ba2fe9fb Require zlib 1.2 for now, as zlib 1.1 doesn't like gzip headers and
would fail in the decompression code for pkg-vulnerabilities.
2010-03-26 17:04:45 +00:00
sbd
68194f09b4 Pickup maintainership. 2010-03-24 20:18:01 +00:00
sbd
099b2959b5 Takeover maintainership. 2010-03-23 00:27:11 +00:00
joerg
6c87bd2fe7 Pick up maintainership. 2010-03-21 16:50:41 +00:00
joerg
3bcaf20e57 Apply patch from PR 34942: Match prototype and body in staticness. 2010-03-21 16:32:06 +00:00
joerg
6f3f255118 Use ISO C99 / POSIX types. Should fix PR 40416. 2010-03-21 16:30:17 +00:00
wiz
a4eec2f4cc Reset maintainer, developer lost his commit bit. 2010-03-21 16:29:38 +00:00
adrianp
c7c62001e9 Don't have time to MAINTAIN these anymore, so back to pkgsrc-users@ 2010-03-20 21:32:40 +00:00
wiz
541b5cfa8d Add man pages for audit-packages and download-vulnerability-list which
point to pkg_admin and notes that the scripts are obsolete.

Bump version to 20100319.
2010-03-19 12:49:53 +00:00
obache
7eb6b4491b Also need to overwrite config.sub, at least on Haiku OS. 2010-03-17 08:19:38 +00:00
wiz
383c346b40 Recognize PREV_PKGPATH. 2010-03-14 16:42:54 +00:00
rillig
50da92c78c Updated pkglint to 4.93.
Changes since 4.92:
- Changes for the changing pkgsrc infrastructure
- Added basic support for LICENSE expressions
2010-03-11 20:54:19 +00:00
tnn
02bdd7f80e remove unused leftover 2010-03-11 16:31:43 +00:00
tnn
eed2e13931 simplify previous fix 2010-03-11 16:31:11 +00:00
tnn
f42e28d849 mawk(1) doesn't know how to take length() of an array. 2010-03-11 13:18:16 +00:00
rillig
46f21d0749 Updated the handling of the LICENSE variable. It is no longer a simple identifier,
but may be a complex boolean expression.
2010-03-10 14:42:22 +00:00
joerg
b05f5e85bc Make sure to overwrite the config.guess script in libarchive for the
sake of Interix.
2010-03-08 17:20:40 +00:00
obache
61a5b410b4 Avoid conflicting types for `pgno_t', treat same as db_185.h in db[234].
IRIX have it in sys/types.h as reported by PR42841.
2010-03-03 06:03:45 +00:00
wiz
9f97006922 Mention that '_' is the same as '.'.
Noted missing by Aleksey Cheusov in PR 41148.
2010-02-27 21:02:01 +00:00
joerg
b072540d05 BSIZE and BSHIFT are defined by sys/param.h on HP-UX, so undef them
first.
2010-02-27 16:27:00 +00:00
joerg
8415684b47 pbulk-base-0.40:
Don't print all failed/successful jobs at the beginning, just a small
message when it is done.
2010-02-26 16:25:49 +00:00
wiz
ec820a7195 Remove "also" for Slader_LB. 2010-02-25 06:56:23 +00:00
joerg
c7694cd1b1 pbulk-0.46: Use stage-install instead of install.
[Change in pbulk-0.45, but be explicit here]
2010-02-24 22:54:54 +00:00
joerg
df57266292 pbulk-0.45:
Make the age check for packages an option, but keep it enabled by
default.
2010-02-24 22:51:37 +00:00
joerg
719ec557c2 Split up RCS ID template differently, so that the +BUILD_INFO builder
doesn't catch it.
2010-02-24 22:27:11 +00:00
wiz
6627a92929 Fix option order in SYNOPSIS. From Slader_LB. 2010-02-24 22:07:28 +00:00
wiz
4d6a73e427 Refer to pkg_admin from -f flag.
Make chroot reference an Xr.
Downcase Package Database.

Suggested by Slader_LB.
2010-02-24 22:06:21 +00:00
wiz
18d25b4b1f Downcase Package Database. 2010-02-24 22:05:31 +00:00
joerg
7fb34da705 Make sure that FILESDIR is a full path, so that the resulting +BUILD_INFO
is consistent.
2010-02-24 22:04:38 +00:00
joerg
32c7e47125 Fix path to not confuse RCS ID check for +BUILD_INFO. 2010-02-24 22:00:03 +00:00
wiz
762436db6b Describe -A more clearly. 2010-02-24 21:13:23 +00:00
wiz
64ce57b13c Improve wording, remove unneeded Bk/Ek, various minor fixes. 2010-02-24 21:11:27 +00:00
joerg
f42651b305 Sync with libarchive 2.8.0. 2010-02-20 20:24:24 +00:00
bouyer
59c29ed5b2 Rename xfree.xpm to xfree.libXpm, so that xfree.mk will find it.
Fixes PR pkg/42827 and should also fix pkg/42671 once pulled up.
PKGREVISION++
2010-02-20 16:23:29 +00:00
joerg
4ff999cd9b PR 38488: It looks like BSDish warn(3), it smells like BSDish warn(3),
but it isn't BSDish warn(3). Do not use warn(3) family on Mac OS X, as
it likes to vis(3) some arguments.
2010-02-20 15:21:35 +00:00
joerg
244acbc253 pkg_install-20100220:
Try harder to give the user an idea which file failed.
Addresses PR 42223.
2010-02-20 04:40:03 +00:00
joerg
f6db1bf7d6 Use REAL_ROOT_USER. Bump version. 2010-02-19 20:40:23 +00:00
joerg
2e9750982f Regen. 2010-02-18 13:43:47 +00:00
joerg
895bc6c259 Reflect reality that pkg_add -uu == pkg_add -u. 2010-02-18 13:43:11 +00:00
obache
e3ede37747 Update x11-links to 0.47.
support OpenBSD-4.6.
2010-02-18 12:32:19 +00:00
wiz
89320e2639 + complain if LICENSE definition is missing 2010-02-16 10:06:55 +00:00
obache
28c1482a9f * accept python26, no reason to reject it.
* include python/extension.mk and  PYSITELIB in PLIST instead of hard coded python2.5.
* PKGLOCALEDIR are handled automatically, no need to use in PLIST.
* icontains *.desktop, so include desktop-file-utils/desktopdb.mk.

Bump PKGREVISION.
2010-02-14 02:28:16 +00:00
tnn
abc7c42575 fix inverted test 2010-02-11 12:54:27 +00:00
tnn
f49194b52b might as well uniqify the FAILED and SUCCEEDED lists 2010-02-11 12:17:23 +00:00
tnn
c000c3ae33 - Clean up the error handling a bit
- Bomb if we couldn't extract the PKGPATH from an installed package.
XXX the pkg_rr main loop has grown too large and should be split into
functions.
2010-02-11 12:07:33 +00:00
wiz
cdb3b762f5 0.46: Add two freetype2 header files. 2010-02-10 23:02:26 +00:00
joerg
3a06eb96bf Bump revision for PYTHON_VERSION_DEFAULT change. 2010-02-10 19:17:31 +00:00
obache
4153cf1aed Initial Haiku support.
currently, just copies of Linux's one.
2010-02-06 10:50:40 +00:00
obache
396b2583bc Added fakeldd for Haiku. 2010-02-06 10:26:09 +00:00
joerg
cd48ffa77c pkg_install-20100204:
Fix an enum to prevent crashes later (PR 42734)
2010-02-03 19:28:30 +00:00
joerg
109a0744e9 pkg_install-20100203:
- Restore PKG_PREFIX in pkg_delete (PR 42731)
- Ensure that the current pkg_install version is at least as new as
  the version used to build the package
2010-02-03 14:20:14 +00:00
obache
aaea49ff56 Honor MANINSTALL.
fixes PR#42715.
2010-02-02 10:45:59 +00:00
sno
4225841e3c Updating pkgtools/pkg_rolling-replace/ from 0.19nb1 to 0.20
Improving the variable passing to make by allowing any, not just
MAKE_JOBS and USE_DESTDIR.
2010-02-01 19:06:42 +00:00
wiz
0073cb0571 Sort option descriptions, be more explicit in -D one. 2010-02-01 12:25:07 +00:00
sno
578fadf392 Fixing a typo and bumping revision (if anyone still had updated) 2010-02-01 10:28:45 +00:00
sno
89efac344b Updating pkg_rolling-replace (set new version 0.19):
- Add option '-D' to tune "USE_DESTDIR=" and set this defaultly to 'NO'
- Add option '-j' to tune "MAKE_JOBS=" (Default: unset)
- Fix an issue with packages with missing origin
2010-02-01 09:33:21 +00:00
obache
0dce9a90b9 Take care the case that MANINSTALL does not contain catinstall.
Fixes PR#42690.
2010-01-31 11:38:48 +00:00
joerg
d091a3d775 G/C left over. 2010-01-30 21:35:08 +00:00
joerg
598ab1bc84 Regen. 2010-01-30 20:10:04 +00:00
joerg
17bdd9ea74 pkg_install-20100130:
Add -U for pkg_add.  It works similar to -u, but replaces an already
installed version.
2010-01-30 20:09:34 +00:00
rillig
3c0d55dec8 Added licenses. 2010-01-29 20:47:49 +00:00
joerg
da2786e36d pkg_install-20100126: Actually support IPv6. 2010-01-26 15:48:13 +00:00
imil
10d137ea33 pkgin 0.3.3.1
Fixed ordering issue.
2010-01-24 17:11:04 +00:00
imil
b6fc402065 Removed options.mk, summary suffix is now handled dynamically 2010-01-24 14:59:05 +00:00
imil
56f81da1a2 pkgin 0.3.3 import from wip/pkgin-20100123
- Solaris 10 support
- Mac OS X support
- Added -l status flags
- autoconf support
- percentage redraw fix (jmcneill)
- variables cleanups (PKG_SYSCONFDIR, VARBASE) (sketch)
- auto-lookup for SUMEXTS, removed options.mk (sketch)
- opensolaris fixes (sketch)
- repositories.conf variables substitution (tuxillo)
- impact mutex (Johannes Hofmann)
- SunOS 5.8 support (Mikhail T.)

Plus many cleanups from stacktic@
- Replaced strstr's with str{n}cmp when possible
- #ifdef'ed PROVIDES
- Queries are now const chars
- Added -n (no-flag)
- Various memleaks fixed
- pkgname comparison fix
- Cleaned up trailing spaces
- Got rid of recursion !
2010-01-24 14:56:24 +00:00
obache
4f87926c6e * check endian.h and use it if available, for Haiku.
* check optarg, it is used in nbcompat/unistd.h, but not checked.
* check socket() in -lnetwork in addition to -lsocket, for Haiku.
2010-01-24 12:41:21 +00:00
obache
a6a8791e0f Kill __weak_alias, it break build on OpenBSD as reported in PR#42102. 2010-01-24 12:29:48 +00:00
obache
e675d00b18 complement NBBY with 8 if not defined. 2010-01-24 08:52:01 +00:00
joerg
7242ffd9ba Update config.guess/config.sub as they are used during bootstrap. 2010-01-23 23:43:58 +00:00
joerg
f7c0bdf9fa Update config.guess/config.sub as the normal replacement doesn't work
here.
2010-01-23 23:42:55 +00:00
joerg
7d65252df2 Check -lnetwork for gethostbyname on Haiku. From PR 42665. 2010-01-23 22:41:43 +00:00
obache
4d9c18416f Exactly include unistd.h for size_t (at least, need for Haiku). 2010-01-23 13:25:12 +00:00
joerg
9262c6cdf9 Fix linkage for create/delete. 2010-01-23 11:02:58 +00:00
joerg
dc81ba6cfa Regen. 2010-01-22 13:33:30 +00:00
joerg
dbd95db262 pkg_install-20100122:
- Refactor man pages:
  - Move description of environmental variables into pkg_install.conf(5)
  - Remove a bunch of dead references
  - Avoid using hard-coded path names that can easily be overridden by
    the user.
- Refactor pkgdb related logic, so that -K behaves consistently.
- Add some helper functions to isolate more places from the pkgdb
  layout.
- Sync license list.
- Handle PKG_REFCOUNT_DBDIR consistently as option too.
- Utilize connection cache from libfetch.
- Add helper target for cat pages updates.
2010-01-22 13:30:41 +00:00
jmmv
71f907bf00 Stick the correct value of PKG_DBDIR into the manpages instead of
pointing the user to /var/db/pkg, which may not be the right value if
it was customized.  Bump version to 20100121.
2010-01-21 21:58:05 +00:00
joerg
4a525d6349 I guess actually being OWNER is the only way to get a sensible time to
review patches and complain...
2010-01-20 23:17:12 +00:00
jmmv
4e900517d4 Revert previous, testing change committed by mistake. 2010-01-20 23:14:23 +00:00
jmmv
89c510d67e Update to 20100120:
- Make PKG_DBDIR customizable through pkg_install.conf.

Things seem to work fine after a few tests but... where are the tests for
these tools?!
2010-01-20 22:34:47 +00:00
wiz
e200e9fb68 Use dummy package name in example instead of existing one. Bump version. 2010-01-18 06:51:14 +00:00
tron
da16132153 Undo unnecessary revision bump of this package. It doesn't require "jpeg",
has never required "jpeg" and will hopefully never require "jpeg".
2010-01-17 13:24:27 +00:00
wiz
579796a3e5 Recursive PKGREVISION bump for jpeg update to 8. 2010-01-17 12:02:03 +00:00
jnemeth
f9774688e0 Bump version simply because it hasn't been bumped for some time and many
changes have been made in the meantime.  These way people will know that
there are updates that don't give bogus warnings.
2010-01-16 23:42:32 +00:00
abs
ccbfb9752b Update bsd.files.mk multiple include protection to use the same mechanism
as in the base NetBSD system - fixes PR pkg/39715
2010-01-15 22:00:36 +00:00
wiz
1bbbe0a9e7 Teach createbuildlink to ignore graphics/hicolor-icon-theme/buildlink3.mk.
Idea from joerg.

PKGVERSION++
2010-01-13 15:27:52 +00:00
joerg
281f4b0008 pbulk-0.44: Remove a second call to pscan from a failed merge. 2009-12-30 21:14:43 +00:00
abs
031708e074 Add note on SHLIB_{MAJOR,MINOR,TEENY} 2009-12-30 20:46:22 +00:00
tron
18e73d8064 Update "x11-links" package to version 0.45:
1.) Update list to remove duplicates and add missing entries for recent
    versions of NetBSD-current. The necessary changes were supplied
    by Bernd Ernesti.
2.) Include the operating system version number in the package version
    to force a re-build of the package if the operating system is
    updated (which might change the X11 distribution as well.
This should fix PR pkg/42492.

Change approved by Thomas Klausner.
2009-12-30 17:10:32 +00:00
abs
5e7936e550 Sync comments section with current bsd.lib.mk from NetBSD - fixes various
typos and incorrect entries and also adds a brief line on SHLIB_MAJOR,
SHLIB_MINOR and SHLIB_TEENY, the latter addresses PR bin/39693
No functionality change, no PKGREVISION bump
2009-12-30 12:35:33 +00:00
adam
1e4732311d Updated PGSQL_VERSIONS_ACCEPTED 2009-12-29 09:35:10 +00:00
joerg
97f015e506 pbulk-0.43:
Remove the content of bulklog, not the directory. Much nicer if nullfs
is used. Log error output of pscan.
2009-12-16 19:41:41 +00:00
martti
5ca8280490 Fix problems detected in my Slackware installation.
http://mail-index.netbsd.org/pkgsrc-users/2009/09/09/msg010660.html
http://mail-index.netbsd.org/pkgsrc-users/2009/09/09/msg010664.html
2009-12-13 07:49:55 +00:00
abs
72f220d2ab Updated pkgtools/pkgdiff to 0.122
Set TZ=UTC before calling diff to ensure everyone uses the same timezone
to avoid spurious diffs in metadata, such as:

< clock/clock.c.orig        1993-06-29 01:11:39.000000000 -0400
---
> clock/clock.c.orig        1993-06-29 03:11:39.000000000 -0200
2009-12-10 20:26:33 +00:00
tnn
7160745e3b bump date 2009-12-01 14:26:08 +00:00
rillig
130740c1ee The GNU tools usually provide replacements for their counterparts whose
name doesn't start with a "g". Fixes PR 40261.
2009-11-20 12:02:33 +00:00
rillig
c6a656a773 Applied patch from PR 38423 by Sergey Svishchev.
Increased the version number to 2.12.
2009-11-20 11:49:18 +00:00
sno
b2c8aad6ff Updating pkgtools/pkg_rolling-replace from 0.17 to 0.18
Changes:
Added 3 new features:
1) Fetch only
2) Keep going after error (skip package)
3) Log output of make steps

Modified verbosity to report what's failed and what succeeds.
2009-11-13 19:40:55 +00:00
joerg
916b6e2178 pkg_tarup-1.8:
Do not use pkg_create -L, it is redundant for modern packages and ignored
by pkg_install-20091115.
2009-11-05 16:22:46 +00:00
joerg
effa69a9d7 pkg_install-20091115:
Completely ignore @src in pkg_create. Silently ignore the -L option.
The combination of -I and -p are used by pkgsrc for the same result.
2009-11-05 16:22:32 +00:00
obache
479a293797 allow USE_JAVA=build. 2009-11-02 02:48:56 +00:00
abs
08221b3e21 Clarify -u usage (noticed by bvd - thanks) 2009-10-28 21:29:00 +00:00
joerg
2e5fcf7003 pbulk-0.41:
- Consider packages silently outdated if recorded files are missing.
- Explicitly pass down tar to pbulk-save-wrkdir, TAR is unset at that
  point.
2009-10-25 23:08:02 +00:00
wiz
64adf0c850 Add 2-clause-bsd to DEFAULT_ACCEPTABLE_LICENSES. 2009-10-25 21:32:17 +00:00
joerg
671e489141 pkg_install-20091022:
Do not overwrite a string with itself using snprintf. This breaks
setting the pkgdb directory internally on Linux. Explicitly check
if the string is the same and otherwise just use xstrdup.
2009-10-22 22:51:29 +00:00
tnn
516378a3c7 note that pkglint doesn't understand dual licenses 2009-10-21 20:08:01 +00:00
joerg
fb51cb65a3 pkg_install-20091021:
Add support to query arbitrary variables with pkg_admin config-var.
2009-10-21 17:10:36 +00:00
joerg
c78fbe9399 pkg_install-20091015:
Use directory index caching by default.
2009-10-15 12:41:41 +00:00
joerg
84329fdd40 pkg_install-20091008:
- Fix German accent
- Don't dereference a null pointer for pkg_admin add
2009-10-08 16:16:12 +00:00
joerg
465c648578 pkg_install-20091006:
- restore pkg_add -f functionality for missing dependencies (PR 42001)
- pkg_admin rebuild should count packages correctly (he@), also count @pkgdb
- fix gpg-sign-package syntax in pkg_admin(1)
- change default URL for pkg-vulnerabilities to use HTTP
2009-10-07 12:53:26 +00:00
tnn
246b806bab improve error message 2009-09-27 18:44:27 +00:00
tnn
ed68a809fa depend on diffutils on Tru64 2009-09-20 11:57:16 +00:00
rillig
6d72b9b893 Oops. Thanks to Martti Kuparinen for finding this. 2009-09-15 10:03:48 +00:00
rillig
eb8c93640a Sync with reality. Patch provided by Yuji Yamano via pkgsrc-users. 2009-09-15 08:26:21 +00:00
rillig
e6e8a50f35 Don't prevent others from increasing the version number, since I don't
follow recent pkgsrc developments as carefully as necessary.
2009-09-15 08:16:24 +00:00
tron
7b95035bac Update to "x11-links" package to version 0.44:
Detect X.org even if "imake" is not installed. The package now works as
expected under Mac OS X Snow Leopard.
No regressions under NetBSD/amd64 5.0_STABLE with native X.org.
2009-09-13 13:31:41 +00:00
joerg
c419b4e0c6 pkg_install-20090911:
- Cleanup configure.ac to not check for headers and functions not used
- Always use nbcompat/db.h on !NetBSD (PR 41865)
- Don't bother setting termwidth in pkg_info, it is never used.
2009-09-11 18:00:12 +00:00
joerg
273fce8301 SuSE packages live in suse100 nowadays and for Python pick 2.6. 2009-09-10 21:22:56 +00:00
wiz
d5d25f4b31 Remove references to python-2.3. 2009-09-09 11:16:56 +00:00
joerg
e0d4ecdfc2 Retire Python 2.3 support. 2009-09-07 19:02:13 +00:00
joerg
2cb7d28f75 pbulk-0.41:
Create & chown work.log for destdir builds too, as the normal build is
run unprivileged.
2009-09-04 22:06:18 +00:00
wiz
684f5de38c + pkgsrc-todo. 2009-08-30 10:40:59 +00:00
wiz
644fc25586 Initial import of pkgsrc-todo-1.0:
This package contains two tools for maintaining pkgsrc/doc/TODO.

add_todo adds lines for newly available updates for packages to
the TODO file.

obsolete_todo checks the contents of pkgsrc/doc/TODO against updates
noted in the CHANGES-* files and removes entries for packages which
were already updated to newer files.
2009-08-30 10:40:34 +00:00
sno
6f7368d4db bump revision because of graphics/jpeg update 2009-08-26 19:56:37 +00:00
wiz
059bf86ace Remove BROKEN_IN variable. It was no maintained, and there was no
defined workflow for setting it, removing it, or removing packages
depending on it.
2009-08-25 12:32:54 +00:00
joerg
6b62715557 pbulk-base-0.39:
Fix ordering of event handler vs queue modification. This can result in
queue corruption or use after free when the master can't handle a
request before the next arrives. From Matt Dillon.
2009-08-23 18:02:04 +00:00
joerg
9378777837 Pass down MAKE_ENV when calling make for inplace builds. 2009-08-17 18:43:49 +00:00
wiz
ac81690e2d Mark up PKG_PATH. 2009-08-17 05:06:38 +00:00
joerg
d374fd0840 Don't leak the config file. 2009-08-16 21:10:53 +00:00
joerg
a44d636e1d pkg_install-20090817:
Add a new command for pkg_admin: findbest. It takes one or more patterns
and searches for the best match in PKG_PATH, just like pkg_add would.
It prints the URLs of the best match for each pattern to stdout.

Rewrite the config file parser to read the file only once.
2009-08-16 21:10:14 +00:00
joerg
ae84d2dc25 Fix a bug in pkg_add's -P handling. For dependencies the pkgdb path was
computed incorrectly and included destdir more than once.

Fix the ACTIVE_FTP option to actually set the "a" flag and not the old
"p" flag.
2009-08-16 14:26:46 +00:00
wiz
31c55e42d2 Make joerg happy by using PYTHON_VERSIONS_ACCEPTED. 2009-08-14 15:37:40 +00:00
wiz
ea8a4bd389 Needs python, so include lang/python/application.mk.
Doesn't recognize python26, so set PYTHON_VERSIONS_INCOMPATIBLE to 26.
2009-08-14 15:31:58 +00:00
dsainty
c692fde374 Yet Another Groff Version, version 1.19.1, present in some release of Gentoo. 2009-08-07 07:48:59 +00:00
wiz
dc4ee19bc7 regen. 2009-08-06 18:16:57 +00:00
wiz
f562b816f7 Bump date for CHECK_LICENSE. 2009-08-06 18:16:33 +00:00
wiz
c4f91c4a43 regen. 2009-08-06 18:15:41 +00:00
wiz
42ac050037 Bump date for -k. 2009-08-06 18:15:27 +00:00
wiz
24a8ca8027 regen. 2009-08-06 18:14:48 +00:00
wiz
531a02fc44 Bump date for previous. 2009-08-06 18:14:15 +00:00
joerg
1feca87cdb pkg_install-20090806:
- pkg_add: add support to check license conditions before installation
- pkg_delete: add -k option to skip over preserve packages.
2009-08-06 16:53:34 +00:00
joerg
3587185961 pkg_install-20090727:
Make pkg_install WARNS=4 clean and fix a number of lint warnings.
Based on reports from veego about warnings with older GCC releases in
pkg_delete, where a variable is potentially used uninitialized.
2009-08-02 17:56:44 +00:00
rillig
1bc3156b00 Updated url2pkg to 2.11.
Changes since 2.10:
- Added PKG_DESTDIR_SUPPORT
- Fixed LICENSE handling
2009-07-31 22:27:49 +00:00
rillig
630df34f70 Added PKG_DESTDIR_SUPPORT, as suggested by Kamel Ibn Hassen Derouiche on
tech-pkg.

Commented out the LICENSE definition, since pkg_admin is very picky
about invalid values. Having either "" or "LICENSE" as the value doesn't
let you even fetch and extract the distfiles.
2009-07-31 22:27:04 +00:00
rillig
39e6522978 Fixed the parser for shell commands, so that it recognizes the $$$$
variable.
2009-07-26 21:03:19 +00:00
rillig
a8f796043e Added support for LICENSE_FILE, OPSYSVARS and @pkgdir. 2009-07-26 19:30:33 +00:00
wiz
dcc7e8e6e1 Add mpl-1.0 (Mozilla Public License), and allow it by default.
(We already had version 1.1 in pkgsrc, this is needed for at least ptlib.)
2009-07-26 09:18:29 +00:00
joerg
e322a401bc pkg_install-20070724:
- license handling: accept upper case letters. Keep license checks
  case-sensitive as done in the older pkgsrc logic. Document this.
  OK dillo@, schmonz@, wiz@
- pkg_info:
  - fix handling of non-packages, that are valid archives
  - invert order of pkg_info -r to better match the expectations of
    make update.
2009-07-24 19:06:45 +00:00
rillig
bbd1e53945 Don't suggest to use obsolete features. 2009-07-22 22:11:54 +00:00
sketch
3825c4c7f8 Use gzcat for the pkg_summary file, fixes Solaris. 2009-07-22 21:56:13 +00:00
wiz
55284558f6 Mark USE_DIRS as deprecated. 2009-07-22 09:14:15 +00:00
wiz
eaf2f861ca Remove USE_DIRS handling.
Warn about obsolete @dirrm.
Add an XXX for hicolor-icon-theme check.
2009-07-22 09:13:49 +00:00
wiz
d70523df21 Remove USE_DIRS from pkgsrc.
Shared directories can now be created independently by the pacakges
needing them and will be removed automatically by pkg_delete when empty.

Packages needing empty directories can use the @pkgdir command in PLIST.

Discussed and ok'd in thread starting at
http://mail-index.netbsd.org/tech-pkg/2009/06/30/msg003546.html
2009-07-22 09:01:16 +00:00
rillig
2ad0470488 Added the ability to resolve simple variable references of the form
${VARNAME} into their values.

This was intended to fix the false positive warnings about missing
distinfo files, but it cannot handle database/ruby-gdbm for example,
because _RUBY_VER_MAJOR uses pattern substitution. Run pkglint with
-Dtrace,misc and look for resolve_var to see what happens up to now.
2009-07-17 20:06:22 +00:00
rillig
7277e9a9f2 Variables that are defined by the package may be used as shell commands. 2009-07-17 04:39:33 +00:00
abs
f2c6e9bb56 Change the logic from
#ifdef MMAP_NOT_AVAILABLE
/* Code which uses mmap, but with a comment saying we don't want to use it */
#endif

to

#if !defined(MMAP_NOT_AVAILABLE) && 0
/* Code which uses mmap, but with a comment saying we don't want to use it */
#endif

so system without mmap() also work...
2009-07-16 18:23:32 +00:00
tron
76437887cd Add "mpl-1.1" and "zpl" to the license which are accepted by default. 2009-07-15 10:24:13 +00:00
tnn
e3ebd56cf2 pkg_rolling-replace-0.17:
Use "pkg_info -Q" to extract PKGPATH from installed packages instead of
"pkg_info -B" coupled with awk magic. The previous regexp didn't account
for packages that have PREV_PKGPATH set, and blew up while replacing
for example mail/sylpheed and multimedia/ffmpeg.
2009-06-17 08:12:18 +00:00
tron
252868c399 Complete last change to make this package build again. 2009-06-15 12:42:15 +00:00
joerg
76039544d1 Remove @dirrm related logic. 2009-06-14 22:57:58 +00:00
joerg
b1b32de709 Drop @dirrm related logic. Bump version. 2009-06-14 22:44:34 +00:00
joerg
a5d4de0646 Drop @dirrm logic. Bump version. 2009-06-14 22:40:45 +00:00
joerg
a5a59a39ee Drop now redundant @unexec ${RMDIR} 2009-06-14 21:02:45 +00:00
joerg
d289453e83 Remove @dirrm entries from PLISTs 2009-06-14 18:10:40 +00:00
joerg
71d359d9d3 Never run the license check for this package to allow a proper update
path.
2009-06-14 15:08:45 +00:00
rillig
9e01fe2e4b Documented the most recent change. 2009-06-13 06:33:35 +00:00
rillig
408d60d5e7 Introduced the emulation framework to pkglint. 2009-06-13 06:30:25 +00:00
joerg
413e163ddb pkg_install-20090610:
Improve diagnostic around license handling.
2009-06-10 20:15:11 +00:00
joerg
1d4c153068 Fix PLIST. 2009-06-10 11:03:47 +00:00
joerg
d596921ce7 pbulk-0.40:
Use plain sed to extract RCS IDs. GNU ident has issues with unexpanded
RCS IDs.
2009-06-08 16:02:52 +00:00
joerg
572a17ab80 Add forgotten file from pbulk-base split off. 2009-06-08 15:37:50 +00:00
imil
9dab4ce32b add & enable pkgin 2009-06-08 14:10:54 +00:00
imil
1876b2154b pkgin is aimed at being an apt / yum like tool for managing
pkgsrc binary packages. It relies on pkg_summary(5) for
installation, removal and upgrade of packages and associated
dependencies, using a remote repository.

OK'd by seb@
2009-06-08 13:58:26 +00:00
joerg
a4cc1cb439 Split pbulk into pbulk-base (the backend programs) and pbulk (rest). 2009-06-07 18:07:00 +00:00
joerg
4d5c60b865 pbulk-0.38:
Skip lines starting with # in the limited list.
2009-06-07 17:59:50 +00:00
joerg
f92f0ec9f2 libnbcompat-20090605:
Add support for stdbool.h. Tested by sketch on Solaris (where stdbool.h
only works in C99 mode).
2009-06-05 19:58:04 +00:00
joerg
0f6bbfec73 Fix typo. 2009-06-03 20:03:40 +00:00
ahoka
8f598fa767 Add miros to the default accepted licenses. 2009-06-03 16:45:17 +00:00
joerg
1435cf330d pkg_install-20090528:
I can't remember why the original pkg_install-renovation code disabled
extraction of ownership from packages, so reenable that.
2009-05-28 08:59:59 +00:00
joerg
bf2cff01f3 Sync license list with mk/license.mk. 2009-05-27 21:56:11 +00:00
joerg
c4f4275600 pkg_install-20090527:
Try harder to mimic the old pkg_delete behavior and provide a
topologically sorted output for pkg_info -r. Bail out on dependency
cycles based on recursion depth, currently 64K.
2009-05-27 20:26:03 +00:00
rillig
f60a2d91d1 Shell comments may be hidden using @, as they have no side effects. 2009-05-26 21:40:42 +00:00
wiz
c7c1892362 Avoid adding unnecessary lines for GConf.
Bump version to 2.10.
2009-05-19 15:17:27 +00:00
wiz
60f460ab01 Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT
block). Uncomment some commented out LICENSE lines while here.
2009-05-19 08:59:00 +00:00
wiz
12239df3b8 Sync default-accepted licenses with pkgsrc/mk/licenses.mk.
Bump version to 20090518.
2009-05-18 10:01:37 +00:00
wiz
9f06c66cbd regen. 2009-05-13 10:52:56 +00:00
wiz
6975c2b3fb usage: match man page more closely. 2009-05-13 10:51:46 +00:00
wiz
a13f8b378f Sort options in SYNOPSIS. 2009-05-13 10:51:33 +00:00
wiz
29fd77355e Sort options in usage. 2009-05-13 10:47:35 +00:00
wiz
b5abe92626 Sort options. Sort sections. Fix xref. 2009-05-13 10:47:02 +00:00
wiz
6431f24832 Use Fl and Ar in SYNOPSIS. 2009-05-13 10:43:19 +00:00
wiz
b1515beca9 More closely match man page. 2009-05-13 10:40:24 +00:00
wiz
12256aca25 Sort options. Update example NetBSD versions. Use Nx.
Fix xref.
2009-05-13 10:39:52 +00:00
joerg
5b3521a978 Regen. 2009-05-13 03:35:36 +00:00
joerg
6156ed74c0 pkg_install-20090513:
Add pkg_create -F, which explicitly provides the compression type.
2009-05-13 03:33:50 +00:00
joerg
ac97e66040 G/C PlayPen and PlayPenSize. 2009-05-13 03:18:05 +00:00
minskim
2de8351d52 "ranlib -t" doesn't work on Darwin; use "touch" instead. 2009-05-12 23:21:10 +00:00
joerg
34ca7f8f1b Fix spelling. 2009-05-10 21:11:43 +00:00
joerg
d0c565a211 Define int64_t if missing. Should fix PR 41396. 2009-05-09 01:45:10 +00:00
schmonz
fb067c2ce4 Attempt to apply a bit of DWIM to previous (PR 41368). 2009-05-07 00:23:45 +00:00
joerg
13d518c33c Deal with missing PATH_MAX as reported in PR 41368. 2009-05-06 16:57:31 +00:00
abs
4882946a9e Updated pkgtools/pkg_chk to 1.99
Add missing ^ to one PKGPATH= regex to ensure we do not pick up PREV_PKGPATH
or similar
2009-05-04 22:45:16 +00:00
wiz
4148b5110a Remove trailing whitespace. Spelling. Punctuation nits. Remove superfluous
.Pp.
2009-05-04 20:45:41 +00:00
wiz
e7e00f0a01 Add slash to pattern. From Steven Drake in PR 41092.
Bump PKGREVISION.
2009-05-04 13:43:39 +00:00
reed
e5e9ad0a4c Add PREV_PKGPATH and/or SUPERSEDES for various packages that
were moved or renamed.

This was for some from 2008 and 2009 and one from 2001.

Also I noticed that a CHANGES entry was wrong as said "Renamed"
when should have said "Moved" (lua-OSBF) because PKGBASE stayed the
same.
2009-05-02 16:21:43 +00:00
reed
93688a0e21 Add new metadata: PREV_PKGPATH and SUPERSEDES.
These will be available from pkg_summary(5) database.
To be used to find previous packages when a package is moved
or renamed. (Even though that is not recommended.)

Documented in pkgsrc Guide and in the pkg_summary(5) manual page.

Upcoming commit will have some packages modified to add them.
2009-05-02 16:14:37 +00:00
rillig
91d450247e Removed unnecessary code. 2009-04-26 16:08:40 +00:00
rillig
fdf64b0232 Optimized the doc/CHANGES handling to get the get_doc_CHANGES function
out of the top-15 time consumers, as measured by DProf. The execution
time decreased by about 15 percent.
2009-04-26 12:51:35 +00:00
rillig
73936ab2c5 Documented the recent addition of the PkgPath type. 2009-04-26 11:27:42 +00:00
rillig
6c95e4608d Added a check that ensures that all types in makevars.map actually exist
in the code, avoiding "Type not found" fatal errors at runtime. In this
case, only the variables *_SPECIFIC_PKGS were affected.

The real problem that induced the above change was the unknown type
"List of Pathname", which was a bug in the pkglint code itself,
introduced three years ago (revision 1.574).
2009-04-26 11:24:23 +00:00
rillig
913279e304 Added <para> tags so the document validates again. 2009-04-26 11:00:17 +00:00
rillig
aa1693c3f7 Removed unused functions. 2009-04-26 08:44:42 +00:00
joerg
2f64176828 Regen. 2009-04-25 21:32:45 +00:00
joerg
28926842fa pkg_install-20090425:
Add logic to evaluate license conditions. As frontend for pkgsrc,
pkg_admin gets two new commands (check-license and
check-single-license), which can be used to evaluate a given condition.
pkg_add will be changed to honour licenses at a later point.
2009-04-25 21:31:13 +00:00
joerg
5baf67d213 Regen. 2009-04-24 14:13:06 +00:00
joerg
dbe6fb0a8c pkg_install-20090424:
Make pkg_delete -d the default behavior, remove the option.
Remove pkg_create -R support (reorder @dirrm entries).
Introduce new plist command @pkgdir, which makes pkg_add add
this directory if it doesn't exist already and pkg_delete remove it
only if no other package has a @pkgdir entry for it. Otherwise
directories are pruned when the last file or directory in them is
removed. @dirrm is now a pure hint, if the directory doesn't exist, it
will be silently skipped.
2009-04-24 14:00:25 +00:00
joerg
76d122cd42 Constify. 2009-04-24 01:03:41 +00:00
joerg
3a4f443ed9 If the plist doesn't have a @name tag in it, fake one up based on the
directory name.
2009-04-23 22:13:00 +00:00
tron
a07d62d8a7 Update "rpm2pkg" package to version 2.2. Changes since version 2.1.1:
- Switch to 2-clause BSD license.
- Compile with extra warnings (again) if GCC is used as the compiler.
- Fix build warnings reported by "-Wsign-compare".
2009-04-23 21:38:02 +00:00
joerg
ee93491f09 Require all plist commands to be in lower case. Nothing depends on that
and it was never documented that it worked either way, so being strict
doesn't hurt.
2009-04-23 19:53:52 +00:00
joerg
3748569021 Remove support to spell of @cwd as @cd. 2009-04-23 19:38:14 +00:00
joerg
6dc281ec17 Remove remaining parts of @mtree support. 2009-04-23 19:35:52 +00:00
joerg
7216c47ead Remove support and documentation for @ignore_inst. 2009-04-23 19:34:04 +00:00
joerg
4d7ee3338c pkg_install-20090422:
Consider EOF during signature scan a fatal error. At the very least, the
package is missing the +CONTENTS file at that point. Correctly reset the
entry pointer in that case and make the meta data extraction stricter,
avoiding NULL dereferences for invalid archives.
Fixes pkg_info -X crash on empty files as reported by Daniel Horecki.
2009-04-22 19:18:06 +00:00
joerg
9ee86af3f2 Regen. 2009-04-22 19:14:16 +00:00
joerg
831ff9838f Document pkg_admin fetch-pkg-vulnerabilities -u. 2009-04-22 19:13:54 +00:00
schmonz
bda470b62f Include LICENSE in the template Makefile. Bump version. 2009-04-22 04:54:48 +00:00
joerg
1cde2cc7fd Always declare optreset.
XXX optreset should be removed here, it can't be used correctly with a
GNU getopt_long implementation without touching the environment.
2009-04-14 17:34:41 +00:00
joerg
f149e75ff0 libnbcompat-20090409:
Resort and improve getopt_long detection. Should fix issues on Interix
reported by mishka@ and QNX problems reported by Sean Boudreau.
2009-04-13 11:30:46 +00:00
reed
00b6b96445 Remove mention to install security/audit-packages (which no longer
exists) and suggest audit capabilities of pkg_admin instead.
Update version.
Regeneration of cat page also caught up with some previous cleanups.
2009-04-10 04:03:11 +00:00
joerg
8857e1e1dc NO_MTREE and NO_PACKAGE are obsolete. 2009-04-09 00:55:12 +00:00
joerg
368d71b62e Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions. 2009-04-09 00:48:06 +00:00
joerg
d0076c3403 Remove the remaining NO_MTREE definitions, it has been a nop for a
while.
2009-04-08 22:43:23 +00:00
tez
0521d1c465 Much simpler fix for PR/41125
Approved by agc
2009-04-07 23:42:17 +00:00
joerg
3238d0ace2 pkg_install-20090406:
Remove premature return that broke dependency tracking for pkg_add -u.
Fixes PR 41143.
2009-04-06 14:34:15 +00:00
rillig
195fbce98e take case-insensitive filesystems into account. 2009-04-05 13:05:16 +00:00
rillig
6d0f18a109 Added a warning for the old buildlink3.mk format. 2009-04-04 18:36:04 +00:00
imil
23b596b5db Corrected pkg_select version in DISTNAME, new PKGREVISION 2009-04-03 16:06:43 +00:00
joerg
2218854d15 Remove trailing \n in warnx call. Pointed out by seb@ 2009-03-30 19:26:39 +00:00
wiz
5a55bff264 Fix substitution per PR 41092 from Steven Drake.
Bump version.
2009-03-29 09:09:17 +00:00
wiz
41484e8c9d Fix build with gtk-2.16.
Convert to user-destdir.
2009-03-27 09:24:45 +00:00
joerg
375837bf0b pkg_install-20090326:
Fix diagnostic message to be less confusing to read.
2009-03-26 14:32:39 +00:00
wiz
db21e9345c Improve explanation for missing man pages for sbin/ programs. 2009-03-25 16:33:25 +00:00
rillig
13996e96d2 Added explanations for all warnings that currently appear in wip/dcc. 2009-03-25 14:12:58 +00:00
rillig
1feaf9ef94 + LICENSE_FILE 2009-03-25 14:12:04 +00:00
abs
82a1224f8d Updated pkgtools/pkg_chk to 1.98
- Avoid using -. to pkg_info
- Indicate when using a pkg_summary.gz rather than running pkg_info -X on all
  binary packages
2009-03-25 00:00:52 +00:00
joerg
22edeaef0a pkg_leaves-1.2: Silence error messages from pkg_info. 2009-03-23 00:31:15 +00:00
joerg
0e28d608e9 Improve markup. 2009-03-22 23:42:35 +00:00
joerg
cd6932eb69 libnbcompat-20090322:
Don't use getopt_long as replacement for getopt. It behaves different
and doesn't work well in combination with optreset. Instead use
getopt(3) from NetBSD if requested. Sync getopt_long.c with NetBSD while
here. Addresses issues with pkg_admin on Solaris reported by Tim Zingelman.
2009-03-22 22:33:13 +00:00
rillig
f02a5aab68 Added BUILDLINK_CONTENTS_FILTER.* 2009-03-22 08:17:02 +00:00
rillig
840cc6e053 Fixed the .if/.endif handling in the new buildlink3.mk format. 2009-03-22 05:57:40 +00:00
rillig
2a2a5da56d Oops. :) 2009-03-22 05:50:12 +00:00
rillig
744e7354f2 Updated pkglint to 4.91.
Important changes since 4.90:
- Fixed some issues with "package has been downgraded" warnings.
- The doc/CHANGES-* files can be checked individually now.
- Emit a warning if a package does not define PKG_DESTDIR_SUPPORT.
- In patch files, warnings about absolute pathnames, CPP macros and the
  like are only emitted if the line starts with a "+". If the -Wextra
  option is given, the context lines (starting with a " ") are also
  checked.
- Added support for the new buildlink3.mk format.
2009-03-22 05:47:25 +00:00
rillig
102e800816 Adjusted pkglint to the new format of the buildlink3.mk files, which is
pretty neat.
2009-03-22 05:41:44 +00:00
tnn
b2e981665d pkg_delete: add missing setprogname(argv[0]); 2009-03-21 16:43:50 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
hasso
32ef2c234f More portable way to print st_size which is off_t. Fixes build on DragonFly. 2009-03-20 08:50:51 +00:00
joerg
91e5d9ff5a Specify width for tag list. 2009-03-10 20:33:43 +00:00
rillig
542fef01a4 Implemented the suggestion by abs@ of reducing the number of warnings in
patch files. Up to now, the lines that only provide the context for the
patches have been checked for absolute pathnames and the like. Now, only
those lines that really add something to the patched file are checked.
The context lines are checked when the -Wextra option is given.

While here, added some comments to help me understand the code that I
wrote years ago.
2009-03-10 19:41:21 +00:00
joerg
8de13e20ef Use archive_read_finish and avoid double-free if the archive couldn't be
opened.
2009-03-09 20:01:22 +00:00
joerg
4b68a2dafa pkg_install-20090309:
Fix a double free. Reported by seb.
2009-03-09 19:58:45 +00:00
joerg
fcc1963a3e If writing to the archive failed, tell user the file it tried to write. 2009-03-08 17:26:23 +00:00
imil
c1458f988a Updated pkg_select to version 20090308
. fixed background color on VTE terminals
. fixed live pkgsrc over ftp
. fixed dependencies display
. code cleanup

OK'd by seb@
2009-03-08 16:13:24 +00:00
joerg
b02e7e47c4 pkg_install-20090307:
Simplify archive handling by depending on archive_read_finish and the
close callback where needed. Fixes a file descriptor leak as side
effect as reported by wiz.
2009-03-08 14:50:36 +00:00
snj
d15061e424 Add the pkgconfig file for libXi. 2009-03-08 00:03:37 +00:00
imil
db38909291 removed patches after upstream inclusion 2009-03-07 14:31:42 +00:00
imil
8b529acb26 . included patches/ upstream
. MASTER_SITES change
. fixed WRKSRC
. minor fixes
2009-03-07 14:26:27 +00:00
wiz
290a2cb7f2 Fix documentation -- dewey_cmp and dewey_match texts were swapped.
Noted and patch provided by Mihai Chelaru.

Bump version to 1.1.
2009-03-07 01:44:50 +00:00
tnn
5d68b98b8d joergs says the problem is with &&, so revert to revision 1.4 which should
be safe everywhere.
2009-03-06 15:53:21 +00:00
joerg
0e85145c05 Add explicit cast to silence GCC on comparing different signs. 2009-03-06 15:21:17 +00:00
joerg
4778d3c99e Merge lib/dewey.c rev 1.11 from pkg_install:
Avoid sign comparision issues.
2009-03-06 15:19:04 +00:00
joerg
2901543f5b Avoid sign comparision issues. 2009-03-06 15:18:42 +00:00
tnn
83c08423d2 fix previous:
actually, if our /bin/sh has some bug related to set -e,
it's better to write the test with if-then-fi instead.
2009-03-06 13:05:21 +00:00
tnn
2c965309de Invert logic of the package timestamp check, as at least ksh and bash
terminate the shell due to "set -e" when the [ ... ] part is false.
This behaviour seems correct to me, but I can't explain why this code
doesn't fail with our /bin/sh.
2009-03-06 13:00:29 +00:00
joerg
fbb7f3e773 Explicitly build local libarchive without ACL support, I don't want to
get into the mess of needing to figure out linkage on Linux.
2009-03-04 19:47:20 +00:00
hasso
78eb8fd89a Needs msgfmt. 2009-03-04 17:00:37 +00:00
joerg
9eb91efbb3 pkg_install-20090302:
Add new option -r to pkg_info, which works like -R, but expands it
recursively.
2009-03-02 17:13:49 +00:00
joerg
35f74daf9a Remove a close(-1) as hinted by wiz. 2009-03-02 15:30:45 +00:00
joerg
9b9d6a3ce9 Be nice to stupid version of TAILQ_INSERT_TAIL on Linux, that doesn't
create a block context.
2009-03-02 15:15:06 +00:00
joerg
af07339813 pkg_install-20090301:
Plug a number of file descriptor leaks.
2009-03-02 14:59:14 +00:00
joerg
89f19b4095 libnbcompat-20090302:
Add TAILQ_LAST.
2009-03-02 13:54:55 +00:00
wiz
1bb6451a10 regen 2009-02-28 16:25:46 +00:00
wiz
1f3593dd09 Fix typo. 2009-02-28 16:20:50 +00:00
wiz
f629212fdd Remove trailing whitespace. 2009-02-28 16:19:17 +00:00
joerg
5bdcb8f520 pkg_install-20090228:
Integrate the PKG_PATH logic for tightly with the find_archive logic:
- remember initial current working directory from the time PKG_PATH is
  processed, it will be used as reference for all relative entries
- remove now redundant fchdir dance in pkg_add
- pass down to find_archive if this is a top-level package (e.g.
  requested on the command line) or not; the location of top-level
  packages is searched for packages first and for URLs or path names the
  PKG_PATH itself is not processed (e.g. pkg_add foo/bar not look into
  PKG_PATH for bar). This addresses PR 33884 in a different way.
- document the rules for finding packages more explicitly
- allow specifying PKG_PATH in pkg_install.conf as well; environment
  takes precendence.
- remove PKG_PATH related logic in pkg_info(1), it doesn't deal with
  PKG_PATH anyway
- remove PKG_PATH, PKG_TMPDIR and TMPDIR description in pkg_info(1),
  they are no longer used
2009-02-28 16:03:56 +00:00
joerg
f9a9823e92 When checking for explicit conflicts, skip the old version checkif no
old version exists (e.g. because this is not an update).
Reported by Thomas Klausner.
2009-02-27 19:34:12 +00:00
joerg
f01efe1be7 Provide TAILQ_FOREACH_SAFE if it is missing. 2009-02-26 16:14:18 +00:00
joerg
816c3045cd pkg_install-20090226:
Always try to preserve the +PRESERVE file from the old package, even
when the new one has one as well. This fixes the update case for the
special case of pkg_install itself as reported by tron@.
2009-02-26 12:52:43 +00:00
wiz
108d0702df Recognize groff-1.20.1 on Linux.
From Stathis Kamperis on pkgsrc-users.

Bump version.
2009-02-26 07:05:10 +00:00
joerg
afe5fbacdd Be silent if querying a variable and no installed information exists.
"pkg_info -Q automatic foo" should not bitch.
2009-02-25 20:52:10 +00:00
joerg
f774c82b95 Include sys/poll.h and poll.h directly if they exist.
nbcompat/poll.h conflicts with the system header on Solaris
and is implicitly included by nbcompat.h already, if needed.
Fixes PR 40756.
2009-02-25 19:31:53 +00:00
wiz
e6bba895cc Bump date for previous. Remove trailing whitespace. 2009-02-25 16:57:51 +00:00
joerg
7fc8fb8212 pkg_install-20090225:
Rewrite pkg_delete to expand the list of packages to delete first and
reorder it if necessary. It will bail out if it knows in advance that it
can't remove a package. It will also fail for errors while removing one
package, unless forced. Add an option to remove automatically installed
packages that are no longer used.

The pkgviews support is kept, but untested. The error handling for
pkgviews most of all is as weak as before.

Basic review from hubertf@, man page changes by bad@.
2009-02-25 16:29:08 +00:00
joerg
2939cc9d49 Fix markup. From Tim Zingelman. 2009-02-25 15:19:00 +00:00
abs
dbeaf82136 Updated pkgtools/pkg_chk to 1.97
Fix PR 36641 - pkg_chk -g requires pkgsrc source tree, from Aleksey Cheusov.
2009-02-21 20:50:06 +00:00
wiz
9cf0bcd52a Sort options in usage. Break lines appropriately. 2009-02-20 07:50:15 +00:00
wiz
c7d27eda6c Use more and better markup.
Add EXIT STATUS section.
Sort options and their descriptions.
2009-02-20 07:46:15 +00:00
wiz
b6c7ef8f10 Use more and more proper markup.
New sentence, new line.
Add EXIT STATUS section.
Sort options and their descriptions.
Bump date for previous.
2009-02-20 07:41:15 +00:00
dmcmahill
7037193a4e Update to cdpack-1.9. This version teaches cdpack how to add packages
ending in .tbz as well as .tgz.  Should address the problem reported
in PR pkg/40515.  I am explicitly not using the mk.conf settings
for PKG_SUFX though because at run time we may or may not have a valid
mk.conf on hand that corresponds to how the packages were built.
2009-02-20 05:16:51 +00:00
joerg
f0209f8ffe Make sure that SYSCONFDIR is expanded in pkg_install.conf(5). 2009-02-19 20:27:36 +00:00
wiz
b0396c17a1 Some minor improvements. 2009-02-19 09:41:39 +00:00
abs
44dc2856b0 Fix PR 40151 - bootstrap of pkgsrc fails on Ubuntu 8.10
- At least Ubuntu 8.1 sets __attribute__((warn_unused_result)) on fwrite()
  http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509
  which means (void)fwrite(...) will *always* generate a warning, so
  set -Wno-error to bypass this in Linux.sys.mk
- Ubuntu 8.1 also jumps through hoops to ensure ARG_MAX is *undefined*, so
  work around this in tnftp and libnbcompat
2009-02-19 00:51:12 +00:00
imil
ac431e9fa5 Updated pkg_notify to 0.4.3
Changes since 0.4.2:
- added -c list-file (seb@)
- no more MASTER_SITES, using files/ instead
- removed README in favor of a man page
- corrected pkglint(1) warning about multi-line SUBST_SED

OK'd by cube@
2009-02-18 21:23:21 +00:00
joerg
5ff23c6137 bootstrap-mk-files-20090217:
Don't leak the unprivileged user for USE_DESTDIR=full.
2009-02-17 17:08:13 +00:00
joerg
fa27df019a Improve support for ancient OpenSSL releases. 2009-02-16 20:59:11 +00:00
joerg
3fe7d4b4fb Point to the various commands of pkg_admin that replace audit-packages,
not just fetch-pkg-vulnerabilities. Suggested by David Holland.
2009-02-15 18:20:32 +00:00
wiz
cbc999f306 Avoid installing files to /lib/udev.
Sort PLIST, and remove share/examples/packagekit.
Bump PKGREVISION for last.
2009-02-15 16:44:20 +00:00
joerg
bc8a5758f1 Ignore CHECK_INTERPRETER for two scripts likely not used on !Linux.
From a private discussion with jmcneill.
Mark as destdir safe.
2009-02-14 18:51:36 +00:00
joerg
d64aadd1db Tag as pkg_install-20090214 in preparation for updating NetBSD current. 2009-02-14 17:08:05 +00:00
rillig
f01f63d281 Remind the package developers that AUTO_MKDIRS is more convenient than
using the INSTALL_*_DIR commands or the INSTALLATION_DIRS variable.
Suggested by abs@ on tech-pkg@.
2009-02-14 10:42:20 +00:00