Commit graph

54 commits

Author SHA1 Message Date
tv
7e826747e9 Put rc.d script into RCD_SCRIPTS_EXAMPLEDIR. 2004-04-24 02:05:31 +00:00
tv
1b89e558d9 tv@pobox.com -> tv@duh.org 2004-04-24 01:59:00 +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
snj
bffc80c64f Convert to buildlink3. 2004-04-11 05:59:14 +00:00
heinz
18a916d5e6 Use $FIND with "-print". Noted by Georg Schwarz in PR pkg/24248 2004-01-27 00:53:10 +00:00
grant
ef741f8a1a replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-22 07:49:20 +00:00
seb
07d02e617b Remove info file from PLIST files. 2004-01-12 20:37:56 +00:00
cjep
8cf3b65b07 Add RCS IDs 2003-10-18 12:04:54 +00:00
rtr
b1fde1675e Fix assignments, add cheap hack around inappropriate use of `log'.
Approved by jlam@netbsd.org
2003-10-10 09:02:44 +00:00
seb
0d7159e7bd USE_NEW_TEXINFO is unnecessary now. 2003-08-09 10:27:40 +00:00
seb
305e2372e8 Create if necessary the news user and group with the
bsd.pkg.install.mk framework. This fix this package on current.
2003-08-09 10:15:41 +00:00
seb
68aea2349e Convert to USE_NEW_TEXINFO.
XXX needs user 'news' during install, which -current does not have
anymore.
2003-06-27 16:41:19 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
grant
8220423f28 do-configure:
- be quiet
- rename, then sed
- use FILES_SUBST_SED
2003-05-05 17:15:01 +00:00
grant
f3ab22959c don't call install with multiple directory args.
remove some unnecessary trailing slashes.
2003-05-05 17:12:35 +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
jlam
8fdf4e7f9b buildlink1 -> buildlink2 2002-11-14 23:50:45 +00:00
jschauma
1a42907260 Change MAINTAINER from tv at netbsd dot org to tv at pobox dot com after
consulting with Todd.
2002-08-01 02:31:21 +00:00
tv
5238fe7545 Make the rc.d script more compliant. 2002-07-06 20:52:07 +00:00
tv
ca86cc57bb * Update to 4.4.5. Minor changes; see ChangeLog. Moved to SourceForge.
* Make compile on newer gcc -Wuninitialized.

* Use CONF_FILES install method.
2002-07-06 20:15:51 +00:00
yyamano
d1165ef453 Replace STRIPFLAG with _STRIPFLAG_CC to fix pkg/15467. 2002-03-23 17:45:50 +00:00
seb
66111c6d15 Introduce new framework for handling info files generation and installation.
Summary of changes:
- removal of USE_GTEXINFO
- addition of mk/texinfo.mk
- inclusion of this file in package Makefiles requiring it
- `install-info' substituted by `${INSTALL_INFO}' in PLISTs
- tuning of mk/bsd.pkg.mk:
    removal of USE_GTEXINFO
    INSTALL_INFO added to PLIST_SUBST
    `${INSTALL_INFO}' replace `install-info' in target rules
    print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info'
- a couple of new patch files added for a handful of packages
- setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it
- devel/cssc marked requiring texinfo 4.0
- a couple of packages Makefiles were tuned with respect of INFO_FILES and
  makeinfo command usage

