From 8cdf0e920d2b91b28b90aa2de1cc7354efe874e5 Mon Sep 17 00:00:00 2001 From: Andreas Muehlemann Date: Thu, 5 Sep 2024 20:25:31 +0200 Subject: [PATCH] removing old rhel7 files --- SPECS/misp-php73-pear-crypt-gpg.spec | 53 ---------------------------- SPECS/misp-php73-pecl-brotli.spec | 53 ---------------------------- SPECS/misp-php73-pecl-rdkafka.spec | 52 --------------------------- SPECS/misp-php73-pecl-redis.spec | 52 --------------------------- SPECS/misp-php73-pecl-ssdeep.spec | 53 ---------------------------- 5 files changed, 263 deletions(-) delete mode 100644 SPECS/misp-php73-pear-crypt-gpg.spec delete mode 100644 SPECS/misp-php73-pecl-brotli.spec delete mode 100644 SPECS/misp-php73-pecl-rdkafka.spec delete mode 100644 SPECS/misp-php73-pecl-redis.spec delete mode 100644 SPECS/misp-php73-pecl-ssdeep.spec diff --git a/SPECS/misp-php73-pear-crypt-gpg.spec b/SPECS/misp-php73-pear-crypt-gpg.spec deleted file mode 100644 index 6f2542a..0000000 --- a/SPECS/misp-php73-pear-crypt-gpg.spec +++ /dev/null @@ -1,53 +0,0 @@ -%global php_inidir %{_sysconfdir}/php.d -%global pear_name Crypt_GPG - -%define phprpm php73 -%define _scl_php_loader /usr/bin/scl enable rh-%{phprpm} - -Name: misp-%{phprpm}-pear-crypt-gpg -Version: 1.6.7 -Release: 1%{?dist} -Summary: PHP extension for interfacing crypt-gpg - -Group: Development/Languages -License: PHP -URL: https://github.com/phpcrypt-gpg/phpcrypt-gpg/ -Source0: http://download.pear.php.net/get/%{pear_name}-%{version}.tgz - -BuildRequires: rh-%{phprpm}-php, rh-%{phprpm}-php-devel, rh-%{phprpm}-php-pear -BuildRequires: rh-%{phprpm}-php-cli -Requires: rh-%{phprpm}-php, rh-%{phprpm}-php-pear - -%description -PHP extension for interfacing crypt-gpg - -%prep -%setup -q -c -cd %{pear_name}-%{version} -mv ../package.xml %{pear_name}.xml - -%build -cd %{pear_name}-%{version} - -%install -/opt/rh/rh-%{phprpm}/root/bin/pear -d php_dir=/tmp install --nodeps --packagingroot $RPM_BUILD_ROOT %{pear_name}-%{version}.tgz -cp -r $RPM_BUILD_ROOT/tmp/Crypt $RPM_BUILD_ROOT/opt/rh/rh-%{phprpm}/root/usr/share/pear -cp -r /tmp/.registry $RPM_BUILD_ROOT/opt/rh/rh-%{phprpm}/root/usr/share/pear - - -%files -/opt/rh/rh-%{phprpm}/root/usr/share/pear/GPG/* -/opt/rh/rh-%{phprpm}/root/usr/share/pear/GPG*php -/opt/rh/rh-%{phprpm}/root/usr/share/pear-data/Crypt_GPG/* -/opt/rh/rh-%{phprpm}/root/usr/share/tests/pear/Crypt_GPG/* -/opt/rh/rh-%{phprpm}/root/usr/bin/crypt-gpg-pinentry -%doc /opt/rh/rh-%{phprpm}/root/usr/share/doc/pear/Crypt_GPG/* -/opt/rh/rh-%{phprpm}/root/var/lib/pear/.registry/crypt_gpg.reg -%exclude /opt/rh/rh-%{phprpm}/root/var/lib/pear/.channels -%exclude /opt/rh/rh-%{phprpm}/root/var/lib/pear/.filemap -%exclude /opt/rh/rh-%{phprpm}/root/var/lib/pear/.lock -%exclude /tmp/Crypt - -%changelog -* Mon Nov 20 2023 Andreas Muehlemann - 5.3.7 -- first version for rh-php73 diff --git a/SPECS/misp-php73-pecl-brotli.spec b/SPECS/misp-php73-pecl-brotli.spec deleted file mode 100644 index 842e942..0000000 --- a/SPECS/misp-php73-pecl-brotli.spec +++ /dev/null @@ -1,53 +0,0 @@ -%global php_inidir %{_sysconfdir}/php.d -%global pecl_name brotli -%global pecl_xmldir /var/lib/pear/pkgxml -%global php_extdir /opt/rh/rh-%{phprpm}/root/usr/lib64/php/modules/ - -%define phprpm php73 -%define _scl_php_loader /usr/bin/scl enable rh-%{phprpm} - -Name: misp-%{phprpm}-pecl-brotli -Version: 0.14.2 -Release: 1%{?dist} -Summary: PHP extension for interfacing brotli - -Group: Development/Languages -License: PHP -URL: https://github.com/phpbrotli/phpbrotli/ -Source0: https://pecl.php.net/get/brotli-%{version}.tgz - -BuildRequires: rh-%{phprpm}-php, rh-%{phprpm}-php-devel, rh-%{phprpm}-php-pear -BuildRequires: rh-%{phprpm}-php-cli -BuildRequires: brotli, brotli-devel -Requires: rh-%{phprpm}-php - -%description -PHP extension for interfacing brotli - -%prep -%setup -q -n brotli-%{version} - -# create the ini file -cat > %{pecl_name}.ini << EOF -extension=%{pecl_name}.so -EOF - -%build -# brotli hard codes /usr/lib for libfuzzy.so -/opt/rh/rh-%{phprpm}/root/bin/phpize -./configure \ - --with-brotli \ - --with-php-config=/opt/rh/rh-%{phprpm}/root/bin/php-config -make %{?_smp_mflags} - -%install -make install INSTALL_ROOT=%{buildroot} -install -D -m 644 %{pecl_name}.ini %{buildroot}/etc/opt/rh/rh-%{phprpm}/php.d/%{pecl_name}.ini - -%files -%{php_extdir}/%{pecl_name}.so -%config(noreplace) /etc/opt/rh/rh-%{phprpm}/php.d/%{pecl_name}.ini - -%changelog -* Mon Nov 20 2023 Andreas Muehlemann - 5.3.7 -- first version for rh-php73 diff --git a/SPECS/misp-php73-pecl-rdkafka.spec b/SPECS/misp-php73-pecl-rdkafka.spec deleted file mode 100644 index 527cfc2..0000000 --- a/SPECS/misp-php73-pecl-rdkafka.spec +++ /dev/null @@ -1,52 +0,0 @@ -%global php_inidir %{_sysconfdir}/php.d -%global pecl_name rdkafka -%global pecl_xmldir /var/lib/pear/pkgxml -%global php_extdir /opt/rh/rh-%{phprpm}/root/usr/lib64/php/modules/ - -%define phprpm php73 -%define _scl_php_loader /usr/bin/scl enable rh-%{phprpm} - -Name: misp-%{phprpm}-pecl-rdkafka -Version: 5.0.2 -Release: 1%{?dist} -Summary: PHP extension for interfacing rdkafka - -Group: Development/Languages -License: PHP -URL: https://github.com/phprdkafka/phprdkafka/ -Source0: https://pecl.php.net/get/rdkafka-%{version}.tgz - -BuildRequires: rh-%{phprpm}-php, rh-%{phprpm}-php-devel, rh-%{phprpm}-php-pear -BuildRequires: rh-%{phprpm}-php-cli -BuildRequires: librdkafka librdkafka-devel -Requires: rh-%{phprpm}-php - -%description -PHP extension for interfacing rdkafka - -%prep -%setup -q -n rdkafka-%{version} - -# create the ini file -cat > %{pecl_name}.ini << EOF -extension=%{pecl_name}.so -EOF - -%build -/opt/rh/rh-%{phprpm}/root/bin/phpize -%configure \ - --enable-rdkafka \ - --with-php-config=/opt/rh/rh-%{phprpm}/root/bin/php-config -make %{?_smp_mflags} - -%install -make install INSTALL_ROOT=%{buildroot} -install -D -m 644 %{pecl_name}.ini %{buildroot}/etc/opt/rh/rh-%{phprpm}/php.d/%{pecl_name}.ini - -%files -%{php_extdir}/%{pecl_name}.so -%config(noreplace) /etc/opt/rh/rh-%{phprpm}/php.d/%{pecl_name}.ini - -%changelog -* Mon Nov 20 2023 Andreas Muehlemann - 5.3.7 -- first version for rh-php73 diff --git a/SPECS/misp-php73-pecl-redis.spec b/SPECS/misp-php73-pecl-redis.spec deleted file mode 100644 index f32e26b..0000000 --- a/SPECS/misp-php73-pecl-redis.spec +++ /dev/null @@ -1,52 +0,0 @@ -%global php_inidir %{_sysconfdir}/php.d -%global pecl_name redis -%global pecl_xmldir /var/lib/pear/pkgxml -%global php_extdir /opt/rh/rh-%{phprpm}/root/usr/lib64/php/modules/ - -%define phprpm php73 -%define _scl_php_loader /usr/bin/scl enable rh-%{phprpm} - -Name: misp-%{phprpm}-pecl-redis -Version: 5.3.7 -Release: 1%{?dist} -Summary: PHP extension for interfacing redis - -Group: Development/Languages -License: PHP -URL: https://github.com/phpredis/phpredis/ -Source0: https://pecl.php.net/get/redis-%{version}.tgz - -BuildRequires: rh-%{phprpm}-php, rh-%{phprpm}-php-devel, rh-%{phprpm}-php-pear -BuildRequires: rh-%{phprpm}-php-cli -Requires: rh-%{phprpm}-php - -%description -PHP extension for interfacing redis - -%prep -%setup -q -n redis-%{version} - -# create the ini file -cat > %{pecl_name}.ini << EOF -extension=%{pecl_name}.so -EOF - -%build -/opt/rh/rh-%{phprpm}/root/bin/phpize -%configure \ - --enable-redis \ - --enable-redis-session \ - --with-php-config=/opt/rh/rh-%{phprpm}/root/bin/php-config -make %{?_smp_mflags} - -%install -make install INSTALL_ROOT=%{buildroot} -install -D -m 644 %{pecl_name}.ini %{buildroot}/etc/opt/rh/rh-%{phprpm}/php.d/%{pecl_name}.ini - -%files -%{php_extdir}/%{pecl_name}.so -%config(noreplace) /etc/opt/rh/rh-%{phprpm}/php.d/%{pecl_name}.ini - -%changelog -* Mon Nov 20 2023 Andreas Muehlemann - 5.3.7 -- first version for rh-php73 diff --git a/SPECS/misp-php73-pecl-ssdeep.spec b/SPECS/misp-php73-pecl-ssdeep.spec deleted file mode 100644 index 432f048..0000000 --- a/SPECS/misp-php73-pecl-ssdeep.spec +++ /dev/null @@ -1,53 +0,0 @@ -%global php_inidir %{_sysconfdir}/php.d -%global pecl_name ssdeep -%global pecl_xmldir /var/lib/pear/pkgxml -%global php_extdir /opt/rh/rh-%{phprpm}/root/usr/lib64/php/modules/ - -%define phprpm php73 -%define _scl_php_loader /usr/bin/scl enable rh-%{phprpm} - -Name: misp-%{phprpm}-pecl-ssdeep -Version: 1.1.0 -Release: 1%{?dist} -Summary: PHP extension for interfacing ssdeep - -Group: Development/Languages -License: PHP -URL: https://github.com/phpssdeep/phpssdeep/ -Source0: https://pecl.php.net/get/ssdeep-%{version}.tgz - -BuildRequires: rh-%{phprpm}-php, rh-%{phprpm}-php-devel, rh-%{phprpm}-php-pear -BuildRequires: rh-%{phprpm}-php-cli -BuildRequires: ssdeep, ssdeep-devel -Requires: rh-%{phprpm}-php - -%description -PHP extension for interfacing ssdeep - -%prep -%setup -q -n ssdeep-%{version} - -# create the ini file -cat > %{pecl_name}.ini << EOF -extension=%{pecl_name}.so -EOF - -%build -# ssdeep hard codes /usr/lib for libfuzzy.so -/opt/rh/rh-%{phprpm}/root/bin/phpize -./configure \ - --with-ssdeep=%{_libdir} \ - --with-php-config=/opt/rh/rh-%{phprpm}/root/bin/php-config -make %{?_smp_mflags} - -%install -make install INSTALL_ROOT=%{buildroot} -install -D -m 644 %{pecl_name}.ini %{buildroot}/etc/opt/rh/rh-%{phprpm}/php.d/%{pecl_name}.ini - -%files -%{php_extdir}/%{pecl_name}.so -%config(noreplace) /etc/opt/rh/rh-%{phprpm}/php.d/%{pecl_name}.ini - -%changelog -* Mon Nov 20 2023 Andreas Muehlemann - 5.3.7 -- first version for rh-php73