aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/ezyang/htmlpurifier/package.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2020-08-22 19:50:15 +0200
committerMario Vavti <mario@mariovavti.com>2020-08-22 19:50:15 +0200
commit32bdf42913518b3421986cb4d49d62ed1b04354e (patch)
treeeaae737fcd43e2d712fc8f105052fa5b3924d924 /vendor/ezyang/htmlpurifier/package.php
parent53a010d1d448f54f1a685bec0411c69e4b0fbe04 (diff)
downloadvolse-hubzilla-32bdf42913518b3421986cb4d49d62ed1b04354e.tar.gz
volse-hubzilla-32bdf42913518b3421986cb4d49d62ed1b04354e.tar.bz2
volse-hubzilla-32bdf42913518b3421986cb4d49d62ed1b04354e.zip
composer update htmlpurifier
Diffstat (limited to 'vendor/ezyang/htmlpurifier/package.php')
-rw-r--r--vendor/ezyang/htmlpurifier/package.php61
1 files changed, 0 insertions, 61 deletions
diff --git a/vendor/ezyang/htmlpurifier/package.php b/vendor/ezyang/htmlpurifier/package.php
deleted file mode 100644
index bfef93622..000000000
--- a/vendor/ezyang/htmlpurifier/package.php
+++ /dev/null
@@ -1,61 +0,0 @@
-<?php
-
-set_time_limit(0);
-
-require_once 'PEAR/PackageFileManager2.php';
-require_once 'PEAR/PackageFileManager/File.php';
-PEAR::setErrorHandling(PEAR_ERROR_PRINT);
-$pkg = new PEAR_PackageFileManager2;
-
-$pkg->setOptions(
- array(
- 'baseinstalldir' => '/',
- 'packagefile' => 'package.xml',
- 'packagedirectory' => realpath(dirname(__FILE__) . '/library'),
- 'filelistgenerator' => 'file',
- 'include' => array('*'),
- 'dir_roles' => array('/' => 'php'), // hack to put *.ser files in the right place
- 'ignore' => array(
- 'HTMLPurifier.standalone.php',
- 'HTMLPurifier.path.php',
- '*.tar.gz',
- '*.tgz',
- 'standalone/'
- ),
- )
-);
-
-$pkg->setPackage('HTMLPurifier');
-$pkg->setLicense('LGPL', 'http://www.gnu.org/licenses/lgpl.html');
-$pkg->setSummary('Standards-compliant HTML filter');
-$pkg->setDescription(
- 'HTML Purifier is an HTML filter that will remove all malicious code
- (better known as XSS) with a thoroughly audited, secure yet permissive
- whitelist and will also make sure your documents are standards
- compliant.'
-);
-
-$pkg->addMaintainer('lead', 'ezyang', 'Edward Z. Yang', 'admin@htmlpurifier.org', 'yes');
-
-$version = trim(file_get_contents('VERSION'));
-$api_version = substr($version, 0, strrpos($version, '.'));
-
-$pkg->setChannel('htmlpurifier.org');
-$pkg->setAPIVersion($api_version);
-$pkg->setAPIStability('stable');
-$pkg->setReleaseVersion($version);
-$pkg->setReleaseStability('stable');
-
-$pkg->addRelease();
-
-$pkg->setNotes(file_get_contents('WHATSNEW'));
-$pkg->setPackageType('php');
-
-$pkg->setPhpDep('5.0.0');
-$pkg->setPearinstallerDep('1.4.3');
-
-$pkg->generateContents();
-
-$pkg->writePackageFile();
-
-// vim: et sw=4 sts=4