INSTALL/DEINSTALL script creation within pkgsrc.
If an INSTALL or DEINSTALL script is found in the package directory,
it is automatically used as a template for the pkginstall-generated
scripts. If instead, they should be used simply as the full scripts,
then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC
explicitly, e.g.:
INSTALL_SRC= ${PKGDIR}/INSTALL
DEINSTALL_SRC= # emtpy
As part of the restructuring of the pkginstall framework internals,
we now *always* generate temporary INSTALL or DEINSTALL scripts. By
comparing these temporary scripts with minimal INSTALL/DEINSTALL
scripts formed from only the base templates, we determine whether or
not the INSTALL/DEINSTALL scripts are actually needed by the package
(see the generate-install-scripts target in bsd.pkginstall.mk).
In addition, more variables in the framework have been made private.
The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are
more sensible names given the very few exported variables in this
framework. The only public variables relating to the templates are:
INSTALL_SRC INSTALL_TEMPLATE
DEINSTALL_SRC DEINSTALL_TEMPLATE
HEADER_TEMPLATE
The packages in pkgsrc have been modified to reflect the changes in
the pkginstall framework.
developer is officially maintaining the package.
The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list). Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
rather than PKG_FAIL_REASON, so that they provide useful error
messages in build logs, and so that they continue to work on platforms
where they aren't broken.
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.
pkgsrc. Instead, a new variable PKGREVISION is invented that can get
bumped independent of DISTNAME and PKGNAME.
Example #1:
DISTNAME= foo-X.Y
PKGREVISION= Z
=> PKGNAME= foo-X.YnbZ
Example #2:
DISTNAME= barthing-X.Y
PKGNAME= bar-X.Y
PKGREVISION= Z
=> PKGNAME= bar=X.YnbZ (!)
On subsequent changes, only PKGREVISION needs to be bumped, no more risk
of getting DISTNAME changed accidentally.
interfaces so we can compile netconsole on NetBSD-current again.
On a lighter note - lose two previous patches that are now in the main dist.
Release Notes
nocol v4.3.1 (Mar 2000)
Minor release to fix patches.
1. portmon.c » Missing close() left too many file descriptors
» Now running check_resp() after receiving EOF from the remote host.
Should fix problem of receiving data with no \n in entire data stream.
2. snmpgeneric » Allow specifying client port number
(joe@hole-in-the.net)
» Sets MIBFILE_v2 variable also for the mib file
3. webnocol.cgi Small fix to prevent possible loop.
4. nocollib.pl Changed 'ps' to '/bin/ps'
5. hostmon-client Changed 'ps' to '/bin/ps'
nocol v4.3 (Jan 2000)
1. Configure Added support for Rhapsody (jrowan@mandli.com) and BSDI
4.0
Detect 'whoami' for Solaris
2. armon, nrmon Handle different levels for registered and
unregistered routes.
Removes unregistered route status before deleting all knowledge
(frank@ansto.gov.au)
3. bpmon Fixed bug in parsing of bootptest
4. bsdsignal.c Restores old sigusr1 (dbird@varadm.com)
5. ciscomon Change in message for 'Inlet temperature'
6. cmu-snmp New CMU snmp library
7. etherload Changed includes to allows glibc and older libc in
linux.c
8. genweb.pl Fixed Y2K issue; added additional sounds
(jonz@netrail.com)
9. hostmon Patches for using 'scp' in addition to rcp/telnet
(frank@ansto.gov.au).
Changed regex for parsing of data lines. Now using split instead of
regex for $thresindex{}. Put a '^' in all the regexs in the config
file. Fixed bug with DFspace parsing.
10. hostmon-client Strip comments from mqueue output.
Allow running a 'local' file if it exists (frank@ansto.gov.au)
$port shoud be set AFTER getservbyname().
Added support for qmail
Detect ps flags
11. hostmon-clients/* Ignore NFS mounts. Look at NFS timeouts on
Solaris. Run iostat with time interval, Pagein/pageout code in linux
(-frank@ansto.gov.au). Fixed pstat in hostmon.osf1
(durrell@innocence.com)
12. keepalive_monitor Bug which kept old processes around
(avoltmer@replaytv.com)
13. logstats Added -r option (ornstedt@sonera.se)
14. mknrmon Create config file for novell routes (frank@ansto.gov.au)
15. modemmon Added conditionals to support use of 'finger' instead of
'telnet'
16. multiping Added -n option to not use DNS (nscd was slowing down
multiping)
17. ndaemon Added new Tcl/Tk interface for X-windows (lwl@godlike.com)
18. netconsole Added -T <termtype> on command line
(frank@ansto.gov.au)
Starts up without prompting if known good terminal type
19. noclogd Was creating error file in etcdir, changed to PIDDIR for
consistency
20. nocol C library event_to_logstr() fixed (dbird@varadm.net)
21. nocollib.pl Added return 1 at end of library. Fixed bug in
detecting $PSCMD. Support for BSDI 4.0 socket structures in perl
libraries. Now using send() and not syswrite(). Retry opening socket
if send fails.
22 notifier.pl $repeat was not working, fixed.
23 perlnocol Makefile.mid now extracts $event_t from
show_nocol_struct_sizes and edits nocollib.pl
24. portmon Bug in testing 'connect' only sites (paulg@apnic.net)
Now uses nonblocking sockets to process many sites in parallel
properly.
Added QUIT and SIMULCONNECT keywords.
Changed array to linked list to allow unlimited number of hosts to
monitor.
25. radiusmon Fixed bugs in port insertion (see rcslog)
26. smbmon New monitor for SMB routes (frank@ansto.gov.au)
27. snmpgeneric Replacement for snmpmon (elanda@comstar.net)
28. trapmon Complete rewrite to use the new CMU snmp library. Also
fixed bug in cmu-snmp/parse.c for() loop.
29. upsmon Monitor UPSs (frank@ansto.gov.au)
30. utility/Makefile Replace '@' with \@ in mail addresses.
31. webnocol.cgi Bug fix to strip trailing siteserverID in http
cookie. Handle IP addresses in nslookup (frank@ansto.gov.au).
Clean up $siteaddr before executing (limfung@pacific.net.sg)
- 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.