Newsgroups: php.internals,php.pecl.dev Path: news.php.net Xref: news.php.net php.internals:69551 php.pecl.dev:11191 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65978 invoked from network); 14 Oct 2013 11:35:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Oct 2013 11:35:01 -0000 Authentication-Results: pb1.pair.com header.from=ab@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=ab@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 85.214.73.107 as permitted sender) X-PHP-List-Original-Sender: ab@php.net X-Host-Fingerprint: 85.214.73.107 klapt.com Received: from [85.214.73.107] ([85.214.73.107:54802] helo=h1123647.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FB/87-31591-3E6DB525 for ; Mon, 14 Oct 2013 07:35:01 -0400 Received: by h1123647.serverkompetenz.net (Postfix, from userid 1006) id 777EC23D6186; Mon, 14 Oct 2013 13:34:56 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on h1123647.serverkompetenz.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.5 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.2 Received: from [192.168.178.7] (dslb-094-216-033-122.pools.arcor-ip.net [94.216.33.122]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by h1123647.serverkompetenz.net (Postfix) with ESMTPSA id 470EA23D6166; Mon, 14 Oct 2013 13:34:55 +0200 (CEST) To: pecl-dev@lists.php.net, internals@lists.php.net Content-Type: text/plain; charset="UTF-8" Date: Mon, 14 Oct 2013 13:34:50 +0200 Message-ID: <1381750491.29722.335.camel@ghost> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit Subject: PECL site improvements From: ab@php.net (Anatol Belski) Hi, there are two improvements just implemented to the PECL website. I Every package is required to have LICENSE or COPYING to be present in the root of the package. The goal is to enforce the conformance with at least PHP and BSD licenses. Where by no explicit check for exact license type is done, it's considered as a good practice to include the license. Also, the licenses will be included into the windows binary packages. To add that file to the tarball, just add a line like this to the root dir in the package.xml II Every package is required to have the macros PHP_MYEXTNAME_VERSION to be defined in one of the headers in the root of the package. The goal is to fix discrepancy between phpinfo() and PECL site extension versions shown. I guess it happened almost to everyone at least once to unintendingly forget to sync both version strings before the release. The actual macros name is guessed using and tags from package.xml. The common definition format is #define PHP_MYEXTNAME_VERSION "1.2.3" That macros should be then used in the zend_module_entry defining the extension module. The macros name has to match the exact pattern, not MYEXTNAME_VERSION, MYEXTNAME_VERSION_STRING, MYEXT_VERSION_STR or else because there can be other extension specific macros defined and could possibly lead to ambiguity. Say the ext can have PHP_MYEXT_VERSION_STR and PHP_MYEXT_VERSION_ID, so then it's hard to guess. I'm going to walk through the extensions and fix this definitions in the next days, but if you'll need to release before it's done, please fix it yourself. That's it, please ping me if you think there's a bug in one of those changes. Regards Anatol