Patch submitted by Thomas Klausner in private mail.
* Mention that the user has to create pkg/COMMENT and pkg/DESCR manually
This file should probably be moved to pkgsrc...
* Properly recognize .tar.bz2 archives (Patch by Antti Kantee <pooka@iki.fi>)
* Some old configure scripts don't understand --version and may nuke
our just-generated Makefile. Prevent this by cd'ing into $WRKSRC.
Among others:
* pkg_add: Quick pre-check if any conflicting dependencies are installed
(e.g. version X is installed, but version Y is required), before
downloading all depends, and bail out later.
* pkg_admin: add lsbest, lsall commands to interface the C functions
findmatchingname() and findbestmatchingname(); useful to expand pkg
patterns for shell scripts etc.
* pkg_admin: allow pkg without version to "check" command
* pkg_delete: properly deal with wildcards in pkg_delete -R
* More code cleanup, clearer error messages and minor enhancements.
This also fixes a bunch of PRs, sorry for not listing any numbers.
- Bugfix from Matthias Drochner WRT handling of WRKSRC
- url2pkg is now under CVS maintainance (othersrc/usr.bin/url2pkg), but
since there's no gateway for that to ftp/http, esp. none without
versioning), the old distribution site is kept.
I still wanted to point this out. :-)
+ add VENDOR so you can change TNF to a different one without hacking
the source code
+ add the -t flag to transform the package into a compressed file.
This is a change from the current behaviour which always compresses
the file, but you have to uncompress and transform it when you want to
install packages with the OS.
+ add the -d flag to change /var/spool/pkg to a different directory,
this is also for the support to build packages directly on a machine
from which you install new machines.
+ ARCH=\"Sparc\" is wrong, it has to be ARCH=\"sparc\" otherwise an
installtion of an package during an OS install would fail
+ duplicate the PKG= line and rename it to PKGDIR=, otherwise an
installation during an OS installation fails when you forget to add
the package to a different file.
+ fix symlinks properly
packages.7 man page up into its own distfile.
Depending on Operating System, install the manual page into the correct
place.
Update distfile checksum accordingly.
Changes from version 1.4:
+ Fixed an off-by-one error in Solaris package name generation
+ Ignore file names with embedded spaces - Solaris package tools
can't handle these.
- warn if there's a emacs backup file of a patch (patches/*~)
- warn if there's a checksum of such a backup file in files/patch-sum
- warn if there's something in the patch-sum file that's not in
the patches-dir
- vice versa
- warn if the checksums don't match
Also, check for work* instead of work for the workdir, needed if someone
uses OBJMACHINE. Some more small changes and a versioin bump will follow
in a second.
WARN: no ./files/patch-sum file. Please run 'make makepatchsum'.
WARN: no ./files/md5 file. Please run 'make makesum'.
WARN: RUN_DEPENDS is deprecated, please use DEPENDS.
WARN: LIB_DEPENDS is deprecated, please use DEPENDS.
Fixes PR 8861 by Dan McMahill <mcmahill@mit.edu>
Added functionality includes:
+ Remove the need to specify the Solaris package abbreviated name -
it gets generated from PKGNAME automatically
+ Add depend file generation, for all dependencies
+ Add support for symlinks in PLIST
+ Add support for conflicts in depend(4) file.
+ Create a compressed, stream package after the original package
is made.
Change since previous version:
PLIST entries are checked, and any directories which are incorrectly listed
as files in the PLIST will now be treated as directories in the generated
prototype file.
Changes include:
+ prefix is found automatically, using the new show-var target in bsd.pkg.mk
+ pkgname is found using the new show-var target, rather than the old egrep(1)
way, which failed for packages like xv.
Main reason is that the last update collided with an earlier one
on the same day, and people ended up with the wrong distfile
(content-wise).
New features in this version:
- Compile in full names for chown(1), chmod(1) and chgrp(1).
Fixes PR 8250 by Wiz <wiz@danbala.ifoer.tuwien.ac.at>.
- pkg_delete calls DEINSTALL script a second time after all the files
are removed, with "DEINSTALL $PKGNAME POST-DEINSTALL" as args
used to make it run on Solaris - force the osname to be NetBSD, since
pkgsrc is the same on all these different operating systems.
Bump version number to 1.75 accordingly.
pages that are installed will be gzip-compressed, if MANZ is set, or
not if MANZ is not set. If the package uses bsd-style .mk files, the
variable MANCOMPRESSED_IF_MANZ should be set to a value of "yes" in
the package Makefile. This replaces the previous method of specific
inclusion of bsd.prefs.mk, followed by a check for MANZ and
conditional assignment of MANCOMPRESSED.
Add appropriate documentation, and change all necessary ocurrences in
package Makefiles.
> > > A 'wrksrc=`cd w* ; echo *`' seems to fix it.
> > > :)
> The ls picks up the .extract_done file, which breaks things
> somewhat :)
=> Fixed
(Problem noted by David Brownlee <abs@anim.dreamworks.com>)
,
oder $REPLYTO. Set to appropriate string if neither is available.
Check if this is run in the fight dir - ../../mk/bsd.pkg/mk must
be available.
Most importang: move EXTRACT_SUFX to shut up pkglint - pointed
out by Thorsten Frueauf ages ago.
(fixed up to work a little better).
lintpkgsrc can:
-d : Check each Makefile's 'DEPENDS' matches current pkgsrc versions.
-i : Check versions of installed packages against pkgsrc.
-l : Run pkglint on every package in pkgsrc.
-m : Report md5 mismatches for files in 'distfiles'.
-o : Report old/obsolete 'distfiles' (not referenced by any md5).
-r : Remove any 'bad' distfiles (Without -m or -o, implies both).
names (i.e. the same as NetBSD's pkglibtool) is supported. Native
Solaris support (linux version_type) gives three digit .so names, and
the rest of pkgsrc uses two digit ones (sunos version_type), whether on
ELF or a.out NetBSD platforms, so standardise here.
Please note that this is only for the version of libtool that's used in
pkgsrc.