diff options
author | dougb <dougb@FreeBSD.org> | 2011-09-04 07:50:46 +0800 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2011-09-04 07:50:46 +0800 |
commit | 177ace4dae3b52b3d741e5491f884e3c18b78dd7 (patch) | |
tree | c44152f11de88dc9430a89dc293bceedf4276978 /www | |
parent | 6bf2c1bf5747d9f1bd2ed7d7cc0c53d48a79fc9d (diff) | |
download | freebsd-ports-gnome-177ace4dae3b52b3d741e5491f884e3c18b78dd7.tar.gz freebsd-ports-gnome-177ace4dae3b52b3d741e5491f884e3c18b78dd7.tar.zst freebsd-ports-gnome-177ace4dae3b52b3d741e5491f884e3c18b78dd7.zip |
Remove www/mediawiki115, it's vulnerable, and unsupported upstream
Requested by: maintainer
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/mediawiki115/Makefile | 85 | ||||
-rw-r--r-- | www/mediawiki115/distinfo | 2 | ||||
-rw-r--r-- | www/mediawiki115/files/patch-config-index.php | 10 | ||||
-rw-r--r-- | www/mediawiki115/files/patch-includes-OutputPage.php | 12 | ||||
-rw-r--r-- | www/mediawiki115/pkg-descr | 6 | ||||
-rw-r--r-- | www/mediawiki115/pkg-message | 11 |
7 files changed, 0 insertions, 127 deletions
diff --git a/www/Makefile b/www/Makefile index e793807d1e94..dd33556cc4c5 100644 --- a/www/Makefile +++ b/www/Makefile @@ -401,7 +401,6 @@ SUBDIR += mathopd SUBDIR += mawstats SUBDIR += mediawiki - SUBDIR += mediawiki115 SUBDIR += mediawiki116 SUBDIR += mergelog SUBDIR += metacafe_dl diff --git a/www/mediawiki115/Makefile b/www/mediawiki115/Makefile deleted file mode 100644 index 12ff8959d708..000000000000 --- a/www/mediawiki115/Makefile +++ /dev/null @@ -1,85 +0,0 @@ -# New ports collection makefile for: www/mediawiki -# Date created: February 1st 2005 -# Whom: Gerrit Beine <tux@pinguru.net> -# -# $FreeBSD$ -# - -PORTNAME= mediawiki -PORTVERSION= 1.15.5 -PORTREVISION= 2 -CATEGORIES= www -MASTER_SITES= http://dumps.wikimedia.org/mediawiki/1.15/ - -MAINTAINER= wen@freebsd.org -COMMENT= The wiki engine used by Wikipedia - -CONFLICTS= mediawiki-1.1[0-46-9].* -NO_LATEST_LINK= yes - -IGNORE= unsupported upstream - -USE_PHP= iconv mbstring pcre session xml zlib readline dom -IGNORE_WITH_PHP= 4 -WANT_PHP_WEB= yes -MEDIAWIKIDIR?= www/mediawiki - -OPTIONS= PGSQL "Use PostgreSQL (instead of MySQL)" off \ - LDAP "Use LDAP authentication" off \ - TEXVC "Use built-in TeX rendering" off \ - APC "Use pecl-APC" on \ - EACCEL "Use eAccelerator (instead of pecl-APC)" off \ - IMAGICK "Use ImageMagick" off - -.include <bsd.port.pre.mk> - -.if defined(WITH_PGSQL) -USE_PHP+= pgsql -.else -IGNORE_WITH_MYSQL= 323 -USE_MYSQL= yes -USE_PHP+= mysql -.endif - -.if defined(WITH_LDAP) -USE_PHP+= ldap -.endif - -.if defined(WITH_TEXVC) -RUN_DEPENDS+= latex:${PORTSDIR}/print/latex -BUILD_DEPENDS+= ocaml:${PORTSDIR}/lang/ocaml - -USE_GMAKE=yes -WITH_IMAGICK=yes -.endif - -.if defined(WITH_IMAGICK) -RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:${PORTSDIR}/graphics/pecl-imagick -.endif - -.if defined(WITH_APC) || defined(WITH_EACCEL) -.if defined(WITH_EACCEL) -RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/eaccelerator.so:${PORTSDIR}/www/eaccelerator -.else -RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/apc.so:${PORTSDIR}/www/pecl-APC -.endif -.endif - -do-build: -.if defined(WITH_TEXVC) - @(cd ${WRKSRC}/math && ${GMAKE}) -.endif - -do-install: - @${MKDIR} ${PREFIX}/${MEDIAWIKIDIR} - ${CP} -r ${WRKSRC}/ ${PREFIX}/${MEDIAWIKIDIR} - ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${MEDIAWIKIDIR} - -post-install: - @${FIND} ${WRKSRC}/${file} -not -type d \ - | ${SED} -ne 's,^${WRKSRC},${MEDIAWIKIDIR},p' >> ${TMPPLIST} - @${FIND} -d ${WRKSRC}/${file} -type d \ - | ${SED} -ne 's,^${WRKSRC},@dirrm ${MEDIAWIKIDIR},p' >> ${TMPPLIST} - @${SED} -e 's|%%MEDIAWIKIDIR%%|${PREFIX}/${MEDIAWIKIDIR}|' ${PKGMESSAGE} - -.include <bsd.port.post.mk> diff --git a/www/mediawiki115/distinfo b/www/mediawiki115/distinfo deleted file mode 100644 index c968e7d78fb4..000000000000 --- a/www/mediawiki115/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (mediawiki-1.15.5.tar.gz) = f838c94af81e018dcf11f77674d2a363e97b8832d0d66416294fd301db720ab5 -SIZE (mediawiki-1.15.5.tar.gz) = 11595008 diff --git a/www/mediawiki115/files/patch-config-index.php b/www/mediawiki115/files/patch-config-index.php deleted file mode 100644 index 01c991118ba9..000000000000 --- a/www/mediawiki115/files/patch-config-index.php +++ /dev/null @@ -1,10 +0,0 @@ ---- config/index.php.orig 2011-01-06 10:44:27.000000000 +0800 -+++ config/index.php 2011-01-06 10:44:59.000000000 +0800 -@@ -21,6 +21,7 @@ - - error_reporting( E_ALL ); - header( "Content-type: text/html; charset=utf-8" ); -+header( 'X-Frame-Options: DENY' ); - @ini_set( "display_errors", true ); - - # In case of errors, let output be clean. diff --git a/www/mediawiki115/files/patch-includes-OutputPage.php b/www/mediawiki115/files/patch-includes-OutputPage.php deleted file mode 100644 index 1427f54e74c8..000000000000 --- a/www/mediawiki115/files/patch-includes-OutputPage.php +++ /dev/null @@ -1,12 +0,0 @@ ---- includes/OutputPage.php.orig 2011-01-06 10:46:14.000000000 +0800 -+++ includes/OutputPage.php 2011-01-06 10:47:53.000000000 +0800 -@@ -957,6 +957,9 @@ - $wgRequest->response()->header( "Content-type: $wgMimeType; charset={$wgOutputEncoding}" ); - $wgRequest->response()->header( 'Content-language: '.$wgContLanguageCode ); - -+ # To prevent clickjacking, do not allow this page to be inside a frame. -+ $wgRequest->response()->header( 'X-Frame-Options: DENY' ); -+ - if ($this->mArticleBodyOnly) { - $this->out($this->mBodytext); - } else { diff --git a/www/mediawiki115/pkg-descr b/www/mediawiki115/pkg-descr deleted file mode 100644 index dac83f83ccda..000000000000 --- a/www/mediawiki115/pkg-descr +++ /dev/null @@ -1,6 +0,0 @@ -MediaWiki is the collaborative editing software that runs Wikipedia, -the free encyclopedia, and other projects. -It's designed to handle a large number of users and pages without imposing -too rigid a structure or workflow. - -WWW: http://www.mediawiki.org/ diff --git a/www/mediawiki115/pkg-message b/www/mediawiki115/pkg-message deleted file mode 100644 index d98978fe6903..000000000000 --- a/www/mediawiki115/pkg-message +++ /dev/null @@ -1,11 +0,0 @@ - - **** NOTE **** -Remember to check - -%%MEDIAWIKIDIR%%/INSTALL - -and - -%%MEDIAWIKIDIR%%/UPGRADE - -for details |