mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Add ecartis 1.0.0b, the Ecartis Listserver \ Mailing List Manager.
This replaces the mail/listar port, which is currently FORBIDDEN due to a remote exploit. PR: 34087 Submitted by: Trish Lynch <trish@bsdunix.net>
This commit is contained in:
parent
8a7b647585
commit
3698da56e1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53453
@ -27,6 +27,7 @@
|
||||
SUBDIR += distribute
|
||||
SUBDIR += dkimap4
|
||||
SUBDIR += drac
|
||||
SUBDIR += ecartis
|
||||
SUBDIR += elm
|
||||
SUBDIR += elm+ME
|
||||
SUBDIR += emh
|
||||
|
43
mail/ecartis/Makefile
Normal file
43
mail/ecartis/Makefile
Normal file
@ -0,0 +1,43 @@
|
||||
# New ports collection makefile for: ecartis
|
||||
# Date created: 20 January 2002
|
||||
# Whom: Trish Lynch <trish@bsdunix.net>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ecartis
|
||||
PORTVERSION= 1.0.0b
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= ftp://ftp.ecartis.org/pub/ecartis/snapshots/tar/
|
||||
DISTNAME= ecartis-1.0.0-snap20020118
|
||||
|
||||
MAINTAINER= trish@bsdunix.net
|
||||
|
||||
USE_GMAKE= yes
|
||||
|
||||
NO_PACKAGE= "Requires ecartis uid"
|
||||
WRKSRC= ${WRKDIR}/ecartis-1.0.0/src
|
||||
|
||||
pre-patch:
|
||||
@${CP} ${WRKSRC}/Makefile.dist ${WRKSRC}/Makefile
|
||||
|
||||
pre-install:
|
||||
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
|
||||
@${MKDIR} ${PREFIX}/${PORTNAME}
|
||||
@${CP} -R ${WRKDIR}/${PORTNAME}-1.0.0/* ${PREFIX}/ecartis
|
||||
@${RM} -R ${PREFIX}/${PORTNAME}/src/
|
||||
@${RM} -R ${PREFIX}/${PORTNAME}/debian/
|
||||
@${CHOWN} -R ecartis:ecartis ${PREFIX}/${PORTNAME}/*
|
||||
|
||||
post-install:
|
||||
@${ECHO_MSG} "---------------------------------------------------"
|
||||
@${ECHO_MSG} "- Thank You for installing the Ecartis Listserver -"
|
||||
@${ECHO_MSG} "- package. Please read the documentation located -"
|
||||
@${ECHO_MSG} "- in ${PREFIX}/ecartis/, or online at: -"
|
||||
@${ECHO_MSG} "- -"
|
||||
@${ECHO_MSG} "- http://www.listar.org/ -"
|
||||
@${ECHO_MSG} "- -"
|
||||
@${ECHO_MSG} "- -The Listar/Ecartis Developers -"
|
||||
@${ECHO_MSG} "---------------------------------------------------"
|
||||
|
||||
.include <bsd.port.mk>
|
1
mail/ecartis/distinfo
Normal file
1
mail/ecartis/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (ecartis-1.0.0-snap20020118.tar.gz) = 9f3c60e2786212f73feb2f9366f491f3
|
56
mail/ecartis/files/patch-aa
Normal file
56
mail/ecartis/files/patch-aa
Normal file
@ -0,0 +1,56 @@
|
||||
--- Makefile.orig Sun Jun 17 22:13:03 2001
|
||||
+++ Makefile Sun Jun 17 22:14:19 2001
|
||||
@@ -6,8 +6,8 @@
|
||||
# they should be set. All of them are conditional on options set in this
|
||||
# file, so it should be relatively easy to determine which branch is correct
|
||||
|
||||
-BINDIR = ..
|
||||
-MODDIR = ../modules
|
||||
+BINDIR = ${PREFIX}/ecartis
|
||||
+MODDIR = ${PREFIX}/ecartis/modules
|
||||
|
||||
# First things first we need to set up some various options since OS's aren't
|
||||
# as nice about things are they could be.
|
||||
@@ -38,7 +38,7 @@
|
||||
# Uncomment this if you are on a BSD system AND you want dynamic modules
|
||||
# SunOS (4 and 5 both) also needs this setting.
|
||||
#
|
||||
-#BSDMOD = 1
|
||||
+BSDMOD = 1
|
||||
|
||||
# Uncomment this if you are compiling on OpenBSD with modules (BSDMOD = 1)
|
||||
#OBSDMOD = 1
|
||||
@@ -60,7 +60,7 @@
|
||||
# Uncomment this if you have the GNU strftime() function. This version
|
||||
# of the function understands %z to return the numerical offset. It's better
|
||||
# to use that if it's available for RFC822 date headers
|
||||
-GNU_STRFTIME=-DGNU_STRFTIME
|
||||
+#GNU_STRFTIME=-DGNU_STRFTIME
|
||||
|
||||
# Uncomment this if you are on a machine that doesn't have strerror()
|
||||
#
|
||||
@@ -125,7 +125,6 @@
|
||||
ifdef BSDIMOD
|
||||
CC=shlicc
|
||||
else
|
||||
-CC=gcc
|
||||
endif
|
||||
|
||||
# Warning-level flags. Under SunOS (4 and 5), this NEEDS TO BE BLANK.
|
||||
@@ -134,7 +133,7 @@
|
||||
#
|
||||
# It appears that IRIX is also rather stupid, and may require this
|
||||
# to be removed.
|
||||
-WFLAGS=-Wall -Werror
|
||||
+WFLAGS:=${CFLAGS}
|
||||
|
||||
# Now set up the initial command line. SUNOS_5 makes this a bit wierd.
|
||||
ifndef SUNOS_5
|
||||
@@ -321,6 +320,7 @@
|
||||
install: targets
|
||||
cp build/ecartis ${BINDIR}
|
||||
chmod ug+s ${BINDIR}/ecartis
|
||||
+ chown -R ecartis:ecartis ${BINDIR}
|
||||
ifdef DYNMOD
|
||||
@for dir in ${MODULES}; do \
|
||||
cp build/$${dir}.lpm ${MODDIR}/$${dir}.lpm; \
|
1
mail/ecartis/pkg-comment
Normal file
1
mail/ecartis/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
The Ecartis Listserver \ Mailing List Manager
|
13
mail/ecartis/pkg-descr
Normal file
13
mail/ecartis/pkg-descr
Normal file
@ -0,0 +1,13 @@
|
||||
Listar is a open-source (GNU Licence) software package that adminsters
|
||||
mailing lists (similar to Majordomo and Listserv). Some of Listar's
|
||||
features include:
|
||||
|
||||
- A modular design structure, so that you can compile what you
|
||||
need (and don't)
|
||||
- The ability to strip down MIME messages and remove their
|
||||
attachments.
|
||||
- Ability to be run in a multi-Virtual Host configuration.
|
||||
|
||||
Take a look at Listar's website to get a full feature list:
|
||||
|
||||
WWW: http://www.listar.org/
|
63
mail/ecartis/pkg-install
Normal file
63
mail/ecartis/pkg-install
Normal file
@ -0,0 +1,63 @@
|
||||
#!/bin/sh
|
||||
|
||||
user=ecartis
|
||||
group=ecartis
|
||||
|
||||
ask() {
|
||||
local question default answer
|
||||
|
||||
question=$1
|
||||
default=$2
|
||||
if [ -z "${PACKAGE_BUILDING}" ]; then
|
||||
read -p "${question} [${default}]? " answer
|
||||
fi
|
||||
if [ x${answer} = x ]; then
|
||||
answer=${default}
|
||||
fi
|
||||
echo ${answer}
|
||||
}
|
||||
|
||||
yesno() {
|
||||
local dflt question answer
|
||||
|
||||
question=$1
|
||||
dflt=$2
|
||||
while :; do
|
||||
answer=$(ask "${question}" "${dflt}")
|
||||
case "${answer}" in
|
||||
[Yy]*) return 0;;
|
||||
[Nn]*) return 1;;
|
||||
esac
|
||||
echo "Please answer yes or no."
|
||||
done
|
||||
}
|
||||
|
||||
if [ x"$2" = xPRE-INSTALL ]; then
|
||||
if pw groupshow "${group}" 2>/dev/null; then
|
||||
echo "You already have a group \"${group}\", so I will use it."
|
||||
else
|
||||
echo "You need a group \"${group}\"."
|
||||
if yesno "Would you like me to create it" y; then
|
||||
pw groupadd ${group} -h - || exit
|
||||
echo "Done."
|
||||
else
|
||||
echo "Please create it, and try again."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
if pw user show "${user}" 2>/dev/null; then
|
||||
echo "You already have a user \"${user}\", so I will use it."
|
||||
else
|
||||
echo "You need a user \"${user}\"."
|
||||
if yesno "Would you like me to create it" y; then
|
||||
pw useradd ${user} -g ${group} -h - -d /nonexistent \
|
||||
-s /nonexistent -c "Listar Listserver" || exit
|
||||
echo "Done."
|
||||
else
|
||||
echo "Please create it, and try again."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
fi
|
69
mail/ecartis/pkg-plist
Normal file
69
mail/ecartis/pkg-plist
Normal file
@ -0,0 +1,69 @@
|
||||
ecartis/ecartis
|
||||
ecartis/banned
|
||||
ecartis/queue/README
|
||||
ecartis/modules/README
|
||||
ecartis/modules/bouncer.lpm
|
||||
ecartis/modules/listarchive.lpm
|
||||
ecartis/modules/filearchive.lpm
|
||||
ecartis/modules/admin.lpm
|
||||
ecartis/modules/acctmgr.lpm
|
||||
ecartis/modules/stat.lpm
|
||||
ecartis/modules/send.lpm
|
||||
ecartis/modules/base.lpm
|
||||
ecartis/modules/digest.lpm
|
||||
ecartis/modules/antispam.lpm
|
||||
ecartis/modules/administrivia.lpm
|
||||
ecartis/modules/toolbox.lpm
|
||||
ecartis/modules/pantomime.lpm
|
||||
ecartis/modules/lsg2.lpm
|
||||
ecartis/modules/password.lpm
|
||||
ecartis/modules/peruser.lpm
|
||||
ecartis/scripts/lsg2.cgi.dist
|
||||
ecartis/lists/test/text/blacklist.txt
|
||||
ecartis/lists/test/text/closed-post.txt
|
||||
ecartis/lists/test/text/footer.txt
|
||||
ecartis/lists/test/text/intro.txt
|
||||
ecartis/lists/test/config
|
||||
ecartis/lists/test/cookies
|
||||
ecartis/lists/test/users
|
||||
ecartis/templates/userlist.lsc
|
||||
ecartis/templates/admin-usersetinfo.lsc
|
||||
ecartis/templates/adminmenu.lsc
|
||||
ecartis/templates/config.lsc
|
||||
ecartis/templates/error.lsc
|
||||
ecartis/templates/fileedit.lsc
|
||||
ecartis/templates/flagedit.lsc
|
||||
ecartis/templates/footer.lsc
|
||||
ecartis/templates/frontpage.lsc
|
||||
ecartis/templates/generic.lsc
|
||||
ecartis/templates/header.lsc
|
||||
ecartis/templates/listmenu.lsc
|
||||
ecartis/templates/logincookie.lsc
|
||||
ecartis/templates/mainmenu.lsc
|
||||
ecartis/templates/subscribe.lsc
|
||||
ecartis/templates/textfile.lsc
|
||||
ecartis/templates/unsubscribe.lsc
|
||||
ecartis/templates/userinfo.lsc
|
||||
ecartis/templates/userlist-deny.lsc
|
||||
ecartis/templates/admin-userinfo.lsc
|
||||
ecartis/README.LISTS
|
||||
ecartis/README.DIGEST
|
||||
ecartis/README.ANTISPAM
|
||||
ecartis/README
|
||||
ecartis/NOTE
|
||||
ecartis/LICENSE
|
||||
ecartis/ECARTIS.TODO
|
||||
ecartis/COPYRIGHT
|
||||
ecartis/spam-regexp.sample
|
||||
ecartis/ecartis.spec
|
||||
ecartis/ecartis.hlp
|
||||
ecartis/ecartis.cfg.dist
|
||||
ecartis/ecartis.aliases.dist
|
||||
@dirrm ecartis/lists/test/text
|
||||
@dirrm ecartis/lists/test
|
||||
@dirrm ecartis/lists
|
||||
@dirrm ecartis/templates
|
||||
@dirrm ecartis/scripts
|
||||
@dirrm ecartis/queue
|
||||
@dirrm ecartis/modules
|
||||
@dirrm ecartis
|
Loading…
Reference in New Issue
Block a user