Commit graph

89 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
tron
e0b47bdd7b Correct broken signal handling. This fixes PR pkg/30515. 2006-03-01 17:39:17 +00:00
rillig
6438c2a6db regen. 2006-02-22 00:06:44 +00:00
rillig
2ae42609f8 Fixed PLIST. Bumped PKGREVISION. Allowed installation as unprivileged user. 2006-02-22 00:06:21 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +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
joerg
6e4a0dd799 Bump all motif packages for recent openmotif update. The major version
of the shared libXm has changed.
2005-12-12 21:36:54 +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
dmcmahill
a5ef43e03d make this work on solaris. 2005-09-21 23:19:14 +00:00
jlam
cf4dfe44a5 Use REQD_DIRS instead of MAKE_DIRS for directories under ${PREFIX} so
that these directories will be conditionally removed (based on reference
counts), regardless of the value of PKG_CONFIG.  Bump the PKGREVISION
for packages that were modified as a result.
2005-08-20 19:16:21 +00:00
jlam
bd2788d930 Merge CONF_FILES/SUPPORT_FILES and CONF_FILES_PERMS/SUPPORT_FILES_PERMS
as the INSTALL and DEINSTALL scripts no longer distinguish between
the two types of files.  Drop SUPPORT_FILES{,_PERMS} and modify the
packages in pkgsrc accordingly.
2005-08-19 18:12:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
71c8259803 Add RMD160 digests to the SHA1 ones. 2005-02-23 20:39:42 +00:00
hubertf
9a981bcfbe Sign over maintainership to tech-pkg@ 2005-02-21 20:26:08 +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
xtraeme
7c7f307bd0 bl3ify 2004-04-11 19:05:39 +00:00
tron
665e1d9b73 Fix incorrect "INCOMPAT_CURSES" pattern for NetBSD 1.6A to 1.6S. 2004-03-04 17:49:17 +00:00
agc
dc52048e01 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:07:06 +00:00
jlam
a9f08159c4 Back out last change related to moving ncurses/buildlink2.mk to
curses.buildlink2.mk.  This was wrong because we _really_ do want to
express that we want _n_curses when we include the buildlink2.mk file.

We should have a better way to say that the NetBSD curses doesn't
quite work well enough.  In fact, it's far better to depend on ncurses
by default, and exceptionally note when it's okay to use NetBSD curses
for specific packages.  We will look into this again in the future.
2003-09-28 09:13:55 +00:00
grant
7a71199b50 move ncurses/buildlink2.mk to mk/curses.buildlink2.mk, as it provides
support for base system curses/ncurses as well as ncurses itself.

suggested by wiz.
2003-09-27 17:07:34 +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
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +00:00
cjep
fc139a1628 Add NetBSD RCS tags 2003-06-13 10:55:25 +00:00
jdc
ae68a70eb6 Increment package revision (to 2) for curses and ncurses fix. 2003-06-10 20:46:49 +00:00
jdc
8f29583fdc Make cda build with either curses or ncurses by putting a conditional
in the Imakefile and testing this in visual.c.
Fixes PR pkg/21839 by Matthias Scheler (thanks for testing the fix).
2003-06-10 20:45:35 +00:00
salo
c3817bd126 Add bunch of missing 1.5* and 1.6* patterns to INCOMPAT_CURSES. 2003-06-10 12:01:10 +00:00
jdc
e01687b4d0 Make xmcd use native curses in 1.6T and forward by replacing calls to
putp(cursor_*) with curs_set().
Fixes lib/20030 by Thomas Klausner.
2003-06-09 19:01:12 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
wiz
0fd75d0851 Note in USE_NCURSES variable which functions actually are missing for this
to build with native curses.
2003-01-24 13:36:17 +00:00
jlam
a89ef2c84d * buildlink1 -> buildlink2
* Properly handle local discography when installing/deinstalling the binary
  package.
* Use bsd.pkg.install.mk to preserve local configuration files when
  reinstalling xmcd.
2002-10-08 11:50:04 +00:00
jlam
a48e9c5d82 Simplify the description. 2002-10-08 11:46:21 +00:00
agc
2ddfedbb91 Deprecate IS_INTERACTIVE
Mark this package with an interactive installation stage
2002-07-02 11:29:11 +00:00
yyamano
d537b0d544 Replace STRIPFLAG with _STRIPFLAG_INSTALL to fix pkg/15467. 2002-03-23 17:44:21 +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
tron
15435c49f8 Add kludge to fix problems with CDDB entries with genre "unclass" which
are for some reason not recognized although such entries exist.
2002-01-25 08:38:34 +00:00
tron
f0ec82faa8 Update "xmcd" package to version 3.0.2:
- Fixed a problem with the xmcd disc ID field being sometimes partially
  obscured in the Album Details window.
