Commit graph

24 commits

Author SHA1 Message Date
joerg
3b0d97b0de Add DESTDIR support. 2008-06-20 01:09:05 +00:00
jlam
4390d56940 Make it easier to build and install packages "unprivileged", where
the owner of all installed files is a non-root user.  This change
affects most packages that require special users or groups by making
them use the specified unprivileged user and group instead.

(1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to
    unprivileged.mk.  These two variables are lists of other bmake
    variables that define package-specific users and groups.  Packages
    that have user-settable variables for users and groups, e.g. apache
    and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP},
    etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS
    so that unprivileged.mk can know to set them to ${UNPRIVILEGED_USER}
    and ${UNPRIVILEGED_GROUP}.

(2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.
2007-07-04 20:54:31 +00:00
ghen
b56da72829 Update to gld-1.7. Only one change over 1.6:
Removed the KEEPDBOPEN option as it could lead to multiple instance of gld
running when mail traffic is low and thus father process MYSQL connection
timeout.  Furthermore, after tests, efficency is the same.

KEEPDBOPEN option is now silently ignored to forced to NO.
2007-04-18 17:06:16 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
sketch
17183945bb Solaris fixes:
- Link against socket libraries.

  - Don't try to return a value from a void function (SunPro).
2006-07-10 20:32:59 +00:00
ghen
9b2b288847 Change permissions of the config file to 640 (ok with xtraeme). Bump
PKGREVISION again.
2006-06-06 17:32:20 +00:00
ghen
20b0c0e5ba - Advertize GLD_USER and GLD_GROUP as being configurable (add to BUILD_DEFS).
- Fix the default USER and GROUP substitution in the config file.
- Bump PKGREVISION for this.
2006-06-06 12:33:52 +00:00
jlam
802ce74fcb Modify packages that set PKG_USERS and PKG_GROUPS to follow the new
syntax as specified in pkgsrc/mk/install/bsd.pkginstall.mk:1.47.
2006-04-23 00:12:35 +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
wiz
f133114add Update to 1.6:
16/09/2005 : V 1.6

	- Removed the algorithm lightgreydomain as the new mxgrey
	  does better and simpler

	- Removed the UPDATE option, now gld always update triplets.

	- Fixed a minor flaw in the MXGREY algorithm.

	- Now you can configure MXGREY to consider an ip as a safe
	  MX after X succesful greylists instead of only 1 . (read
	  gld.conf for details)

	- Now gld updates the counters only when mail is not
	  greylisted

	- Added Training mode, read gld.conf for details

	- Now gld verify that if you supply a custom smtp code,
	  it's a 4XX code otherwise gld discard it and use 450 .

	- If gld cannot connect to MySQL server on startup
	  it will not refuse to run anymore, but will set keepdbopen
	  to 0 and accept to run .

	- The sample config file provided now only listen to loopback
	  only accept connection from localhost and runs as nobody/
	  nobody.

	WARNING: if you were using lightgreydomain algorithm, it
	has been discontinued use MXGREY in place, please read
	gld.conf for details.
2006-03-02 21:03:39 +00:00
wiz
024507b18e pkglint cleanup. 2006-03-02 20:48:56 +00:00
xtraeme
b36bf56512 ENOTIME to mantain these packages, feel free to pick it up if you are
insterested.
2006-02-12 15:24:14 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
xtraeme
eadc9131c8 Bump PKGREVISION due to mysql.buildlink3.mk changes (default mysql
pkg has been changed to 5.x). Reminded by wiz... thanks.
2006-01-08 18:35:08 +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
7a95adad42 The real user name in PKG_USERS does not need to be escaped with double
backslashes anymore. A single backslash is enough. Changed the
definition in all affected packages. For those that are not caught, an
additional check is placed into bsd.pkginstall.mk.
2005-08-23 11:48:47 +00:00
xtraeme
c5cb02907a Update to 1.5.2
o Fixed a bug in MXGREY algorithm
2005-04-21 11:46:13 +00:00
xtraeme
0f7aab5828 Update to 1.5.1, which fixes PR pkg/29975 by Robert Elz.
Some changes were done: enabling the LOOPBACK option by default,
fix some snprintf() calls, etc.

While I'm here convert this pkg to use bsd.options.mk, now that it
supports MySQL and PostgreSQL (MySQL by default as before).
2005-04-14 22:22:56 +00:00
salo
e0794cfd88 Remove PKGREVISION. 2005-04-13 16:42:43 +00:00
christos
e8f1c6171b Update to 1.5 to fix security vulnerability issues.
- Add more patches to totally eliminate strcpy(); this code is horrible.
2005-04-13 16:19:59 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +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
xtraeme
6de5125967 The gld.conf file contains important data, use CONF_FILES_PERMS 0740
${BINWON}:${GLD_GROUP}.
2004-11-25 07:19:32 +00:00
xtraeme
46ae16ea0b Initial import of gld-1.4 into the NetBSD packages collection.
Gld is a standalone greylisting server for Postfix SMTP, it
listens on a TCP port and use MySQL for storing data.

The server supports whitelists based on sender,sender_domain
and client_ip, it supports also light greylisting and DNS white
lists.
2004-11-25 05:42:40 +00:00