Commit graph

1909 commits

Author SHA1 Message Date
rillig
5eac6ccafa Don't print "vague" diagnostics by default. A "vague" diagnostic is one
that has been in pkglint before I started hacking it. Mostly, they don't
contain a specific file location where to look for the cause or they are
generated using dubious code. The remaining warnings are only a few, but
they are mostly usable and valid.
2005-07-20 21:09:28 +00:00
rillig
634fbab5eb Don't show warnings for tool names that are enclosed in single quotes.
Replace ${PHPPKGSRCDIR} with ../../lang/php5 when expanding Makefile
variables. Show a warning if Makefile variables contain unresolved
substitutions after expanding them. Fixed a newly introduced bug that
prevented bsd.sites.mk from being found.
2005-07-20 21:04:16 +00:00
rillig
feedddadf3 Added a subroutine expand_variable that replaces certain known ${...}
substrings with reasonable values.
2005-07-20 18:20:27 +00:00
rillig
0e8288f766 Removed global variable for checking type conformity of Makefile variables. 2005-07-20 17:32:15 +00:00
rillig
4cd98ed128 Removed global variable %seen_Makefile_include. 2005-07-20 17:11:56 +00:00
rillig
0461cf930d Removed globally visible variable %predefined_sites. It is now a
"static" variable of the check_predefined_sites subroutine.
2005-07-20 17:08:59 +00:00
rillig
134872c680 Changed the default value of $pkgname from "" to undefined. 2005-07-20 16:56:24 +00:00
rillig
be35fe2dc1 Removed three more global variables. 2005-07-20 16:52:28 +00:00
rillig
696a1c3dc8 Removed global variable $pkgsrc_rootdir. 2005-07-20 16:38:10 +00:00
rillig
ff1cbbd6d6 The package's files are now processed by a large switch inside a loop
instead of many switches, each in its own loop. That way, each file is
only checked once.
2005-07-20 16:28:32 +00:00
hubertf
3d4abdba19 Sync over files from src/usr.sbin/pkg_install to fix PR pkg/30658:
Warn, but don't error out on pkgs that were built with IGNORE_RECOMMENDED.

Bump version to 20050718.
2005-07-18 09:14:04 +00:00
jlam
83147ffa68 Remove some unnecessarily strong dependencies on perl that resulted
from including perl5/buildlink3.mk.  These packages just need the Perl
interpreter, and can just add "perl" to USE_TOOLS instead.
2005-07-16 19:10:37 +00:00
jlam
3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00
jlam
e26a9ed756 Drop support for TOOLS_DEPMETHOD.<tool>. The new way to specify a
run-time dependency (DEPENDS) on a tool is to append a ":run" modifier
to the tool name, e.g.,

	USE_TOOLS+=	perl:run

Tools without modifiers or with an explicit ":build" modifier will
cause build dependencies (BUILD_DEPENDS) on those tools to be added.
This makes the notation a bit more compact.
2005-07-15 20:14:02 +00:00
jlam
bf9129c41e Drop distinction between PKGSRC_USE_TOOLS and USE_TOOLS by making
PKGSRC_USE_TOOLS go away.  There is now only a single USE_TOOLS variable
that specifies all of the tools we need to build/run the package.
2005-07-15 18:27:48 +00:00
rillig
65c501b6e6 Don't use reserved variable names (${_f_} => ${f}). 2005-07-05 01:09:17 +00:00
rillig
79ea6ab3c9 Removed the need for the global variable $opt_packagedir. No user-visible
changes.
2005-07-02 23:13:58 +00:00
rillig
c1037d8c75 Removed very old checks for files/md5, files/patch-sum, COMMENT and pkg/. 2005-07-02 22:31:17 +00:00
rillig
51b3b77959 Added a parameter to the checkfile_* subroutines that specifies the base
directory of the package. The other parameter, the file to check, is
always relative to the current directory.
2005-07-02 22:23:47 +00:00
rillig
e2d2fab6bc TODO: make all pathnames relative to the current directory. 2005-07-02 15:22:52 +00:00
rillig
2b6133ab33 The subroutine check_package gets the package directory as argument.
This is the first step to get rid of the global $opt_packagedir
variable. While doing this, I will hopefully notice all uses of relative
pathnames and repair them, so that pkglint can be called with multiple
arguments soon.
2005-07-02 15:21:13 +00:00
rillig
7d1d2b772c Restricted the warning option -Wsort to only apply to PLIST files and
therefore renamed it to -Wplist-sort. This option is disabled by default
to avoid excessive warnings. Apart from an unfounded suggestion
somewhere in the past, I don't see a reason why PLIST files should be
sorted. Remember: The option is still available, it's just disabled by
default.
2005-07-02 14:46:06 +00:00
rillig
76a7152077 Removed the check for expanded RCS tag completely, assuming no one will
ever need to distinguish between expanded and unexpanded RCS tags while
committing.
2005-07-02 12:02:58 +00:00
rillig
ebdbfd378d Clarified the warning message when an uncommitted file has an expanded
NetBSD RCS tag instead of an unexpanded one. A user had complained about
it.
2005-07-01 21:12:18 +00:00
seb
c7063627c4 This package's installation does not run mtree (NO_MTREE=yes) so use
INSTALLATION_DIRS to set up ${PREFIX}/man/man1.
2005-06-27 23:05:42 +00:00
rillig
607d58548d The subroutines checkfile_MESSAGE, checkfile_PLIST, checkfile_distinfo and
checkfile_patches_patch are called with path names relative to the current
directory, not to the package directory. The other subroutines will follow.
2005-06-27 19:28:08 +00:00
atatat
b1f7ff373a Actually use PKG_DBDIR and PKGSRCDIR values from the build process,
rather than just pretending to.  I know I meant this to work, but
somehow I forgot actually to make it work a long time ago.

