Commit graph

3911 commits

Author SHA1 Message Date
abs
66d7a18018 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
db664a1f5a bump date 2009-12-01 14:26:08 +00:00
rillig
40d043ed1c 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
06d34c3264 Applied patch from PR 38423 by Sergey Svishchev.
Increased the version number to 2.12.
2009-11-20 11:49:18 +00:00
sno
8d83d0d8bf 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
918eb85d97 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
4f6bbb3a46 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
e24a915741 allow USE_JAVA=build. 2009-11-02 02:48:56 +00:00
abs
356b1b4123 Clarify -u usage (noticed by bvd - thanks) 2009-10-28 21:29:00 +00:00
joerg
0f19c1cc66 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
24713bd9c9 Add 2-clause-bsd to DEFAULT_ACCEPTABLE_LICENSES. 2009-10-25 21:32:17 +00:00
joerg
b3bcc7f40b 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
0e3db5140e note that pkglint doesn't understand dual licenses 2009-10-21 20:08:01 +00:00
joerg
6f43c89cc7 pkg_install-20091021:
Add support to query arbitrary variables with pkg_admin config-var.
2009-10-21 17:10:36 +00:00
joerg
7436f37809 pkg_install-20091015:
Use directory index caching by default.
2009-10-15 12:41:41 +00:00
joerg
89d0ea1a9b 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
454d46f7ce 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
4f4ff8b361 improve error message 2009-09-27 18:44:27 +00:00
tnn
7239b9b9f5 depend on diffutils on Tru64 2009-09-20 11:57:16 +00:00
rillig
8384e82c76 Oops. Thanks to Martti Kuparinen for finding this. 2009-09-15 10:03:48 +00:00
rillig
53e8f72328 Sync with reality. Patch provided by Yuji Yamano via pkgsrc-users. 2009-09-15 08:26:21 +00:00
rillig
070443b6ba 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
518ff201f6 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
705d617c2b 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
af40b242b1 SuSE packages live in suse100 nowadays and for Python pick 2.6. 2009-09-10 21:22:56 +00:00
wiz
206a66b761 Remove references to python-2.3. 2009-09-09 11:16:56 +00:00
joerg
9a2074208a Retire Python 2.3 support. 2009-09-07 19:02:13 +00:00
joerg
d4a25a3252 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
526fb91c78 + pkgsrc-todo. 2009-08-30 10:40:59 +00:00
wiz
0a08f23b86 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
949cd3bc1f bump revision because of graphics/jpeg update 2009-08-26 19:56:37 +00:00
wiz
aa35d2e30c 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
b5765f0012 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
ad428b34a3 Pass down MAKE_ENV when calling make for inplace builds. 2009-08-17 18:43:49 +00:00
wiz
6230e4ab53 Mark up PKG_PATH. 2009-08-17 05:06:38 +00:00
joerg
1e91eeeb76 Don't leak the config file. 2009-08-16 21:10:53 +00:00
joerg
2841c9455c 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
83bceb29da 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
d4d5c6f569 Make joerg happy by using PYTHON_VERSIONS_ACCEPTED. 2009-08-14 15:37:40 +00:00
wiz
d7541c0ce4 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
0d220b21e1 Yet Another Groff Version, version 1.19.1, present in some release of Gentoo. 2009-08-07 07:48:59 +00:00
wiz
3cff7d823d regen. 2009-08-06 18:16:57 +00:00
wiz
c8d76e8b37 Bump date for CHECK_LICENSE. 2009-08-06 18:16:33 +00:00
wiz
779d19a03b regen. 2009-08-06 18:15:41 +00:00
wiz
51c3764b98 Bump date for -k. 2009-08-06 18:15:27 +00:00
wiz
d5a3eb0b21 regen. 2009-08-06 18:14:48 +00:00
wiz
b1f4998ba2 Bump date for previous. 2009-08-06 18:14:15 +00:00
joerg
2f0d4681e7 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
7dd297e86e 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
fd996953d0 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
fa83bf8922 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
f6e862073d Fixed the parser for shell commands, so that it recognizes the $$$$
variable.
2009-07-26 21:03:19 +00:00
rillig
257c9ea8a0 Added support for LICENSE_FILE, OPSYSVARS and @pkgdir. 2009-07-26 19:30:33 +00:00
wiz
3df580e3a0 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
926e40861c 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
00512090b3 Don't suggest to use obsolete features. 2009-07-22 22:11:54 +00:00
sketch
d90a01181c Use gzcat for the pkg_summary file, fixes Solaris. 2009-07-22 21:56:13 +00:00
wiz
24673752cc Mark USE_DIRS as deprecated. 2009-07-22 09:14:15 +00:00
wiz
59f4fd63a6 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
6f7c23cfe5 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
ea4dea64cd 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
2132a6a60b Variables that are defined by the package may be used as shell commands. 2009-07-17 04:39:33 +00:00
abs
7b593e2729 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
13ac82f025 Add "mpl-1.1" and "zpl" to the license which are accepted by default. 2009-07-15 10:24:13 +00:00
tnn
90f3085579 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
08032663bc Complete last change to make this package build again. 2009-06-15 12:42:15 +00:00
joerg
9bb0d96ea9 Remove @dirrm related logic. 2009-06-14 22:57:58 +00:00
joerg
2cc2196730 Drop @dirrm related logic. Bump version. 2009-06-14 22:44:34 +00:00
joerg
07506041fb Drop @dirrm logic. Bump version. 2009-06-14 22:40:45 +00:00
joerg
b913debbbc Drop now redundant @unexec ${RMDIR} 2009-06-14 21:02:45 +00:00
joerg
0b8fdfcdfa Remove @dirrm entries from PLISTs 2009-06-14 18:10:40 +00:00
joerg
0afed3061b Never run the license check for this package to allow a proper update
path.
2009-06-14 15:08:45 +00:00
rillig
74b09b8f70 Documented the most recent change. 2009-06-13 06:33:35 +00:00
rillig
70153a79c6 Introduced the emulation framework to pkglint. 2009-06-13 06:30:25 +00:00
joerg
ba9c59e3bf pkg_install-20090610:
Improve diagnostic around license handling.
2009-06-10 20:15:11 +00:00
joerg
9ee2fbbf2d Fix PLIST. 2009-06-10 11:03:47 +00:00
joerg
9b0458dcdd 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
4a4989c3be Add forgotten file from pbulk-base split off. 2009-06-08 15:37:50 +00:00
imil
e130f0ca1c add & enable pkgin 2009-06-08 14:10:54 +00:00
imil
3fac2ddfbe 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
692eaaba7d Split pbulk into pbulk-base (the backend programs) and pbulk (rest). 2009-06-07 18:07:00 +00:00
joerg
e892e17182 pbulk-0.38:
Skip lines starting with # in the limited list.
2009-06-07 17:59:50 +00:00
joerg
5e6db4532c 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
5b39a066dc Fix typo. 2009-06-03 20:03:40 +00:00
ahoka
4d3069948e Add miros to the default accepted licenses. 2009-06-03 16:45:17 +00:00
joerg
ba8a170ad8 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
c9597c1281 Sync license list with mk/license.mk. 2009-05-27 21:56:11 +00:00
joerg
57dea0dd70 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
8447379c6f Shell comments may be hidden using @, as they have no side effects. 2009-05-26 21:40:42 +00:00
wiz
2637e85e17 Avoid adding unnecessary lines for GConf.
Bump version to 2.10.
2009-05-19 15:17:27 +00:00
wiz
6ac11147ab 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
c617a12fd9 Sync default-accepted licenses with pkgsrc/mk/licenses.mk.
Bump version to 20090518.
2009-05-18 10:01:37 +00:00
wiz
599cbfc3e1 regen. 2009-05-13 10:52:56 +00:00
wiz
7f39bf13db usage: match man page more closely. 2009-05-13 10:51:46 +00:00
wiz
c3764604d0 Sort options in SYNOPSIS. 2009-05-13 10:51:33 +00:00
wiz
0c3e9ca420 Sort options in usage. 2009-05-13 10:47:35 +00:00
wiz
8c97d9adbd Sort options. Sort sections. Fix xref. 2009-05-13 10:47:02 +00:00
wiz
4d5c057ede Use Fl and Ar in SYNOPSIS. 2009-05-13 10:43:19 +00:00
wiz
39a4634025 More closely match man page. 2009-05-13 10:40:24 +00:00
wiz
139b0532b4 Sort options. Update example NetBSD versions. Use Nx.
Fix xref.
2009-05-13 10:39:52 +00:00
joerg
ce4af4c716 Regen. 2009-05-13 03:35:36 +00:00
joerg
eece12345d pkg_install-20090513:
Add pkg_create -F, which explicitly provides the compression type.
2009-05-13 03:33:50 +00:00
joerg
e415e1af48 G/C PlayPen and PlayPenSize. 2009-05-13 03:18:05 +00:00
minskim
79413b9a35 "ranlib -t" doesn't work on Darwin; use "touch" instead. 2009-05-12 23:21:10 +00:00
joerg
7a29a57263 Fix spelling. 2009-05-10 21:11:43 +00:00
joerg
495af78acf Define int64_t if missing. Should fix PR 41396. 2009-05-09 01:45:10 +00:00
schmonz
87a73a44fa Attempt to apply a bit of DWIM to previous (PR 41368). 2009-05-07 00:23:45 +00:00
joerg
2e673bd5e8 Deal with missing PATH_MAX as reported in PR 41368. 2009-05-06 16:57:31 +00:00
abs
2bbe6786ca 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
9bf8aa7ab1 Remove trailing whitespace. Spelling. Punctuation nits. Remove superfluous
.Pp.
2009-05-04 20:45:41 +00:00
wiz
1acb41e5b5 Add slash to pattern. From Steven Drake in PR 41092.
Bump PKGREVISION.
2009-05-04 13:43:39 +00:00
reed
676e059275 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
d547799b00 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
5be066d680 Removed unnecessary code. 2009-04-26 16:08:40 +00:00
rillig
f0de3ee1bb 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
8a91bf95da Documented the recent addition of the PkgPath type. 2009-04-26 11:27:42 +00:00
rillig
7342b186a9 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
5ba303ebb0 Added <para> tags so the document validates again. 2009-04-26 11:00:17 +00:00
rillig
7b522b5274 Removed unused functions. 2009-04-26 08:44:42 +00:00
joerg
1e5c0cbeed Regen. 2009-04-25 21:32:45 +00:00
joerg
655468e84f 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
4b25c7323c Regen. 2009-04-24 14:13:06 +00:00
joerg
15e7419096 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
d7225531ed Constify. 2009-04-24 01:03:41 +00:00
joerg
805721649e 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
66fc24a4b8 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
83f2c9f205 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
0479905498 Remove support to spell of @cwd as @cd. 2009-04-23 19:38:14 +00:00
joerg
3ec1f781b4 Remove remaining parts of @mtree support. 2009-04-23 19:35:52 +00:00
joerg
122c5a6f17 Remove support and documentation for @ignore_inst. 2009-04-23 19:34:04 +00:00
joerg
2f723afb55 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
3f0803ee0e Regen. 2009-04-22 19:14:16 +00:00
joerg
085002793a Document pkg_admin fetch-pkg-vulnerabilities -u. 2009-04-22 19:13:54 +00:00
schmonz
4d0b13ad66 Include LICENSE in the template Makefile. Bump version. 2009-04-22 04:54:48 +00:00
joerg
1cde2cc7fd Always declare optreset.
XXX optreset should be removed here, it can't be used correctly with a
GNU getopt_long implementation without touching the environment.
2009-04-14 17:34:41 +00:00
joerg
f149e75ff0 libnbcompat-20090409:
Resort and improve getopt_long detection. Should fix issues on Interix
reported by mishka@ and QNX problems reported by Sean Boudreau.
2009-04-13 11:30:46 +00:00
reed
00b6b96445 Remove mention to install security/audit-packages (which no longer
exists) and suggest audit capabilities of pkg_admin instead.
Update version.
Regeneration of cat page also caught up with some previous cleanups.
2009-04-10 04:03:11 +00:00
joerg
8857e1e1dc NO_MTREE and NO_PACKAGE are obsolete. 2009-04-09 00:55:12 +00:00
joerg
368d71b62e Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions. 2009-04-09 00:48:06 +00:00
joerg
d0076c3403 Remove the remaining NO_MTREE definitions, it has been a nop for a
while.
2009-04-08 22:43:23 +00:00
tez
0521d1c465 Much simpler fix for PR/41125
Approved by agc
2009-04-07 23:42:17 +00:00
joerg
3238d0ace2 pkg_install-20090406:
Remove premature return that broke dependency tracking for pkg_add -u.
Fixes PR 41143.
2009-04-06 14:34:15 +00:00
rillig
195fbce98e take case-insensitive filesystems into account. 2009-04-05 13:05:16 +00:00
rillig
6d0f18a109 Added a warning for the old buildlink3.mk format. 2009-04-04 18:36:04 +00:00
imil
23b596b5db Corrected pkg_select version in DISTNAME, new PKGREVISION 2009-04-03 16:06:43 +00:00
joerg
2218854d15 Remove trailing \n in warnx call. Pointed out by seb@ 2009-03-30 19:26:39 +00:00
wiz
5a55bff264 Fix substitution per PR 41092 from Steven Drake.
Bump version.
2009-03-29 09:09:17 +00:00
wiz
41484e8c9d Fix build with gtk-2.16.
Convert to user-destdir.
2009-03-27 09:24:45 +00:00
joerg
375837bf0b pkg_install-20090326:
Fix diagnostic message to be less confusing to read.
2009-03-26 14:32:39 +00:00
wiz
db21e9345c Improve explanation for missing man pages for sbin/ programs. 2009-03-25 16:33:25 +00:00
rillig
13996e96d2 Added explanations for all warnings that currently appear in wip/dcc. 2009-03-25 14:12:58 +00:00
rillig
1feaf9ef94 + LICENSE_FILE 2009-03-25 14:12:04 +00:00
abs
82a1224f8d Updated pkgtools/pkg_chk to 1.98
- Avoid using -. to pkg_info
- Indicate when using a pkg_summary.gz rather than running pkg_info -X on all
  binary packages
