head	1.58;
access;
symbols
	RELEASE_8_3_0:1.53
	RELEASE_9_0_0:1.53
	RELEASE_7_4_0:1.53
	RELEASE_8_2_0:1.53
	RELEASE_6_EOL:1.52
	RELEASE_8_1_0:1.51
	RELEASE_7_3_0:1.45
	RELEASE_8_0_0:1.45
	RELEASE_7_2_0:1.43
	RELEASE_7_1_0:1.41
	RELEASE_6_4_0:1.41
	RELEASE_5_EOL:1.37
	RELEASE_7_0_0:1.35
	RELEASE_6_3_0:1.35
	PRE_XORG_7:1.33
	RELEASE_4_EOL:1.32
	RELEASE_6_2_0:1.31
	RELEASE_6_1_0:1.24
	RELEASE_5_5_0:1.24
	RELEASE_6_0_0:1.23
	RELEASE_5_4_0:1.21
	RELEASE_4_11_0:1.17
	RELEASE_5_3_0:1.15
	RELEASE_4_10_0:1.10
	RELEASE_5_2_1:1.9
	RELEASE_5_2_0:1.9
	RELEASE_4_9_0:1.9
	RELEASE_5_1_0:1.9
	RELEASE_4_8_0:1.9
	RELEASE_5_0_0:1.8
	RELEASE_4_7_0:1.8
	RELEASE_4_6_2:1.7
	RELEASE_4_6_1:1.7
	RELEASE_4_6_0:1.7
	RELEASE_5_0_DP1:1.5
	RELEASE_4_5_0:1.3;
locks; strict;
comment	@# @;


1.58
date	2013.01.05.13.46.58;	author svnexp;	state Exp;
branches;
next	1.57;

1.57
date	2012.11.17.06.02.42;	author svnexp;	state Exp;
branches;
next	1.56;

1.56
date	2012.11.05.19.01.08;	author rea;	state Exp;
branches;
next	1.55;

1.55
date	2012.09.11.07.51.07;	author rea;	state Exp;
branches;
next	1.54;

1.54
date	2012.04.10.16.04.23;	author miwi;	state Exp;
branches;
next	1.53;

1.53
date	2011.01.18.08.45.56;	author wen;	state Exp;
branches;
next	1.52;

1.52
date	2010.07.28.15.54.33;	author arved;	state Exp;
branches;
next	1.51;

1.51
date	2010.04.30.14.19.33;	author wxs;	state Exp;
branches;
next	1.50;

1.50
date	2010.04.28.21.38.42;	author flz;	state Exp;
branches;
next	1.49;

1.49
date	2010.04.26.04.55.18;	author linimon;	state Exp;
branches;
next	1.48;

1.48
date	2010.04.25.19.03.51;	author linimon;	state Exp;
branches;
next	1.47;

1.47
date	2010.04.02.18.00.01;	author miwi;	state Exp;
branches;
next	1.46;

1.46
date	2010.03.10.17.43.40;	author miwi;	state Exp;
branches;
next	1.45;

1.45
date	2009.07.08.02.24.43;	author itetcu;	state Exp;
branches;
next	1.44;

1.44
date	2009.05.16.13.08.51;	author miwi;	state Exp;
branches;
next	1.43;

1.43
date	2009.01.30.09.55.36;	author miwi;	state Exp;
branches;
next	1.42;

1.42
date	2008.12.10.00.28.36;	author wxs;	state Exp;
branches;
next	1.41;

1.41
date	2008.09.06.15.46.59;	author miwi;	state Exp;
branches;
next	1.40;

1.40
date	2008.07.07.14.04.12;	author miwi;	state Exp;
branches;
next	1.39;

1.39
date	2008.06.27.12.25.35;	author miwi;	state Exp;
branches;
next	1.38;

1.38
date	2008.06.21.13.21.07;	author miwi;	state Exp;
branches;
next	1.37;

1.37
date	2008.03.26.07.30.55;	author beech;	state Exp;
branches;
next	1.36;

1.36
date	2008.02.25.08.46.43;	author miwi;	state Exp;
branches;
next	1.35;

1.35
date	2007.07.30.09.42.07;	author alexbl;	state Exp;
branches;
next	1.34;

1.34
date	2007.05.29.02.48.55;	author lwhsu;	state Exp;
branches;
next	1.33;

1.33
date	2007.02.09.06.22.40;	author delphij;	state Exp;
branches;
next	1.32;

1.32
date	2007.01.02.16.28.11;	author delphij;	state Exp;
branches;
next	1.31;

1.31
date	2006.09.28.17.20.59;	author pav;	state Exp;
branches;
next	1.30;

1.30
date	2006.07.14.06.23.37;	author clsung;	state Exp;
branches;
next	1.29;

1.29
date	2006.07.14.05.00.05;	author linimon;	state Exp;
branches;
next	1.28;