Addresses a problem pointed out in private email.
2005-06-26 17:34:19 +00:00
rillig
7b546b206d Don't warn on empty scripts/ directories, which may occur during CVS
updates. Don't write logging messages for Makefiles that are being read
but for Makefiles that are included and for those whose inclusion is
skipped. Skip include files that contain Make variables. When checking
for direct use of shell commands, don't print the line continuation,
that is the trailing white-space and backslash. These changes lead to
pkglint-4.18.
2005-06-24 22:36:59 +00:00
jmmv
1d0097c87f Avoid creating an empty directory that is not used (and which didn't match
the PLIST).  Noticed by minskim@.
2005-06-19 14:42:48 +00:00
jlam
d0915c61c3 Fix inappropriate uses of ${LOCALBASE} or ${X11PREFIX} instead of
${PREFIX}.
2005-06-17 04:49:45 +00:00
jlam
e46a9dd380 Create directories before installing files into them. 2005-06-17 03:50:19 +00:00
jlam
2e07c2fb0d Update pkgtools/xpkgwedge to 1.14. Changes from 1.13 include using
the make required by the imake config files, which is specified by
${IMAKE_MAKE}.  This allows differing make programs to be used for
the main build versus xmkmf.
2005-06-14 20:12:51 +00:00
jlam
8be3e662e0 Update pkgtools/xpkgwedge to 1.13. Changes from version 1.12 include
invoking the make(1) program as "make" instead of hardcoding the
(wrong) path in ${MAKE_PROGRAM}.  This will rely on the tools framework
to have set up "make" to properly call the correct make(1) program.
This should fix cases where pkgxmkmf called the wrong make(1) program
on Linux systems.
2005-06-14 07:23:56 +00:00
rillig
16d5984a59 pkglint complains about empty DESCR files again. Fixes PR 30509. Updated
version number to 4.17.1.
2005-06-14 03:52:01 +00:00
jlam
6725d83ed5 Use += to not override previous USE_TOOLS setting. 2005-06-13 17:19:12 +00:00
jlam
5626c2a62f Update pkgtools/x11-links to 0.25. Changes from verison 0.24 include
synchronizing with the files listed in src/distrib/sets/lists/x* for
XFree86 4.5.0.
2005-06-10 03:44:07 +00:00
dmcmahill
b16a2ef3e0 add autoconf test for missing (like in openbsd-3.6) or broken (like
in AIX-4.3.2) PRIu64.  If it is missing or broken, provide one.  Should
address PR30375.  Welcome to pkg_install-20050607
2005-06-10 01:37:21 +00:00
rillig
25b5a911d7 Check for non-normalized dependency lines like package:../package instead
of package:../../category/package.
2005-06-07 17:53:08 +00:00
jlam
f7bc8ecc4c List shell tools that are needed by the pkg_view and linkfarm scripts. 2005-06-07 16:34:50 +00:00
jmmv
c0fc7c293d Update to 1.21:
- Make the EXTRA_MK variable be a list of files rather a single one.
  From brook at biology.nmsu.edu in PR pkg/30099.
- Directly recognize pkg_* commands to be executed within the sandbox
  (i.e., no need to use the chroot keyword).
  From Robert Elz in PR pkg/29749.
- Fix a typo in the manual page.
2005-06-06 18:50:07 +00:00
jlam
c65b1c3e4b Change the way the PLIST is generated. We now use a separate loop after
the files in the work directory are built to discover the directories
that need to be removed at deinstall time.  This fixes PR pkg/25325 by
Georg Schwarz.
2005-06-06 09:05:25 +00:00
jlam
be22067560 Fix the permissions on the directories installed by the x11-links
package in case the build user's umask is too strict.  This change is
mostly from the patch in PR pkg/29256 by Ian Leroux.
2005-06-06 08:42:53 +00:00
wiz
07a4a586a1 Remove USE_GIF. 2005-06-03 13:54:32 +00:00
wiz
cc0d324a0c Remove USE_IDEA. 2005-06-03 13:26:17 +00:00
wiz
f22fa09090 Remove USE_ESOUND. 2005-06-03 13:20:24 +00:00
wiz
540ce344e5 Include netdb.h for Solaris. From Neil Hoggarth in PR 30399. 2005-06-02 10:31:11 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
wiz
80d0469364 Fix grammar in comment. 2005-06-01 14:54:18 +00:00
abs
9e2946589a update pkg_chk to 1.59:
Fix fallout of 'sh -e' change in 1.58 - make pkg_chk -lb work again
2005-06-01 14:14:47 +00:00
wiz
e14eaa5810 Formatting improvements. Bump date for previous. New sentence, new line. 2005-06-01 11:38:45 +00:00
abs
7715a5d6f2 update pkg_chk to 1.58
- sort -l output so that dependencies always come before packages
  which depend upon them
- completely rework -u so that a list of packages to be update is generated,
  then all mismatched packages are removed, then the list is processed to
  add in packages. If -u is interrupted, a second run will resume the update
- update (-u) works with binary packages
2005-06-01 11:29:45 +00:00
rillig
80e3d86e1a Added PKG_PRESERVE, NO_PKGTOOLS_REQD_CHECK and NO_PKG_REGISTER. 2005-05-31 22:03:02 +00:00
rillig
89368bbb35 When checking the type of variables, the variable name must begin at the
beginning of a line. This fixes false warnings for variables that are
commented out. Added ${JAM_COMMAND} to the commands that may have
"install" or "test" as arguments.
2005-05-31 21:32:45 +00:00
rillig
c338f5dab6 Removed unused subroutine abspathname. Added the things it did to the TODO
list.
2005-05-31 21:15:06 +00:00
rillig
390ee38b79 Removed the -N command line option, which had been deprecated before.
Also removed -Cnewpkg. Instead, the warnings for new packages are only
emitted if the files have not yet been committed to CVS.
2005-05-31 20:44:02 +00:00
wiz
5baac3d7e2 Sync with base 1.53: Comment out too noisy warning. 2005-05-30 19:45:02 +00:00
wiz
810ffe10ac Update to 20050530:
Sync with base system: Ranges support and some other stuff that wasn't
pulled over.
2005-05-30 13:23:31 +00:00
minskim
36e75fce9c Sync with 20050529 in src/.
If a pattern does not have any suffix, assume that it matches both
".tbz" and ".tgz".  This allows to install binary package dependencies
that are not exact matches, but satisfy requirements.
2005-05-29 19:20:53 +00:00
dmcmahill
04a3acbd97 - pull in the changes from usr.sbin which prevent an over flow
of a 32 bit signed number when pkg_add-ing a binary package
  file larger than 512 Mb.

