summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-01-19 08:16:40 +0100
committerRemi Collet <remi@php.net>2024-01-19 08:16:40 +0100
commit56b4819dca246f6b2eeaee986c9f8af7fa982ccb (patch)
treee1aed5ad344b9197a5a731d069f2c4dbb478d0e7
parent18ecce5dd8b1f39fbcdc8da17bac13a05caca6b7 (diff)
report author and license
-rw-r--r--php_rpminfo.h2
-rw-r--r--rpminfo.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/php_rpminfo.h b/php_rpminfo.h
index 6520118..ddc912f 100644
--- a/php_rpminfo.h
+++ b/php_rpminfo.h
@@ -23,6 +23,8 @@ extern zend_module_entry rpminfo_module_entry;
#define phpext_rpminfo_ptr &rpminfo_module_entry
#define PHP_RPMINFO_VERSION "1.1.1-dev"
+#define PHP_RPMINFO_AUTHOR "Remi Collet"
+#define PHP_RPMINFO_LICENSE "PHP-3.01"
#ifdef ZTS
#include "TSRM.h"
diff --git a/rpminfo.c b/rpminfo.c
index 8cfac4d..e3fc4f5 100644
--- a/rpminfo.c
+++ b/rpminfo.c
@@ -974,6 +974,8 @@ PHP_MINFO_FUNCTION(rpminfo)
php_info_print_table_start();
php_info_print_table_header(2, "rpminfo support", "enabled");
php_info_print_table_row(2, "Extension version", PHP_RPMINFO_VERSION);
+ php_info_print_table_row(2, "Author", PHP_RPMINFO_AUTHOR);
+ php_info_print_table_row(2, "License", PHP_RPMINFO_LICENSE);
php_info_print_table_row(2, "RPM library version", RPMVERSION);
#ifdef HAVE_ARCHIVE
php_info_print_table_row(2, "RPM stream wrapper", "yes");