summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Push the source directory into a 'src' subdirectory so that zc.buildout worksBarry Warsaw2009-01-25556-0/+555305
| | | | correctly regardless of how it's used.
* The start of a setuptools conversion. All the Makefile.in and autoconfBarry Warsaw2007-07-136-787/+0
| | | | artifacts are removed, as is the C files which we will no longer need.
* Update copyright years.bwarsaw2007-01-195-9/+11
|
* Now that we've converted from CVS to Subversion, remove CVS cruft frombwarsaw2006-04-151-15/+0
| | | | | the trunk. This serves also to test write permission to the svn repository, and tests email notifications.
* Port cleaning changes forward from 2.1-maint branch.bwarsaw2005-12-301-39/+41
|
* Correct error message when callers group ID - getgid() - is not registeredmsapiro2005-11-031-5/+10
|
* FSF office has moved. chdcking in for MAIN branch.tkikuchi2005-08-276-6/+6
|
* Update copyright yearsbwarsaw2003-03-111-1/+1
|
* While checking and re-checking the DESTDIR patch, I noticed this Makefiletwouters2003-03-111-1/+1
| | | | | | | | ran chmod before chown... It really shouldn't, since chmod'ing first opens up a security vulnerability, and chown can remove setuid bits. I'm also somewhat confused about the 'install' target installing the CGI executables and setting them g+s, and the 'finish' target chowning them and setting them u+s, but I left that part alone.
* SF patch #683906, add $DESTDIR to install target, by Ademar de Souza Reistwouters2003-03-111-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Jr, after much checking and rechecking (and some massaging) by me. Checking in now before I fall asleep and forget what all this was for. This patch adds the ability to 'make DESTDIR=/some/dir/tree install' that doesn't influence the paths stored in e.g. Defaults.py at all, which is of good use for various package managers. It is not all that package managers must do, however! Running make install with DESTDIR set means bin/update is never run, and mm_cfg.py is always written; package managers should make sure the appropriate post-installation is done, and that mm_cfg.py is treated as a config file. This patch inadvertently fixes some bogus whitespace: 8-spaces where surrounding code used tabs. The difference was harmless because the 8-spaces were used inside shell-continued-oneliners, but it is confusing and could lead to future harm. I'm too tired to make those two or three changes in a separate checkin, sorry. This patch also assumes the various packages that are installed using distutils do not record (or rather, use) their installation paths anywhere, but this seems to hold true at least for the moment. Also, I've done so many slow cvs diff's, I'm wondering when we'll switch to Subversion. Unfortunately, I've also done so many 'cvs diff -c > file; patch -p0 -R < file's to switch back and forth between patches and change sets, I'm wondering when we'll switch to Aegis as well. :-P
* Donn Cave's patch #602087 to honor configure's --srcdir switch.bwarsaw2002-12-121-2/+2
|
* Patch # 490029 by Don Porter for a couple of missing DIRSETGIDs.bwarsaw2002-12-121-11/+3
| | | | Helps BSD installations.
* Jon Parise says:bwarsaw2002-10-211-1/+1
| | | | | | | | | | | Under FreeBSD, at least, sys/types.h should be included before grp.h. Otherwise, the following (apparently harmless) warning is generated: In file included from common.h:28, from ./cgi-wrapper.c:22: /usr/include/grp.h:58: warning: parameter names (without types) in function declaration Make life easier for FreeBSD'ers.
* fatal(): Change the signature of vsnprintf() in the case of using thebwarsaw2002-09-051-1/+1
| | | | GNU version.
* Signature update.bwarsaw2002-09-051-2/+2
|
* Patch set for SF bug #596565. Use symbolic user/group names insteadbwarsaw2002-08-231-149/+174
| | | | | | | | | | | | | | | of numeric ids. Initial idea and patch by Todd Vierling, fleshed out by Barry. Specific changes here: check_caller(): The second argument now is a const char* instead of a GID_T, since it takes a group name not an id. Also, significantly rewrote the error messages that get logged when a group mismatch (or other error) occurs. Hopefully now when errors do occur, they'll be much easier to understand because they'll actually give the suggested configure options to fix the problem.
* Patch set for SF bug #596565. Use symbolic user/group names insteadbwarsaw2002-08-231-9/+10
| | | | | | | | | | | | | | | | | of numeric ids. Initial idea and patch by Todd Vierling, fleshed out by Barry. Specific changes here: We need to include grp.h check_caller()'s second argument now is a const char* instead of a GID_T, since it takes a group name not an id. GID_MISMATCH -> GROUP_MISMATCH Added exit code 8 for GROUP_NAME_NOT_FOUND which can happen if the symbolic group name isn't installed on the system.
* Patch set for SF bug #596565. Use symbolic user/group names insteadbwarsaw2002-08-232-63/+63
| | | | | | | | | | | | | of numeric ids. Initial idea and patch by Todd Vierling, fleshed out by Barry. Specific changes here: LEGAL_PARENT_GID -> LEGAL_PARENT_GROUP Also use parentgroup instead of parentid. Whitespace normalization.
* Patch set for SF bug #596565. Use symbolic user/group names insteadbwarsaw2002-08-231-8/+8
| | | | | | | | | | | | | of numeric ids. Initial idea and patch by Todd Vierling, fleshed out by Barry. Specific changes here: MAIL_GID -> MAIL_GROUP CGI_GID -> CGI_GROUP MAILMAN_UID -> MAILMAN_USER Also, safely pass the group names via the -D options.
* CGI_PROGS: Get rid of the `archives' program. It's long been obsolete.bwarsaw2002-03-261-2/+2
|
* Remove obsolete files.bwarsaw2002-03-161-112/+0
|
* Update copyright years.bwarsaw2002-03-164-4/+4
|
* Obsolete.bwarsaw2002-03-162-118/+0
|
* VALID_COMMANDS: Added `confirm'bwarsaw2002-03-141-0/+1
|
* VALID_COMMANDS: Add `subscribe' and `unsubscribe'.bwarsaw2002-02-231-0/+2
|
* Bump the copyright years.bwarsaw2002-02-141-1/+1
|
* VALID_COMMANDS: To make life easier, we'll include `admin' as a validbwarsaw2002-02-141-0/+1
| | | | | mail program. The installation procedure will copy the bounces script to the admin script. This is for backwards compatibility.
* ignore `mailman', delete `wrapper'bwarsaw2001-12-241-6/+6
|
* MAIL_PROGS: To avoid name clashes with other MLM's, rename the wrapperbwarsaw2001-12-241-2/+2
| | | | program to `mailman'.
* In order to make the list alias -> script mapping more consistent,bwarsaw2001-11-301-4/+4
| | | | | | | | | | | | | | | | | | | we've renamed mailcmd to request and mailowner to owner (through some SF-assisted CVS repo magic). We've also moved scripts/auto to contrib/auto since it's an obsolete way of doing the auto-aliasing in Postfix. We need to update mail-wrapper.c for the new list of acceptable script names. Note that there are still two abberations: - messages posted to just `listname' go to the post script - messages posted to listname-admin go to the bounces script The latter, listname-admin may eventually go away. Note that this requires you to regenerate your aliases!
* VALID_COMMANDS: Add bouncesbwarsaw2001-11-201-0/+1
|
* Removed commented out macros ALIAS_UID, ALIAS_GID, ALIAS_FLAGS.bwarsaw2001-07-181-5/+0
|
* CGI_PROGS: The handle_opts cgi is obsolete.bwarsaw2001-05-311-1/+1
|
* In the definition of LOG_IDENT and SCRIPTDIR, don't try to glue stringtwouters2001-05-292-2/+2
| | | | | | | | literals together with ##. That's not what ## is for; ## is to glue together stringified versions of tokens. The fact that it worked was a bug in GCC. Thanx to Jeff Dairiki for reminding me to take care of this. This fixes SF bug #227694.
* VALID_COMMANDS: Deprecate the `auto' script since there is now abwarsaw2001-05-111-2/+3
| | | | | better way to integrate Mailman and Postfix. Add the `join' and `leave' mail programs.
* Ignore the two new binaries.bwarsaw2001-05-091-0/+2
|
* Add the create and rmlist CGI programs.bwarsaw2001-05-091-1/+1
|
* Ignore the new generated confirm binarybwarsaw2001-04-021-0/+1
|
* Add `confirm' to list of CGI_PROGS to build.bwarsaw2001-03-261-2/+2
|
* VALID_COMMANDS: `auto' is an acceptable command -- this is a scriptbwarsaw2000-12-201-0/+1
| | | | that can be used with the Postfix MTA.
* intermediatebwarsaw2000-12-071-0/+31
|
* intermediatebwarsaw2000-12-071-0/+87
|
* Noam Zeilberger correctly notices that the prototype for vsnprintf()bwarsaw2000-11-092-5/+2
| | | | is incorrect. This closes SF bug #121185
* A couple of notes for laterbwarsaw2000-09-292-0/+10
|
* run_script(): Generalize the filtering out of environment variables.bwarsaw2000-09-271-6/+27
| | | | | | We now discard $PYTHONHOME and $PATH as well as the previously discarded $PYTHONPATH (which we later hand craft). Just a bit of extra paranoia.
* Include @CFLAGS@ on CFLAGS def line so this worksbwarsaw2000-08-061-1/+1
| | | | | | CFLAGS=-Wall ./configure --stuff closes SF bug #110906
* main(): Don't include newline in Usage: error message; this is addedbwarsaw2000-08-021-1/+1
| | | | by fatal() automatically.
* fatal(): Close SF bug #110401 and potential local security hole bybwarsaw2000-08-021-2/+2
| | | | | | formatting user supplied input. Also added newlines to both stderr and syslog output for more consistent formatting. Reported by Stan Bubrouski.
* fatal(): When not running as a CGI (e.g. when running at the mailbwarsaw2000-05-221-0/+5
| | | | | | wrapper), simply print the log_entry information to stderr. Most MTAs will include this in their bounce message, which will be helpful for debugging.
* Update the copyright lines to include the years 1999 & 2000.bwarsaw2000-03-216-6/+6
|