prepare 1.1.0 release

This commit is contained in:
Simon Holywell
2018-02-20 09:48:31 +10:00
parent 4bd91e1a6a
commit 98708d982c
6 changed files with 126 additions and 63 deletions

View File

@@ -2,7 +2,7 @@ PECL ssdeep PHP Extension Licence
-------
This extension is under the BSD Licence:
Copyright (c) 2014, Simon Holywell
Copyright (c) 2018, Simon Holywell
All rights reserved.
Redistribution and use in source and binary forms, with or without

View File

@@ -8,11 +8,11 @@
* A PHP extension to expose ssdeep functionality for fuzzy
* hashing and comparing.
*
* Version 1.0.4
* Version 1.1.0
*
* BSD Licensed.
*
* Copyright (c) 2014, Simon Holywell
* Copyright (c) 2018, Simon Holywell
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without

View File

@@ -1,11 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<package version="2.1" xmlns="http://pear.php.net/dtd/package-2.1" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.1 http://pear.php.net/dtd/package-2.1.xsd">
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0">
<package version="1.0" packagerversion="1.10.5">
<name>ssdeep</name>
<channel>pecl.php.net</channel>
<summary>Fuzzy hashing makes it easy to identify similar or almost identical text by simply comparing two hashes against each other.
</summary>
<description>
The ssdeep project page describes it as a library for &quot;...computing context triggered piecewise hashes (CTPH). Also called fuzzy hashes, CTPH can match inputs that have homologies. Such inputs have sequences of identical bytes in the same order, although bytes in between these sequences may be different in both content and length&quot;.
<summary>Fuzzy hashing makes it easy to identify similar or almost identical text by simply comparing two hashes against each other.</summary>
<description>The ssdeep project page describes it as a library for &quot;...computing context triggered piecewise hashes (CTPH). Also called fuzzy hashes, CTPH can match inputs that have homologies. Such inputs have sequences of identical bytes in the same order, although bytes in between these sequences may be different in both content and length&quot;.
For an in depth paper explaining context triggered piecewise hashes please see http://dfrws.org/2006/proceedings/12-Kornblum.pdf
@@ -26,59 +24,41 @@ ssdeep Licensing Exemption
Although ssdeep and the fuzzy hashing API are usually licensed under GNU GPLv2 Jesse Kornblum has licenced them to PECL under the terms of the Perl Artistic Licence with the following declaration:
&quot;I hereby license ssdeep, the current version and all subsequent versions, under the terms of the Perl Artistic License, for inclusion into the PECL.&quot;
See http://news.php.net/php.pecl.dev/7625 for the verbatim email.
</description>
<lead>
<name>Simon Holywell</name>
<user>Treffynnon</user>
<email>treffynnon@php.net</email>
<active>yes</active>
</lead>
<date>2014-01-22</date>
<time>13:25:22</time>
<version>
<release>1.0.4</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.opensource.org/licenses/bsd-license.php">New BSD License</license>
<notes>
This is a build maintenance release only so there is no need to upgrade.
- Make use of --with-libdir so installers can override the lib default (RHEL uses lib64 for example)
- Clean up the build script to standardise the code constructs used
- Add LICENSE, README and CREDITS to PECL package configuration
</notes>
<contents>
<dir name="/">
</description>
<maintainers>
<maintainer>
<user>Treffynnon</user>
<name>Simon Holywell</name>
<email>treffynnon@php.net</email>
<role>lead</role>
</maintainer>
</maintainers>
<release>
<version>1.1.0</version>
<date>2018-02-20</date>
<license>New BSD License</license>
<state>stable</state>
<notes>* Patch for PHP 7 support (remicollet)
* Add basic Windows support (weltling)
</notes>
<deps>
<dep type="php" rel="ge" version="5.2.0"/>
</deps>
<filelist>
<dir name="examples">
<file role="doc" name="example.php"/>
</dir>
<dir name="tests" baseinstalldir="/">
<file role="test" name="ssdeep.phpt"/>
</dir>
<file role="doc" name="LICENSE"/>
<file role="doc" name="README"/>
<file role="doc" name="CREDITS"/>
</dir> <!-- /examples -->
<dir name="tests">
<file role="test" baseinstalldir="/" name="ssdeep.phpt"/>
</dir> <!-- /tests -->
<file role="src" name="ax_libssdeep.m4"/>
<file role="src" name="config.m4"/>
<file role="src" name="config.w32"/>
<file role="doc" name="CREDITS"/>
<file role="doc" name="LICENSE"/>
<file role="src" name="php_ssdeep.h"/>
<file role="doc" name="README"/>
<file role="src" name="ssdeep.c"/>
</dir>
</contents>
<dependencies>
<required>
<php>
<min>5.2.0</min>
</php>
<pearinstaller>
<min>1.4.8</min>
</pearinstaller>
</required>
</dependencies>
<providesextension>ssdeep</providesextension>
<extsrcrelease/>
</filelist>
</release>
</package>

