Commit graph

4287 commits

Author SHA1 Message Date
wiz
10f546ff07 Reset maintainer, he resigned. 2012-03-01 22:42:31 +00:00
joerg
3051013505 Revert last. Don't hide issues. Pass down MANINSTALL via MAKE_ENV to get
the correct value.
2012-03-01 21:40:00 +00:00
jklos
fac8a52e9e Don't fail if MANINSTALL is not defined. 2012-03-01 20:13:42 +00:00
hans
9c47fbd37d Remove NO_CONFIGURE=yes so that libnbcompat is built. Use LIBS when
linking. Fixes build on SunOS, also tested on NetBSD.
2012-03-01 16:31:55 +00:00
hans
786faee166 Wrap the fts function declarations in __BEGIN_DECL to make them usable
from C++.
2012-03-01 16:18:51 +00:00
joerg
aa3550ce73 Honour MANINSTALL. 2012-02-28 18:15:25 +00:00
jmmv
ceee6bc00c Update to 1.36:
- Allow specifying packages by their basename, without a category.  This
  affects the arguments to the 'build' command as well as the list of
  packages provided to AUTO_PACKAGES and BUILD_PACKAGES.
2012-02-27 22:42:26 +00:00
cheusov
c9de1347dc Update to 0.44.0
===================================================================
--   Version 0.44.0 by Aleksey Cheusov, Sat, 25 Feb 2012 11:43:56 +0300

  Improvements for report:
    - "^WARNING:" messages are logged
    - Segmentation faults are logged
    - Clean-ups in report_mini.txt and report.txt

  Packages are rebuilt recursively only if it necessary

--   Version 0.43.0 by Aleksey Cheusov, Mon,  9 Jan 2012 23:27:20 +0300

  Fix for signal handlers (SIGINT, SIGTERM, SIGQUIT).

  Fix in "Depends" stage.
  Unnecessary dependencies are not install anymore.

  Dependency graph. Latest available binary package is always used for
  BUILD_DEPENDS if it satisfies dependencies.
2012-02-26 17:39:21 +00:00
dholland
83e89661ee Fix typo in man page 2012-02-26 02:34:43 +00:00
wiz
04671f6d46 Fix typo in variable name. From dieter roelants in private email.
Bump date.
2012-02-22 23:56:03 +00:00
wiz
f3a3cced27 Revert unintended commits. 2012-02-22 15:39:43 +00:00
wiz
6aa41fe860 Mention putty-devel successor. 2012-02-22 15:31:34 +00:00
wiz
dbcb0be9fb Update "integration" section per
http://mail-index.netbsd.org/tech-pkg/2012/01/03/msg008325.html

Frm Julian Fagir in PR 46070.
2012-02-22 07:39:05 +00:00
wiz
9c4d7a302a Merge changes from src/external/bsd/pkg_install. 2012-02-21 18:32:14 +00:00
wiz
2a9a39bbba Bump version for pkg_add bug fix. 2012-02-21 14:54:41 +00:00
wiz
8f4a85152a Fix PR 46068 using the patch by Nicolas Thauvin:
pkg_add fails to install a package when subdiretories are missing
in the path to package directory in /var/db/pkg.
2012-02-21 13:32:24 +00:00
hans
23807c8ffc Don't use /usr/ucb/install. 2012-02-16 19:38:28 +00:00
sno
0baa2212bb Fix missing include of Pod::Usage for displaying help 2012-02-16 13:09:26 +00:00
hans
db10e1766f Don't depend on /usr/ucb/install on SunOS, use ${PREFIX}/bin/install-sh. 2012-02-15 15:30:25 +00:00
wiz
97c71b9290 Bump version for man page improvement. Set LICENSE. 2012-02-08 09:53:01 +00:00
wiz
b31506303d Mention to look out for RUBY_PKGPREFIX as well.
Simplify a bit. Bump date.
2012-02-08 09:52:20 +00:00
wiz
5fb1e22076 Revbump for
a) tiff update to 4.0 (shlib major change)
b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk)

