Initial Commit
- initial default booting image
This commit is contained in:
17
package/php-pam/Config.in
Normal file
17
package/php-pam/Config.in
Normal file
@@ -0,0 +1,17 @@
|
||||
config BR2_PACKAGE_PHP_PAM
|
||||
bool "php-pam"
|
||||
depends on BR2_ENABLE_LOCALE # linux-pam
|
||||
depends on BR2_USE_WCHAR # linux-pam
|
||||
depends on BR2_USE_MMU # linux-pam
|
||||
depends on !BR2_STATIC_LIBS # linux-pam
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # linux-pam
|
||||
select BR2_PACKAGE_LINUX_PAM
|
||||
help
|
||||
PHP PAM (Pluggable Authentication Modules) integration
|
||||
|
||||
https://pecl.php.net/package/PAM
|
||||
|
||||
comment "php-pam needs a toolchain w/ wchar, locale, dynamic library, gcc >= 4.9"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR \
|
||||
|| BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
3
package/php-pam/php-pam.hash
Normal file
3
package/php-pam/php-pam.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated:
|
||||
sha256 d5c818c73c9cde4d2118bb08322dec0b532f3be48c3ef7d3f23a05af5080eb24 pam-2.2.4.tgz
|
||||
sha256 0967ad6cf4b7fe81d38709d7aaef3fecb3bd685be7eebb37b864aa34c991baa7 LICENSE
|
||||
26
package/php-pam/php-pam.mk
Normal file
26
package/php-pam/php-pam.mk
Normal file
@@ -0,0 +1,26 @@
|
||||
################################################################################
|
||||
#
|
||||
# php-pam
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PHP_PAM_VERSION = 2.2.4
|
||||
PHP_PAM_SITE = http://pecl.php.net/get
|
||||
PHP_PAM_SOURCE = pam-$(PHP_PAM_VERSION).tgz
|
||||
PHP_PAM_LICENSE = PHP-3.01
|
||||
PHP_PAM_LICENSE_FILES = LICENSE
|
||||
PHP_PAM_DEPENDENCIES = php linux-pam host-autoconf host-pkgconf
|
||||
|
||||
PHP_PAM_CONF_OPTS = \
|
||||
--with-php-config=$(STAGING_DIR)/usr/bin/php-config \
|
||||
--with-pam=$(STAGING_DIR)/usr
|
||||
|
||||
define PHP_PAM_PHPIZE
|
||||
(cd $(@D); \
|
||||
PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \
|
||||
PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \
|
||||
$(STAGING_DIR)/usr/bin/phpize)
|
||||
endef
|
||||
PHP_PAM_PRE_CONFIGURE_HOOKS += PHP_PAM_PHPIZE
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user