1.28
date	2006.07.06.00.51.33;	author clsung;	state Exp;
branches;
next	1.27;

1.27
date	2006.04.29.22.10.23;	author mnag;	state Exp;
branches;
next	1.26;

1.26
date	2006.04.14.18.14.58;	author linimon;	state Exp;
branches;
next	1.25;

1.25
date	2006.04.05.09.21.36;	author sem;	state Exp;
branches;
next	1.24;

1.24
date	2005.09.16.16.35.01;	author vsevolod;	state Exp;
branches;
next	1.23;

1.23
date	2005.07.09.14.16.17;	author flz;	state Exp;
branches;
next	1.22;

1.22
date	2005.05.30.21.37.27;	author flz;	state Exp;
branches;
next	1.21;

1.21
date	2005.03.01.12.27.59;	author flz;	state Exp;
branches;
next	1.20;

1.20
date	2005.02.13.18.22.27;	author vs;	state Exp;
branches;
next	1.19;

1.19
date	2005.02.11.10.10.21;	author josef;	state Exp;
branches;
next	1.18;

1.18
date	2005.01.23.15.37.39;	author josef;	state Exp;
branches;
next	1.17;

1.17
date	2004.12.30.16.11.34;	author josef;	state Exp;
branches;
next	1.16;

1.16
date	2004.11.21.03.23.58;	author pav;	state Exp;
branches;
next	1.15;

1.15
date	2004.08.05.22.38.54;	author edwin;	state Exp;
branches;
next	1.14;

1.14
date	2004.06.26.15.07.21;	author eik;	state Exp;
branches;
next	1.13;

1.13
date	2004.06.13.07.19.49;	author krion;	state Exp;
branches;
next	1.12;

1.12
date	2004.06.10.05.27.41;	author perky;	state Exp;
branches;
next	1.11;

1.11
date	2004.05.21.06.34.18;	author kris;	state Exp;
branches;
next	1.10;

1.10
date	2003.12.08.06.09.31;	author perky;	state Exp;
branches;
next	1.9;

1.9
date	2003.02.25.06.25.35;	author perky;	state Exp;
branches;
next	1.8;

1.8
date	2002.06.25.07.50.58;	author perky;	state Exp;
branches;
next	1.7;

1.7
date	2002.05.14.22.02.21;	author pat;	state Exp;
branches;
next	1.6;

1.6
date	2002.04.29.19.17.13;	author ijliao;	state Exp;
branches;
next	1.5;

1.5
date	2002.03.13.11.03.22;	author pat;	state Exp;
branches;
next	1.4;

1.4
date	2002.02.15.06.43.01;	author kevlo;	state Exp;
branches;
next	1.3;

1.3
date	2002.01.10.15.22.10;	author kevlo;	state Exp;
branches;
next	1.2;

1.2
date	2001.11.24.18.57.27;	author dwcjr;	state Exp;
branches;
next	1.1;

1.1
date	2001.10.15.12.43.35;	author ijliao;	state Exp;
branches;
next	;


desc
@@


1.58
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/309959
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r309959 | crees | 2013-01-05 13:03:58 +0000 (Sat, 05 Jan 2013) | 8 lines
## SVN ##
## SVN ## Update to 1.9.6, fixing security issue.
## SVN ##
## SVN ## All problems here are my responsiblity.
## SVN ##
## SVN ## PR:		ports/175004
## SVN ## Submitted by:	crees
## SVN ## Approved by:	so (simon)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@# Created by: Hye-Shik Chang <perky@@python.or.kr>
# $FreeBSD: head/www/moinmoin/Makefile 309959 2013-01-05 13:03:58Z crees $

PORTNAME=	moinmoin
PORTVERSION=	1.9.6
CATEGORIES=	www python
MASTER_SITES=	http://static.moinmo.in/files/
DISTNAME=	moin-${PORTVERSION}

MAINTAINER=	khsing.cn@@gmail.com
COMMENT=	A Python clone of WikiWiki

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/docs/licenses/COPYING

USE_PYTHON=	yes
USE_PYDISTUTILS=	yes
PYDISTUTILS_PKGNAME=	moin

PLIST_SUB+=	PYTHON_SITELIB=${PYTHON_SITELIBDIR:S|^${LOCALBASE}/||} \
		DATADIR=share/moin
SUB_FILES=	pkg-install
SUB_LIST=	MOINDIR=${MOINDIR} MOINDEST=${MOINDEST} \
		HTDOCS=${PYTHON_SITELIBDIR}/MoinMoin/web/static/htdocs

CGIUSER?=	www
CGIGROUP?=	www
MOINDIR=	${PREFIX}/share/moin
MOINDEST?=	${PREFIX}/www/wiki
MOINTYPE?=	CGI

PKGDEINSTALL=	${PKGINSTALL}

.if ${MOINTYPE} == "STANDALONE"
MOINSCRIPT=	${MOINDIR}/server/moin
.elif ${MOINTYPE} == "FCGI"
MOINSCRIPT=	${MOINDIR}/server/moin.fcgi
.elif ${MOINTYPE} == "MOD_PYTHON"
.elif ${MOINTYPE} == "CGI"
MOINSCRIPT=	${MOINDIR}/server/moin.cgi
.elif ${MOINTYPE} == "WSGI"
MOINSCRIPT=	${MOINDIR}/server/moin.wsgi
.else
BROKEN=		MOINTYPE must be a STANDALONE, FCGI, WSGI, MOD_PYTHON or CGI.
.endif

pre-everything::
	@@${ECHO}
	@@${ECHO} "Set MOINTYPE=(CGI|FCGI|WSGI|STANDALONE) to define"
	@@${ECHO} "type of installation. Default is CGI."
	@@${ECHO} "Use MOINDEST=/path to modify installation destination."
	@@${ECHO} "Default value for MOINDEST is ${PREFIX}/www/wiki."
	@@${ECHO}
	@@${ECHO} "To get correct permissions, please set CGIUSER, CGIGROUP"
	@@${ECHO} "per default it is set to www:www."
	@@${ECHO}

post-install:
#	@@${FIND} ${PREFIX}/share/moin/underlay \! -type d | ${SED} -e 's,${PREFIX}/,,' >> ${TMPPLIST}
#	@@${FIND} ${PREFIX}/share/moin/underlay -type d | ${SED} -e 's,${PREFIX}/,@@dirrm ,' | ${SORT} -r >> ${TMPPLIST}
#	@@${ECHO_CMD} "@@dirrm share/moin" >> ${TMPPLIST}
	@@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

instance: pre-everything apply-slist
	@@${ECHO_CMD} "Creating a new wiki instance in ${MOINDEST}."; \
	if [ -f ${MOINDIR}/config/wikiconfig.py ]; then \
		${MKDIR} ${MOINDEST}; \
		${CP} -R ${MOINDIR}/data ${MOINDEST}; \
		${CP} -R ${MOINDIR}/underlay ${MOINDEST}; \
		${CHMOD} -R u+rw,go-ws ${MOINDEST}/data; \
		${INSTALL_SCRIPT} ${MOINDIR}/config/wikiconfig.py ${MOINDEST}; \
		if [ ! -z ${MOINSCRIPT} ]; then \
			${INSTALL_SCRIPT} ${MOINSCRIPT} ${MOINDEST}; \
		fi; \
		${CHOWN} -R ${CGIUSER}:${CGIGROUP} ${MOINDEST}; \
		${SH} ${PKGINSTALL} ${PKGNAME} INSTANCE ${MOINTYPE}; \
	else \
		${ECHO_CMD} "You need to install moinmoin first before trying"; \
		${ECHO_CMD} "to add a new wiki instance."; \
	fi

.include <bsd.port.mk>
@


1.57
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	moinmoin
# Date created:				18 September 2001
# Whom:					Hye-Shik Chang <perky@@python.or.kr>
#
# $FreeBSD: head/www/moinmoin/Makefile 307023 2012-11-05 19:01:08Z rea $
#
d5 1
a5 1
PORTVERSION=	1.9.5
@


1.56
log
@SVN rev 307023 on 2012-11-05 19:01:08Z by rea

