Commit graph

65 commits

Author SHA1 Message Date
wiz
8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00
marino
26c152f560 mail/majordomo: Eliminate extern int errno
Now it builds on DragonFly and maybe other platforms too.
Contribution: Chris Turner
2011-12-11 11:53:23 +00:00
spz
6b06628cf1 perl 5.14 adjustment: drop using ctime.pl just for a list of months 2011-10-28 06:16:12 +00:00
schnoebe
ebe29da198 Remove the uses of ctime.pl and getopts.pl, since those are going away soon. 2011-08-27 15:47:42 +00:00
spz
65b08c5ecc missed three more command line config file options
added descriptions to the patches
2011-01-29 19:39:14 +00:00
spz
a781a1b538 stop majordomo from chowning /var/tmp to user majordom due to a superannuated
default in mk/defaults/mk.conf

remove the non-shared defaults and put in the setting that actually gets
used by more than one package (namely, MAJORDOMO_HOMEDIR)

don't make the majordom user own more than it actually needs to

make resend, archive, request-answer and medit honor the MAJORDOMO_CF
environment variable over the command line option, so that someone calling
these via the wrapper (which sets the environment variable) can't make
the majordom user execute random perl code by specifying it as config file.
Thanks to salo for finding this issue.
2011-01-29 17:16:32 +00:00
spz
a7ed0c0622 more fixes for digest 2010-11-10 07:51:36 +00:00
spz
409aac0853 add List-Id:, Mail-Reply-To: and Mail-Followup-To: headers
fix copying of majordomo.cf
bump pkgrev
2010-11-09 07:09:58 +00:00
spz
4b2ffd8ed1 fix error in digest I introduced 2010-11-09 06:40:13 +00:00
spz
8204777a2b one change to PKG_SYSCONFDIR too few, fixed 2010-11-02 08:01:08 +00:00
spz
81ddbb04fb make the wrapper use getpwnam to determine uid and gid of the majordomo user
adjust the Makefile to fit

package beautification and lint shutup (like eg comments for some patches)
2010-10-30 23:48:35 +00:00
spz
932d48d6ca bring up the package to current pkgsrc standards, especially DESTDIR
and paths being used.
MAJORDOMO_HOMEDIR moves from /home/majordom to $VARBASE/majordomo, unless
overridden by the package builder
MAJORDOMO_CF is now ${PREFIX}/etc/majordomo/majordomo.cf
2010-10-29 21:51:21 +00:00
spz
8e4b6b2a60 - patch majordomo.pl for perl 5.12 compat (split does not return @_)
Patch submitted by Todd Kover in PR pkg/43974
  -> bump pkgrev
- make myself maintainer
- add restriction (majordomos license does not allow redistribution of
  modified binaries)
2010-10-16 10:30:56 +00:00
tron
1941e26dea Fix patch for "approve" to make it work with Perl 5.12.1. 2010-08-20 21:25:02 +00:00
joerg
2fc6bb6127 Fix installation. 2010-02-19 18:49:41 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
wiz
60f460ab01 Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT
block). Uncomment some commented out LICENSE lines while here.
2009-05-19 08:59:00 +00:00
joerg
00fb1353aa Rest maintainer, mail bounced 2009-02-17 12:57:07 +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
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
obache
e896edb7fe Rename variable MAKEFILE to MAKE_FILE. 2006-09-09 02:41:53 +00:00
jlam
07bb1e9524 Modify (finally!) to use pkginstall framework. Bump PKGREVISION to 2. 2006-06-16 17:11:25 +00:00
jlam
1d18774782 Remove some extraneous lines from the MESSAGE. 2006-06-16 16:43:37 +00:00
jlam
8bbd65ab36 Formatting nits for DESCR file. 2006-06-16 16:43:23 +00:00
rillig
aadc0fd2bf Fixed pkglint warnings. Mainly removed the "@" before the install
commands and replaced $$ with $$$$, because it was meant to be the pid
of the shell.
2006-06-09 08:59:01 +00:00
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
5ee52161e8 Use the pkginstall framework to create the INSTALL/DEINSTALL scripts
instead.