See -newly added by this commit- section 10.24 of Packages.txt for
further information.
2002-02-18 15:14:00 +00:00
jlam
444b4838e1 Use perl5/buildlink.mk instead of USE_PERL5. 2001-11-30 17:37:15 +00:00
zuntum
d8ed248248 Move pkg/ files into package's toplevel directory 2001-10-31 20:43:56 +00:00
tv
bea923c436 Clean out my pkgsrc diffs:
Update fidogate to 4.4.4.  Major changes; see documentation for information.
2001-10-31 14:32:30 +00:00
jlam
bb98a4c610 Mark as USE_BUILDLINK_ONLY. 2001-08-19 04:48:33 +00:00
agc
d26f80ba43 Move to sha1 digests, and add distfile sizes. 2001-04-20 08:55:26 +00:00
agc
268ad0352c + 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 10:33:37 +00:00
dmcmahill
8d02ba0759 make this work on alpha. (printf format string fixes) 2001-03-19 13:23:35 +00:00
tv
ad61d36d42 Find archivers in $PATH, make areafix output more sane, and move areafix
modifiable config files into VARDIR.
2001-03-09 19:06:18 +00:00
wiz
53985ed50b ${PERL} -> ${PERL5}. Should fix i386 bulk build problem. 2001-03-05 19:17:17 +00:00
tv
44e5ce7b8a Create some semblance of a default config file, generated from compile-time
defaults.  Also minor cleanup and ability to strip binaries.
2001-02-22 15:28:56 +00:00
tv
791fb302ee Update to 4.4.2, and clean up massively. No longer creates the /var dirs,
and doesn't have a template .conf files (but many examples in
share/examples/fidogate).  See documentation for changes.
2001-02-22 03:00:14 +00:00
wiz
07cd20b334 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 13:51:27 +00:00
wiz
fcccd4aaa4 Remove '.sh' from rc.d script. 2001-01-31 17:57:31 +00:00
hubertf
794d140414 etc/rc.d: fidogate.sh -> fidogate 2001-01-26 05:00:49 +00:00
agc
9c2d582fc9 The way that shared objects were handled in the PLISTs and bsd.pkg.mk was
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.

+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt

With many thanks to Thomas Klausner for keeping me honest with this.
2001-01-04 15:10:17 +00:00
wiz
cc9f42940b Be a bit more selective in installing (don't install fidogate.info.orig);
change patch to apply cleanly.
2000-08-28 09:36:31 +00:00
wiz
f191ad78ec USE_PKGLIBTOOL -> USE_LIBTOOL
Add info-dir-entry.
2000-08-14 13:55:04 +00:00
rh
74add3b300 s/USE_LIBTOOL/USE_PKGLIBTOOL/
Add a new USE_LIBTOOL definition that uses the libtool package instead of
pkglibtool which is now considered outdated.
USE_PKGLIBTOOL is available for backwards compatibility with old packages
but is deprecated for new packages.
2000-06-01 11:23:11 +00:00
hubertf
411922b881 remove bogus NO_CDROMs 1999-09-23 16:32:06 +00:00
agc
a910a6fd62 Add package patch-sum files 1999-07-09 13:50:05 +00:00
tv
111c4f44b0 Use install-info in $PATH, so that systems with it in base will work too. 1999-02-11 19:17:28 +00:00
tv
64bf67c67c Add LDFLAGS to linker flags to pick up rpath setting. 1998-12-08 17:12:23 +00:00
tsarna
6bd0d65c65 The Grand Homepagification:
- New, optional Makefile variable HOMEPAGE, specifies a URL for
	  the home page of the software if it has one.
	- The value of HOMEPAGE is used to add a link from the
	  README.html files.
	- pkglint updated to know about it.  The "correct" location for
	  HOMEPAGE in the Makefile is after MAINTAINER, in that same
	  section.
1998-08-20 15:16:34 +00:00
agc
05b88260d7 Add NetBSD RCS Ids. 1998-08-07 13:16:49 +00:00
agc
86db14e819 Add NetBSD RCS Ids. 1998-08-07 10:35:47 +00:00
tv
a75a2272cd Update to use USE_LIBTOOL. 1998-07-24 01:56:59 +00:00
tv
1875b076f0 Create /var/spool/fido/* and /var/log/fido at binary pkg_add time. 1998-07-19 16:01:31 +00:00
tv
149ead5525 Add INFO_FILES and add install-info to PLIST. 1998-07-18 14:50:38 +00:00