www/moinmoin: update to 1.9.5

  Fixes:
   * Security fix: fix virtual group bug in ACL evaluation.
     [was already backported to FreeBSD's 1.9.4_1].
   * Avoid crash if #refresh processing instruction is used
     without arguments.
   * Fix issue with non-ASCII textchas.
   * Xapian indexing: remove copy.copy() that crashed on
     Windows/IIS/isapi-wsgi after page save.
   * Fix dictionary file reading crash under Windows.
   * Work around crash of AdvancedSearch macro rendering caused by
     non-ascii mimetypes.types_map entries.
   * Added migration script for moin 1.8.9.
   * rss_rc: Fix diffs added in RSS with diffs=1 (now they correspond
     to item listed in feed and not just last page diffs). Links
     generated with ddiffs=1 also fixed.
   * rss_rc: fix double escaping issue.
   * rss_rc: respect show_names configuration option.
   * rss_rc: proper support of rename, revert, page creation.
   * modern/modernized theme: fix padding/width for
     editor preview
   * group/pagelinks formatters: avoid to create
     unnecessary output, redirect output of send_page call with the
     groups formatter, it must not be written to the output stream
   * rst parser: fix include and macro directives
   * wikisync: fix unicode pagename sending for python 2.7 httplib

  New features:
   * add a require_comment config option (default: False) to require
     a non-empty comment when saving a page
   * when a save error happens, show the editor again and highlight
   * the error rss_rc: several new options added: lines parameter
     gives ability to set maximum size of diffs showed in RSS.
     show_att parameter gives ability to show information aboout
     attachment-related items in RSS. page parameter gives ability to
     specify set of pages for which changes RSS feed should be
     generated. Configuration of defaults and limits can now be done
     via wiki configuration mechanism.
   * As soon as it is now possible to provide RSS for page change
     history, appropriate alternate link is now added for every page
     (controlled by rss_show_page_history_link configuration
     parameter).
   * Search: "no_highlight:" search query option provided for
     suppressing highlighting search results.
   * Search macros: new options for FullSearch, FullSearchCached and
     PageList available:
     * highlight_titles option controls highlighting of matches in
       search results provided by these macros. Default value is set
       in search_macro_highlight_titles configuration option)
     * highlight_pages option controls adding of highlight URL
       parameter to page links (so search term is highlighted when
       user goes to one of these pages via provided link) in search
       results. Default value is set in search_macro_highlight_pages
       configuration option.
     Usage of these options is disabled (via search_macro_parse_args
     configuration option) by default due to behavioural changes
     introduced in macro parameter parsing mechanism to support them.
     Related to
     http://moinmo.in/FeatureRequests/FullSearchResultsWithoutHighlight
       .

  Other changes:
   * Remove 4suite dependency for docbook formatter, use minidom
     (included in Python).
   * Upgraded FCKeditor to 2.6.8.

Feature safe:	yes
PR:		172832
QA page:	http://codelabs.ru/fbsd/ports/qa/www/moinmoin/1.9.5
Approved by:	maintainer timeout (2 weeks)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.55
log
@SVN rev 304084 on 2012-09-11 07:51:07Z by rea

www/moinmoin: fix CVE-2012-4404, wrong processing of group ACLs

Using upstream patch from
  http://hg.moinmo.in/moin/1.9/raw-rev/7b9f39289e16

PR:		171346
QA page:	http://codelabs.ru/fbsd/ports/qa/www/moinmoin/1.9.4_1
Approved by:	khsing.cn@@gmail.com (maintainer)
Security:	http://www.vuxml.org/freebsd/4f99e2ef-f725-11e1-8bd8-0022156e8794.html
@
text
@d9 1
a9 2
PORTVERSION=	1.9.4
PORTREVISION=	1
@


1.54
log
@- Update to 1.9.4

PR:		166008
Submitted by:	Andrs JK <jako.andras@@eik.bme.hu>
Approved by:	maintainer
@
text
@d10 1
@


1.53
log
@- Update to 1.9.3
- Add license
- Remove md5

PR:		ports/153962
Submitted by:	Ruslan Mahmatkhanov <cvs-src@@yandex.ru>
Approved by:	maintainer
Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	1.9.3
d27 2
a28 1
SUB_LIST=	MOINDIR=${MOINDIR} MOINDEST=${MOINDEST}
@


1.52
log
@Fix Path to standalone server script
Bump PORTREVISION

PR:		148814
Reported by:	Stephen Morton <tungolcraeft@@gmail.com>
Submitted by:	maintainer
@
text
@d9 1
a9 2
PORTVERSION=	1.9.2
PORTREVISION=	4
d17 3
@


1.51
log
@Do not install .orig files.