83
package2.xml Normal file
View File

@@ -0,0 +1,83 @@
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.10.5" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0
http://pear.php.net/dtd/tasks-1.0.xsd
http://pear.php.net/dtd/package-2.0
http://pear.php.net/dtd/package-2.0.xsd">
<name>ssdeep</name>
<channel>pecl.php.net</channel>
<summary>Fuzzy hashing makes it easy to identify similar or almost identical text by simply comparing two hashes against each other.</summary>
<description>The ssdeep project page describes it as a library for &quot;...computing context triggered piecewise hashes (CTPH). Also called fuzzy hashes, CTPH can match inputs that have homologies. Such inputs have sequences of identical bytes in the same order, although bytes in between these sequences may be different in both content and length&quot;.
For an in depth paper explaining context triggered piecewise hashes please see http://dfrws.org/2006/proceedings/12-Kornblum.pdf
ssdeep API Information
---------------------------
Requires at least ssdeep v2.5.
This extensions wraps the ssdeep fuzzy hashing API created by Jesse Kornblum.
For more information about ssdeep, the API and context triggered piecewise hashing please see http://ssdeep.sourceforge.net/
ssdeep Licensing Exemption
---------------------------
Although ssdeep and the fuzzy hashing API are usually licensed under GNU GPLv2 Jesse Kornblum has licenced them to PECL under the terms of the Perl Artistic Licence with the following declaration:
&quot;I hereby license ssdeep, the current version and all subsequent versions, under the terms of the Perl Artistic License, for inclusion into the PECL.&quot;
See http://news.php.net/php.pecl.dev/7625 for the verbatim email.
</description>
<lead>
<name>Simon Holywell</name>
<user>Treffynnon</user>
<email>treffynnon@php.net</email>
<active>yes</active>
</lead>
<date>2018-02-20</date>
<time>02:22:49</time>
<version>
<release>1.1.0</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>New BSD License</license>
<notes>
* Patch for PHP 7 support (remicollet)
* Add basic Windows support (weltling)
</notes>
<contents>
<dir name="/">
<dir name="examples">
<file name="example.php" role="doc" />
</dir> <!-- /examples -->
<dir name="tests">
<file baseinstalldir="/" name="ssdeep.phpt" role="test" />
</dir> <!-- /tests -->
<file name="ax_libssdeep.m4" role="src" />
<file name="config.m4" role="src" />
<file name="config.w32" role="src" />
<file name="CREDITS" role="doc" />
<file name="LICENSE" role="doc" />
<file name="php_ssdeep.h" role="src" />
<file name="README" role="doc" />
<file name="ssdeep.c" role="src" />
</dir> <!-- / -->
</contents>
<dependencies>
<required>
<php>
<min>5.2.0</min>
</php>
<pearinstaller>
<min>1.4.0b1</min>
</pearinstaller>
</required>
</dependencies>
<providesextension>ssdeep</providesextension>
<extsrcrelease />
</package>

View File

@@ -7,11 +7,11 @@
* A PHP extension to expose ssdeep functionality for fuzzy
* hashing and comparing.
*
* Version 1.0.4
* Version 1.1.0
*
* BSD Licensed.
*
* Copyright (c) 2014, Simon Holywell
* Copyright (c) 2018, Simon Holywell
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -39,7 +39,7 @@
#ifndef PHP_SSDEEP_H
# define PHP_SSDEEP_H 1
# define PHP_SSDEEP_VERSION "1.0.4"
# define PHP_SSDEEP_VERSION "1.1.0"
# define PHP_SSDEEP_EXTNAME "ssdeep"
PHP_FUNCTION(ssdeep_fuzzy_hash);
PHP_FUNCTION(ssdeep_fuzzy_compare);

View File

@@ -7,11 +7,11 @@
* A PHP extension to expose ssdeep functionality for fuzzy
* hashing and comparing.
*
* Version 1.0.4
* Version 1.1.0
*
* BSD Licensed.
*
* Copyright (c) 2014, Simon Holywell
* Copyright (c) 2018, Simon Holywell
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without