- Bump PKGTOOLS_VERSION (NOT!!! PKGTOOLS_REQD) to 20050527
2005-05-28 02:50:45 +00:00
rillig
95d1b6957c Renamed -Wexpensive to -Wbl3. By default this option is enabled. Added a
subroutine checkfile_buildlink3_mk that performs the basic Makefile
checks on buildlink3.mk, if it exists.
2005-05-26 07:07:00 +00:00
rillig
697bd74e7e Added a command line option -Cexpensive, which enables more expensive
checks. Currently the effects are that buildlink3.mk files are read in.
Moved around code in checklines_direct_tools to allow $regex_tools to be
used in the list of legitimate shell commands. Added a new rule that
legitimates tool names inside double quotes.
2005-05-26 06:50:09 +00:00
rillig
9747906084 Renamed $distinfo to $distinfo_file, to match the pkgsrc variable name.
When calculating the value of $distinfo, PKGDIR gets replaced with $pkgdir.
2005-05-26 06:26:10 +00:00
rillig
5d0fbe27cc Reduced the debugging messages to the ones that provide useful context
or additional information about the further checking process.
2005-05-26 06:17:20 +00:00
rillig
5ed85b2808 Made the regular expression for direct use of tools in shell commands
stricter. Changed capturing groups into non-capturing groups. Added log
messages for legitimate uses of tools in shell commands and variables.
2005-05-26 05:52:34 +00:00
rillig
f41381460b Marked a bunch of warnings as "vague". These warnings are enabled by
default, but can be disabled by using the -Wno-vague command line
option. These warnings will be replaced step-by-step with new-style
warnings.
2005-05-26 00:16:36 +00:00
rillig
99d190a2ee Added the dirname($file) to the search path for include files when
scanning package Makefiles. Changed the output format to include a
newline where necessary. Added the search path to the error message.
This might fix PR 30322.
2005-05-25 17:41:18 +00:00
wiz
c8925d9c73 Sort options, mark up URL. 2005-05-25 16:53:59 +00:00
wiz
31a5af7870 Add: * fatal error if RMD160 missing 2005-05-25 13:12:10 +00:00
reed
4582a2f631 For DragonFly. This is from PR #30262 from Joerg Sonnenberger.
I didn't test under DraginFly myself.
2005-05-25 02:23:15 +00:00
rh
a1db503eb4 Make this compile and install on Darwin 2005-05-25 01:40:05 +00:00
rillig
9637ca8c4c Added EXTRACT_USING, INTERACTIVE_STAGE and MANSOURCEPATH to the list of
variables that accept direct tool names.
2005-05-25 01:07:24 +00:00
rillig
bf484e0863 In checklines_direct_tools, quote shell commands, too. Unquoted shell
commands are too hard to recognize.
2005-05-25 00:53:35 +00:00
rillig
2bbdfbed9b Fixed a regular expression in checklines_direct_tools. Added debugging
output.
2005-05-25 00:00:24 +00:00
rillig
3b9d17fc0b Minor wording fix. 2005-05-24 23:50:07 +00:00
rillig
bc3f2c494f Rewrote the part of detecting direct use of tools in variables and shell
commands. The warnings are precise (file, line, varname, shellcmd) and
can be easily translated into Perl code. They might even be placed in
external files someday.
2005-05-24 23:49:03 +00:00
rillig
f975a8d8d5 When converting USE_PERL5 to USE_TOOLS, the user might want to set
TOOLS_DEPMETHOD.perl=DEPENDS.
2005-05-24 21:29:59 +00:00
rillig
bca3a34da0 Made perl a run-time dependency. 2005-05-24 21:28:21 +00:00
rillig
db31dbdd4b Converted USE_PERL5 into USE_TOOLS. Changed the SUBST stage to
post-configure. Removed DISTVER variable.
2005-05-24 21:24:30 +00:00
rillig
5c413007cc Added USE_PERL5. Added a comment when these definitions may be removed. 2005-05-24 21:19:11 +00:00
rillig
af77e6d3c0 Removed ONLY_FOR_PLATFORM, as I could not see any reason to keep it. If you
really need it, please consider using NOT_FOR_PLATFORM instead.
2005-05-24 20:28:39 +00:00
rillig
f519bf67f7 Replaced the algorithm in check_category with one that is fast, correct and
always terminates. I somehow got the old algorithm into an endless loop.
2005-05-24 20:17:31 +00:00
rillig
dfb3e8627f Renamed category_check to check_category. Using $dir inside
check_directory, as opt_packagedir wasn't named appropriately.
2005-05-24 19:14:19 +00:00
rillig
b4b5823590 Added stricter checking for the RCS Id tags. Now they are always required
to be in the first line of a file, except for MESSAGE files. Rewrote the
warning for RCS Ids in patches (binary => no-keyword).
2005-05-24 18:56:37 +00:00
rillig
e53d0fa6c3 Bugfix release for lintpkgsrc. Now I know why some packages use
${.CURDIR} when including other Makefiles. This is no longer necessary.
Welcome to 4.17.
2005-05-24 15:39:05 +00:00
rillig
22f3d4bdbf Add "." to the list of .include directories when reading package
Makefiles. This fixes PR 30322.
2005-05-24 15:37:17 +00:00
rillig
8a0fc0bbf6 Keep all Makefile lines for processing. Replaced the algorithm for
detecting contiguous empty lines. Better checks for pkg/ directory.
2005-05-24 14:29:52 +00:00
rillig
d1f3a37bf8 Allow multiple USE_TOOLS+= lines. 2005-05-24 12:38:41 +00:00
rillig
4eaf0c5194 Marked USE_GNU_TOOLS as deprecated. 2005-05-24 10:54:20 +00:00
rillig
48ea185224 Write white-space like in SUSv3 and the man pages. 2005-05-23 09:31:20 +00:00
rillig
4cac391a07 Added NO_MTREE. 2005-05-23 09:26:53 +00:00
rillig
7a70bca6f5 lintpkgsrc(1) honors the PKGLINT_FLAGS environment variable, which can be
used together with the -l option.
2005-05-23 08:35:41 +00:00
rillig
762d18bb06 Fixed man page handling on platforms that don't have the mandoc macros.
Together will all the other changes of the last days, this makes up version
4.16. Most changes affected the elimination of false warnings.
2005-05-23 07:50:40 +00:00
rillig
7b3ceac6de When opt_dumpmakefile is activated, only print the contents of the Makefile
once, with line numbers.
2005-05-23 06:52:35 +00:00
rillig
fb5b667885 Only warn about use of $(VARIABLE) if it is not preceded by another $.
This avoids false positives in sed(1) expressions.
2005-05-23 06:47:11 +00:00
rillig
0d0858257f Fixed a bug introduced by the message normalization patch (forgot a !
operator). Don't blame the user for using tool names in PKGSRC_USE_TOOLS
and USE_TOOLS definitions, as this is what they are for.
2005-05-23 00:10:42 +00:00
rillig
244d9e6203 Normalized capitalization of log messages. 2005-05-22 23:53:56 +00:00
rillig
5f24a05a63 Reformatted the initial comment. Changed my mail address to NetBSD.org. 2005-05-22 22:59:41 +00:00
rillig
160d9a4856 Updated the man pages. 2005-05-22 22:53:13 +00:00
rillig
22e5695f16 Don't check the order of the Makefile sections if a Makefile.common is
included. Also added a command line option -Wno-order to force this.
2005-05-22 22:50:41 +00:00
rillig
00ad112223 Made the check for non-empty RCS Id tags independent from the --verbose
command line option.
2005-05-22 22:37:01 +00:00
rillig
dbdfd3d542 Added NO_BUILD. 2005-05-22 22:28:24 +00:00
rillig
e412550a87 Extend the deprecated variables check to the included Makefiles, too. 2005-05-22 22:27:52 +00:00
rillig
b451fb4e8e Added USE_LIBTOOL and USE_PKGLOCALEDIR. 2005-05-22 21:50:08 +00:00
rillig
ab4df27f25 Extended reading of Makefiles to return both---a string containing the
complete Makefile with includes and a list of lines, also with includes.
This list of lines is the first step towards better error and warning
messages (including file and line number). A first effect of this change
is that the use of Makefile variables is checked even in the .include'd
Makefiles.
2005-05-22 21:08:33 +00:00
rillig
f4a7efea2e Simplified the way individual files are checked. 2005-05-22 18:41:44 +00:00
rillig
f6e977c745 Removed a check for *.tgz in the package directory. This check has been
here since revision 1.1, and is very unlikely to occur.
2005-05-22 14:54:18 +00:00
dmcmahill
0cb6a797ab add find to the tools list 2005-05-22 01:33:31 +00:00
rillig
fd8833f5d8 Changed the way trailing empty lines are detected. This adds line
numbers to the warnings and allows to check for trailing empty lines in
patch files. Embedded the check for files not ending with newlines into
the load_file() subroutine.
2005-05-21 12:29:02 +00:00
jlam
f35b224a50 SUBST_FILES.* must be relative to ${WRKSRC}. 2005-05-21 04:10:17 +00:00
rh
bf8e6722cb Use -U $lines instead of -$lines to avoid conflicts with the threeway diff
option.
2005-05-21 01:24:34 +00:00
rillig
f3c0f594e9 Don't include buildlink3.mk files when reading the Makefile. This
results in much less false warnings, but sadly adds some to the
koffice-18n packages. The main reason for this change is that the
execution time of pkglint is reduced by 20%.
2005-05-20 01:36:46 +00:00
rillig
41c6839453 Removed misleading comment. 2005-05-19 11:47:18 +00:00
rillig
da3f2e7c2d Simplified some uses of log_error(), log_warning(), log_info(). 2005-05-19 11:37:47 +00:00
rillig
80cc5559e3 Removed unnecessary code from checkpathname(). 2005-05-19 11:06:18 +00:00
rillig
a30475f574 It is now possible to invoke pkglint with multiple directories to check.
Fixed some instances where filenames were printed only relative to the
checked directory. Now the directory is printed, too.
2005-05-19 11:02:03 +00:00
rillig
7c37786f80 Fixed a typo in the command line options (conblank => contblank). 2005-05-19 08:42:36 +00:00
wiz
bf5a10413d 4.15.1: Fix PLIST (hi Roland!). 2005-05-18 21:06:58 +00:00
rillig
f3dd057ade Removed the check if ${PKGBASE} ends in a digit. This check only
produced false warnings, and it should be clear from the other package
names how PKGNAME should look like. It is even documented in the pkgsrc
guide.
2005-05-18 19:08:42 +00:00
rillig
859bc7f974 Removed the check for absolute filenames, as it has produced too many
false positive warnings. Added a reminder to TODO that a similar check
be added to pkglint. Welcome to 4.15.
2005-05-18 08:28:06 +00:00
dmcmahill
1537deec7e add prereq-readme 2005-05-18 04:49:38 +00:00
dmcmahill
4e133b7c80 import prereq-readme-20050518
This package is used to extract the tools needed by the README.html
generation using the new tools framework.  Suggested by Johnny Lam.
2005-05-18 04:48:24 +00:00
rillig
8c4803e6f8 Renamed PkgLint::FileUtils to PkgLint::FileUtil, for consistency with Util. 2005-05-18 03:48:43 +00:00
rillig
8f0986cd27 Moved print_table() from ::main to PkgLint::Util. 2005-05-18 03:47:24 +00:00
rillig
34a4367906 Renamed PkgLint::Utils to PkgLint::Util, just for fun. 2005-05-18 03:43:13 +00:00
rillig
971bef4d6e Removed unnecessary comment. 2005-05-18 03:38:03 +00:00
minskim
02085799ca Include bdb.buildlink3.mk to build on platforms without native Berkeley DB. 2005-05-16 17:35:29 +00:00
jlam
7425b543e8 Note that gtar is required by the package. 2005-05-16 01:15:30 +00:00
jlam
bc453eae61 Note that this package wants mtree, pax, and tar. 2005-05-16 00:09:33 +00:00
rillig
6f71ee99dc Added a command line option to disable warnings on unsorted things like
PLISTs and SUBDIRs in category Makefiles. The default behavior is
unchanged. Updated the man pages. Bumped PKGREVISION.
2005-05-15 02:38:56 +00:00
reed
96705cee02 Mention that it is also helpful for providing definitions and
functions missing from other Unix platforms.
2005-05-15 02:01:58 +00:00
reed
40717a23cb Add "devel" to categories. 2005-05-15 02:01:14 +00:00
rillig
be9e6c0d80 TODO: Check for C/C++ style comments in Makefiles. 2005-05-14 00:38:56 +00:00
minskim
f11b5df4e2 Honor *OWN and *GRP. 2005-05-13 19:01:18 +00:00
wiz
d0a8978cf5 Fix typo. 2005-05-10 22:30:15 +00:00
rillig
c4074738e5 Changed default pkglint_flags to -q -Wno-workdir. Slightly modified the
output format.
2005-05-10 19:07:07 +00:00
rillig
1e5c808685 Added command line option -q|--quiet, which suppresses the
errors/warnings summary printed before terminating. Updated the manpage.
Updated the preformatted manpage, which was horribly outdated.
2005-05-10 19:04:53 +00:00
rillig
69e2e00c3d Added more deprecated variables from mk/defaults/obsolete.mk. 2005-05-10 00:12:18 +00:00
rillig
21c7278253 Don't include ../../mk/java*.mk when reading in the Makefile. This avoids
false positive warnings for the deprecated PKG_JVM variable.
2005-05-10 00:09:18 +00:00
rillig
526576882f The TOOLS phase is not needed for pkglint. 2005-05-10 00:07:53 +00:00
rillig
a73ab09866 Output the error string when renaming a dependency file fails. This has
happened to me when I had a misnamed directory in the pkgdb directory.
2005-05-10 00:04:09 +00:00
peter
6802eccc9d * Add -n flag to limit the amount of results.
* Fix for when /usr/pkgsrc is empty.
* Bump version to 20050508.

