Commit graph

27 commits

Author SHA1 Message Date
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
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
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
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
taca
66273b2f3c Add proper support for RCD_SCRIPTS_EXAMPLEDIR change. 2005-01-04 14:13:59 +00:00
taca
983b129ac5 - make lines of MESSAGE shorter.
- Cast (void *) second argument to cgetent(3) to compile on NetBSD
  current and prior.
- Remove blank line of manual page.
2005-01-04 13:37:30 +00:00
taca
96f496e0a6 Try to fix bulk-build problem; take care of cgetent(3)'s argument.
Bump package revision.
2004-12-31 14:36:57 +00:00
reed
32d8f290c2 The default location of the pkgsrc-installed rc.d scripts is now
under share/examples/rc.d. The variable name already was named
RCD_SCRIPTS_EXAMPLEDIR.

This is from ideas from Greg Woods and others.

Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism
(as requested by wiz).
2004-12-28 02:47:40 +00:00
taca
9ec9bdb9d9 This package's original files assume heavily BSD code base.
It might work on FreeBSD, but currently I restrict this package
only for NetBSD.
2004-12-14 15:09:03 +00:00
reed
62071c8b2f RCD_SCRIPTS_EXAMPLEDIR was just changed to be a relative directory
under ${PREFIX} instead of being an absolute path.

So fix the references using RCD_SCRIPTS_EXAMPLEDIR to be
${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}.

This should have no changes to use before.

Please note that the MESSAGE files in most cases are wrong in the
first place. We have automated mechanisms and could have an automated
message for explaining rc.d script usage. (This is something to do!)
2004-10-11 22:14:51 +00:00
snj
f2d0c7f3f7 Convert to buildlink3. 2004-05-04 02:07:06 +00:00
reed
2009bec8e9 Get rid of PKGRCDIR definition since it has not been used by this
package since 2003/07/31.
2004-04-27 20:40:28 +00:00
reed
2d4122dd45 Fix references to rc.d scripts. This package uses RCD_SCRIPTS
which installs to ${RCD_SCRIPTS_EXAMPLEDIR}. But the MESSAGE
referred to wrong hard-coded location if the RCD_SCRIPTS_EXAMPLEDIR
was not the default. So use RCD_SCRIPTS_EXAMPLEDIR instead.

PKGREVISION not bumped because if someone had changed
RCD_SCRIPTS_EXAMPLEDIR before recent change of autoregistration
of rc.d script in PLIST, then it could not have been packaged
in first place.

Note that this commit does not imply that the MESSAGE is correct.
In some cases, the MESSAGE is clearly wrong such as suggesting
running the rc.d script from the example directory (which will work
although).
2004-04-23 22:43:20 +00:00
reed
9c790735db mk/bsd.pkg.install.mk now automatically registers
the RCD_SCRIPTS rc.d script(s) to the PLIST.

This GENERATE_PLIST idea is part of Greg A. Woods'
PR #22954.

This helps when the RC_SCRIPTS are installed to
a different ${RCD_SCRIPTS_EXAMPLEDIR}. (Later,
the default RCD_SCRIPTS_EXAMPLEDIR will be changed
to be more clear that they are the examples.)

These patches also remove the etc/rc.d/ scripts from PLISTs
(of packages that use RCD_SCRIPTS). (This also removes
now unused references from openssh* makefiles. Note that
qmail package has not been changed yet.)

I have been doing automatic PLIST registration for RC_SCRIPTS
for over a year. Not all of these packages have been tested,
but many have been tested and used.

Somethings maybe to do:
- a few packages still manually install the rc.d scripts to
  hard-coded etc/rc.d. These need to be fixed.
- maybe  remove from mk/${OPSYS}.pkg.dist mtree specifications too.
2004-04-23 22:07:52 +00:00
jmmv
90828eda56 Convert to the bsd.pkg.install.mk framework:
- Honour PKG_SYSCONFDIR.
- Install configuration files in sample directory and copy them to
  PKG_SYSCONFDIR when appropiate.
