+ 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.
- Add "-cplusplus" option to link C++ shared libraries with "c++rt0.0"
on "a.out" systems. This is required to get static constructors working.
Fixes PR pkg/6935 by Jaromir Dolecek.
- The binary is now called "pkglibtool-<VERSION>" so that "bsd.pkg.mk"
can depend on a certain version.
some perfectly sane packages do not have ${FILESDIR}/md5 files. Including
pkgsrc/pkgtools/pkglint, funnily enough.
In its place, introduce a checkmd5 subroutine, and call it if the file is
present. This subroutine checks for the presence of the NetBSD RCS Id in
the file.
Correct minor spelling mistake.
Don't substitute ${PORTSDIR} for ../.. if the OS is NetBSD.
Many thanks to Hubert Feyrer and Christoph Badura for the help with Perl.
the new -b and -B flags to pkg_create, so that any binary packages
that are created automatically get their build information and
versioning data attached.
Update bsd.pkg.mk to have PKGTOOLS_REQD= 19981026.
with GNU tar archives (which may include trailing rubbish) correctly.
This package does not register itself, so it cannot be deleted. It simply
overwrites the existing binaries with the newer version.
category.
pkg_add(1) from the pkgtools directory uses ftp -o - to retrieve
packages specified as URLs. This package will simply be installed
over the top of the existing ftp binary in /usr/bin, and does not
register itself, so that it cannot be deleted.
+ Add a pkg_install package, in the pkgtools category, which is a copy
of NetBSD-current's /usr/src/usr.sbin/pkg_install sources, as of
August 28th 1998. This version of the pkg_* tools includes a version
of pkg_info(1) which echoes matching package names, understands sh(1)
globbing, csh(1)-style {,} alternates, and Dewey decimal version
number relational matching.
- New, optional Makefile variable HOMEPAGE, specifies a URL for
the home page of the software if it has one.
- The value of HOMEPAGE is used to add a link from the
README.html files.
- pkglint updated to know about it. The "correct" location for
HOMEPAGE in the Makefile is after MAINTAINER, in that same
section.
rename portlint to pkglint, and keep the sources right under files.
This makes it much easier to maintain and keep up with changes to out
package system.
(even imake ones) that will install in /usr/pkg instead of /usr/X11R6.
This is NOT (yet?) the standard X11 pkg build procedure, but it does
provide a "way out" for users that do not want to pollute their /usr/X11R6
tree with pkgs.