From pancake@phreaker.net, tweaks and manpage update by me.
2005-05-08 15:26:36 +00:00
wiz
2392e577cd Refer doc/pkgsrc.html instead of Packages.txt (HOMEPAGE variable). 2005-05-07 22:24:04 +00:00
rillig
69bf1568b2 When detecting the pkgsrc root directory, don't rely on Packages.txt, as
that will be removed soon. Approved by wiz.
2005-05-07 22:21:23 +00:00
wiz
73b1f62fd4 Refer doc/pkgsrc.txt instead of Packages.txt. 2005-05-07 22:14:02 +00:00
rillig
7f2465a3a5 Replaced the shell here-document operator with qw(...). No functional
changes. Approved by wiz.
2005-05-07 21:22:40 +00:00
gavan
3c495e7aeb Move invocation of make into a do_test_default, and provide overridable
function do_test, which by default just invokes do_test_default.

For jlam's overriding pleasure.
2005-05-07 15:45:59 +00:00
rillig
0985068dda Swapped out the definition of deprecated variables to an external file.
Welcome to 4.13. Approved by wiz.
2005-05-07 15:10:24 +00:00
rillig
e490f7bac8 Don't use hard-coded /usr/pkgsrc, but @PKGSRCDIR@. Approved by wiz. 2005-05-07 00:04:33 +00:00
wiz
695ecfab67 Sync with usr.sbin/pkg_install/add/pkg_add.1 v1.59. 2005-05-06 23:03:41 +00:00
rillig
1976ccd594 Added --explain option. 2005-05-05 22:59:18 +00:00
rillig
e8827c4d28 Removed the -Wpatches command line option, because -Cpatches does the
same and fits better. Removed checking for the (deprecated) NO_WRKSUBDIR
Makefile variable. Approved by wiz.
2005-05-01 11:41:17 +00:00
rillig
b65911e7f3 Added TODO list for pkglint. 2005-04-30 11:50:42 +00:00
rillig
97e265c918 Read the definitions for MASTER_SITES_* from <mk/bsd.sites.mk> instead of
hard-coding them in the source code. Approved by wiz.
2005-04-29 22:22:09 +00:00
wiz
17382ccb9e Regen. 2005-04-21 14:56:19 +00:00
wiz
c7333326f6 Various fixes. 2005-04-21 14:55:44 +00:00
abs
fa2b344c7b update pkg_chk to 1.57
Two fixes to -l (list required binary packages to stdout)
  a) If a dependency is missing, display its name correctly
  b) Display any progress to stderr not stdout (for obvious reasons)