Enjoy.
2012-02-06 12:40:37 +00:00
jnemeth
25a21835e1 add and enable pkg_p5up2date 2012-02-02 07:52:26 +00:00
sno
51d8aaf5d5 Importing pkg_p5up2date:
pkg_p5up2date checks for outdated Perl5 modules in pkgsrc against
the database from Comprehensive Perl Archive Network.
2012-01-30 06:10:58 +00:00
joerg
45b09d2281 pkg_install-20120128:
- Explicitly stat(2) if mkdir failed. errno detection doesn't work e.g.
on Solaris (PR 45289)
- Provide a stable order for package names that only differe in the base
name, not the version number.
2012-01-28 12:33:04 +00:00
wiz
6a32532460 Add zlib license. 2012-01-28 10:46:08 +00:00
cheusov
c8a67b8bd7 Fix PLIST 2012-01-26 14:14:28 +00:00
gdt
de26489f3b Add note about use of unsafe_depends_loose, from discussion with
obache@.

Note that there is an issue with unsafe_depends not getting set when
options change.
2012-01-25 15:20:35 +00:00
joerg
eb43d76b21 Shut up cast warning. 2012-01-19 18:53:32 +00:00
cheusov
ffd54de613 update cksums 2012-01-09 21:18:10 +00:00
cheusov
73f1694b1f Update to distb-0.43.0
Version 0.43.0

  Fix for signal handlers (SIGINT, SIGTERM, SIGQUIT).

  Fix in "Depends" stage.
  Unnecessary dependencies are not install anymore.

  Dependency graph. Latest available binary package is always used for
  BUILD_DEPENDS if it satisfies dependencies.

                   Version 0.42.0

  Support for cross-compilation. Build host dependencies are built on
  demand.  Patch for pkgsrc is needed.
  http://mail-index.netbsd.org/tech-pkg/2011/11/19/msg008003.html

  Support for libkver was added. In order to build packages for
  different version of NetBSD you need to set LIBKVER_OSRELEASE and
  LD_PRELOAD in distbb.conf.

  New transport program distbb_chroot was added.
  It is now the default for TRANSPORT.
2012-01-09 20:57:37 +00:00
cheusov
0c1fdb6805 Update to 0.57.0
pkg_subgraph_deps:
    - Support for dependency type

  pkg_summary2deps:
    - Options -1 and -2 were added
2012-01-09 20:54:28 +00:00
cheusov
5c63cade04 Update pkg_online to 0.13.0
- pkg_online_client now works dramatically faster.
  - Manual pages for pkg_online_client and pkg_online_find were added.
  - Bug in signal handlers was fixed in pkg_online_client.
  - License has changed from MIT to equivalent 2-clause BSD.
2012-01-08 15:16:37 +00:00
wiz
5a748ce860 Add openjdk7* to recognized java versions. From B.ICT A.P. deBROUWER Jr.
in PR 45789.
Bump version.
2012-01-06 01:26:44 +00:00
wiz
5a969f704c Add Mozilla Public License v2.0 (mpl-2.0) and mark it as default-acceptable. 2012-01-04 11:53:38 +00:00
joerg
ceb90340d8 Remove mtree related thoughts, they haven't been relevant for a while. 2012-01-03 12:57:20 +00:00
joerg
68b23d8501 Make sure that only the real RCS ID gets embedded into the output.
Bump version, remove revision.
2012-01-02 12:15:48 +00:00
joerg
22c3e707d8 Add bin to the buildlink filter to make sure that freetype-config is
visible from the modified PATH. Fixes ocamlgraphics.
2012-01-01 14:41:44 +00:00
joerg
16ab80deef libnbcompat-20111228: If requesting BSDish getopt behavior, also include
our own getopt_long. Add a message to signify this in the configure
output. Fixes issues reported by hans@ on Solaris with nbpatch. OK
during freeze by wiz@
2011-12-28 19:19:31 +00:00
wiz
f352834345 Fix build with gcc-4.5. 2011-12-21 12:12:53 +00:00
joerg
176defd0ce Fix license list. 2011-12-19 12:57:16 +00:00
ryoon
16a3647ba5 Update to 1.1
Fix PR pkg/45721

