summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-12-17 13:46:27 +0000
committerobache <obache@pkgsrc.org>2011-12-17 13:46:27 +0000
commit9ce09e1be1edcebbde3094976733ba75ad25424b (patch)
tree0201099d58a10a76fa4a723dc2af453a6d168585 /security
parent27c643b7045792492113ae29806e36ac723f5995 (diff)
downloadpkgsrc-9ce09e1be1edcebbde3094976733ba75ad25424b.tar.gz
Change default PKGNAME scheme for PECL packages.
Drop ${PHP_BASE_VARS} from PKGVERSION by default. It used to be required to support multiple php version. But after PHP version based ${PHP_PKG_PREFIX} was introduced, such trick is not required anymore. In addition to this, such version name schme invokes unwanted version bump when base php version is bumped, plus, such version scheme is hard to use for DEPENDS pattern. To avoid downgrading of package using such legacy version scheme, PECL_LEGACY_VERSION_SCHEME is introduced. If it is defined, current version scheme is still used for currently supported PHP version (5 and 53), but instead of ${PHP_BASE_VARS}, current fixed PHP base version in pkgsrc is used to avoid unwanted version bump from update of PHP base package. With newer PHP (54, or so on), new version scheme will be used if it is defined. This trick will not be required and should be removed after php5 and php53 will be gone away from pkgsrc.
Diffstat (limited to 'security')
-rw-r--r--security/php-suhosin/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/security/php-suhosin/Makefile b/security/php-suhosin/Makefile
index e459c0ce231..cb9f6e054a3 100644
--- a/security/php-suhosin/Makefile
+++ b/security/php-suhosin/Makefile
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.3 2010/12/19 02:22:15 taca Exp $
+# $NetBSD: Makefile,v 1.4 2011/12/17 13:46:28 obache Exp $
#
MODNAME= suhosin
DISTNAME= suhosin-${PECL_VERSION}
PECL_VERSION= 0.9.32.1
+PECL_LEGACY_VERSION_SCHEME= yes
CATEGORIES= www
MASTER_SITES= http://download.suhosin.org/
EXTRACT_SUFX= .tar.gz