Commit graph

29 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
joerg
9e5700da2b Add DragonFly support. Honour system CFLAGS & friends. 2006-02-24 19:43:56 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
b12d62efb5 Add RMD160 digests. 2005-02-24 12:13:41 +00:00
snj
01d042353a Convert to buildlink3. 2004-04-25 07:39:25 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
jlam
b2677a2cb0 Add definitions for DEINSTALL_EXTRA_TMPL and INSTALL_EXTRA_TMPL if
USE_PKGINSTALL is "YES".  bsd.pkg.install.mk will no longer automatically
pick up a INSTALL/DEINSTALL script in the package directory and assume that
you want it for the corresponding *_EXTRA_TMPL variable.
2003-08-30 22:51: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
bdd0a7b223 Also set PKG_SYSCONFSUBDIR to "sendfile", because the program recognizes
several configuration files, aside from the two default ones.
2003-05-01 15:48:36 +00:00
jmmv
c10f159c4e Honour PKG_SYSCONFDIR. Bump PKGREVISION to 1. 2003-05-01 15:44:43 +00:00
wiz
f8ac2e5d42 Add patch to make sendfiled work again, provided by Matthias Friedrich
in relation with his PR 18642.
Bump to 2.1.0.2.
2002-10-17 19:18:01 +00:00
wiz
1ceea55f2b Fix DISTNAME (silent symlink update on the master site). 2002-10-13 16:30:41 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
agc
acfcce70d2 Rather than re-patching in a post-configure stage by means of a
script, do this at configure time by means of a conventional patch to
the configuration script.

Move the invocation of the post-configure stage to be a package
Makefile target, rather than in a script file.
2001-10-25 19:02:47 +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
wiz
836c5ff045 Fix MASTER_SITE. 2001-03-05 20:13:00 +00:00
wiz
088d0bc1f0 Upgrade to 2.1a (pkgsrc 2.1.0.1): Fixes a security problem.
Closes pkg/12097.
2001-02-26 11:34:54 +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
hubertf
3522db75da Fix typo. Report scrolled by on IRC... 2001-01-04 20:37:31 +00:00
wiz
c3af0c0cc1 No longer IS_INTERACTIVE. (Addresses pkg/9801.)
Move contents of post-patch script to Makefile.
Add DEINSTALL that mentions all the changes the install step does.
2000-09-09 19:51:38 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
agc
f4d5171de1 Add package patch checksum files. 1999-07-09 14:09:02 +00:00
hwr
30ffe10eec This has an interactive install script. Tell the Makefile so.
Pointed out by Matthias Scheler.
1999-06-15 18:34:26 +00:00
tron
720e9cf85e Correct reversed patch. Problem noted by Douglas Brebner in PR pkg/7765. 1999-06-12 21:33:19 +00:00
hwr
09574e254e Reference implementation of the SAFT (simple asynchronous file
transfer) protocol. Sendfile allows to send arbitrary files to a
remote user.
This ist version 2.1 of sendfile.
1999-06-06 17:08:36 +00:00