* Fix paths in substituted man pages.
2011-12-18 17:09:07 +00:00
ryoon
f66e355894 Add lppl-1.3c and epl-v1.0 to default_acceptable_licenses. 2011-12-15 22:16:55 +00:00
joerg
a321e51820 Don't disable builtins for GCC. 2011-12-05 22:40:21 +00:00
marino
7c330214d0 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
d45a3e2da9 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
a6317a2bab 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
06b2605251 Added 91 to PGSQL_VERSIONS_ACCEPTED 2011-11-29 12:39:00 +00:00
wiz
e216ce7964 Bump version for NOT_FOR_COMPILER improvement. 2011-11-28 16:50:35 +00:00
wiz
2efaed20bf Sync NOT_FOR_COMPILER list with supported compiler list. 2011-11-28 16:50:18 +00:00
cheusov
bb0a9af337 REPLACE_SH for SunOS<5.11 and friends 2011-11-27 21:44:20 +00:00
joerg
7ab88afd17 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
a14b056ca6 allow for non-standard values of PKG_DBDIR when packaging up binary packages 2011-11-27 00:10:38 +00:00
ryoon
fc907a352d Add gnu-agpl-v3 to the default list. 2011-11-26 19:19:42 +00:00
ryoon
aea3c15457 Update to 4.104
* Allow value "6" and "7" in USE_JAVA2.
2011-11-26 18:38:05 +00:00
dholland
13d89164ed 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
2f01f5a4c2 Fix the directory name for paexec. 2011-11-23 02:11:36 +00:00
marino
94c1d6a5e5 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
413ea4af8b REPLACE_SH for SunOS<5.11; ++pkgrevision 2011-11-22 21:07:29 +00:00
cheusov
3188f9a04f Fixes for SunOS<5.11 broken userlevel; ++pkgrevision 2011-11-22 21:03:07 +00:00
joerg
0f8db49c28 Ensure everything is prototypes correctly. 2011-11-22 18:13:09 +00:00
cheusov
94eb3f64bf 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
51a37cca54 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
87e515618f 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
f23591c719 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
2f1a0a864a 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
6cd87f5952 Missing forward prototypes. 2011-11-11 23:45:21 +00:00
cheusov
d5344ecdba 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
273ad17d49 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
353a8f714c Avoid overlap with libcrypto, the OSF linker can't deal with that.
Fixes PR 42142.
2011-11-08 18:20:03 +00:00
shattered
80e9cf5c64 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
5882f8bd2b Add Minix specific Makefiles to bootstrap-mk-files. PR pkg/45045 2011-11-06 21:01:30 +00:00
joerg
5ec08bad5f Fix dependency 2011-11-06 19:51:13 +00:00
cheusov
4e86190347 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
d6786f2c8b add and enable tinderbox-dragonfly 2011-11-03 03:38:49 +00:00
marino
dc0dc103e8 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
aee1f00e82 Recursive bump for archivers/libarchive buildlink addition. 2011-11-01 06:50:28 +00:00
sbd
94b37b4e43 Recursive bump for graphics/freetype2 buildlink addition. 2011-11-01 06:00:33 +00:00
sbd
8abe9604d7 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
277656f74f Add support for groff-1.18. From norc on pkgsrc-users. 2011-10-30 22:12:45 +00:00
imil
49d04e7647 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
c6bc0e5f4b Workaround for PR 45491 again. 2011-10-28 21:19:42 +00:00
sbd
c3c62bc382 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
8ff6ea6f25 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
9b554ab56a Remove MANDIR= from MAKE_ENV, it is not needed anymore 2011-10-19 21:29:42 +00:00
cheusov
b431a23c1a Document optional variable FILE_CKSUM. Approved by wiz@. 2011-10-19 21:15:39 +00:00
cheusov
3a1d767706 Fix support for non-default PKGMANDIR 2011-10-17 05:45:54 +00:00
cheusov
09ae464896 Update to 0.41.2
Fix partial bulk builds. Sometimes stage_summary fails when
  multivariant packages are built.

  stage_summary has been completely reimplemented.