PR:		ports/146142
Submitted by:	Bai Guixing <khsing.cn@@gmail.com> (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	3
d36 1
a36 1
MOINSCRIPT=	${MOINDIR}/server/wikiserver.py
@


1.50
log
@- Add WSGI support. [1]
- Fix shebang line in moin.fcgi. [2]

PR:		ports/145690 [1], ports/145646 [2]
Submitted by:	Janos Mohacsi <janos.mohacsi@@bsd.hu> [1]
		ghostonthewire <ghostonthewire@@gmail.com> [2]
Approved by:	maintainer
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.49
log
@Over to new volunteer.
@
text
@d10 1
a10 1
PORTREVISION=	1
d42 2
d45 1
a45 1
BROKEN=		MOINTYPE must be a STANDALONE, FCGI, MOD_PYTHON or CGI.
d50 1
a50 1
	@@${ECHO} "Set MOINTYPE=(CGI|FCGI|STANDALONE) to define"
@


1.48
log
@Reset bg1tpt@@gmail.com due to maintainer-timeouts and no response to
email.

Hat:		portmgr
@
text
@d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
@


1.47
log
@- Fix a typo

PR:		144819
Submitted by:	Alexander Moisseev <moiseev@@mezonplus.ru>
Approved by:	 maintainer timeout
@
text
@d15 1
a15 1
MAINTAINER=	bg1tpt@@gmail.com
@


1.46
log
@- Update to 1.9.2

PR:		143206
Submitted by:	Bai Guixing <khsing.cn@@gmail.com>
Approved by:	maintainer timeout
@
text
@d10 1
d38 1
a38 1
MOINSCRIPT=	${MOINDIR}/server/moin.fcg
@


1.45
log
@Update to 1.8.4.

PR:		136148
Submitted by:	Sahil Tandon
Approved by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.8.4
@


1.44
log
@- Update to 1.8.3

PR:		based on 134563
Submitted by:	Jesco Freund <jesco.freund@@googlemail.com>
Approved by:	maintainer timeout, secteam (security 1 day)
Security:	http://www.vuxml.org/freebsd/fc4d0ae8-3fa3-11de-a3fd-0030843d3802.html
		http://www.vuxml.org/freebsd/bfe218a5-4218-11de-b67a-0030843d3802.html
@
text
@d9 1
a9 1
PORTVERSION=	1.8.3
a54 1
	@@${MKDIR} ${WRKDIR}
@


1.43
log
@- Update to 1.8.1

Approved by:	maintainer timeout (security update 1 day)
With hat:	secteam
Security:	http://www.vuxml.org/freebsd/6a523dba-eeab-11dd-ab4f-0030843d3802.html
@
text
@d9 1
a9 1
PORTVERSION=	1.8.1
@


1.42
log
@- Update to 1.8.0

PR:		ports/129039
Submitted by:	Max Campos <lists@@bpsw.biz>
Approved by:	Razor <bg1tpt@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.8.0
@


1.41
log
@- Update to 1.7.1

PR:		126256
Submitted by:	Toshimichi Masubuchi <tmasu@@st.rim.or.jp>
Apporved by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.7.1
d21 2
a22 1
PLIST_SUB+=	PYTHON_SITELIB=${PYTHON_SITELIBDIR:S|^${LOCALBASE}/||}
@


1.40
log
@- Change the MOINSCRIPT to wikiserver.py when defined
  MOINTYPE=STANDALONE, the old wiki.py is deprecated.
- Change the hint when making instances, add configuration
  for static contents.

PR:		125210
Submitted by:	Zhen REN <bg1tpt@@gmail.com> (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	1.7.0
PORTREVISION=	1
@


1.39
log
@- Update to 1.7.0

PR:		124903
Submitted by:	Zhen REN <bg1tpt@@gmail.com> (maintainer)
@
text
@d10 1
d35 1
a35 1
MOINSCRIPT=	${MOINDIR}/server/moin.py
@


1.38
log
@- Update to 1.6.3

PR:		124778
Submitted by:	Eygene Ryabinkin <rea-fbsd@@codelabs.ru>
Approved by:	secteam (simon)
Security:	http://www.vuxml.org/freebsd/c4ba95b2-39ce-11dd-98c9-00163e000016.html
@
text
@d9 1
a9 1
PORTVERSION=	1.6.3
@


1.37
log
@- Update to 1.6.2

PR:		ports/122100
Submitted by:	Zhen REN <bg1tpt@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.6.2
@


1.36
log
@- Update to 1.6.1

PR:		120964
Submitted by:	miwi
Approved by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.6.1
@


1.35
log
@ - Make Python 2.5.1 the default Python version
 - Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
@
text
@d9 1
a9 1
PORTVERSION=	1.5.8
d11 1
a11 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	moin
@


1.34
log
@- Update to 1.5.8

PR:		112647
Submitted by:	Zhen REN <bg1tpt AT gmail.com> (maintainer)
Approved by:	clsung (mentor, implicitly)
@
text
@d20 1
@


1.33
log
@Update to 1.5.7, give maintainership to submitter.

Submitted by:	Ren Zhen <bg1tpt gmail com>
@
text
@d9 1
a9 1
PORTVERSION=	1.5.7
@


1.32
log
@Update to 1.5.6
@
text
@d9 1
a9 1
PORTVERSION=	1.5.6
d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
@


1.31
log
@- Update to 1.5.5a
- Readd the underlay into the static plist

PR:		ports/103766
Submitted by:	Michael Neumann <mneuma2s@@smail.inf.fh-brs.de>
@
text
@d9 1
a9 1
PORTVERSION=	1.5.5a
@


1.30
log
@- unbreak, fix pkg-plist error

Noted by:   linimon
@
text
@d9 1
a9 1
PORTVERSION=	1.5.4
d57 3
a59 3
	@@${FIND} ${PREFIX}/share/moin/underlay \! -type d | ${SED} -e 's,${PREFIX}/,,' >> ${TMPPLIST}
	@@${FIND} ${PREFIX}/share/moin/underlay -type d | ${SED} -e 's,${PREFIX}/,@@dirrm ,' | ${SORT} -r >> ${TMPPLIST}
	@@${ECHO_CMD} "@@dirrm share/moin" >> ${TMPPLIST}
@


1.29
log
@Mark broken: fails to install.
@
text
@a17 2
BROKEN=		fails to install

@


1.28
log
@- update to 1.5.4

PR:		ports/99824
Submitted by:	Rick van der Zwet <rick_AT_wzoeterwoude dot net>
@
text
@d18 2
@


1.27
log
@- Updated to 1.5.3
- portlint(1)

PR:		96153
Submitted by:	Michael Neumann <mneuma2s___smail.inf.fh-brs.de>
@
text
@d9 1
a9 1
PORTVERSION=	1.5.3
@


1.26
log
@Reset vsevolod as maintainer due to unreponsiveness.  We hope to see him
back sometime.

Hat:		portmgr
@
text
@d9 1
a9 1
PORTVERSION=	1.5.2
d41 1
a41 1
BROKEN=		"MOINTYPE must be a STANDALONE, FCGI, MOD_PYTHON or CGI."
@


1.25
log
@- Update to 1.5.2.
  (Database format was not changed).

PR:		ports/93045
Submitted by:	Janos Mohacsi <janos.mohacsi@@bsd.hu>
Approved by:	maintainer timeout (2 monthes)
@
text
@d15 1
a15 1
MAINTAINER=	vsevolod@@FreeBSD.org
@


1.24
log
@Update to 1.3.5
Removed all underlay stuff from static plist as it is changed often
Take maintainership
@
text
@d9 1
a9 1
PORTVERSION=	1.3.5
@


1.23
log
@- Drop maintainership. Some people seemed to show interest for this port
lately, I guess they'll be interested in taking maintainership.
@
text
@d9 1
a9 1
PORTVERSION=	1.3.4
d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
d41 1
a41 1
IGNORE=		"MOINTYPE must be a STANDALONE, FCGI, MOD_PYTHON or CGI."
d57 3
@


1.22
log
@- Update to 1.3.4.

PR:		ports/81614
Submitted by:	Choe, Cheng-Dae <whitekid@@gmail.com>
@
text
@d15 1
a15 1
MAINTAINER=	flz@@FreeBSD.org
@


1.21
log
@Change my email address in MAINTAINER lines for ports I maintain to
flz@@FreeBSD.org.

Approved by:	pav (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	1.3.3
@


1.20
log
@- Update to 1.3.3: http://moinmoin.wikiwikiweb.de/MoinMoinRelease1.3/CHANGES
- Assign maintainership to submitter

PR:		ports/77416
Submitted by:	Florent Thoumie
@
text
@d15 1
a15 1
MAINTAINER=	flz@@xbsd.org
@


1.19
log
@Drop Maintainership. I will not find enough time in the
near future to keep the port well maintained.
@
text
@d9 1
a9 1
PORTVERSION=	1.3.1
d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
@


1.18
log
@Update to moinmoin 1.3.1

This port now supports installation of multiple wiki
instances as proposed by the installation guide.
Follow the textual instructions that are echoed out
by the 'make install' progress for more information.

Thanks to Florent for polishing up my update patches.

Submitted by:	Florent Thoumie <flz@@xbsd.org>
PR:		ports/76377
@
text
@d15 1
a15 1
MAINTAINER=	josef@@FreeBSD.org
@


1.17
log
@Take maintainership of the port.
I have an update to 1.3.1 in my queue
i will commit later that day.
@
text
@d9 1
a9 1
PORTVERSION=	1.2.4
d16 1
a16 1
COMMENT=	A Python CGI clone of WikiWiki
a19 2
PLIST_SUB+=	PYTHON_SITELIB=${PYTHON_SITELIBDIR:S|^${LOCALBASE}/||} \
		CGIUSER=${CGIUSER} CGIROOT=${CGIROOT}
d21 6
a26 4
CGIUSER=	moinmoin
CGIUSERID?=	192
CGIROOT=	${PREFIX}/www/cgi-bin
HTDOCSROOT=	${PREFIX}/www/data
d28 4
d33 22
a54 16
post-patch:
	@@# Tweak configuration
	${SED} -e 's|^url_prefix =.*$$|url_prefix="/moin"|g' \
		${WRKSRC}/wiki/cgi-bin/moin_config.py > \
		${WRKSRC}/wiki/cgi-bin/moin_config.py.default

post-build:
	@@# Compile setuid wrapper
	${CC} ${CFLAGS} -o ${WRKDIR}/moin \
		-DPYTHON_PATH='"${PYTHON_CMD}"' \
		-DMOIN_PREFIX='"${MOINDIR}"' \
		${FILESDIR}/wrapper.c

pre-install:
	PKG_PREFIX=${PREFIX} INST_UID="${CGIUSERID}" \
	${SH} pkg-install ${PKGNAME} PRE-INSTALL
d57 1
a57 18
	@@# Install Wrapper
	${MKDIR} ${CGIROOT}
	${INSTALL_PROGRAM} ${WRKDIR}/moin ${CGIROOT}/
	${CHMOD} 4555 ${CGIROOT}/moin

	@@# Arrange Permissions
	${MKDIR} ${MOINDIR}/data/backup
	${CHMOD} -R u+rw,go-wxs ${MOINDIR}/data
	${CHOWN} -R ${CGIUSER}:${CGIUSER} ${CGIROOT}/moin ${MOINDIR}/data

	@@# Create symbolic links and copy defaults
	${TEST} -f ${MOINDIR}/cgi-bin/moin_config.py || \
		${CP} ${MOINDIR}/cgi-bin/moin_config.py.default \
			${MOINDIR}/cgi-bin/moin_config.py
	${TEST} -d ${MOINDIR}/data/text || \
		${LN} -sf ${MOINDIR}/data/text.default ${MOINDIR}/data/text
	-${MKDIR} ${HTDOCSROOT}
	-${LN} -sf ${MOINDIR}/htdocs ${HTDOCSROOT}/moin
d59 17
a75 1
	@@${CAT} ${PKGMESSAGE}
@


1.16
log
@- Update to 1.2.4

PR:		ports/74181
Submitted by:	TAOKA Fumiyoshi <fmysh@@iijmio-mail.jp>
@
text
@d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
@


1.15
log
@Update port: www/moinmoin 1.2.3

	Update to 1.2.3
	Remove files/patch-user.py

PR:		ports/70046
Submitted by:	TAOKA Fumiyoshi <fmysh@@iijmio-mail.jp>
@
text
@d9 1
a9 1
PORTVERSION=	1.2.3
@


1.14
log
@Updating www/moinmoin to 1.2.2.
MoinMoin 1.1 contains administrative group name privilege escalation vulnerability.
  <http://www.freebsd.org/ports/portaudit/da9e6438-bfc0-11d8-b00e-000347a4fa7d.html>

Fix UnpicklingError in MoinMoin/userp.py.

PR:		68365
Submitted by:	TAOKA Fumiyoshi <fmysh@@iijmio-mail.jp>
@
text
@d9 1
a9 1
PORTVERSION=	1.2.2
@


1.13
log
@UID/GID is registered in Porters-Handbook, so remove BROKEN
tag.

PR:		ports/67891
Submitted by:	TAOKA Fumiyoshi <fmysh at iijmio-mail dot jp>
@
text
@d9 1
a9 1
PORTVERSION=	1.1
d11 1
a11 1
MASTER_SITES= 	${MASTER_SITE_SOURCEFORGE}
a13 1
EXTRACT_SUFX=	.tgz
@


1.12
log
@Drop maintainership.
@
text
@a18 2
BROKEN=		"Uses unregistered uid/gid"

@


1.11
log
@BROKEN: Uses unregistered uid/gid
@
text
@d16 1
a16 1
MAINTAINER=	perky@@FreeBSD.org
@


1.10
log
@Update to 1.1

Submitted by:	Mina Naguib <webmaster@@topfx.com>
@
text
@d19 2
@


1.9
log
@De-pkg-comment for my ports.
@
text
@d9 1
a9 1
PORTVERSION=	1.0
d11 1
a11 3
MASTER_SITES= 	${MASTER_SITE_SOURCEFORGE} \
		http://twiki.org/p/pub/TWiki/TWikiDrawPlugin/:twiki \
		http://fallin.lv/distfiles/:twiki
d14 1
a14 2
DISTFILES=	${DISTNAME}.tar.gz twikidraw.jar:twiki
EXTRACT_ONLY=	${DISTNAME}.tar.gz
a47 2
	${INSTALL_DATA} ${DISTDIR}/twikidraw.jar ${MOINDIR}/htdocs/applets/TWikiDrawPlugin/

@


1.8
log
@Updating my email address.

Approved by: cjh (mentor)
@
text
@d20 1
@


1.7
log
@Update to 1.0

PR:		37941
Submitted by:	maintainer
@
text
@d19 1
a19 1
MAINTAINER=	perky@@fallin.lv
@


1.6
log
@use USE_PYDISTUTILS
@
text
@d9 1
a9 1
PORTVERSION=	0.11
d11 3
a13 3
MASTER_SITES= 	http://twiki.org/p/pub/TWiki/TWikiDrawPlugin/ \
		${MASTER_SITE_SOURCEFORGE} \
		http://fallin.lv/distfiles/
d16 2
a17 2
DISTFILES=	${DISTNAME}.tgz twikidraw.jar
EXTRACT_ONLY=	${DISTNAME}.tgz
d23 2
a24 1
PLIST_SUB+=	PYTHON_SITELIB=${PYTHON_SITELIBDIR:S|^${LOCALBASE}/||}
d26 1
a26 1
CGIUSER?=	moinmoin
a31 4
do-configure:
	@@# Add the username, uid, group and gid
	${SH} ${FILESDIR}/configure.sh ${CGIUSER} ${CGIUSERID}

d45 4
d68 1
@


1.5
log
@Update to 0.11

PR:		35807
Submitted by:	maintainer
@
text
@d22 1
a29 1
SETUP_CMD=	cd ${WRKSRC} && ${PYTHON_CMD} setup.py
d41 1
a41 2
do-build:
	${SETUP_CMD} build
d48 1
a48 3
do-install:
	@@# Install MoinMoin
	${SETUP_CMD} install
a68 1
post-install:
@


1.4
log
@- Change exect to execve because of SIGTRAP on 4.5
- Bump port revision

PR: 34896
Submitted by: MAINTAINER
@
text
@d9 1
a9 2
PORTVERSION=	0.10
PORTREVISION=	2
d11 3
a13 1
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
d16 2
d26 3
a28 7
SUID_WRAPPER=	moin

WIKI_WRKSRC=	${WRKSRC}/MoinMoin/wiki-moinmoin
CGI_TARGET=	${PREFIX}/www/cgi-bin/moin
CGI_FILES=	${SUID_WRAPPER} moin.cgi moin_config.py data
CONTENT_TARGET=	${PREFIX}/www/data/moin
CONTENT_FILES=	PythonPowered.gif default.css img moinmoin.gif index.html
d35 6
d44 1
a44 1
	${CC} ${CFLAGS} -o ${WIKI_WRKSRC}/${SUID_WRAPPER} \
d46 1
a46 1
		-DSCRIPT_PATH='"${CGI_TARGET}/moin.cgi"' \
d50 1
a50 1
	@@# Install MoinMoin library
d52 19
d72 2
a73 20
	@@# Install CGI files and set permissions
	${MKDIR} ${CGI_TARGET}/data/backup
	cd ${WIKI_WRKSRC} && ${CP} -Rp ${CGI_FILES} ${CGI_TARGET}/
	${CHOWN} -R ${CGIUSER}:${CGIUSER} ${CGI_TARGET}/data \
		${CGI_TARGET}/${SUID_WRAPPER}
	${CHMOD} -R u+rw,go-wxs ${CGI_TARGET}/data
	${CHMOD} 4555 ${CGI_TARGET}/${SUID_WRAPPER}

	@@# Install content files
	${MKDIR} ${CONTENT_TARGET}
	cd ${WIKI_WRKSRC} && ${CP} -Rp ${CONTENT_FILES} ${CONTENT_TARGET}/

	@@# Patch configurations
	${SED} -e 's|moin\.cgi|/cgi-bin/moin/moin|g' \
		${CONTENT_TARGET}/index.html >${CONTENT_TARGET}/index.html.tmp
	${CAT} ${CONTENT_TARGET}/index.html.tmp >${CONTENT_TARGET}/index.html
	${SED} -e 's|^url_prefix =.*$$|url_prefix="/moin/"|g' \
		${CGI_TARGET}/moin_config.py >${CGI_TARGET}/moin_config.py.tmp
	${CAT} ${CGI_TARGET}/moin_config.py.tmp >${CGI_TARGET}/moin_config.py
	${RM} -f ${CONTENT_TARGET}/index.html.tmp ${CGI_TARGET}/moin_config.py.tmp
@


1.3
log
@Fix for Python 2.2 re module

PR: 33726
Submitted by: MAINTAINER
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.2
log
@Update to 0.10
Reorder pkg-plist
Update maintainer's email

PR:		31741
Submitted by:	maintainer
@
text
@d10 1
@


1.1
log
@add moinmoin
A Python CGI clone of WikiWiki

PR:		30669
Submitted by:	Hye-Shik Chang <perky@@python.or.kr>
@
text
@d9 1
a9 1
PORTVERSION=	0.9
d13 1
a13 2
DISTNAME=	${PORTNAME:S/m/M/g}-${PORTVERSION}
EXTRACT_SUFX=	.tgz
d15 1
a15 1
MAINTAINER=	perky@@python.or.kr
d24 1
a24 3
WIKI_WRKSRC=	${WRKSRC}/wiki-moinmoin
LIB_TARGET=	${PYTHON_SITELIBDIR}/MoinMoin
LIB_DIRS=	action formatter i18n macro parser py15 support twisted webapi .
d29 1
d36 1
a36 2
	${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
	${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
d45 2
a46 5
	${MKDIR} ${LIB_TARGET}
.for dir in ${LIB_DIRS}
	${MKDIR} ${LIB_TARGET}/${dir}
	${INSTALL_DATA} ${WRKSRC}/${dir}/*.py* ${LIB_TARGET}/${dir}
.endfor
d48 1
a48 1
	${MKDIR} ${CGI_TARGET}
@

