Commit graph

3728 commits

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