- Use RCD_SCRIPTS to handle installed rc.d script.
Use buildlink2 too.  Bump PKGREVISION to 1.
2003-07-31 11:07:30 +00:00
martti
de776a690f COMMENT should start with a capital letter. 2003-07-21 17:24:10 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
taca
b25e97965f Update bkpupsd 2.1.2.
2003-03-12  Takahiro Kambe  <taca@back-street.net>

	* bump version, 2.1.2.

	* improve startup script for NetBSD.

2003-01-21  Takahiro Kambe  <taca@back-street.net>

	* bump version, now 2.1.1a.

	* create "waiting indication file."
2003-03-12 16:43:45 +00:00
taca
19df480e2f Update bkpupsd package to 2.1.1. No functional change.
from CHANGES:

* bump version, now 2.1.1.

* Update copyright notice.

* Update my mail address.

* Fix LP64 problem from NetBSD pkgsrc.

* Add kernel patch for NetBSD 1.6_STABLE, it should be OK on
  NetBSD 1.6 release.

* Fix compile problem on FreeBSD 4.5 Release reported from
  Naoki IDO <ido@hitachi-ms.co.jp>.

* Add kernel patch for FreeBSD 4.4 based on mail from
  Yasuhiro Abe <abe@dzn.co.jp>.

* Convert shell script patching FreeBSD 3.4 into normal patch file.

* Add files for NEWLAYOUT style FreeBSD ports contributed by
  yrsh2scp@mbox.nc.kyushu-u.ac.jp (Yoshifumi R. Shimizu).

* remove package support for NetBSD since bkpupsd is now included
  in NetBSD package collection.
2002-12-22 13:06:02 +00:00
cjep
8fbc3746a3 Add an empty "scriptsinstall" target to scripts/Makefile. If this isn't
present, this package won't build with newer BSD mk magic (e.g. in
1.6_BETA1 and so on.)
2002-06-05 21:14:19 +00:00
dmcmahill
f2b7ef2f76 fix a printf format string. Fixes recently noted build problems on alpha. 2002-01-21 13:59:45 +00:00
taca
8de0bb328f Update bkpupsd to 2.1.
Fri Jun 15 16:27:52 2001  Takahiro Kambe  <taca@kyoto.jepro.co.jp>

	* Add files for NEWLAYOUT style FreeBSD ports contributed by
	  yrsh2scp@mbox.nc.kyushu-u.ac.jp (Yoshifumi R. Shimizu).

	* remove package support for NetBSD since bkpupsd is now included
	  in NetBSD package collection.

Mon Mar  5 15:00:03 2001  Takahiro Kambe  <taca@kyoto.jepro.co.jp>

	* bump version, now 2.1.

	* now parameter for shutdown(8) may be specified in upstab.
	  Inspired by proposal from yrsh2scp@mbox.nc.kyushu-u.ac.jp
	  (Yoshifumi R. Shimizu).

	* correct spelling mistake noted from
	  yrsh2scp@mbox.nc.kyushu-u.ac.jp (Yoshifumi R. Shimizu)
2001-12-19 15:37:59 +00:00
zuntum
1cf29af8b5 Move pkg/ files into package's toplevel directory 2001-10-31 22:48:50 +00:00
taca
e20a638e8e Change MAINTAINER to me, since taca@kyoto.jepro.co.jp is author
not maintainer.
2001-07-29 14:40:26 +00:00
dmcmahill
b40c5c23c2 fix on alpha. (type mismatch).
while here use the DEFAULT_SERIAL_DEVICE setting to hopefully have a better
default on most machines.
2001-05-07 03:28:11 +00:00
wiz
f876804070 Initial import of bkpupsd, a simple UPS daemon
for the BK-Pro, BK series and FREQUPS F series UPS by Mitsubishi.
Addresses pkg/9541 by Takahiro Kambe.
(Correct directory this time, misimport was deleted.)
2001-05-04 11:06:03 +00:00