Commit graph

42 commits

Author SHA1 Message Date
jlam
daad0f3d6c Modify the pkginstall framework so that it manages all aspects of
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.
2006-03-14 01:14:26 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
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.
2006-03-04 21:28:51 +00:00
schmonz
42428df5a0 Express these packages' brokenness with BROKEN_IN=pkgsrc-2005Q4
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.
2006-01-04 04:29:05 +00:00
joerg
e44f28edd2 Fix errno usage. Add DragonFly support. Always use config.guess /
config.sub from pkgsrc.
2005-12-27 13:47:11 +00:00
schmonz
463f43526a Mark packages for pkgsrc-2005Q4 that don't build on NetBSD/i386
3.0. If one of these is important to you, please fix it in time
for pkgsrc-2006Q1, or it may be removed.
2005-12-26 23:39:30 +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
agc
b12d62efb5 Add RMD160 digests. 2005-02-24 12:13:41 +00:00
wiz
447633f868 Teach configure script about NetBSD 2* to make package build on NetBSD-2.0.
Use LIBTOOL_OVERRIDE instead of LTCONFIG_OVERRIDE.
2004-07-10 20:19:11 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
jmmv
ad1f113830 Fix two typos. 2003-05-01 16:00:38 +00:00
wiz
e8eff0b5b1 Update to 4.3.1nb3: add patch sent in from Mishka in private mail,
closing pkg/17833.  Fixes Strcasestr, and improves diagnostic message.
2002-08-08 17:48:59 +00:00
agc
5f89a1bec0 Remove diagnostic ttytype from debug messages - native curses doesn't
have the ttytype throw-back, and it's not exactly useful these days.
2002-06-28 08:42:34 +00:00
wiz
55a42435ca regen (patch-aj checksum mismatch) 2002-05-21 11:19:15 +00:00
abs
a0480c3ad4 Fix datadir location in perl lib, and allow subjects in mail sent from NetBSD
hosts. Bump to nocol-4.3.1nb2
2002-05-14 08:38:23 +00:00
hubertf
5542206cba Get rid of manually adding "nbX" to PKGNAME when a pkg was changed in
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.
2001-11-29 01:12:24 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
wiz
433b62957e Move to sha1 checksum, and/or add distfile sizes. 2001-04-21 11:23:08 +00:00
agc
2d6b6a009c + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:43:32 +00:00
hubertf
d32e698de6 Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
2001-02-25 04:17:35 +00:00
wiz
a13ea108bb Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:52:59 +00:00
skrll
77280e4fc8 Forgot this file in last commit. Its needed for the directory re-org. 2000-10-16 07:40:01 +00:00
skrll
3c78aa277b Re-organise use of directories to fit hier(7) better.
Include a DEINSTALL script that warns the user about generate files that
may be left.
2000-10-16 07:38:44 +00:00
skrll
cd086d76af Use created answers not template ones. 2000-09-04 19:01:36 +00:00
skrll
3ca5f7c5e6 Add patches to update config.guess to recognise macppc. 2000-09-02 09:35:43 +00:00
skrll
6070bc7156 Use internal libtool. Should fix PR#10916. 2000-08-31 18:02:22 +00:00
veego
17a95e3067 s/USE_PERL/USE_PERL5/ 2000-08-26 17:15:05 +00:00
abs
012a2d83ae fix checksums 2000-07-14 18:38:09 +00:00
abs
9aa9298845 Update to 4.3.1nb1
- Modify webnocol.cgi to find traceroute in /usr/sbin
    - Install the images and audio files in $PREFIX/share/nocol for later use
2000-07-13 15:34:10 +00:00
abs
840e41a1cd Update to 4.3.1, plus fix replace access to curses with appropriate standard
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)
2000-07-13 11:09:16 +00:00
wiz
eadd890e05 replaced a whole lot more commands with ${COMMAND} 2000-01-10 00:57:13 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
abs
aec5e5eff2 Update to nocol-4.2.2b4
Primary reason was to fix a buffer overrun in portmon which caused a coredump
whem trying to monitor certain webservers.
1999-12-06 21:09:12 +00:00
agc
7ee76df831 Look for the host program in /usr/bin, /usr/sbin and then $PATH, rather
than hardcoding a directory which changed in NetBSD 1.4. Pointed out by
Lex Wennmacher.
1999-10-27 09:18:29 +00:00
agc
f4d5171de1 Add package patch checksum files. 1999-07-09 14:09:02 +00:00
tsarna
5e9cc577b8 Automatically append HOMEPAge to DESCR files, and remove homepage URLs
from individual DESCR files that had them.
1998-08-26 16:50:48 +00:00
tsarna
6bd0d65c65 The Grand Homepagification:
- 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.
1998-08-20 15:16:34 +00:00
agc
05b88260d7 Add NetBSD RCS Ids. 1998-08-07 13:16:49 +00:00
agc
41bfb30737 Add NetBSD RCS Ids. 1998-08-07 11:08:53 +00:00
agc
f8e67602ad Move determination of the Fully Qualified Domain Name into the
post-patch:  rule.
1998-08-04 14:48:19 +00:00
agc
672f3070e9 Initial import of nocol-4.2b6, "an extensible network and system
monitoring utility" into the NetBSD packages collection.
1998-07-24 13:36:52 +00:00