From owner-svn-ports-all@FreeBSD.ORG Fri Jun 20 20:06:23 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 69191245; Fri, 20 Jun 2014 20:06:23 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 498FF2606; Fri, 20 Jun 2014 20:06:23 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5KK6NE7001757; Fri, 20 Jun 2014 20:06:23 GMT (envelope-from wg@svn.freebsd.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5KK6LHg001745; Fri, 20 Jun 2014 20:06:21 GMT (envelope-from wg@svn.freebsd.org) Message-Id: <201406202006.s5KK6LHg001745@svn.freebsd.org> From: William Grzybowski Date: Fri, 20 Jun 2014 20:06:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r358634 - in head: . mail/ecartis mail/ecartis/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2014 20:06:23 -0000 Author: wg Date: Fri Jun 20 20:06:21 2014 New Revision: 358634 URL: http://svnweb.freebsd.org/changeset/ports/358634 QAT: https://qat.redports.org/buildarchive/r358634/ Log: mail/ecartis: support stage - Add UID/GID for this port - Update MASTER_SITES - Remove IS_INTERACTIVE PR: 190753 Submitted by: fullermd over-yonder net Approved by: maintainer Added: head/mail/ecartis/files/patch-Makefile (contents, props changed) head/mail/ecartis/files/pkg-message.in (contents, props changed) Deleted: head/mail/ecartis/files/patch-aa head/mail/ecartis/pkg-install Modified: head/GIDs head/UIDs head/mail/ecartis/Makefile head/mail/ecartis/pkg-descr head/mail/ecartis/pkg-plist Modified: head/GIDs ============================================================================== --- head/GIDs Fri Jun 20 19:24:56 2014 (r358633) +++ head/GIDs Fri Jun 20 20:06:21 2014 (r358634) @@ -165,6 +165,7 @@ uhub:*:411: drweb:*:426: quasselcore:*:442: callweaver:*:444: +ecartis:*:450: courier:*:465: condor:*:466: netmon:*:467: Modified: head/UIDs ============================================================================== --- head/UIDs Fri Jun 20 19:24:56 2014 (r358633) +++ head/UIDs Fri Jun 20 20:06:21 2014 (r358634) @@ -170,6 +170,7 @@ uhub:*:411:411::0:0:uHub ADC Daemon:/non drweb:*:426:426::0:0:Dr.Web Mail Scanner:/nonexistent:/usr/sbin/nologin quasselcore:*:442:442::0:0:Quassel IRC User:/nonexistent:/usr/sbin/nologin callweaver:*:444:444::0:0:Callweaver account:/var/lib/callweaver:/usr/sbin/nologin +ecartis:*:450:450::0:0:Ecartis Listserver:/usr/local/ecartis:/usr/sbin/nologin courier:*:465:465::0:0:Courier Mail Server:/nonexistent:/usr/sbin/nologin condor:*:466:466::0:0:& user:/home/condor:/usr/sbin/nologin netmon:*:467:467::0:0:Network monitor account:/var/netmon:/usr/sbin/nologin Modified: head/mail/ecartis/Makefile ============================================================================== --- head/mail/ecartis/Makefile Fri Jun 20 19:24:56 2014 (r358633) +++ head/mail/ecartis/Makefile Fri Jun 20 20:06:21 2014 (r358634) @@ -3,43 +3,34 @@ PORTNAME= ecartis PORTVERSION= 1.0.0.s20060813 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= mail -MASTER_SITES= http://conducive.net/tarballs/ \ +MASTER_SITES= ftp://ftp.ecartis.net/pub/ecartis/ \ http://rodrigo.osorio.free.fr/freebsd/distfiles/ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.s/-snap/} MAINTAINER= jtrigg@spamcop.net -COMMENT= The Ecartis Listserver \ Mailing List Manager +COMMENT= The Ecartis Listserver / Mailing List Manager USES= gmake -NO_PACKAGE= Requires ecartis uid -IS_INTERACTIVE= "Stops to ask to create ecartis user/group" +USERS= ecartis +GROUPS= ecartis + WRKSRC= ${WRKDIR}/ecartis-1.0.0/src +IDEST= ${STAGEDIR}${PREFIX}/${PORTNAME} + +SUB_FILES= pkg-message +PLIST_SUB+= EC_USER=${USERS} EC_GROUP=${GROUPS} -NO_STAGE= yes 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/ - @${RM} ${PREFIX}/${PORTNAME}/ecartis.dsp ${PREFIX}/${PORTNAME}/ecartis.dsw - @${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.ecartis.org/ -" - @${ECHO_MSG} "- -" - @${ECHO_MSG} "- -The Ecartis Developers -" - @${ECHO_MSG} "---------------------------------------------------" + ${MKDIR} ${IDEST} + cd ${WRKDIR}/${PORTNAME}-1.0.0 && ${FIND} * -print | \ + ${CPIO} -pdu --quiet ${IDEST} + ${RM} -rf ${IDEST}/src/ ${IDEST}/debian ${IDEST}/ecartis.ds[pw] .include Added: head/mail/ecartis/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/ecartis/files/patch-Makefile Fri Jun 20 20:06:21 2014 (r358634) @@ -0,0 +1,41 @@ +--- Makefile.dist 2006-08-13 03:50:15.000000000 -0500 ++++ Makefile 2014-05-19 20:04:56.636909101 -0500 +@@ -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 = ${DESTDIR}${PREFIX}/ecartis ++MODDIR = ${BINDIR}/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. +@@ -33,7 +33,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 +@@ -120,7 +120,6 @@ + ifdef BSDIMOD + CC=shlicc + else +-CC=gcc + endif + + # Warning-level flags. Under SunOS (4 and 5), this NEEDS TO BE BLANK. +@@ -129,9 +128,7 @@ + # + # It appears that IRIX is also rather stupid, and may require this + # to be removed. +-WFLAGS=-Wall -Werror +-# Uncomment this to build with gdb symbols (comment above line) +-#WFLAGS=-ggdb -Wall -Werror ++WFLAGS:=${CFLAGS} + + # Now set up the initial command line. SUNOS_5 makes this a bit wierd. + ifndef SUNOS_5 Added: head/mail/ecartis/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/ecartis/files/pkg-message.in Fri Jun 20 20:06:21 2014 (r358634) @@ -0,0 +1,7 @@ +Thank You for installing the Ecartis Listserver package. Please +read the documentation located in %%PREFIX%%/ecartis/ +or online at: + +http://www.ecartis.net/ + +-- The Ecartis Developers Modified: head/mail/ecartis/pkg-descr ============================================================================== --- head/mail/ecartis/pkg-descr Fri Jun 20 19:24:56 2014 (r358633) +++ head/mail/ecartis/pkg-descr Fri Jun 20 20:06:21 2014 (r358634) @@ -1,4 +1,4 @@ -Ecartis is a open-source (GNU Licence) software package that adminsters +Ecartis is a open-source (GNU Licence) software package that adminsters mailing lists (similar to Majordomo and Listserv). Some of Ecartis's features include: @@ -9,5 +9,5 @@ features include: - Ability to be run in a multi-Virtual Host configuration. Take a look at the Ecartis website to get a full feature list: - -WWW: http://www.ecartis.org/ + +WWW: http://www.ecartis.net Modified: head/mail/ecartis/pkg-plist ============================================================================== --- head/mail/ecartis/pkg-plist Fri Jun 20 19:24:56 2014 (r358633) +++ head/mail/ecartis/pkg-plist Fri Jun 20 20:06:21 2014 (r358634) @@ -1,3 +1,5 @@ +@owner %%EC_USER%% +@group %%EC_GROUP%% ecartis/ecartis ecartis/banned ecartis/documentation/Makefile @@ -65,10 +67,10 @@ ecartis/ecartis.cfg.dist ecartis/ecartis.aliases.dist @dirrm ecartis/lists/test/text @dirrm ecartis/lists/test -@dirrm ecartis/lists +@dirrmtry ecartis/lists @dirrm ecartis/templates @dirrm ecartis/scripts -@dirrm ecartis/queue +@dirrmtry ecartis/queue @dirrm ecartis/modules @dirrm ecartis/documentation -@dirrm ecartis +@dirrmtry ecartis