XXX This package really needs an overhaul to use modern pkgsrc
XXX conventions.
2006-03-10 20:08:57 +00:00
garbled
678c07ce3f Per PR pkg/30133 majordomo conflicts with net/bounce. 2006-01-06 02:35:32 +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
he
4f28c04aa3 Bump PKGREVISION after the resend fix.
Sort PLIST.
2005-07-23 22:56:16 +00:00
he
89734546a0 When the approve script processes a list bounce, remove any
"Delivered-To:" header pointing to the list so that if postfix is
involved in the message delivery, it will not think the message is
looping.

Idea and patch from cjs@
2005-07-23 14:44:39 +00:00
jlam
3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00
rillig
f795c2e475 Removed trailing white-space. 2005-05-23 08:26:03 +00:00
agc
8758983939 Add RMD160 digests. 2005-02-24 09:59:20 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
wiz
54c3beffc1 Rename .keep_me to keep_me, to avoid filenames starting with a dot.
No change in the package.
2004-11-04 12:20:18 +00:00
jlam
2920a32c71 Prepare for pkgviews by making sure that passing VIEW-INSTALL or
VIEW-DEINSTALL to the INSTALL/DEINSTALL scripts don't cause errors.
2003-08-30 20:22:49 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
seb
b28c04efc0 Add missing ` in m4 macro example. 2003-02-24 13:10:58 +00:00
wiz
e8817c9088 Complete standardization of messages according to latest pkglint. 2002-09-24 12:29:55 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
jlam
6c797a0afa Allow customizing the message for _SU_TARGET by substituting for "$action",
where action can be "install", "package", "create user for", etc., instead
of blindly always saying "install".  Define "action" before calling
${_SU_TARGET} whereever it is used.
2001-10-01 21:15:11 +00:00
agc
fb0b85e623 Use common just-in-time su code from bsd.pkg.mk, rather than homegrown
one.
2001-09-12 11:05:12 +00:00
jtb
52941bc4a7 The license for majordomo is now in pkgsrc/licenses/. 2001-06-04 21:46:57 +00:00
agc
b26a4eb88b Move to sha1 digests, and add distfile sizes. 2001-04-20 13:09:54 +00:00
agc
9e8d6c8b8d + 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 11:33:31 +00:00
itojun
2e9c5e548c upgrade to 1.94.5.
Changes from 1.94.4 to 1.94.5

A straightforward patch release, 99% from the collected
1.94.4 patches:

o digest_rm_fronter and digest_rm_footer now work.
o unsubcribe_policy now has +confirm feature
o More hostile address checking
o archive2.pl makes archives world readable.
o bounce had an innocuous y2k bug, and wanted a 'bounces' list password even
  when called as unsub
o better description of the moderator function.
o Fixes 'restrict_post = #!$list' substitution and blank lines
  in config files
o Better error reporting when majordomo.cf is wrong.
o Detects some attachments sent as commands
o Approve commands can span lines now.
o resend has better messages for taboo_headers problems
o fixed: header corruption when Subject: is blank and subject tags are used.
2001-04-13 01:42:32 +00:00
agc
4b2b4a974e Move majordomo's digest man page to section 8, so that it doesn't
conflict with digest(1)'s manual page.  The majordomo digest command
lives in libexec, anyway.

Bump version to majordomo-1.94.4nb1

Addresses PR 12385, from Jun-ichiro itojun Hagino
2001-03-27 11:53:17 +00:00
wiz
a13ea108bb Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:52:59 +00:00
wiz
b979f7222a Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced,
not @VARIABLE@, nor @@VARIABLE@@).
By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX,
X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST.
Clean up some packages while I'm there; add RCS tags to most MESSAGEs.
Remove some uninteresting MESSAGEs.
2001-01-29 11:34:21 +00:00