2011-10-16 12:18:00 +00:00
imil
be0159faee pkgin-0.5.1
. Don't download packages when repository is a file:// scheme
        . Reduce verbosity when marking non-autoremovable packages
        . Keep going if unmet requirements are encountered and warn about
          it before proceeding
        . Always move pkg_install on top of the "to-upgrade" list
        . pkgin now depends on pkgsrc's pkg_install
        . Log timestamp
        . Better handling of pkg_install error logs
        . rec_pkglist() now takes a va_list
        . Added "requires" and "provides" to have a closer look on packages
          requirements
        . Globs can now be passed as an argument for package installation, i.e.
          # pkgin in 'mysql-server<5.1'
        . Export / import a list of packages as requested by wiz@
        . Operations tracing flag (-t)
        . Database silent migration
        . More flexible check_yesno()
        . Made pkgin in / rm yes by default
        . One struct to rule them all (Pkglist)
        . Got rid of many useless lists (speed x10, literally)
        . Introduced FULLPKGNAME as db member, speed ups searches
        . unique_pkg(): no more "many versions of foo", pickup newer
2011-10-16 09:26:36 +00:00
cheusov
d659867782 Update to 0.41.1
FIX: another problem with packages
  having non-empty PKG_FAIL_REASON.
2011-10-14 00:33:49 +00:00
wiz
d94659b9dd Make path absolute. Addresses PR 45450. 2011-10-11 22:16:52 +00:00
cheusov
20609a6910 Update my email 2011-10-09 10:02:44 +00:00
wiz
47f00f034b pkg_delete -R does not remove all leaves.
Fix from Anthony Mallet on tech-pkg.

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

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

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

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

  stage_report has been renamed to stage_send_report

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  New command "nih audit" for checking packages for vulnerabilities

  New command "nih history"

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

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

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

  nih refresh:
    - error message is output when download fails

  Minor improvements in "nih -h" and manual page

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

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

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

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

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

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

       0 > nih -y install editors/emacs22
       ...
       0 > nih -y install editors/emacs20 emacs-
       Package editors/emacs20 is not found
       1 >
