Commit bfb4a3a4 authored by Ondrej Sury's avatar Ondrej Sury

Update php-radius package for PHP 7.0 coinst builds

parent f1b1556d
Source: php-radius
Section: web
Section: php
Priority: optional
Maintainer: Debian PHP PECL Maintainers <pkg-php-pecl@lists.alioth.debian.org>
Uploaders: Ondřej Surý <ondrej@debian.org>,
Roberto Lumbreras <rover@debian.org>
Build-Depends: debhelper (>= 9),
dh-php5,
php5-dev,
pkg-php-tools (>= 1.5~),
dh-php,
php-all-dev,
po-debconf
Standards-Version: 3.9.6
Vcs-Git: git://anonscm.debian.org/pkg-php/php-radius.git
Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-php/php-radius.git;a=summary
Homepage: http://pecl.php.net/package/radius
Package: php5-radius
Package: php-radius
Architecture: any
Depends: ${misc:Depends},
${php:Depends},
${phppear:Debian-Depends},
${shlibs:Depends}
Recommends: ${phppear:Debian-Recommends}
Breaks: ${phppear:Debian-Breaks}
Description: ${phppear:summary}
${phppear:description}
${shlibs:Depends},
${php:Depends}
Description: radius client library for PHP
This package is based on the libradius of FreeBSD, with some
modifications and extensions. This PECL provides full support for
RADIUS authentication (RFC 2865) and RADIUS accounting (RFC 2866),
works on Unix and on Windows. Its an easy way to authenticate your
users against the user-database of your OS (for example against
Windows Active-Directory via IAS).
......@@ -8,7 +8,7 @@ Copyright: 1997-2009 Michael Bretterklieber <mbretter@php.net>
License: BSD-2-clause
Files: debian/*
Copyright: 2015 Ondřej Surý <ondrej@debian.org>
Copyright: 2015-2016 Ondřej Surý <ondrej@debian.org>
License: Expat
License: BSD-2-clause
......
[DEFAULT]
debian-branch = master-7.0
debian-tag = debian/%(version)s
upstream-branch = upstream-7.0
upstream-tag = upstream/%(version)s
pristine-tar = True
[dch]
meta = 1
[import-orig]
filter = ['.gitignore']
modules/radius.so
#!/usr/bin/make -f
export DH_VERBOSE=1
export NO_INTERACTION=1
SHELL=/bin/sh -e
PECL_NAME := $(shell dpkg-parsechangelog -SSource | sed -e s/php-//)
SOURCE_DIR := $(shell ls -1d $(PECL_NAME)-*)
INSTALL_ROOT := $(CURDIR)/debian/php-$(PECL_NAME)
PHP_VERSIONS := $(shell /usr/sbin/phpquery -V)
%:
dh $@ --buildsystem=phppear --with phppear --with php5
dh $@ --with php --sourcedirectory=$(SOURCE_DIR)
override_dh_auto_configure:
for v in $(PHP_VERSIONS); do \
cp -a $(CURDIR)/$(SOURCE_DIR) $(CURDIR)/build-$$v; \
cd $(CURDIR)/build-$$v; \
phpize$$v; \
done
cd $(SOURCE_DIR) && phpize
for v in $(PHP_VERSIONS); do \
dh_auto_configure --builddirectory=$(CURDIR)/build-$$v --sourcedirectory=$(SOURCE_DIR) -- --enable-$(PECL_NAME) --with-php-config=/usr/bin/php-config$$v; \
done
override_dh_auto_build:
for v in $(PHP_VERSIONS); do \
dh_auto_build --builddirectory=$(CURDIR)/build-$$v --sourcedirectory=$(SOURCE_DIR); \
done
override_dh_auto_install:
for v in $(PHP_VERSIONS); do \
dh_auto_install --builddirectory=$(CURDIR)/build-$$v --sourcedirectory=$(SOURCE_DIR) -- INSTALL_ROOT=$(INSTALL_ROOT); \
done
override_dh_auto_clean:
for v in $(PHP_VERSIONS); do \
dh_auto_clean --builddirectory=$(CURDIR)/build-$$v --sourcedirectory=$(SOURCE_DIR); \
rm -rf $(CURDIR)/build-$$v; \
done
cd $(SOURCE_DIR) && phpize --clean
# Override invalid PHP license problem for PHP extensions coming from PECL.PHP.NET
php-radius source: license-problem-php-license *
version=3
http://pecl.php.net/package/radius \
/get/radius-([\d\.]*).tgz debian uupdate
opts=uversionmangle=s/(\d)RC(\d*)$/$1rc$2/;s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/ \
http://pecl.php.net/package/radius .*/radius-(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment