Commit graph

3714 commits

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