Commit graph

33 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
minskim
e855e11410 Use VARBASE instead of hardcoding /var. This addresses part of
PR pkg/29896.
2005-10-01 17:25:32 +00:00
reed
80fcd7ce44 Use INSTALLATION_DIRS to pre-create all the needed directories.
(I saw that my pkg/share/examples was not a directory but a Count
configuration file.)
2005-04-05 20:19:13 +00:00
wiz
b8e0eb28f4 Remove FreeBSD RCS Ids. pkgsrc has diverged too much for syncing to be
useful.
2005-03-24 21:12:50 +00:00
wiz
809ad6f2f7 Add RMD160 checksums. 2005-02-24 14:08:26 +00:00
jmmv
772c5d9f3a Use ln -s to install a symlink, instead of install -s. Fixes problems on
SunOS.  From Jonathan Perkin in PR pkg/22928.
2003-09-24 10:33:15 +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
wiz
e8817c9088 Complete standardization of messages according to latest pkglint. 2002-09-24 12:29:55 +00:00
skrll
08bdd44549 mkdir -> ${MKDIR}
rmdir -> ${RMDIR}
rm -> ${RM} (${RM} added to PLIST_SUBST)
chmod -> ${CHMOD}
chown -> ${CHOWN}
2002-02-15 10:12:28 +00:00
zuntum
431e7a7dda Move pkg/ files into package's toplevel directory 2001-11-01 02:15:23 +00:00
agc
51ae629b9a It would appear that changes are made to the distfile on the MASTER_SITE
without updating the version number.

Point MASTER_SITE at MASTER_SITE_BACKUP, as the backup sites contain the
distfile that was originally checksummed, and update distinfo to have an
SHA1 digest and distfile size.
2001-05-03 13:53:09 +00:00
jlam
71e78c7453 Add libexec/cgi-bin directory to standard /usr/pkg hierarchy. Remove all
the per-package code that attempt to remove this directory if it's empty.
2001-05-02 22:22:42 +00:00
agc
8f972b049a + 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 12:12:16 +00:00
wiz
0ea9f975e6 conditionally remove libexec/cgi-bin 2001-02-27 22:11:44 +00:00
wiz
a0745845b3 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:21:28 +00:00
taca
6609349009 Update md5 checksum. Address to PR pkg/12182. 2001-02-12 09:09:18 +00:00
wiz
d4fce8d4e7 Unify format of MESSAGEs, and include RCS Ids. 2001-02-06 14:24:03 +00:00
wiz
4172b6b6d8 cleanup, be more verbose 2000-08-11 00:31:23 +00:00
wiz
deeb072fd9 Homepage updated. Distfile changed with the home page, but the changes are
only minor documentation updates.
2000-06-25 02:03:03 +00:00
wiz
9d3cf90836 add note about removing log file 2000-01-28 18:26:37 +00:00
tron
fa70d91ff2 Add missing file "libdata/wwwcount/sample.dat". 2000-01-28 08:16:49 +00:00
wiz
c78c6a75ed complete updating to current distfile 2000-01-27 00:59:17 +00:00
wiz
0910766b94 fix PLIST to work with current version of distfile. 2000-01-26 17:33:40 +00:00
rh
f08073b2cf Fix outdated patch to work with current version of distfile. 1999-12-12 08:46:00 +00:00
windsor
0214c3eb01 updated md5 hash 1999-11-23 20:54:22 +00:00
agc
00a16e3008 Add package patch checksum files. 1999-07-09 14:22:59 +00:00
tron
8523b36e67 Databases and logfiles should go to "/var" not to "${LOCALBASE}/var". 1999-05-14 23:23:58 +00:00
tron
2ac4e16dc6 "mkstrip.1" is in "${PREFIX}/man/man1", not in "${PREFIX}/share/man/man1". 1999-05-14 23:05:41 +00:00
tron
499ba6244b Adapt this package to NetBSD. Patches supplied by Greg A. Woods in
PR pkg/7561.
1999-05-14 22:05:23 +00:00
tron
add40a0b2f Initial import of FreeBSD's "wwwcount" package:
Access counter, clock and date for WWW pages
1999-05-14 21:59:46 +00:00