Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 2000 19:11:58 -0700 (PDT)
From:      plosher@wwiv.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/18122: Port Submission for the Listar Listserver
Message-ID:  <20000421021158.2EC52585C@tardis.wwiv.com>

next in thread | raw e-mail | index | archive | help

>Number:         18122
>Category:       ports
>Synopsis:       Port Submission for the Listar Listserver
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 20 19:20:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Peter Losher
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
>Environment:

	

>Description:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	.
#	./listar
#	./listar/pkg
#	./listar/pkg/INSTALL
#	./listar/pkg/DESCR
#	./listar/pkg/COMMENT
#	./listar/pkg/PLIST
#	./listar/patches
#	./listar/patches/patch-aa
#	./listar/files
#	./listar/files/md5
#	./listar/Makefile
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo c - ./listar
mkdir -p ./listar > /dev/null 2>&1
echo c - ./listar/pkg
mkdir -p ./listar/pkg > /dev/null 2>&1
echo x - ./listar/pkg/INSTALL
sed 's/^X//' >./listar/pkg/INSTALL << 'END-of-./listar/pkg/INSTALL'
X#!/bin/sh
X
Xuser=listar
Xgroup=listar
X
Xask() {
X    local question default answer
X
X    question=$1
X    default=$2
X    if [ -z "${PACKAGE_BUILDING}" ]; then
X        read -p "${question} [${default}]? " answer
X    fi
X    if [ x${answer} = x ]; then
X        answer=${default}
X    fi
X    echo ${answer}
X}
X
Xyesno() {
X    local dflt question answer
X
X    question=$1
X    dflt=$2
X    while :; do
X        answer=$(ask "${question}" "${dflt}")
X        case "${answer}" in
X        [Yy]*)          return 0;;
X        [Nn]*)          return 1;;
X        esac
X        echo "Please answer yes or no."
X    done
X}
X
Xif [ x"$2" = xPRE-INSTALL ]; then
X    if pw groupshow "${group}" 2>/dev/null; then
X        echo "You already have a group \"${group}\", so I will use it."
X    else
X        echo "You need a group \"${group}\"."
X        if yesno "Would you like me to create it" y; then
X            pw groupadd ${group} -h - || exit
X            echo "Done."
X        else
X            echo "Please create it, and try again."
X            exit 1
X        fi
X    fi
X
X    if pw user show "${user}" 2>/dev/null; then
X        echo "You already have a user \"${user}\", so I will use it."
X    else
X        echo "You need a user \"${user}\"."
X        if yesno "Would you like me to create it" y; then
X            pw useradd ${user} -g ${group} -h - -d /nonexistent \
X                -s /nonexistent -c "Listar Listserver" || exit
X            echo "Done."
X        else
X            echo "Please create it, and try again."
X            exit 1
X        fi
X    fi
X
Xfi
X
END-of-./listar/pkg/INSTALL
echo x - ./listar/pkg/DESCR
sed 's/^X//' >./listar/pkg/DESCR << 'END-of-./listar/pkg/DESCR'
XListar is a open-source (GNU Licence) software package that adminsters 
Xmailing lists (similar to Majordomo and Listserv).  Some of Listar's
Xfeatures include:
X
X	- A modular design structure, so that you can compile what you
X	  need (and don't)
X	- The ability to strip down MIME messages and remove their
X	  attachments.
X	- Ability to be run in a multi-Virtual Host configuration.
X
XTake a look at Listar's website to get a full feature list:
X 
XWWW: http://www.listar.org/
END-of-./listar/pkg/DESCR
echo x - ./listar/pkg/COMMENT
sed 's/^X//' >./listar/pkg/COMMENT << 'END-of-./listar/pkg/COMMENT'
XThe Listar Listserver \ Mailing List Manager
END-of-./listar/pkg/COMMENT
echo x - ./listar/pkg/PLIST
sed 's/^X//' >./listar/pkg/PLIST << 'END-of-./listar/pkg/PLIST'
Xlistar/COPYRIGHT
Xlistar/LICENSE
Xlistar/NOTE
Xlistar/PLATFORMS
Xlistar/README
Xlistar/README.126
Xlistar/README.ANTISPAM
Xlistar/README.CVS
Xlistar/README.DIGEST
Xlistar/README.LISTS
Xlistar/banned
Xlistar/listar
Xlistar/listar.aliases.dist
Xlistar/listar.cfg.dist
Xlistar/listar.dsw
Xlistar/listar.hlp
Xlistar/listar.spec
Xlistar/lists/test/text/blacklist.txt
Xlistar/lists/test/text/closed-post.txt
Xlistar/lists/test/text/footer.txt
Xlistar/lists/test/text/intro.txt
Xlistar/lists/test/config
Xlistar/lists/test/cookies
Xlistar/lists/test/users
Xlistar/modules/README
Xlistar/modules/bouncer.lpm
Xlistar/modules/listarchive.lpm
Xlistar/modules/filearchive.lpm
Xlistar/modules/admin.lpm
Xlistar/modules/acctmgr.lpm
Xlistar/modules/stat.lpm
Xlistar/modules/send.lpm
Xlistar/modules/base.lpm
Xlistar/modules/digest.lpm
Xlistar/modules/antispam.lpm
Xlistar/modules/administrivia.lpm
Xlistar/modules/toolbox.lpm
Xlistar/modules/pantomime.lpm
Xlistar/modules/listargate.lpm
Xlistar/modules/password.lpm
Xlistar/queue/README
Xlistar/scripts/listargate.cgi.dist
Xlistar/scripts/fixlist.pl.dist
Xlistar/spam-regexp.sample
X@dirrm listar/lists/test/text
X@dirrm listar/lists/test
X@dirrm listar/lists
X@dirrm listar/modules
X@dirrm listar/queue
X@dirrm listar/scripts
X@dirrm listar
END-of-./listar/pkg/PLIST
echo c - ./listar/patches
mkdir -p ./listar/patches > /dev/null 2>&1
echo x - ./listar/patches/patch-aa
sed 's/^X//' >./listar/patches/patch-aa << 'END-of-./listar/patches/patch-aa'
X--- Makefile.dist	Thu Nov 11 16:49:23 1999
X+++ Makefile	Sat Apr  8 23:44:45 2000
X@@ -6,8 +6,8 @@
X # they should be set.  All of them are conditional on options set in this
X # file, so it should be relatively easy to determine which branch is correct
X 
X-BINDIR = ..
X-MODDIR = ../modules
X+BINDIR = /usr/local/listar
X+MODDIR = /usr/local/listar/modules
X 
X # First things first we need to set up some various options since OS's aren't
X # as nice about things are they could be.
X@@ -27,7 +27,7 @@
X # Uncomment this if you are on a BSD system AND you want dynamic modules
X # SunOS (4 and 5 both) also needs this setting.
X #
X-#BSDMOD = 1
X+BSDMOD = 1
X 
X # Uncomment this if you are compiling on OpenBSD with modules (BSDMOD = 1)
X #OBSDMOD = 1
X@@ -49,7 +49,7 @@
X # Uncomment this if you have the GNU strftime() function.  This version
X # of the function understands %z to return the numerical offset.  It's better
X # to use that if it's available for RFC822 date headers
X-GNU_STRFTIME=-DGNU_STRFTIME
X+#GNU_STRFTIME=-DGNU_STRFTIME
X 
X # Uncomment this if you are on a machine that doesn't have strerror()
X #
X@@ -301,6 +301,7 @@
X install: targets
X 	cp build/listar ${BINDIR}
X 	chmod ug+s ${BINDIR}/listar
X+	chown -R listar:listar ${BINDIR}
X ifdef DYNMOD
X 	@for dir in ${MODULES}; do \
X 		cp build/$${dir}.lpm ${MODDIR}/$${dir}.lpm; \
END-of-./listar/patches/patch-aa
echo c - ./listar/files
mkdir -p ./listar/files > /dev/null 2>&1
echo x - ./listar/files/md5
sed 's/^X//' >./listar/files/md5 << 'END-of-./listar/files/md5'
XMD5 (listar-0.129a.tar.gz) = c9b6c5297def7c6c30740bb5c8a39f32
END-of-./listar/files/md5
echo x - ./listar/Makefile
sed 's/^X//' >./listar/Makefile << 'END-of-./listar/Makefile'
X# New ports collection makefile for:	listar
X# Version required:	0.129a
X# Date created:		09 Apr 2000
X# Whom:			Peter Losher <plosher@wwiv.com>
X#
X# $FreeBSD$
X#
X
XDISTNAME=	listar-0.129a
XCATEGORIES=	mail
XMASTER_SITES=	ftp://ftp.listar.org/pub/listar/
X
XMAINTAINER=	plosher@wwiv.com
X
XUSE_GMAKE=	yes
X
XNO_PACKAGE=     "Requires listar uid"
XWRKSRC=         ${WRKDIR}/${DISTNAME}/src
X
Xpre-patch:
X
X	@ ${CP} ${WRKSRC}/Makefile.dist ${WRKSRC}/Makefile
X
Xpre-install:
X
X	@PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} PRE-INSTALL
X	@ ${MKDIR} ${PREFIX}/listar
X	@ ${CP} -R ${WRKDIR}/${DISTNAME}/* ${PREFIX}/listar
X	@ ${RM} -R ${PREFIX}/listar/src/
X	@ ${RM} -R ${PREFIX}/listar/debian/
X	@ ${CHOWN} -R listar:listar ${PREFIX}/listar/*
X
Xpost-install:
X
X	@${ECHO_MSG} "---------------------------------------------------"
X	@${ECHO_MSG} "- Thank You for installing the Listar Listserver  -"
X	@${ECHO_MSG} "- package.  Please read the documentation located -"
X	@${ECHO_MSG} "- in ${PREFIX}/listar/, or online at:            -"
X	@${ECHO_MSG} "-                                                 -"
X	@${ECHO_MSG} "- http://www.listar.org/                          -"
X	@${ECHO_MSG} "-                                                 -"
X	@${ECHO_MSG} "- -The Listar Developers                          -"
X	@${ECHO_MSG} "---------------------------------------------------"
X
X.include <bsd.port.mk>
END-of-./listar/Makefile
exit

>How-To-Repeat:

	

>Fix:
	
	


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000421021158.2EC52585C>