Commit graph

4045 commits

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