Commit graph

27 commits

Author SHA1 Message Date
joerg
dea60f78d3 Fix build on DragonFly 1.6+. 2006-09-22 18:58:59 +00:00
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
joerg
47523967be Yawn. Also disable HAVE_STATVFS for DragonFly. 2006-02-24 19:12:18 +00:00
joerg
fa75f5aefe Add DragonFly support. Don't use statvfs on DragonFly for now. 2006-01-08 19:30:02 +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
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
rillig
47b63b92ea Replaced $f with ${f} to fix some pkglint warnings. Sorted PLIST. 2005-10-23 21:45:16 +00:00
agc
8758983939 Add RMD160 digests. 2005-02-24 09:59:20 +00:00
taca
ac04748d70 Move gcc specific options to configure script; address to pkg PR/28900.
And care for sendmail path for IRIX though IRIX has never tested
yatsvrs to work.

Bump PKGREVISION.
2005-01-08 09:39:56 +00:00
taca
1f09a256bd - Utilize bsd.pkg.install.mk framework.
- Add fallback sendmail path, should fix some buld build problem.
- Add -x option which enable XTND command support to yatd(8).

Bump PKGREVISION.
2004-12-15 13:18:02 +00:00
agc
753fad1fe4 Make this package a bit more statvfs-friendly, enables build on
NetBSD-current systems.
2004-09-10 10:41:59 +00:00
snj
8e954c73ca Spelling and English fixes. 2004-03-14 20:27:24 +00:00
taca
2029613d98 Update distinfo after removing patch-am and patch-an.
Noted by wiz@ and thanks much.
2003-11-13 07:02:39 +00:00
taca
f768fab291 - Remove extra patch to yatconfd. Those patches were accidently added
by mistake.
- Bump PKGREVISION.
2003-11-06 03:39:39 +00:00
taca
fe2216dcb8 - Add --enable-shadow since this package could work on platform
which have shadow password (SunOS at least).
- Reduce warning with GCC 3.3.1.
- Bump package revision.
2003-10-05 04:25:14 +00:00
jlam
2920a32c71 Prepare for pkgviews by making sure that passing VIEW-INSTALL or
VIEW-DEINSTALL to the INSTALL/DEINSTALL scripts don't cause errors.
2003-08-30 20:22:49 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
taca
4e51459baa - Update MASTER_SITES and HOMEPAGE. 2003-05-24 00:57:04 +00:00
wiz
f2c0357f0b Remove unnecessary empty lines. 2003-03-28 21:24:22 +00:00
heinz
a4c3534d73 Added $NetBSD$ tag according to mail from Thomas Klausner on tech-pkg. Some
slight formatting changes.
2002-07-15 22:57:27 +00:00
dmcmahill
f42446f98a LP64 bug fix. 2002-04-01 04:43:33 +00:00
taca
f5cbe12671 Make PKG_SYSCONFSUBDIR settable. 2002-02-13 15:53:10 +00:00
taca
2f5c7e19e3 Update yatsvrs package to 5.00p6. Changes from 5.00p5 are below.
Fix security hole bug for KILL/KILL9 function.
Under specific condition, kill(2) would be called with its first
arguement (pid) 0 or 1.  It would cause killing parent process,
inetd(8).

The bug was fixed as bellow.

* Avoid using atoi(3).
* More strict error checking with sscanf(3).
2001-12-21 03:55:13 +00:00
taca
964191578f o Use PKG_SYSCONFSUBDIR.
o Utilize PKG_SYSCONFDIR and nuke own CONFDIR variable.

Suggested by private mail from Johnny Lam <jlam@jgrind.org>.
Thanks jlam!
2001-12-19 04:11:07 +00:00
taca
34e4ca6d52 Honor PKG_SYSCONFDIR, don't hardcord to /etc/yatsvr5.
Note: Since OLDCONFDIR is some backword compatibility, it shouldn't
      depend on PKG_SYSCONFDIR.
2001-12-19 03:20:29 +00:00
taca
e380dbc133 Re-import yatsvrs with correct directory name. 2001-11-15 23:21:29 +00:00