modify them (and that also handles unmodified files in a sane way by deleting
backup files that had no changes).
The pkgvi utility was contributed by Tomasz Luchowski <zuntum@eik.pl>
Fix bugs:
- $pkgdir/files wasn't created
- mkdir($pkgdir/patches) was missing its second argument
(needed at least for the version of perl I have installed)
Post-1.5 version that fixes the timeout-problem when installing via FTP
(the 10-minute timeout was on the whole transfer, not on a single file
inside the package).
lintpkgsrc changes:
Add '-S' - List packages not in category 'SUBDIRS', rename experimental '-S'
to '-c'. Rework -h output to group by type. Fix poblem with handling certain
glob expressions for depends, clean up manpage.
the new version of xpkgwedge. Changes from xpkgwedge 0.4:
* Redefine ImakeCmd to "imake -I$(PREFIX)/lib/X11/config" to
pick up X11 config files in $(PREFIX)/lib/X11/config before the
ones in the standard X11 tree.
* Install a program called "pkgxmkmf" that's actually xmkmf, but
checks in $(PREFIX)/lib/X11/config before the standard X11 config
directory.
* Create the host.def file in $(PREFIX)/lib/X11/config instead of
always in ${X11BASE}/lib/X11/config.
The benefits of this are:
1) xpkgwedge can now install into $(PREFIX) instead of always into
$(X11BASE).
2) Keeps the X11 tree "pure", and doesn't affect people who want
to run xmkmf and not include all the xpkgwedge stuff, even if
it's installed.
3) Packages that install config files (lesstif, xview-config) can
now do so in $(PREFIX).
4) People only have to use 'pkgxmkmf' instead of 'xmkmf', and
(hopefully) no other changes, if they want to use the config
files in xpkgwedge'd packages.
odd numbers for 'development' versions...
lintpkgsrc:
Rename set_pkgsrcdir to parse_mk_conf, and also extract PACKAGES as well
as PKGSRCDIR. Update check_prebuilt_packages to handle the new package data
structure that allos mulitple versions of the same package to be valid
(for -current packages etc) - Missed in previous changes.
lintpkgsrc tried to break DEPENDS up into a packagename and version
section, so if the version did not match it could lookup the matching
packages and suggest valid versions. Unfortunately this excessive
helpfulness meant globs that cover both sides such as
'perl-{5.0*,5.6.0nb2,base-5.[6-9]*}' gave it a certain degree of
indigestion. It also didn't handle the '.if ${BINNAME} != common'
correctly in www/ns-plugger-common/Makefile.
I believe now that any outstanding -i or -d warnings are genuine...
Rework substitution handling to correctly deal with
${DISTNAME:S/-/-gnome-/:S/$/nb1/} and friends. I remember being
in something of a hurry when that code was fist written. Slight
cleanup to not completely blow up on DEPENDS such as
perl-{5.0*,5.6.0nb2,base-5.[6-9]*}, though we still do not
handle globbing that includes packagename and version.
Update to 2.22
Major changes: .include lines are honoured now, and FILESDIR, PATCHESDIR,
PKGDIR, SCRIPTSDIR, MD5_FILE, and PATCH_SUM_FILE aren't hardcoded anymore,
but the corresponding Makefile variables are used.
Adapt lintpkgsrc to the changes.
Step to 2.20 to mark the occasion.
Reviewed by hubertf.
bsd.pkg.mk target, which was changed as part of the bulk package
infrastructure additions.
To protect against this happenning again, define a compile-time
definition called PACKAGE_DEPENDS_TARGET, which is by default
"run-depends-list", so that we can specify the bsd.pkg.mk target
at compile-time.
* should not cause any conflicts with the new bulk-package targets,
* didn't contain a reason for why they were disabled or
* were disabled for some false reason (and a IGNORE/BROKEN in the pkg's
Makefile would be more appropriate)
Change is a bug-fix - when finding out the pre-requisite packages, use
the "package-depends" target instead of "depends-list". Bug and fix
pointed out by Bernd Ernesti.
This includes a buffer overflow bug fix in pkg_add which was causing pkg_add
to segfault on teTeX on pmax. The bug was present on all ports though. As
far as I can tell this was a non-exploitable overflow.
(Users can still set it if they want, but it won't make much
difference).
In bsd.pkg.mk, check for the presence of the xpkgwedge package to
determine whether to use LOCALBASE for X11 programs. Set
_USE_LOCALBASE_FOR_X11 (an internal definition) if xpkgwedge is
installed. Remove BUILD_DEPENDS on xpkgwedge (it would always have
been true anyway).
Add a new X11PREFIX definition, which reflects the PREFIX for X11
packages, and set it to LOCALBASE or X11BASE accordingly.
Remove all references to USE_LOCALBASE_FOR_X11 from the xpkgwedge
package.
In all, make the installation of xpkgwedge a tad less clumsy.
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.
- 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.