Commit graph

3976 commits

Author SHA1 Message Date
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