Commit graph

40 commits

Author SHA1 Message Date
jlam
6e4f426670 Make this look more like sqwebmail's rc.d script so that "status" returns
something meaningful, even if it can only be run by root.
2004-07-15 08:28:33 +00:00
jlam
bb54ba6b93 Move addition of "liblog" to WRKSRC_SUBDIRS from Makefile to
Makefile.authdaemond so that courier-auth* module packages will patch
correctly.
2004-07-14 21:37:09 +00:00
jlam
02c1ff5849 Update mail/courier-auth to 0.45.6. Changes from version 0.44.2 include:
* Honor ${VARBASE}.
  * Rename "authdaemon.sysconftool" to "sysconftool" for use by other
    Courier mail packages.
  * authvchkpw explicitly disabled -- it's not officially supported within
    courier, and there's a workaround by using vchkpw2userdb(8).  This
    closes pkg/19365.
  * courierlogger(1) moved from mail/courier-imap into this package.
  * Support a new setting DEBUG_LOGIN in authdaemonrc to allow easier
    debugging of the authentication process.
  * Added documentation on how to debug the authentication process in
    ${PREFIX}/share/doc/courier.
  * makedat: Skip subdirectories named "CVS".  Allows all directory-based
    lists (makesmtpaccess, etc...) to be managed via CVS.
2004-07-14 20:07:07 +00:00
wiz
61826e82cc Do not use install-strip target since it fails;
instead of install, sh install is called and install is not found.

The installed files are stripped automatically even after this change.
2004-05-12 23:38:34 +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
jlam
faed7092a8 Reverse the use of USE_DB185 in bdb.buildlink3.mk -- it defaults to
"yes" and packages that can't use the DB-1.85 API should set it to "no".
This makes the native DB the preferred DB if it exists.
2004-03-26 18:48:52 +00:00
jlam
bb46710479 Convert to use bdb.buildlink3.mk. 2004-03-10 18:07:16 +00:00
jlam
25fc79de85 Clean up Solaris db handling by just noting that we need db-1.85
functionality.
2004-02-24 00:22:45 +00:00
jlam
d8df2293a9 Have all of the courier programs find the authdaemon socket in the same
location.
2004-02-23 23:24:32 +00:00
jlam
b1d9985c82 Note the common directory for HTML docs for courier packages. 2004-02-22 16:03:29 +00:00
jlam
fa4494be57 Add the example PAM file to the installation. 2004-02-22 02:18:31 +00:00
jlam
d23c1f6735 Move settings for USE_BUILDLINK3 and USE_LANGUAGES from the common Makefile
into the separate packages.
2004-02-22 01:52:05 +00:00
jlam
bba043843c Workaround a Solaris bug noted in:
http://www.inter7.com/courierimap/FAQ.html#solarisbug
2004-02-22 01:49:31 +00:00
jlam
627daeab62 Update mail/courier-auth* packages to 0.44.2 from the courier-0.44.2
source distribution.  Changes from version 0.37.1 include fixing minor
bugs, plugging memory leaks, and improving documentation.  The
authentication daemons also have improved behaviour when idling.
2004-02-21 14:43:15 +00:00
jlam
57ec57613f PERL5_REQD is now a list of values, so append to its value instead of
setting it.
2004-02-10 02:22:49 +00:00
grant
f1ab3f4ed4 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 13:51:13 +00:00
cjep
0bf6bf3ffd Use tabs (not spaces) to make indentation 2004-01-11 19:41:39 +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
martti
f928be280d COMMENT should start with a capital letter. 2003-07-21 16:56:41 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +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
3db18c019a buildlink1 -> buildlink2 2002-10-08 23:15:58 +00:00
grant
0c5bb6abcc Make these scripts more portable by taking advantage of automatic rc.d
script handling and using @RCD_SCRIPTS_SHELL@.

