Commit graph

44 commits

Author SHA1 Message Date
wiz
991dcdf978 Mark as BROKEN_IN pkgsrc-2006Q1 according to
ftp://ftp.NetBSD.org/pub/pkgsrc/misc/kristerw/pkgstat/i386-3.0/20060501.1050/broken.html
2006-05-18 20:29:58 +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
rillig
c1fb3b7795 Fixed all pkglint warnings, based on the previous revision, since martti's
changes have been incorrect in some places.
2006-02-18 14:22:13 +00:00
martti
fcf951a43d Fixed warnings found by pkglint -Wall. 2006-02-17 07:55:57 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
joerg
6a585133a6 Use INSTALL_EXTRA_TMPL and DEINSTALL_EXTRA_TMPL. Fix the output of
DEINSTALL to only print the delimiting line if the opening line was
written as well. Makes the output a bit nicer when no file was
modified.
2006-01-22 00:57:02 +00:00
joerg
e880439d80 Fix errno deetection and use of the test results. Isn't it a lot better
when the conditional matches the variable name from the test case?
2005-12-29 13:46:16 +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
tv
eee7d9e897 Interix has unsetenv(3), but it has no prototype, so compilation fails
with -Werror.  Fall through to setenv(..., "", 1) block instead by skipping
the HAVE_UNSETENV block.
2005-11-08 19:25:12 +00:00
reed
bd30c0bdb7 Fix a few paths. Remove "etc/" since already has PKG_SYSCONFDIR.
And use RCD_SCRIPTS_DIR for the path to rc.d script.
2005-10-11 15:06:29 +00:00
wiz
5c11268df7 Remove some more *LEGACY* settings that are over a month old and
thus were before 2005Q3.
2005-10-05 13:29:49 +00:00
kristerw
1e01d07a01 Change the CONFIGURE_ENV to use the variables users are supposed to set,
rather than the autoconf cache variables.
2005-06-24 19:05:48 +00:00
kristerw
bd287a3782 Prevent paths to the build directories from being included in the package.
Bump PKGREVISION.
2005-06-23 21:36:01 +00:00
wiz
524b798f8c Convert to options framework. 2005-06-01 18:51:57 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
reed
ee8be9d0c1 RCD_SCRIPTS_EXAMPLEDIR is no longer customizable.
And always is defined as share/examples/rc.d
which was the default before.

This rc.d scripts are not automatically added to PLISTs now also.
So add to each corresponding PLIST as required.

This was discussed on tech-pkg in late January and late April.

Todo: remove the RCD_SCRIPTS_EXAMPLEDIR uses in MESSAGES and elsewhere
and remove the RCD_SCRIPTS_EXAMPLEDIR itself.
2005-05-02 20:33:57 +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
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
martti
5a07a52e1e Use RCD_SCRIPTS 2004-12-31 08:14:35 +00:00
martti
8810884cde Updated LPRng-core to 3.8.28
* doc updates
* bug fixes
2004-11-28 16:03:22 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
martti
820f2136fb - Set myself as MAINTAINER
- PKG_SYSCONFDIR fixes
- Add lib/liblpr.so* to PLIST
- Run checkpc before starting the printer daemon
2004-09-06 10:44:44 +00:00
adam
d2baa6f3cb Changes 3.8.27:
* Fixed: 'Missing HOLD_FILE' logic error fixed in lpd_rcvjob.c
* Fixed: configure with-initpath
   --with-initpath=PATH now works correctly
* Fixed (well, clarified):
  Errormsg() now checks for a 'null' error string and provides
  a printable version of errno for logging.
* Edited the Scan_queue() function to print error message and removed
  some dead code.
* lpc MOVE could result in endless loop.
* lpc MOVE will now start printing job in destination, rather than just copying
  and preserving status of last operation.
* Added detailed error message for connection failure.
* Found a really small (1 byte) memory leak in LPD.  Solves the mystery of
  the server dying with malloc failed messages.
2004-05-21 13:44:29 +00:00
jlam
e8132b3fbf Relinquish maintainership of packages to tech-pkg@NetBSD.org. 2004-04-24 22:46:08 +00:00
grant
6eab5759a3 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 14:50:05 +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
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
wiz
68deb923b4 Add lpc(8). Noted by dieter in PR 20202. 2003-03-22 00:43:36 +00:00
cjep
afa55834c5 Whitespace fix 2002-12-23 16:24:59 +00:00
dmcmahill
8936575cb8 fix compilation on sparc (all big endian machines?). 2002-09-27 04:01:32 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
jlam
9820a22a90 In package Makefiles, create FILES_SUBST instead of duplicating sed
expression for substituting in DEINSTALL/INSTALL scripts.  Use "${CMP} -s"
instead of "diff -q" since the former is more portable across OSes.
2001-07-13 07:09:17 +00:00
agc
1c989c3883 Move to sha1 digests, where appropriate and possible, and add distfile
sizes.
2001-04-20 12:41:48 +00:00
agc
9e8d6c8b8d + 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:33:31 +00:00
wiz
a87738b456 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:42:09 +00:00
wiz
d4fce8d4e7 Unify format of MESSAGEs, and include RCS Ids. 2001-02-06 14:24:03 +00:00
dent
a8ad3b5624 Update HOMEPAGE. 2001-01-12 13:08:48 +00:00
jlam
9bfff556af s/@@PREFIX@@/@PREFIX@/ 2001-01-11 00:31:50 +00:00
wiz
1977f4df09 regen 2001-01-04 16:49:37 +00:00
jlam
901b10a6f6 Note conflict with print/cups.
Add INSTALL/DEINSTALL scripts to handle the configure files.
Replace lprng.sh with a rc.d-style script LPRng.sh.
Fix problems with setting the default paths for LPRng.
2000-12-28 00:13:08 +00:00
kei
287ffdeed3 Splitted "LPRng" package into "LPRng-core" and "LPRng-doc" packages.
Also updated "LPRng-core" to 3.6.26, "LPRng-doc" to 3.6.13.

fixes CERT Advisory CA-2000-22.
2000-12-12 20:09:42 +00:00