|
@@ -1,14 +1,22 @@
|
|
Summary: libmcrypt is a data encryption library.
|
|
Summary: libmcrypt is a data encryption library.
|
|
Name: libmcrypt
|
|
Name: libmcrypt
|
|
Version: 2.5.8
|
|
Version: 2.5.8
|
|
-Release: 2%{?_dist_release}
|
|
+Release: 3%{?_dist_release}
|
|
License: LGPL
|
|
License: LGPL
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
URL: http://mcrypt.sourceforge.net/
|
|
URL: http://mcrypt.sourceforge.net/
|
|
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
+Patch0: libmcrypt-2.5.8-nolibltdl.patch
|
|
|
|
+# Upstream:
|
|
|
|
+# http://sourceforge.net/tracker/index.php?func=detail&aid=1872801&group_id=87941&atid=584895
|
|
|
|
+Patch1: libmcrypt-2.5.8-uninitialized.patch
|
|
|
|
+# Upstream:
|
|
|
|
+# http://sourceforge.net/tracker/index.php?func=detail&aid=1872799&group_id=87941&atid=584895
|
|
|
|
+Patch2: libmcrypt-2.5.8-prototypes.patch
|
|
|
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
+BuildRequires: libtool-ltdl-devel
|
|
|
|
|
|
%description
|
|
%description
|
|
libmcrypt is a data encryption library. The library is thread safe
|
|
libmcrypt is a data encryption library. The library is thread safe
|
|
@@ -28,9 +36,13 @@ Header file and static libraries of libmcrypt data encryption library.
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
|
|
+%patch0 -p1
|
|
|
|
+%patch1 -p1 -b .uninitialized
|
|
|
|
+%patch2 -p1 -b .prototypes
|
|
|
|
|
|
%build
|
|
%build
|
|
-%configure --disable-posix-threads --disable-static
|
|
+##%configure --disable-posix-threads --disable-static
|
|
|
|
+%configure --disable-static
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
@@ -65,6 +77,9 @@ rm -rf %{buildroot}
|
|
%{_datadir}/aclocal/libmcrypt.m4
|
|
%{_datadir}/aclocal/libmcrypt.m4
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Mon Jun 23 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.5.8-3
|
|
|
|
+- added patches.
|
|
|
|
+
|
|
* Thu Mar 22 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.5.8-2
|
|
* Thu Mar 22 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.5.8-2
|
|
- rebuild
|
|
- rebuild
|
|
|
|
|