as discussed with jlam.
2002-09-20 02:01:54 +00:00
jlam
5c053dd06a Take advantage of the auto-generation and installation of rc.d scripts. 2002-09-19 09:04:02 +00:00
jlam
e507190d0d When using bsd.pkg.install.mk, if a DEINSTALL or INSTALL file already
exists, then use it as the default value of DEINSTALL_EXTRA_TMPL or
INSTALL_EXTRA_TMPL.
2002-09-18 21:15:07 +00:00
lukem
93b726dd32 it's better to REQUIRE LOGIN rather than DAEMON, because a bunch of services
which rely upon authdaemond really shouldn't start until after LOGIN.
2002-07-18 01:48:09 +00:00
grant
242736b0d1 use 'env -i' rather than 'env -', as this is deprecated according to
env(1), and it does not work with the new getopt(3).

provided by Julio Merino <jmmv at hispabsd dot org> in pkg/17361.
2002-06-22 15:48:00 +00:00
yyamano
4692a19ee9 Replace STRIPFLAG with _STRIPFLAG_INSTALL to fix pkg/15467. 2002-04-27 11:20:52 +00:00
jlam
d828816a68 Move PAM dependency into Makefile.authdaemond as the PAM-related code is
localized into the authlib sources.  This makes only the courier-auth*
modules depend on PAM.
2002-02-05 15:03:19 +00:00
jlam
e0d358778b Solaris' test binary (test/[) doesn't grok "-e". Replace with "-f".
Noted by Stoned Elipot <seb@netbsd.org> in private email.
2002-02-05 06:04:36 +00:00
jlam
816736410b Fix reversed logic for setting INSTALL_TARGET=install-strip. Of course,
we want to strip when STRIPFLAGS contains "-s" and not otherwise.  Pointed
out by Amatai Schlair in private e-mail.
2002-02-03 13:38:38 +00:00
jlam
f99159bc6f Allow PAM authentication if USE_PAM is defined. 2002-01-29 16:36:49 +00:00
jlam
54f92a2785 Move dependency on courier-auth into the module Makefiles and use
Makefile.authdaemond to replace a lot of the complexity in
courier-auth/Makefile.
2002-01-27 23:47:08 +00:00
jlam
a757b523d6 Use ${MYSQL_CONFIG}, not "mysql_config", so as to use the buildlink
config wrapper.
2002-01-27 23:45:27 +00:00
jlam
f433bac082 Makefile.authdaemond contains the shared Makefile logic used to build
a "heavy" authdaemond module, i.e. one of authldap, authmysql, or
authpgsql.
2002-01-27 21:33:35 +00:00
jlam
c0cbe15fd3 Fix the authdaemond rc.d script to accurately report status. The actual
process executed is one of authdaemond.{plain,ldpa,mysql,pgsql}, so read
the authdaemonrc config file to find which one was executed.  Problem noted
by Amitai Schlair in private e-mail.
2002-01-27 00:04:41 +00:00
jlam
91ab272988 Update mail/courier-auth to 0.37.1nb1. Changes from version 0.37.1 include:
*	Fix the script for changing passwords with a Courier authentication
	module (used by sqwebmail) to recognize some more warnings/errors
	by the NetBSD passwd program.
      *	Note that tcl-expect is needed to make the password-changing script
	work.
      *	Add this package to the "security" category.
2002-01-24 16:02:49 +00:00
jlam
54df3d7809 Update mail/courier-auth to 0.37.1nb1. Changes from version 0.37.1 include:
*	Fix the script for changing passwords with a Courier authentication
	module (used by sqwebmail) to recognize some more warnings/errors
	by the NetBSD passwd program.
      * Note that tcl-expect is needed to make the password-changing script
	work.
      * Add this package to the "security" category.
2002-01-24 16:02:21 +00:00
jlam
29ef749624 Remove Makefile.in file that wasn't supposed to be there. 2002-01-22 22:01:32 +00:00
jlam
3eada221c5 Initial import of mail/courier-auth-0.37.1.
This package contains the authentication daemon, modules, and utilities
for the Courier mail packages.
2002-01-22 22:00:22 +00:00