2005-04-20 15:32:25 +00:00
agc
775ed145fd Add and enable genrpm 2005-04-20 09:36:47 +00:00
agc
3375751ac4 Initial import of genrpm-1.0, a tool to generate rpm packages.
This package installs a script called genrpm, which is used to
	generate a Redhat Package Manager (RPM) package from an installed
	pkgsrc package.  It does this by generating a spec file, and using
	that to identify the components of the RPM and package them.

	If a pkgsrc tree is present on the system, a source RPM (or srpm)
	can also be generated. This will include the distfile, any pkgsrc
	patches, and the files used to accomplish the pkgsrc packaging.
2005-04-20 09:36:00 +00:00
tv
8953ea028d Remove NO_BUILDLINK from makevars.map -- no-op now, but changed the package,
so number this 4.12.1.
2005-04-12 15:12:33 +00:00
rillig
191194483c Took over maintainership. Suggested and approved by wiz. 2005-04-12 01:07:44 +00:00
rillig
d4533a8e71 Globally replaced calls to the log_* functions by shorter variants. This
helps avoid typing errors. Approved by jlam.
2005-04-12 01:06:58 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
tv
da33fdafbb Remove autogenerated USE_BUILDLINK3 line. 1.28. 2005-04-11 19:02:07 +00:00
tv
c85d0eb744 Remove USE_BUILDLINK3 support, and deprecate the name instead. 4.12. 2005-04-11 19:01:31 +00:00
riz
5d9b0df66a Update to 4.11:
Remove references to PLIST-mi, and substitute check for PLIST.common
instead.  Fixes pkg/29848 by me.  Approved by wiz.
2005-04-07 18:31:09 +00:00
xtraeme
2a2be0cc2d Add DragonFly to ONLY_FOR_PLATFORM. 2005-04-06 15:45:59 +00:00
xtraeme
99328876d8 Added pkg_select-20050403 (thanks to iMil for creating this great
frontend).
2005-04-06 15:23:34 +00:00
xtraeme
06ec969233 Initial import of pkg_select-20050403 from pkgsrc-wip (this package
seems to be really useful now, and it's ready to be on pkgsrc).

pkg_select will display a curses file browser for the pkg system. You can
browse pkgsrc and gather various informations about packages, like avail-
able version, installed version, comment and homepage. A simple paging
system lets you read information files.  You can browse both installed
and uninstalled packages, as well as dependencies list and perform vari-
ous administrative tasks to them. A package finder system helps you to
easily locate a package by its name.  pkg_select can handle either source
or binary installations when pkgsrc is installed on the local system, or
binary only when using the pkgsrc-over-ftp feature.

If no pkgsrc is installed, pkg_select offers ability fo fetch it, either
by FTP or CVS. It is also possible to update an existing pkgsrc via the
interface.

pkg_select user interface is quite self explainatory, every available
shortcut is shown and annotated.
2005-04-06 15:20:42 +00:00
reed
04584b7a76 Pre-create needed directory. (My man/man7 was a text file instead
of a directory; it was packages.7.)
2005-04-05 15:31:33 +00:00
abs
a697358a31 Update pkglint to 4.10:
Fix variable usage when checking distinfo Size values, and more
	than one package references the same distinfo file with different
	sizes.
2005-04-04 11:04:33 +00:00
atatat
c2d436d153 Fix the man page patch to match the current digest man page. While
I'm here, also adjust the length of DESCR to less than 24 lines
(requested in private email).
2005-03-31 05:02:24 +00:00
seb
df3ade20c1 Update to version 0.6.
Support NetBSD release like X.Y.Z_LABEL eg 1.6.2_STABLE.
2005-03-30 06:41:01 +00:00
agc
80584e4b7e Update this package after the additions of the new hashes to the digest
package.

Fixes PR 29795 from A L Meyers.
2005-03-28 20:52:55 +00:00
wiz
d75cb5b66b Improve a warning; from Lex Wennmacher in PR 29796. 2005-03-28 02:16:55 +00:00
hubertf
c6fc7178c3 Fix typo: hypen -> hyphen (twice!)
Noted by burnhard on #NetBSD (IRCnet)
2005-03-26 00:46:40 +00:00
minskim
6c25e87617 Include stdint.h because uint32_t is used. Makes the package build on
Linux again.
2005-03-24 15:37:40 +00:00
yamt
d64f41391e fix a memory leak. 2005-03-23 21:40:35 +00:00
agc
185921b533 Update digest to version 20050323. The whirlpool digest algorithm was
added in this version, taken from the reference code from the NESSIE
project. Passes regression test suite on NetBSD/{i386,sparc64} and
also on SunOS 5.9 sparc (thanks, Jonathan).
2005-03-23 14:32:19 +00:00
wiz
7db5367d53 Bump date for tiger. > -> \*[Gt] 2005-03-22 12:42:02 +00:00
agc
0efe6ebb73 Add support for the tiger algorithm to digest.
Bump version to 20050310.

The cabal known as the cryptographers might like to have a look at the
first two results in test 6 of the regression tests.
2005-03-22 10:16:15 +00:00
wiz
c4e778ff43 1.27: Do not add LIBTOOL_OVERRIDE to Makefiles by default -- the pkgsrc
default is usable for nearly all cases.
2005-03-21 22:33:05 +00:00
jmmv
599183622a Drop extra word. 2005-03-20 21:29:05 +00:00
hubertf
da4b4c92b9 Address PR pkg/24744 by Jarmo Jaakkola <jarmo.jaakkola@iki.fi>:
* ftp.fi.netbsd.org returns "257" in return to a "cd" command, accept that
   (in addition to 250 and 550). Seems to be allowed per RFC 959.
 * Make buffer for reply bigger (not too big, as it may hit performance).
 * Bump PKGTOOLS_VERSION (NOT!!! PKGTOOLS_REQD) to 20050318
2005-03-20 15:55:54 +00:00
tv
bea5691886 NROFF isn't used here; don't define it. 2005-03-14 20:18:40 +00:00
tv
b7e76060da Fix typo in previous. 2005-03-14 19:57:52 +00:00
tv
c22c724077 There's no need to manually format and install a nroffed manpage.
Install the source and let man(1) do it.
2005-03-14 19:56:15 +00:00
rillig
dfd5cc37b0 Never access argv[i+1] before you know that argv[i] != NULL. Approved
by wiz.
2005-03-11 21:20:15 +00:00
abs
f0b56b8383 update pkglint to 4.09:
Handle ! in .if conditionals, plus move slightly closer to the real
'make's behaviour when using defined() and empty(). Should fix pkg/28346
2005-03-07 22:21:15 +00:00
agc
7de1e6abd3 Bring over the clearer mismatch warning message from src.
+ state that the message is just a warning
+ make it clearer what an OS mismatch is
2005-03-07 08:41:58 +00:00
jschauma
94c59e608d On IRIX, only link in ABI specific files to avoid conflicts lateron 2005-03-07 04:03:09 +00:00
wiz
8a95eb4505 Instead of disabling the randrext and Xrandr packages on systems
which have no extutil.h header file, just make them depend on the
xextensions package which provides it.
Bump PKGREVISION for Xrandr and randrext.
Add builtin.mk file for xextensions.

jlam says ok.
2005-03-05 18:16:21 +00:00
wiz
14c8b0a575 Update to 1.56:
Add new -N option, showing for each installed package any corresponding
entries in pkgsrc/doc/TODO (to give you an idea what updates you could
be interested in :) ).
While here, sort options in usage.
Ok'd by abs@.
2005-02-28 00:43:48 +00:00
rillig
8d1bfd3b58 Minor wording changes. Fixed a bug. (The string "$line->text" does not call
the method text() on $line, so I had to get the method call out of the string
quotes. Approved by jlam.
2005-02-24 22:50:44 +00:00
agc
1469a3a220 Add RMD160 digests. 2005-02-24 12:28:30 +00:00
wiz
ba6d630659 4.07: Use correct variable in workdir-cleanup warning. 2005-02-23 11:45:16 +00:00
wiz
f423e8ead4 Claim maintainership. 2005-02-21 23:16:34 +00:00
hubertf
9a981bcfbe Sign over maintainership to tech-pkg@ 2005-02-21 20:26:08 +00:00
grant
485637d8af sync with src:
initialise a variable before using it. pkg_info binpkg.tgz would pass
garbage on the command line to tar(1).
2005-02-21 01:21:39 +00:00
grant
daa5a43372 sync with src:
cast return value of min_free() to uint64_t.

fixes pkg_add <binarypkg> on Solaris 8.
2005-02-20 09:17:25 +00:00
grant
e52a4d26ee turn off shlib dependency checking for openwin, which can have X shared
libraries dependencies missing from a "normal" installation.
2005-02-20 07:48:48 +00:00
grant
c6169cc95b don't use the implied source in the `bits' rule, just specify the
source. appeases make(1) on Solaris.
2005-02-20 05:55:51 +00:00
rillig
7e439d29ee Included the location of the warning or error in the messages for
everything except Makefiles. (Makefiles which will follow soon.) This makes
most warnings more useful. Together with the last few changes, we are
now at version 4.06. Approved by wiz.
2005-02-17 23:31:07 +00:00
rillig
cee6b6068c Rewrote the readmakefile routine. Now pkglint runs faster, and the log
messages are formatted nicer. It produces more (reasonable) warnings,
but also some more false positives. Did not increase DISTNAME, as the
change is not yet big enough. Approved by wiz.
2005-02-16 07:12:37 +00:00
rillig
ee2cdf2792 Changed the message about sorting PLIST files from FATAL to WARNING.
Approved by wiz.
2005-02-16 00:21:17 +00:00
grant
5285b5ad9c redo previous in a slightly different way to appease NetBSD make(1). 2005-02-15 23:35:42 +00:00
peter
771f99b146 Add -M flag to search for packages by maintainer.
Reviewed by wiz.
2005-02-15 21:24:36 +00:00
rillig
7b8bcfe094 pkgtools/pkglint: Added checks for proper quoting of shell variables
($ vs. $$). Welcome to 4.05. Approved by wiz.
2005-02-15 21:07:01 +00:00
wiz
d47bf7c083 Revert previous, since it breaks compilation on 2.0 and -current.
See PR 29387.
2005-02-15 16:04:42 +00:00
grant
a0c0ad2340 honour LDFLAGS when linking the `bits' binary. 2005-02-15 08:55:55 +00:00
cube
a64b7f6bd5 Make file(1) happy about plist-clash.pl. Fixes PR#29366 by Akio OBATA.
Welcome to version 4.04.
2005-02-14 22:14:48 +00:00
uebayasi
b24eb99218 Redo previous; follow the new idiom of quoting variables ("\"${XYZ}"\")
which may be passed to command line, and may contain white spaces.
2005-02-14 02:30:39 +00:00
rillig
f6103d78ce Pkglint now checks that the file entries in PLIST files are correctly
sorted. Welcome to 4.03.
2005-02-12 21:34:47 +00:00
rillig
3d47b94c7f Added type checking for Makefile variables. The typechecking is
experimental and has been announced on tech-pkg to make the package
developers aware of it.
2005-02-12 11:27:14 +00:00
rillig
45aa5f5b03 Added type checking for Makefile variables. The typechecking is
experimental and has been announced on tech-pkg to make the package
developers aware of it.
2005-02-12 10:59:20 +00:00
uebayasi
0552777918 Quote command strings to be passed to configure script. 2005-02-12 04:45:48 +00:00
grant
17e5afb82c regen from man page update. pointed out by jlam@ - thanks! 2005-02-11 23:35:02 +00:00
rillig
3f3a61f888 Fixed bug in checkline_trailing_whitespace. No warnings were emitted
before. Stripped non-leading "." path components in the log messages.
Welcome to 4.01.
2005-02-11 17:01:29 +00:00
grant
fbcc961f58 pull in binary pkg handling changes from src:
rework pkg_info(8) operating on binary packages, deprecating the `-.'
argument as it is no longer required (but is retained as a no-op for
backward compatibility).

the behaviour is now what is expected and intended:

        - when the pkg argument is path (absolute or relative) to a
          binary pkg, pkg_info operates on it.
        - when no pkg argument is given, or the argument is not a
          binary pkg path, pkg_info operates on the installed packages.

`pkg_info foo-1.0.tgz', `pkg_info /path/to/foo-1.0.tgz', etc. now work
correctly when foo-1.0.tgz is in the cwd.

bump PKGTOOLS_VERSION to 20050210.
2005-02-10 23:51:18 +00:00
jmmv
12c1cd1b60 Update to 1.3: show a more descriptive usage message, useful as a quick
reference.  Per tv@'s suggestion.
2005-02-10 10:18:03 +00:00
abs
76e611fa1f Update pkg_chk to 1.55
Update the final ${PKG_INFO} working on files to include -.
2005-02-09 09:50:26 +00:00
seb
8f19e8b6a5 Check for vprintf() in configure script. This fix the build on Solaris 10.
Regenerate config.h.in and configure files.
Thanks to gavan@ for the report and testing!

Bump PKGREVISION to 3.
2005-02-07 16:12:38 +00:00
wiz
214180afce Another fix for python and ruby packages, this time for installed ones.
Standardize the prefix so they can be compared with the packages
more easily (pkg_chk is better at this anyway, but since I fixed
the other cases already...).
Welcome to 4.00!
2005-02-05 15:39:44 +00:00
jlam
94d6c64d03 Pull in documentation improvements and a minor change to allow building
with WARNS=2 from src/usr.sbin/pkg_install.  No functional change and
no version bump.
2005-02-05 00:28:58 +00:00
simonb
60666b8ab8 Use "-P path" instead of "-P file" in the synopsis. 2005-02-05 00:26:41 +00:00
wiz
93e603a0c1 Update to 3.99:
Fix lintpkgsrc handling of python and ruby packages.
Remove invalid-dewey test that broke more things than it helped.
Add support for "pre" in version strings. Update comment about
recognised strings.
2005-02-04 15:46:58 +00:00
wiz
1ef60c593f regen. 2005-02-04 15:45:16 +00:00
wiz
8bddae333f Sort option descriptions in man page. 2005-02-04 15:44:50 +00:00
jlam
cb184155ea Update pkgtools/pkg_install to 20050204 (latest release from the HEAD
branch of src).  Changes from version 20050106:

  Teach pkg_add(1) and pkg_delete(1) to pass PKG_METADATA_DIR and
  PKG_REFCOUNT_DBDIR in the environment when running the +* scripts.
  PKG_METADATA_DIR is the location of the +* files after the package is
  registered.  PKG_REFCOUNT_DBDIR is the location of the reference counts
  database directory.  If PKG_REFCOUNT_DBDIR is left unset, then it
  defaults the the location of the package database directory with
  ".refcount" appended to the path, e.g. /var/db/pkg.refcount.

  pkgviews users should explicitly set PKG_REFCOUNT_DBDIR in the shell
  environment to ensure that all packages will use the same refcount
  database.

  These changes allow the +INSTALL and +DEINSTALL script to keep state
  in +* files within ${PKG_METADATA_DIR}, and to store reference counts
  in ${PKG_REFCOUNT_DBDIR} to handle usage of resources outside of
  ${LOCALBASE}.
2005-02-04 09:10:13 +00:00
jlam
92762b96b0 Pull in documentation/whitespace fixes and improvements from the HEAD
revision of src/usr.sbin/pkg_install as of 20050204.  I ran:

	cd pkgsrc/pkg_install/files
	./pkg_install2nbcompat .

Then I ran "cvs diff" and looked for portability-related changes that
were removed as a result of the import and resurrected them from the
repository.
2005-02-04 01:19:03 +00:00
jlam
6721ca445b src2nbcompat uses \n backreferences in gensub, which isn't supported in
the NetBSD 2.0 awk, so make explicit that we're using gawk.
2005-02-04 00:43:42 +00:00
jlam
e179abe26b s/pax/pkg_install/ in the usage message. 2005-02-03 23:53:23 +00:00
wiz
1c31e687fe Make it work with pkg_install tools that do not search
the file system by default. Replace one pkg_info with ${PKG_INFO}.
Welcome to 1.54!
Okayed by abs@.
2005-02-01 20:44:48 +00:00
peter
0566289df4 Only NetBSD, FreeBSD and DragonFly seem to have set/getprogname so include
libnbcompat for all other OS's.  This should address PR pkg/29152.
2005-01-31 14:58:31 +00:00
jmmv
2f6fe82ae2 Update to 1.2:
- Add support to explicitly select which wrappers are wanted on a system and
  which ones are not.  This is done through a configuration file that defines
  a filter with a set of actions and regular expressions (example file
  included).
- Add an examples section to the manual page with solutions for some FAQs.
2005-01-30 12:35:22 +00:00
abs
a6def97960 Update pkg_chk to 1.53.
- Substitute default values for GREP, PKG_INFO, and SED at buildtime
    - Add -P dir, to set binary package dir
    - Remove the need for a copy of pkgsrc when using -b
    - List 'missing' packages at the end alog wwith Installed and Failed
    - Output various messages to stdout and to logfile (if active)
    - As ever, there are few problems that cannot be helped by
      adding another layer of abstraction
2005-01-29 15:36:30 +00:00
wiz
82c8ef9038 Fix Dt, and improve formatting. 2005-01-28 12:59:57 +00:00
jschauma
f683d8cb1e Make this a bit more portable:
- get rid of asprintf
- use libnbcompat if necessary
- while here, get rid of unused variable
Bump date.

ok peter@, tv@

Non-NetBSD platforms may need to test this and adjust following the IRIX
example.
2005-01-27 20:42:23 +00:00
cube
e4e558b3bc It's LINK.c and not COMPILE.c when you want to produced a linked binary.
Bump version.
2005-01-25 23:39:30 +00:00
jmmv
95cf710e64 Explicitly use -g instead of relying on default behavior. 2005-01-25 16:48:22 +00:00
jmmv
525aed5185 Add the -g flag to explicitly select the "group mode" (previously known as
"package mode").  Use previous version bump for this change.
2005-01-25 16:47:20 +00:00
jmmv
3cfcc8be82 Update to 1.1:
- Add the destroy action, used to remove the alternatives database as well
  as any known wrappers.

- Use the rebuild/destroy actions at install/deinstall time respectively
  so that this package can be installed at any time and pick up automatically
  available alternatives from PKG_DBDIR.

Per suggestion from reed@ in tech-pkg@.
2005-01-25 16:27:37 +00:00
jmmv
a8d65113b1 Add and enable pkg_alternatives. 2005-01-25 13:05:21 +00:00
jmmv
5293f7ab59 Initial import of pkg_alternatives, version 1.0:
pkg_alternatives is a tool to manage the alternatives system provided by
The NetBSD Packages Collection, also known as pkgsrc.  It creates, configures
and destroys generic wrappers used to run programs with similar interfaces.

No objections in tech-pkg@.  Agreed with jlam@, who has provided lots of
design suggestions.
2005-01-25 13:00:46 +00:00
jklos
4e8025127a The "make update" target did not clean up after itself, which has caused
problems when people run "make update" without checking to see if anything
old was still around. "make update" now cleans after installing.
2005-01-22 01:03:45 +00:00
tv
8ebd1f156d Make build on Interix, which has a slightly older <sys/queue.h>. 2005-01-21 02:18:23 +00:00
tv
dd3fb13468 Enable on Interix. 2005-01-18 22:37:04 +00:00
tv
fc9253dd71 Don't build catpages inside the package. Not every system has a nroff
shipped standard.
2005-01-18 22:32:00 +00:00
tv
33ce58ee7d Add libiberty to make this build on Interix.
Don't build catpages inside the package.  Not every system has a nroff
shipped standard.
2005-01-18 22:03:55 +00:00
cube
bfcdc04fd8 Add support for versions such as 2.0_STABLE.
XXX:  actually, it would be nice if pkg_add didn't complain when adding a
      2.0 package to a 2.0_STABLE system.
2005-01-14 17:15:21 +00:00
jmmv
bdd7489266 Update to 0.4.2: some documentation was included, so we can get rid of the
MESSAGE.
2005-01-14 10:04:01 +00:00