openssl-0.9.8j
by Farkas Levente
hi,
i update the openssl package to the latest rawhide plus my previous
patches. the full hg diff is too large so i collect the changes:
- add all new patch files from openssl-0.9.8j-6.fc11.src.rpm
- mingw32-openssl-0.9.8g-shared.patch updated to
mingw32-openssl-0.9.8j-shared.patch (attached)
- remove these patches since no longer needed:
openssl-0.9.7-beta5-version-add-engines.patch
openssl-0.9.7f-ca-dir.patch
openssl-0.9.8a-enginesdir.patch
openssl-0.9.8g-bn-mul-bug.patch
openssl-0.9.8g-cve-2008-0891.patch
openssl-0.9.8g-cve-2008-1671.patch
openssl-0.9.8g-redhat.patch
openssl-0.9.8g-shlib-version.patch
openssl-0.9.8g-soversion.patch
openssl-0.9.8g-speed-bug.patch
and my spec file patch which is attached where i try to merge with
native spec file. a few comments about it:
- rename with_tests to run_tests (since it's called in that way in
ptheads package),
- update the patch sections,
- remove the gcc hack and replace Configure scripts with our macros,
- enable pthread tests too
- add files under pki/
- add license
--
Levente "Si vis pacem para bellum!"
diff -r 8bd4182dafe0 openssl/mingw32-openssl.spec
--- a/openssl/mingw32-openssl.spec Wed Jan 28 19:29:56 2009 +0000
+++ b/openssl/mingw32-openssl.spec Fri Jan 30 13:37:21 2009 +0100
@@ -4,14 +4,29 @@
%define __find_requires %{_mingw32_findrequires}
%define __find_provides %{_mingw32_findprovides}
+# For the curious:
+# 0.9.5a soversion = 0
+# 0.9.6 soversion = 1
+# 0.9.6a soversion = 2
+# 0.9.6c soversion = 3
+# 0.9.7a soversion = 4
+# 0.9.7ef soversion = 5
+# 0.9.8ab soversion = 6
+# 0.9.8g soversion = 7
+# 0.9.8j + EAP-FAST soversion = 8
+%define soversion 8
+
# Enable the tests.
# These only work some of the time, but fail randomly at other times
# (although I have had them complete a few times, so I don't think
# there is any actual problem with the binaries).
-%define with_tests 0
+%define run_tests 0
+
+# Number of threads to spawn when testing some threading fixes.
+%define thread_test_threads %{?threads:%{threads}}%{!?threads:1}
Name: mingw32-openssl
-Version: 0.9.8g
+Version: 0.9.8j
Release: 1%{?dist}
Summary: MinGW port of the OpenSSL toolkit
@@ -30,34 +45,44 @@ Source10: opensslconf-new-warning.
Source10: opensslconf-new-warning.h
# Patches from Fedora native package.
-Patch0: openssl-0.9.8g-redhat.patch
+# Build changes
+Patch0: openssl-0.9.8j-redhat.patch
Patch1: openssl-0.9.8a-defaults.patch
Patch2: openssl-0.9.8a-link-krb5.patch
-Patch3: openssl-0.9.8g-soversion.patch
-Patch4: openssl-0.9.8a-enginesdir.patch
+Patch3: openssl-0.9.8j-soversion.patch
+Patch4: openssl-0.9.8j-enginesdir.patch
Patch5: openssl-0.9.8a-no-rpath.patch
Patch6: openssl-0.9.8b-test-use-localhost.patch
-Patch7: openssl-0.9.8g-shlib-version.patch
+Patch7: openssl-0.9.8j-shlib-version.patch
+# Bug fixes
Patch21: openssl-0.9.8b-aliasing-bug.patch
Patch22: openssl-0.9.8b-x509-name-cmp.patch
Patch23: openssl-0.9.8g-default-paths.patch
Patch24: openssl-0.9.8g-no-extssl.patch
+# Functionality changes
Patch32: openssl-0.9.8g-ia64.patch
-Patch33: openssl-0.9.7f-ca-dir.patch
+Patch33: openssl-0.9.8j-ca-dir.patch
Patch34: openssl-0.9.6-x509.patch
-Patch35: openssl-0.9.7-beta5-version-add-engines.patch
+Patch35: openssl-0.9.8j-version-add-engines.patch
Patch38: openssl-0.9.8a-reuse-cipher-change.patch
# Disabled this because it uses getaddrinfo which is lacking on Windows.
#Patch39: openssl-0.9.8g-ipv6-apps.patch
-Patch50: openssl-0.9.8g-speed-bug.patch
-Patch51: openssl-0.9.8g-bn-mul-bug.patch
-Patch52: openssl-0.9.8g-cve-2008-0891.patch
-Patch53: openssl-0.9.8g-cve-2008-1671.patch
+Patch40: openssl-0.9.8j-nocanister.patch
+Patch41: openssl-0.9.8j-use-fipscheck.patch
+Patch42: openssl-0.9.8j-fipscheck-hmac.patch
+Patch43: openssl-0.9.8j-evp-nonfips.patch
+Patch44: openssl-0.9.8j-kernel-fipsmode.patch
+Patch45: openssl-0.9.8j-env-nozlib.patch
+Patch46: openssl-0.9.8j-eap-fast.patch
+Patch47: openssl-0.9.8j-readme-warning.patch
+Patch48: openssl-0.9.8j-bad-mime.patch
+Patch49: openssl-0.9.8j-fips-no-pairwise.patch
+# Backported fixes including security fixes
# MinGW-specific patches.
Patch100: mingw32-openssl-0.9.8g-header-files.patch
Patch101: mingw32-openssl-0.9.8g-configure.patch
-Patch102: mingw32-openssl-0.9.8g-shared.patch
+Patch102: mingw32-openssl-0.9.8j-shared.patch
Patch103: mingw32-openssl-0.9.8g-global.patch
Patch104: mingw32-openssl-0.9.8g-sfx.patch
@@ -65,11 +90,12 @@ BuildRoot: %{_tmppath}/%{name}-%{ve
BuildArch: noarch
-BuildRequires: mingw32-filesystem >= 26
+BuildRequires: mingw32-filesystem >= 40
BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils
BuildRequires: mingw32-zlib
+BuildRequires: mingw32-pthreads
BuildRequires: mktemp
#BuildRequires: krb5-devel
@@ -82,12 +108,12 @@ BuildRequires: /usr/bin/rename
# /usr/bin/makedepend which comes from imake.
BuildRequires: imake
+%if %{run_tests}
# Required both to build, and to run the tests.
# XXX This needs to be fixed - cross-compilation should not
# require running executables.
BuildRequires: wine
-%if %{with_tests}
# Required to run the tests.
BuildRequires: xorg-x11-server-Xvfb
%endif
@@ -130,10 +156,16 @@ This package contains Windows (MinGW) li
%patch35 -p1 -b .version-add-engines
%patch38 -p1 -b .cipher-change
#%patch39 -p1 -b .ipv6-apps
-%patch50 -p1 -b .speed-bug
-%patch51 -p1 -b .bn-mul-bug
-%patch52 -p0 -b .srvname-crash
-%patch53 -p0 -b .srv-kex-crash
+%patch40 -p1 -b .nocanister
+%patch41 -p1 -b .use-fipscheck
+%patch42 -p1 -b .fipscheck-hmac
+%patch43 -p1 -b .evp-nonfips
+%patch44 -p1 -b .fipsmode
+%patch45 -p1 -b .env-nozlib
+%patch46 -p1 -b .eap-fast
+%patch47 -p1 -b .warning
+%patch48 -p1 -b .bad-mime
+%patch49 -p1 -b .no-pairwise
%patch100 -p1 -b .mingw-header-files
%patch101 -p1 -b .mingw-configure
@@ -148,17 +180,11 @@ touch Makefile
touch Makefile
make TABLE PERL=%{__perl}
-
%build
-
-cat > gcc <<EOS
-#!/bin/sh -
-%{_bindir}/i686-pc-mingw32-gcc -m32 "$@"
-EOS
-export PATH=.:$PATH
-
# NB: 'no-hw' is vital. MinGW cannot build the hardware drivers
# and if you don't have this you'll get an obscure link error.
+%{_mingw32_env}; \
+sed -i -e "s/MINGW32_CC/%{_mingw32_cc}/" -e "s/MINGW32_CFLAGS/%{_mingw32_cflags}/" -e "s/MINGW32_RANLIB/%{_mingw32_ranlib}/" Configure; \
./Configure \
--prefix=%{_mingw32_prefix} \
--openssldir=%{_mingw32_sysconfdir}/pki/tls \
@@ -168,11 +194,13 @@ export PATH=.:$PATH
mingw
# --with-krb5-flavor=MIT
# -I%{_mingw32_prefix}/kerberos/include -L%{_mingw32_prefix}/kerberos/%{_lib}
-make depend
-make all build-shared
-make rehash build-shared
-
-%if %{with_tests}
+%{_mingw32_make} depend
+%{_mingw32_make} all build-shared
+
+# Generate hashes for the included certs.
+%{_mingw32_make} rehash build-shared
+
+%if %{run_tests}
#----------------------------------------------------------------------
# Run some tests. I don't know why this isn't in a %-check section
# but this is how it is in the native RPM.
@@ -204,27 +232,36 @@ DISPLAY=$display
DISPLAY=$display
export DISPLAY
-make LDCMD=%{_mingw32_cc} -C test apps tests
+%{_mingw32_make} LDCMD=%{_mingw32_cc} -C test apps tests
# Disable this thread test, because we don't have pthread on Windows.
-#%-{_mingw32_cc} -o openssl-thread-test \
-# -I./include \
-# %-{_mingw32_cflags} \
-# %-{SOURCE8} \
-# -L. \
-# -lssl -lcrypto \
-# -lpthread -lz -ldl
-#
+%{_mingw32_cc} -o openssl-thread-test \
+ -I./include \
+ %-{_mingw32_cflags} \
+ %-{SOURCE8} \
+ -L. \
+ -lssl -lcrypto \
+ -lpthread -lz -ldl
+
## `krb5-config --cflags`
## `krb5-config --libs`
#
-#./openssl-thread-test --threads %{thread_test_threads}
+./openssl-thread-test --threads %{thread_test_threads}
#----------------------------------------------------------------------
%endif
# Patch33 must be patched after tests otherwise they will fail
patch -p1 -b -z .ca-dir < %{PATCH33}
+
+# Add generation of HMAC checksum of the final stripped library
+#%define __spec_install_post \
+# %{?__debug_package:%{__debug_install_post}} \
+# %{__arch_install_post} \
+# %{__os_install_post} \
+# fips/fips_standalone_sha1 $RPM_BUILD_ROOT/%{_lib}/libcrypto.so.%{version} >$RPM_BUILD_ROOT/%{_lib}/.libcrypto.so.%{version}.hmac \
+# ln -sf .libcrypto.so.%{version}.hmac $RPM_BUILD_ROOT/%{_lib}/.libcrypto.so.%{soversion}.hmac \
+#%{nil}
if ! iconv -f UTF-8 -t ASCII//TRANSLIT CHANGES >/dev/null 2>&1 ; then
iconv -f ISO-8859-1 -t UTF-8 -o CHANGES.utf8 CHANGES && \
@@ -242,8 +279,8 @@ make INSTALL_PREFIX=$RPM_BUILD_ROOT inst
make INSTALL_PREFIX=$RPM_BUILD_ROOT install build-shared
# Install the actual DLLs.
-install libcrypto-7.dll $RPM_BUILD_ROOT%{_mingw32_bindir}
-install libssl-7.dll $RPM_BUILD_ROOT%{_mingw32_bindir}
+install libcrypto-%{soversion}.dll $RPM_BUILD_ROOT%{_mingw32_bindir}
+install libssl-%{soversion}.dll $RPM_BUILD_ROOT%{_mingw32_bindir}
# Remove static libraries but DON'T remove *.dll.a files.
rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libcrypto.a
@@ -257,6 +294,19 @@ chmod 0755 $RPM_BUILD_ROOT%{_mingw32_lib
chmod 0755 $RPM_BUILD_ROOT%{_mingw32_libdir}/libcrypto.dll.a
chmod 0755 $RPM_BUILD_ROOT%{_mingw32_libdir}/libssl.dll.a
+# Install a makefile for generating keys and self-signed certs, and a script
+# for generating them on the fly.
+mkdir -p $RPM_BUILD_ROOT%{_mingw32_sysconfdir}/pki/tls/certs
+install -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_mingw32_sysconfdir}/pki/tls/certs/Makefile
+install -m755 %{SOURCE6} $RPM_BUILD_ROOT%{_mingw32_sysconfdir}/pki/tls/certs/make-dummy-cert
+
+# Pick a CA script.
+pushd $RPM_BUILD_ROOT%{_mingw32_sysconfdir}/pki/tls/misc
+mv CA.sh CA
+popd
+
+mkdir -m700 $RPM_BUILD_ROOT%{_mingw32_sysconfdir}/pki/CA
+mkdir -m700 $RPM_BUILD_ROOT%{_mingw32_sysconfdir}/pki/CA/private
%clean
rm -rf $RPM_BUILD_ROOT
@@ -264,10 +314,12 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
+%doc LICENSE
%{_mingw32_bindir}/openssl.exe
%{_mingw32_bindir}/c_rehash
-%{_mingw32_bindir}/libcrypto-7.dll
-%{_mingw32_bindir}/libssl-7.dll
+%{_mingw32_bindir}/libcrypto-%{soversion}.dll
+%{_mingw32_bindir}/libssl-%{soversion}.dll
+#{_mingw32_bindir}/.libcrypto*.hmac
%{_mingw32_libdir}/libcrypto.dll.a
%{_mingw32_libdir}/libssl.dll.a
%{_mingw32_libdir}/engines
@@ -277,5 +329,11 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Wed Jan 28 2009 Levente Farkas <lfarkas(a)lfarkas.org> - 0.9.8j-1
+- update to new upstream version.
+
+* Mon Dec 29 2008 Levente Farkas <lfarkas(a)lfarkas.org> - 0.9.8g-2
+- minor cleanup.
+
* Tue Sep 30 2008 Richard W.M. Jones <rjones(a)redhat.com> - 0.9.8g-1
- Initial RPM release.
--- ./Makefile.shared.lfarkas 2009-01-28 16:39:05.000000000 +0100
+++ ./Makefile.shared 2009-01-28 16:41:51.000000000 +0100
@@ -238,7 +238,7 @@
SHLIB=cyg$(LIBNAME); \
base=-Wl,--enable-auto-image-base; \
if expr $(PLATFORM) : 'mingw' > /dev/null; then \
- SHLIB=$(LIBNAME)eay32; base=; \
+ SHLIB=lib$(LIBNAME); base=; \
fi; \
SHLIB_SUFFIX=.dll; \
LIBVERSION="$(LIBVERSION)"; \
@@ -253,7 +253,7 @@
SHLIB=cyg$(LIBNAME); \
base=-Wl,--enable-auto-image-base; \
if expr $(PLATFORM) : 'mingw' > /dev/null; then \
- SHLIB=$(LIBNAME)eay32; \
+ SHLIB=lib$(LIBNAME); \
base=; [ $(LIBNAME) = "crypto" ] && base=-Wl,--image-base,0x63000000; \
fi; \
SHLIB_SUFFIX=.dll; \
14 years, 9 months
openssl patch
by Farkas Levente
hi,
what about my openssl patch?
i'd like to work on the new upstream openssl merge too.
--
Levente "Si vis pacem para bellum!"
14 years, 10 months
rpms/mingw32-filesystem/devel mingw32-filesystem.spec, 1.12, 1.13 mingw32-macros.mingw32, 1.7, 1.8
by Richard W.M. Jones
Author: rjones
Update of /cvs/pkgs/rpms/mingw32-filesystem/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3422
Modified Files:
mingw32-filesystem.spec mingw32-macros.mingw32
Log Message:
- Use PKG_CONFIG_LIBDIR instead of PKG_CONFIG_PATH so that native pkgconfig
is never searched.
Index: mingw32-filesystem.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mingw32-filesystem/devel/mingw32-filesystem.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- mingw32-filesystem.spec 26 Jan 2009 17:21:27 -0000 1.12
+++ mingw32-filesystem.spec 30 Jan 2009 09:38:05 -0000 1.13
@@ -1,7 +1,7 @@
%define debug_package %{nil}
Name: mingw32-filesystem
-Version: 44
+Version: 45
Release: 1%{?dist}
Summary: MinGW base filesystem and environment
@@ -153,6 +153,10 @@
%changelog
+* Wed Jan 28 2009 Richard W.M. Jones <rjones(a)redhat.com> - 45-1
+- Use PKG_CONFIG_LIBDIR instead of PKG_CONFIG_PATH so that native pkgconfig
+ is never searched.
+
* Mon Jan 26 2009 Richard W.M. Jones <rjones(a)redhat.com> - 44-1
- Install rpmlint overrides file to suppress some rpmlint warnings.
Index: mingw32-macros.mingw32
===================================================================
RCS file: /cvs/pkgs/rpms/mingw32-filesystem/devel/mingw32-macros.mingw32,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- mingw32-macros.mingw32 24 Jan 2009 18:11:43 -0000 1.7
+++ mingw32-macros.mingw32 30 Jan 2009 09:38:05 -0000 1.8
@@ -54,7 +54,7 @@
%_mingw32_findrequires /usr/lib/rpm/mingw32-find-requires.sh
%_mingw32_env HOST_CC=gcc; export HOST_CC; \
- PKG_CONFIG_PATH="%{_mingw32_libdir}/pkgconfig"; export PKG_CONFIG_PATH; \
+ PKG_CONFIG_LIBDIR="%{_mingw32_libdir}/pkgconfig"; export PKG_CONFIG_LIBDIR; \
_PREFIX="%{_bindir}/%{_mingw32_target}-"; \
for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`; do \
x=`echo $i|sed "s,${_PREFIX},,"|tr "a-z+-" "A-ZX_"`; \
14 years, 10 months
[PATCH] Ignore the default %libdir/pkgconfig directory
by Richard W.M. Jones
Hi,
When cross-compiling packages for Windows, we have two pkgconfig
directories:
/usr/i686-pc-mingw/sys-root/mingw/lib/pkgconfig
- contains *.pc files for the cross-compiled dependencies
/usr/lib{,64}/pkgconfig
- contains *.pc files for native libraries
Basically we never want pkg-config to look at native libraries. When
cross-compiling, it is always an error if a program tries to include
native headers or link with native libraries.
But pkg-config currently always falls back on the native directory,
which causes us a problem in the following situations:
(a) User meant to install cross-compiled libfoo, but forgot to, yet the
native libfoo is installed.
More seriously:
(b) libfoo isn't available at all on Windows, but libfoo must be
installed natively. The configure script will always pick up the
native version in this case, and there is no way we can tell pkgconfig
that libfoo doesn't exist.
The attached patch, written by Erik van Pienbroek, adds an environment
variable (PKG_CONFIG_IGNORE_NATIVE=1) to allow pkg-config's
undesirable fallback-to-native behaviour to be suppressed.
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/
14 years, 10 months
Boost Dll's
by Max Jonathan Spaulding
Hi all,
I am having a problems running an application cross compiled on fedora with
mingw that uses boost regex. There appear to only be import libraries for
boost installed and I can't find libboost_regex.dll after spending an hour or
two googling. Does anyone have this working? Or can anyone point me in a
direction here?
I have the following mingw packages installed
Installed Packages
mingw32-SDL.noarch 1.2.13-4.fc10
mingw32-atk.noarch 1.25.2-1.fc10
mingw32-binutils.i386 2.19-2.fc10
mingw32-boost.noarch 1.34.1-3.fc10
mingw32-bzip2.noarch 1.0.5-5.fc10
mingw32-cairo.noarch 1.8.0-6.fc10
mingw32-cpp.i386 4.3.2-12.fc10
mingw32-curl.noarch 7.18.2-2.fc10
mingw32-expat.noarch 2.0.1-1.fc10
mingw32-filesystem.noarch 43-6.fc11
mingw32-fontconfig.noarch 2.6.0-6.fc10
mingw32-freetype.noarch 2.3.8-1.fc10
mingw32-gcc.i386 4.3.2-12.fc10
mingw32-gcc-c++.i386 4.3.2-12.fc10
mingw32-gcc-debuginfo.i386 4.3.2-12.fc10
mingw32-gdbm.noarch 1.8.0-1.fc10
mingw32-gettext.noarch 0.17-7.fc10
mingw32-glib2.noarch 2.19.5-2.fc10
mingw32-gnutls.noarch 2.4.2-4.fc10
mingw32-gtk2.noarch 2.15.0-1.fc10
mingw32-iconv.noarch 1.12-7.fc10
mingw32-jasper.noarch 1.900.1-6.fc10
mingw32-libgcrypt.noarch 1.4.3-3.fc10
mingw32-libglade2.noarch 2.6.3-3.fc10
mingw32-libgpg-error.noarch 1.6-9.fc10
mingw32-libgsf.noarch 1.14.11-1.fc10
mingw32-libidn.noarch 1.9-1.fc10
mingw32-libjpeg.noarch 6b-8.fc10
mingw32-libpng.noarch 1.2.34-2.fc10
mingw32-libsigc++20.noarch 2.2.2-3.fc10
mingw32-libssh2.noarch 0.18-2.fc10
mingw32-libvirt.noarch 0.5.1-1.fc10
mingw32-libxml2.noarch 2.7.2-6.fc10
mingw32-libxslt.noarch 1.1.24-3.fc10
mingw32-nsis.i386 2.39-5.fc10
mingw32-nsis-debuginfo.i386 2.39-5.fc10
mingw32-nsiswrapper.noarch 3-2.fc10
mingw32-openssl.noarch 0.9.8g-1.fc10
mingw32-pango.noarch 1.22.1-3.fc10
mingw32-pdcurses.noarch 3.4-3.fc10
mingw32-pixman.noarch 0.13.2-2.fc10
mingw32-portablexdr.noarch 4.0.11-2.fc10
mingw32-pthreads.noarch 2.8.0-4.fc10
mingw32-readline.noarch 5.2-4.fc10
mingw32-runtime.noarch 3.15.1-10.fc10
mingw32-sqlite.noarch 3.6.6.2-1.fc10
mingw32-termcap.noarch 1.3.1-5.fc10
mingw32-w32api.noarch 3.12-8.fc10
mingw32-zlib.noarch 1.2.3-11.fc10
Thanks,
-Max
--
Max Jonathan Spaulding - MC2 Reserach, LLC
21192 Saddleback Circle Parker, CO 80138
mail: maxj(a)groff.net - phone: (720) 854-5434
linkedin: http://www.linkedin.com/in/maxjspaulding
14 years, 10 months
filesystem patch
by Farkas Levente
hi,
as i previously send it (i just update it and resend) i agree with dan's
comment so i remove params from mingw32_make.
devel branch is enough for this.
--
Levente "Si vis pacem para bellum!"
Index: mingw32-filesystem.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mingw32-filesystem/devel/mingw32-filesystem.spec,v
retrieving revision 1.12
diff -u -r1.12 mingw32-filesystem.spec
--- mingw32-filesystem.spec 26 Jan 2009 17:21:27 -0000 1.12
+++ mingw32-filesystem.spec 28 Jan 2009 14:02:09 -0000
@@ -1,7 +1,7 @@
%define debug_package %{nil}
Name: mingw32-filesystem
-Version: 44
+Version: 45
Release: 1%{?dist}
Summary: MinGW base filesystem and environment
@@ -153,6 +153,9 @@
%changelog
+* Wed Dec 29 2008 Levente Farkas <lfarkas(a)lfarkas.org> - 45-1
+- Remove parameters from mingw32-make
+
* Mon Jan 26 2009 Richard W.M. Jones <rjones(a)redhat.com> - 44-1
- Install rpmlint overrides file to suppress some rpmlint warnings.
Index: mingw32-macros.mingw32
===================================================================
RCS file: /cvs/pkgs/rpms/mingw32-filesystem/devel/mingw32-macros.mingw32,v
retrieving revision 1.7
diff -u -r1.7 mingw32-macros.mingw32
--- mingw32-macros.mingw32 24 Jan 2009 18:11:43 -0000 1.7
+++ mingw32-macros.mingw32 28 Jan 2009 14:02:09 -0000
@@ -97,22 +97,6 @@
--mandir=%{_mingw32_mandir} \\\
--infodir=%{_mingw32_infodir}
-%_mingw32_make %{_mingw32_env} ; \
- make \\\
- prefix=%{_mingw32_prefix} \\\
- exec_prefix=%{_mingw32_exec_prefix} \\\
- bindir=%{_mingw32_bindir} \\\
- sbindir=%{_mingw32_sbindir} \\\
- sysconfdir=%{_mingw32_sysconfdir} \\\
- datadir=%{_mingw32_datadir} \\\
- includedir=%{_mingw32_includedir} \\\
- libdir=%{_mingw32_libdir} \\\
- libexecdir=%{_mingw32_libexecdir} \\\
- localstatedir=%{_mingw32_localstatedir} \\\
- sharedstatedir=%{_mingw32_sharedstatedir} \\\
- mandir=%{_mingw32_mandir} \\\
- infodir=%{_mingw32_infodir}
-
%_mingw32_makeinstall %{_mingw32_env} ; \
make \\\
prefix=%{?buildroot:%{buildroot}}%{_mingw32_prefix} \\\
@@ -130,3 +114,4 @@
infodir=%{?buildroot:%{buildroot}}%{_mingw32_infodir} \\\
install
+%_mingw32_make %{_mingw32_env} ; make
14 years, 10 months
openssl problems
by Farkas Levente
hi,
while i try to megre the new openssl i found that even the current
mingw32-openssl packages generate a lot's of such warning during
make depend
and the same happend with the new version. is it normal? why it's looks
into the system's native header dir at all? it's genrated by makedepend
(which is part of imake) and probably generate useless information. in
this case shouldn't we have simple comment out make depend?
----------------------------------------
making depend in crypto...
make[1]: Entering directory `/home/lfarkas/rpm/BUILD/openssl-0.9.8g/crypto'
makedepend: warning: cryptlib.c (reading /usr/include/stdlib.h, line
33): cannot find include file "stddef.h"
not in ./stddef.h
not in ../stddef.h
not in ../include/stddef.h
not in /usr/include/stddef.h
makedepend: warning: cryptlib.c (reading /usr/include/bits/types.h,
line 31): cannot find include file "stddef.h"
not in ./stddef.h
not in ../stddef.h
not in ../include/stddef.h
not in /usr/include/stddef.h
makedepend: warning: /usr/include/time.h includes
/usr/include/bits/types.h more than once!
Already have
/usr/include/bits/types.h
makedepend: warning: /usr/include/time.h includes
/usr/include/bits/types.h more than once!
Already have
/usr/include/bits/types.h
makedepend: warning: cryptlib.c (reading /usr/include/sys/types.h, line
147): cannot find include file "stddef.h"
not in ./stddef.h
not in ../stddef.h
not in ../include/stddef.h
not in /usr/include/stddef.h
----------------------------------------
--
Levente "Si vis pacem para bellum!"
14 years, 10 months