2011-06-14 21:21:08 +00:00
dholland
159d04ce0a verifypc-1.5: replace improper seddery with a call to reduce-depends.awk.
(This avoids false positive reports in some circumstances, such as a pair
of depends on e.g. foo-2.0 and 2.0.3, and also for more complicated forms
of version numbers.)
2011-06-12 20:28:32 +00:00
obache
f38363508f recursive bump from textproc/icu shlib major bump. 2011-06-10 09:39:41 +00:00
obache
493869be07 replace shebang for perl.
Bump PKGREVISION.
2011-06-06 01:39:59 +00:00
cheusov
0b5644a935 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
221e34366e Provide DESTDIR and UNPRIVILEGED installation support
Add LICENCE
Fix a few pkglint warnings
2011-05-28 17:27:08 +00:00
wiz
cc93278de7 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
688f0388e2 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
ce8b2f2251 fix #!/usr/bin/env issue, oked by wiz@ 2011-05-23 08:28:42 +00:00
wiz
3f05e94fa0 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
4edbc5f023 +distbb, oked by sponsors 2011-05-18 19:41:11 +00:00
cheusov
d6928ae159 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
7998e1d89b typo 2011-05-18 07:13:10 +00:00
cheusov
89946b65b3 Add ftp://ftp.NetBSD.org/pub/NetBSD/misc/cheusov/nih/ to mirrors. 2011-05-17 19:53:21 +00:00
cheusov
69d524118b Add nih, approved by sponsors 2011-05-16 22:04:47 +00:00
cheusov
b198b2c8bc 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
f2b943aaf1 add pkg_online removed from pkgsrc by mistake 2011-05-16 21:46:13 +00:00
cheusov
24904fbdba imported to pkgsrc 2011-05-16 19:24:11 +00:00
cheusov
0ea37c006e Add pkg_online client and server, approved by sponsors 2011-05-16 19:20:43 +00:00
cheusov
89f802c082 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
6a3a8fe4f8 Mark PKG_APACHE_ACCEPTED as package-settable. 2011-05-15 16:30:59 +00:00
adam
38c8d7591f Added PKGCONFIG_OVERRIDE_STAGE 2011-05-12 12:31:05 +00:00
cheusov
77eda7fe01 +pkg_summary-utils, oked by sponsors 2011-05-11 20:07:29 +00:00
cheusov
f1633b6b0a Remove alt_names.txt imported by mistake
Fix .include "../../wip/<...>"
2011-05-11 19:28:41 +00:00
cheusov
772caef2f4 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
470413bfa1 Add mplusfont and cc-by-sa-v3.0 to the default list. 2011-05-08 10:53:22 +00:00
obache
df3841d3a4 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
0e2c97799a recursive bump from gettext-lib shlib bump. 2011-04-22 13:41:54 +00:00
adam
1ba2cd26ed Added postgresql-license 2011-04-22 08:16:42 +00:00
morr
8b49f986f4 Add linux to list for retaining the numeric OS version.
Fixes PR pkg/43622.
2011-04-20 09:57:25 +00:00
tron
553e257101 Make build warnings non-fatal unless developer mode is enabled. 2011-04-12 22:36:11 +00:00
tron
962a041c77 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
a1261d1384 Make MAKE_PROGRAM overridable by packages.
From Aleksey Cheusov in PR 44696.
2011-04-05 12:42:06 +00:00
wiz
e7b199c42c Allow GNU GPL v1 by default. 2011-04-01 13:11:07 +00:00
obache
b376d6b745 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
2e375b1382 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
7d9cc831fe Add unlicense to default_acceptable_licenses. Per advice by wiz. 2011-03-17 23:07:52 +00:00
imil
4e31babb54 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
af718095b4 Use slightly more modern packages in example. 2011-03-06 17:00:50 +00:00
seanb
7a007d5dc5 - 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
ae64166b69 Revert previous, the files were already there (in sort(1) order). 2011-03-05 08:36:54 +00:00
mrg
da1586a8ad add libX11-xcb.so* versions. 2011-03-05 02:55:00 +00:00
wiz
c66e654868 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
40e0dc4e07 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
1fdfca1cbf Add libX11-xcb files. Bump version to 0.65. 2011-02-26 09:30:10 +00:00
mrg
44c70f2e2c add libXext.so.7.1 2011-02-26 08:14:58 +00:00
imil
9a1a8b57f7 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
c28122ce4f . 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
066eeb4bd6 mdoclint cleanup. 2011-02-16 11:58:30 +00:00
imil
483daabc14 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
7dc0393c10 Added clang to PKGSRC_COMPILER 2011-02-10 12:08:04 +00:00
schnoebe
7e097075b6 Bring in boost-license, 1.0. Certified by OSI as an Open Source
license.
2011-02-06 18:54:49 +00:00
obache
bf5b630ba8 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
8664164105 Set LICENSE. 2011-02-02 23:35:51 +00:00
wiz
f35cc979f1 Add proper license for files by dillo and myself.
Ok dillo.
2011-02-02 23:35:11 +00:00
wiz
ed6f90d35d Fix wording in my licencse. 2011-02-02 23:34:48 +00:00
hubertf
46c270d2c7 Sign over copyright to TNF 2011-02-02 21:44:13 +00:00
wiz
189227b144 Clarify my license. 2011-02-02 10:36:20 +00:00
wiz
b4b2aed009 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
46a8472354 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
a50bf9ea3e This package needs someone to look after it - I'll do that for just now. 2011-01-31 07:25:03 +00:00
agc
2414a1bf68 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
7da118c1a4 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
231a384ac3 Add support for MirBSD to pkgsrc. Patches from Benny Siegert and
Thorsten Glaser.
2011-01-23 19:07:24 +00:00
obache
e92c759866 Allow emacs24, emacs23 and emacs23nox to EMACS_VERSIONS_ACCEPTED and
EMACS_VERSION_REQD.
2011-01-23 08:30:05 +00:00
imil
d01408075b 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
f2788bb13b add libXvMCW 2011-01-19 16:33:51 +00:00
tron
efef13daad 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
957c00ff36 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