2009-03-25 00:00:52 +00:00
joerg
22edeaef0a pkg_leaves-1.2: Silence error messages from pkg_info. 2009-03-23 00:31:15 +00:00
joerg
0e28d608e9 Improve markup. 2009-03-22 23:42:35 +00:00
joerg
cd6932eb69 libnbcompat-20090322:
Don't use getopt_long as replacement for getopt. It behaves different
and doesn't work well in combination with optreset. Instead use
getopt(3) from NetBSD if requested. Sync getopt_long.c with NetBSD while
here. Addresses issues with pkg_admin on Solaris reported by Tim Zingelman.
2009-03-22 22:33:13 +00:00
rillig
f02a5aab68 Added BUILDLINK_CONTENTS_FILTER.* 2009-03-22 08:17:02 +00:00
rillig
840cc6e053 Fixed the .if/.endif handling in the new buildlink3.mk format. 2009-03-22 05:57:40 +00:00
rillig
2a2a5da56d Oops. :) 2009-03-22 05:50:12 +00:00
rillig
744e7354f2 Updated pkglint to 4.91.
Important changes since 4.90:
- Fixed some issues with "package has been downgraded" warnings.
- The doc/CHANGES-* files can be checked individually now.
- Emit a warning if a package does not define PKG_DESTDIR_SUPPORT.
- In patch files, warnings about absolute pathnames, CPP macros and the
  like are only emitted if the line starts with a "+". If the -Wextra
  option is given, the context lines (starting with a " ") are also
  checked.
- Added support for the new buildlink3.mk format.
2009-03-22 05:47:25 +00:00
rillig
102e800816 Adjusted pkglint to the new format of the buildlink3.mk files, which is
pretty neat.
2009-03-22 05:41:44 +00:00
tnn
b2e981665d pkg_delete: add missing setprogname(argv[0]); 2009-03-21 16:43:50 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
hasso
32ef2c234f More portable way to print st_size which is off_t. Fixes build on DragonFly. 2009-03-20 08:50:51 +00:00
joerg
91e5d9ff5a Specify width for tag list. 2009-03-10 20:33:43 +00:00
rillig
542fef01a4 Implemented the suggestion by abs@ of reducing the number of warnings in
patch files. Up to now, the lines that only provide the context for the
patches have been checked for absolute pathnames and the like. Now, only
those lines that really add something to the patched file are checked.
The context lines are checked when the -Wextra option is given.

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

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

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

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

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

Basic review from hubertf@, man page changes by bad@.
2009-02-25 16:29:08 +00:00