- Several changes to improve security.
2002-01-10 20:56:25 +00:00
tron
7b6c387a8b Use "@unexec rmdir" on directory "lib/X11/xmcd/config" because it is
usually still contains configuration files for the various CD-ROM
drivers after deinstallation.
2002-01-08 10:07:28 +00:00
tron
f80152156d Patch various files in "post-patch" instead of "pre-install" target so
that files in work directory are owned by the user used to build the
package and not by "root".
2002-01-08 10:01:33 +00:00
tron
d213c85f57 Use "${PKG_PREFIX}" in "DEINSTALL" script instead of some place holders
which should have been replaced with "sed" but were not.
2002-01-08 09:56:19 +00:00
tron
480163b87c Correct device name for ATAPI CD-ROMs under NetBSD. 2002-01-08 09:55:04 +00:00
tron
df640d24b7 Use "${PKG_PREFIX}" in "DEINSTALL" script instead of some place holders
which should have been replaced with "sed" but were not.
2002-01-08 09:55:03 +00:00
zuntum
4bd6ecc9c5 Move pkg/ files into package's toplevel directory 2001-11-01 00:17:43 +00:00
jlam
bee9f3eafb Use mk/motif.buildlink.mk instead of lesstif/buildlink.mk. 2001-09-08 19:55:39 +00:00
jlam
73d2f0ca37 Packages that USE_IMAKE shouldn't set USE_BUILDLINK_ONLY, as they don't
satisfy the condition of being "strongly-buildlinked" (see
http://mail-index.netbsd.org/tech-pkg/2001/08/20/0005.html for the
definition).  This is in response to the recent change to bsd.pkg.mk to
not use buildlink-x11.
2001-08-22 17:38:56 +00:00
fredb
34a7c6f631 Regen. 2001-08-05 15:22:11 +00:00
fredb
69fb3a1966 Make this build. 2001-08-05 15:21:34 +00:00
nra
01ff43ed03 Update xmcd to version 3.0.1. Addresses PR 13519 by Kevin Sindhu.
Ver 3.0 patchlevel 1 released Sat Jul 14 19:58:39 PDT 2001
----------------------------------------------------------
CD-ROM drive support changes:

    - Added a new "scsiVersionCheck" parameter to the device.cfg file.
      This is to make the CD-ROM drive SCSI-2 version checking in xmcd
      and cda configurable.

OS Support changes:

    - Re-introduced support for the OpenVMS operating system on Alpha AXP
      and VAX platforms.

    - Added code to support for IDE/ATAPI drives on the OpenVMS platform.
      Since OpenVMS supports these drives via SCSI-emulation, xmcd should
      be configured for a SCSI device.

Other changes:

    - Replaced the "CDDB disable" button in xmcd with the "Internet Offline"
      button.  The new "offline" mode differs from the old "disable" mode
      in that CDDB lookups will still occur from the local cache (no Internet
      CDDB server will be accessed).  Also, xmcd's wwwWarp menu entries
      which would invoke a remote web site will be disabled.  This should
      be used when the system is not connected to the Internet (e.g., on
      a dialup connection while not online).  Similarly, the -cddb and
      -nocddb command line options in cda have been changed to -online and
      -offline with the same change in semantics.  The disableCddb parameter
      in common.cfg has also been changed to internetOffline.

    - Fixed a bug that was causing submissions to the CDDB² service to
      fail even though the data is acceptable and the network/servers are
      running fine.

    - Fixed an xmcd problem where the keypad time display and track warp
      slider would freeze when the playback mode is not in segment play
      mode but the main window time display is set to "e-seg" or "r-seg".

    - Fixed a problem with using the xmcd keypad to go to another track or
      disc while playing program or shuffle modes.

    - Removed some conditions that could cause SIGALRMs to be received
      while xmcd is handling X events.  Also, fixed certain situations
      where spawned child processes were handling X events instead of the
      parent.  This was causing sporadic X errors and xmcd crashes.

    - Fixed a bug that caused classic CDDB lookup to fail if HTTP proxy
      authorization is enabled.

    - Changed xmcd to keep the Credit Fullname Wizard window open if a user
      clicks the Credit 'Add', 'Modify' or 'Delete' buttons, or
      select/de-select credit list items.  Also, enhance the data fields
      verification for the full name wizard window.

    - Enhanced xmcd and cda to handle erroneous CDDB data more gracefully,
      where a subgenre is set to the value that of a genre, or where a
      subrole is set to the value of a role category.

    - Fixed a missing single quote in libdi_d/config.sh that was causing
      the script to fail while configuring proxy servers.  Also, fixed
      a problem with reading the device configuration files where the
      wrong device parameters would get used.

    - The install.sh and config.sh scripts will now use nawk if it's
      available on the system.  Otherwise it falls back to using awk.
2001-07-24 16:00:01 +00:00