Compare commits

...

8 Commits

3 changed files with 42 additions and 1667 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,14 +0,0 @@
diff -p -up apr-1.4.2/include/apr_ring.h.orig apr-1.4.2/include/apr_ring.h
--- apr-1.4.2/include/apr_ring.h.orig 2010-12-01 17:34:25.278706979 -0200
+++ apr-1.4.2/include/apr_ring.h 2010-12-01 17:34:59.454706961 -0200
@@ -90,8 +90,8 @@
*/
#define APR_RING_HEAD(head, elem) \
struct head { \
- struct elem *next; \
- struct elem *prev; \
+ struct elem * volatile next; \
+ struct elem * volatile prev; \
}
/**

View File

@ -2,7 +2,7 @@
%define aprver %(echo %version | cut -d. -f 1)
Name: libapr
Version: 1.6.2
Version: 1.7.5
Release: 1mamba
Epoch: 1
Summary: The Apache Portable Runtime (APR)
@ -10,19 +10,16 @@ Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://apr.apache.org/
Source: http://mirror.nohup.it/apache/apr/apr-%{version}.tar.gz
Source2: http://apache.webthing.com/svn/apache/apr/apr_dbd_mysql.c
Patch0: %{name}-1.4.2-alias.patch
URL: https://apr.apache.org/
Source: https://dlcdn.apache.org//apr/apr-%{version}.tar.bz2
License: Apache License 2.0
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libuuid-devel
BuildRequires: pkg-config
BuildRequires: libxcrypt-devel
## AUTOBUILDREQ-END
Provides: libapr1
Obsoletes: libapr1
Obsoletes: libapr1 < 1:1.7.2
%description
The mission of the Apache Portable Runtime (APR) project is to create and maintain software libraries that provide a predictable and consistent interface to underlying platform-specific implementations.
@ -33,22 +30,23 @@ Summary: Devel package for %{name}
Group: Development/Libraries
Requires: libapr = %{?epoch:%epoch:}%{version}-%{release}
Provides: libapr1-devel = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: libapr1-devel
Obsoletes: libapr1-devel < 1:1.7.2
%description devel
The mission of the Apache Portable Runtime (APR) project is to create and maintain software libraries that provide a predictable and consistent interface to underlying platform-specific implementations.
The primary goal is to provide an API to which software developers may code and be assured of predictable if not identical behaviour regardless of the platform on which their software is built, relieving them of the need to code special-case conditions to work around or take advantage of platform-specific deficiencies or features.
This package contains static libraries and header files needed for development.
This package contains static libraries and header files need for development.
%debug_package
%prep
%setup -q -n apr-%{version}
#%patch0 -p1
%build
%configure \
--with-installbuilddir=%{_datadir}/apr/build-%{aprver}/ \
--includedir=%{_includedir}/apr-1
--includedir=%{_includedir}/apr-1 \
--with-devrandom
%make
@ -62,25 +60,48 @@ rm -f %{buildroot}%{_libdir}/apr.exp
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/apr-%{aprver}-config
%{_libdir}/libapr-%{aprver}.so.*
%doc CHANGES LICENSE
%doc LICENSE
%files devel
%defattr(-,root,root)
%{_datadir}/apr/build-%{aprver}/*
%{_libdir}/pkgconfig/apr-1.pc
%{_libdir}/libapr-%{aprver}.a
%{_libdir}/libapr-%{aprver}.la
%{_libdir}/libapr-%{aprver}.so
%{_bindir}/apr-%{aprver}-config
%dir %{_includedir}/apr-%{aprver}
%{_includedir}/apr-%{aprver}/*.h
%{_datadir}/apr/build-%{aprver}/*
%{_libdir}/libapr-%{aprver}.a
%{_libdir}/libapr-%{aprver}.so
%{_libdir}/pkgconfig/apr-1.pc
%doc CHANGES
%changelog
* Wed Sep 25 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.5-1mamba
- update to 1.7.5
* Mon Apr 17 2023 Automatic Build System <autodist@mambasoft.it> 1.7.4-1mamba
- automatic version update by autodist
* Sat Apr 01 2023 Automatic Build System <autodist@mambasoft.it> 1.7.3-1mamba
- automatic version update by autodist
* Mon Feb 06 2023 Automatic Build System <autodist@mambasoft.it> 1.7.2-1mamba
- automatic version update by autodist
* Sat Nov 09 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.0-2mamba
- rebuilt with --with-devrandom to fix httpd on libvirt
* Tue Apr 16 2019 Automatic Build System <autodist@mambasoft.it> 1.7.0-1mamba
- automatic version update by autodist
* Thu Oct 04 2018 Automatic Build System <autodist@mambasoft.it> 1.6.5-1mamba
- automatic version update by autodist
* Fri Oct 27 2017 Automatic Build System <autodist@mambasoft.it> 1.6.3-1mamba
- automatic version update by autodist
* Wed Jun 28 2017 Automatic Build System <autodist@mambasoft.it> 1.6.2-1mamba
- automatic version update by autodist