Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
22505eea
Kaydet (Commit)
22505eea
authored
Kas 28, 2014
tarafından
Yuri Dario
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#i125592# enable NSS modules also on OS/2 port.
üst
78ddd19d
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
124 additions
and
5 deletions
+124
-5
configure.cmd
configure.cmd
+1
-1
makefile.mk
libxmlsec/makefile.mk
+6
-0
xmlsec1-os2.patch
libxmlsec/xmlsec1-os2.patch
+94
-0
file_library_ooo.scp
scp2/source/ooo/file_library_ooo.scp
+11
-3
d.lst
xmlsecurity/prj/d.lst
+2
-0
makefile.mk
xmlsecurity/source/xmlsec/nss/makefile.mk
+3
-0
nssinitializer.cxx
xmlsecurity/source/xmlsec/nss/nssinitializer.cxx
+4
-1
makefile.mk
xmlsecurity/util/makefile.mk
+3
-0
No files found.
configure.cmd
Dosyayı görüntüle @
22505eea
...
@@ -27,5 +27,5 @@ SET PATH=%JAVA_HOME%\bin;%PATH%;%MY_ANT_HOME%\bin;
...
@@ -27,5 +27,5 @@ SET PATH=%JAVA_HOME%\bin;%PATH%;%MY_ANT_HOME%\bin;
set config_shell=sh
set config_shell=sh
set perl_sh_dir=%UNIXROOT%/usr/bin
set perl_sh_dir=%UNIXROOT%/usr/bin
sh ./configure --prefix=/@unixroot/usr --with-system-zlib --with-system-jpeg --without-stlport --with-system-icu --with-system-curl --with-system-python --with-system-openssl --with-system-libxml --with-system-libxslt --disable-werror --disable-mozilla --disable-odk --with-x=no --disable-fontconfig --disable-gnome-vfs --disable-gtk --with-java=yes --disable-gcjaot --without-fonts --with-ant-home=%MY_ANT_HOME% --without-junit --with-system-apr --with-system-apr-util --with-system-serf --enable-bundled-dictionaries --enable-category-b --
disable-nss-module --
with-lang="de es fr it nl ru" | tee configure.log
sh ./configure --prefix=/@unixroot/usr --with-system-zlib --with-system-jpeg --without-stlport --with-system-icu --with-system-curl --with-system-python --with-system-openssl --with-system-libxml --with-system-libxslt --disable-werror --disable-mozilla --disable-odk --with-x=no --disable-fontconfig --disable-gnome-vfs --disable-gtk --with-java=yes --disable-gcjaot --without-fonts --with-ant-home=%MY_ANT_HOME% --without-junit --with-system-apr --with-system-apr-util --with-system-serf --enable-bundled-dictionaries --enable-category-b --with-lang="de es fr it nl ru" | tee configure.log
endlocal
endlocal
libxmlsec/makefile.mk
Dosyayı görüntüle @
22505eea
...
@@ -63,6 +63,9 @@ PATCH_FILES=\
...
@@ -63,6 +63,9 @@ PATCH_FILES=\
xmlsec1-mingw32.patch
\
xmlsec1-mingw32.patch
\
xmlsec1-mingw-keymgr-mscrypto.patch
xmlsec1-mingw-keymgr-mscrypto.patch
.IF
"$(GUI)"
==
"OS2"
PATCH_FILES
+=
xmlsec1-os2.patch
.ENDIF
ADDITIONAL_FILES
=
\
ADDITIONAL_FILES
=
\
include
$/
xmlsec
$/
mscrypto
$/
akmngr.h
\
include
$/
xmlsec
$/
mscrypto
$/
akmngr.h
\
...
@@ -175,6 +178,9 @@ OUT2BIN+=src$/.libs$/libxmlsec1.dll src$/nss$/.libs$/libxmlsec1-nss.dll src$/msc
...
@@ -175,6 +178,9 @@ OUT2BIN+=src$/.libs$/libxmlsec1.dll src$/nss$/.libs$/libxmlsec1-nss.dll src$/msc
OUT2LIB
+=
win32
$/
binaries
$/
*
.lib
OUT2LIB
+=
win32
$/
binaries
$/
*
.lib
OUT2BIN
+=
win32
$/
binaries
$/
*
.dll
OUT2BIN
+=
win32
$/
binaries
$/
*
.dll
.ENDIF
.ENDIF
.ELIF
"$(OS)"
==
"OS2"
OUT2LIB
+=
src
$/
.libs
$/
xmlsec1.lib src
$/
nss
$/
.libs
$/
xmlsec1-nss.lib
OUT2BIN
+=
src
$/
xmlsec1.dll src
$/
nss
$/
xmlsec1n.dll
.ELSE
.ELSE
OUT2LIB
+=
src
$/
.libs
$/
libxmlsec1.a src
$/
nss
$/
.libs
$/
libxmlsec1-nss.a
OUT2LIB
+=
src
$/
.libs
$/
libxmlsec1.a src
$/
nss
$/
.libs
$/
libxmlsec1-nss.a
.ENDIF
.ENDIF
...
...
libxmlsec/xmlsec1-os2.patch
0 → 100644
Dosyayı görüntüle @
22505eea
--- misc/xmlsec1-1.2.14/src/Makefile.in 2009-12-05 22:19:34.000000000 +0100
+++ misc/build/xmlsec1-1.2.14/src/Makefile.in 2014-11-26 22:02:00.000000000 +0100
@@ -12,6 +12,11 @@
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
+
+OS2_LA_NAME=xmlsec1
+OS2_DLL_NAME=xmlsec1
+OS2_DLL_OBJ=$(libxmlsec1_la_OBJECTS:%.lo=%.o)
+OS2_DLL_LIBS=-lxml2 -lz -lm -lurpo -lmmap -lpthread $(LIBS)
@SET_MAKE@
@@ -736,7 +741,7 @@
done
check-am: all-am
check: check-recursive
-all-am: Makefile $(LTLIBRARIES)
+all-am: Makefile $(LTLIBRARIES) $(OS2_DLL_NAME).dll
installdirs: installdirs-recursive
installdirs-am:
for dir in "$(DESTDIR)$(libdir)"; do \
@@ -861,3 +866,13 @@
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
+
+$(OS2_DLL_NAME).dll: lib$(OS2_LA_NAME).la
+ cp .libs/$(OS2_LA_NAME).a .libs/$(OS2_LA_NAME)_s.a
+ echo "LIBRARY $(OS2_DLL_NAME) INITINSTANCE TERMINSTANCE" > $(OS2_DLL_NAME).def
+ echo "DATA MULTIPLE" >> $(OS2_DLL_NAME).def
+ echo "EXPORTS" >> $(OS2_DLL_NAME).def
+ emxexp $(OS2_DLL_OBJ) >> $(OS2_DLL_NAME).def
+ gcc -g -Zbin-files -Zhigh-mem -Zomf -Zdll $(OS2_DLL_NAME).def -o $@ $(OS2_DLL_OBJ) $(OS2_DLL_LIBS)
+ emximp -o .libs/$(OS2_LA_NAME).a $(OS2_DLL_NAME).def
+ emximp -o .libs/$(OS2_LA_NAME).lib $(OS2_DLL_NAME).def
--- misc/xmlsec1-1.2.14/src/nss/Makefile.in 2014-11-26 22:02:36.000000000 +0100
+++ misc/build/xmlsec1-1.2.14/src/nss/Makefile.in 2014-11-26 22:02:28.000000000 +0100
@@ -12,6 +12,11 @@
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
+
+OS2_LA_NAME=xmlsec1-nss
+OS2_DLL_NAME=xmlsec1n
+OS2_DLL_OBJ=$(libxmlsec1_nss_la_OBJECTS:%.lo=%.o)
+OS2_DLL_LIBS=-l../.libs/xmlsec1 -lxml2 -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 $(LIBS)
@SET_MAKE@
@@ -691,7 +696,7 @@
done
check-am: all-am
check: check-am
-all-am: Makefile $(LTLIBRARIES)
+all-am: Makefile $(LTLIBRARIES) $(OS2_DLL_NAME).dll
installdirs:
for dir in "$(DESTDIR)$(libdir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
@@ -812,3 +817,13 @@
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
+
+$(OS2_DLL_NAME).dll: lib$(OS2_LA_NAME).la
+ cp .libs/$(OS2_LA_NAME).a .libs/$(OS2_LA_NAME)_s.a
+ echo "LIBRARY $(OS2_DLL_NAME) INITINSTANCE TERMINSTANCE" > $(OS2_DLL_NAME).def
+ echo "DATA MULTIPLE" >> $(OS2_DLL_NAME).def
+ echo "EXPORTS" >> $(OS2_DLL_NAME).def
+ emxexp $(OS2_DLL_OBJ) >> $(OS2_DLL_NAME).def
+ gcc -g -Zbin-files -Zhigh-mem -Zomf -Zdll $(OS2_DLL_NAME).def -o $@ $(OS2_DLL_OBJ) $(OS2_DLL_LIBS)
+ emximp -o .libs/$(OS2_LA_NAME).a $(OS2_DLL_NAME).def
+ emximp -o .libs/$(OS2_LA_NAME).lib $(OS2_DLL_NAME).def
--- misc/xmlsec1-1.2.14/src/nss/keywrapers.c 2014-11-26 21:59:58.000000000 +0100
+++ misc/build/xmlsec1-1.2.14/src/nss/keywrapers.c 2014-11-26 21:50:14.000000000 +0100
@@ -1126,7 +1126,7 @@
NULL, /* void* reserved1; */
};
-#ifndef __MINGW32__
+#if !defined(__MINGW32__) && !defined(__KLIBC__)
/**
* xmlSecNssTransformKWAes128GetKlass:
*
@@ -1199,7 +1199,7 @@
NULL, /* void* reserved1; */
};
-#ifndef __MINGW32__
+#if !defined(__MINGW32__) && !defined(__KLIBC__)
/**
* xmlSecNssTransformKWDes3GetKlass:
*
scp2/source/ooo/file_library_ooo.scp
Dosyayı görüntüle @
22505eea
...
@@ -1678,6 +1678,8 @@ File gid_File_Lib_XSec_XmlSec
...
@@ -1678,6 +1678,8 @@ File gid_File_Lib_XSec_XmlSec
TXT_FILE_BODY;
TXT_FILE_BODY;
#ifdef UNX
#ifdef UNX
Name = STRING(CONCAT2(libxsec_xmlsec,UNXSUFFIX));
Name = STRING(CONCAT2(libxsec_xmlsec,UNXSUFFIX));
#elif defined(OS2)
Name = "xsec_xs.dll";
#else
#else
Name = "xsec_xmlsec.dll";
Name = "xsec_xmlsec.dll";
#endif
#endif
...
@@ -1689,6 +1691,8 @@ File gid_File_Lib_XSec_XMLSecurity
...
@@ -1689,6 +1691,8 @@ File gid_File_Lib_XSec_XMLSecurity
TXT_FILE_BODY;
TXT_FILE_BODY;
#ifdef UNX
#ifdef UNX
Name = STRING(CONCAT2(libxmlsecurity,UNXSUFFIX));
Name = STRING(CONCAT2(libxmlsecurity,UNXSUFFIX));
#elif defined(OS2)
Name = "xmlsecur.dll";
#else
#else
Name = "xmlsecurity.dll";
Name = "xmlsecurity.dll";
#endif
#endif
...
@@ -1696,11 +1700,13 @@ File gid_File_Lib_XSec_XMLSecurity
...
@@ -1696,11 +1700,13 @@ File gid_File_Lib_XSec_XMLSecurity
Styles = (PACKED);
Styles = (PACKED);
End
End
#if
def WNT
#if
defined(WNT) || defined(OS2)
File gid_File_Lib_LibXMLSec_xmlseccore
File gid_File_Lib_LibXMLSec_xmlseccore
TXT_FILE_BODY;
TXT_FILE_BODY;
#ifdef _gcc3
#if defined(OS2)
Name = "xmlsec1.dll";
#elif defined(_gcc3)
Name = "libxmlsec1.dll";
Name = "libxmlsec1.dll";
#else
#else
Name = "libxmlsec.dll";
Name = "libxmlsec.dll";
...
@@ -1711,7 +1717,9 @@ End
...
@@ -1711,7 +1717,9 @@ End
File gid_File_Lib_LibXMLSec_xmlsecmscrypto
File gid_File_Lib_LibXMLSec_xmlsecmscrypto
TXT_FILE_BODY;
TXT_FILE_BODY;
#ifdef _gcc3
#if defined(OS2)
Name = "xmlsec1n.dll";
#elif defined(_gcc3)
Name = "libxmlsec1-mscrypto.dll";
Name = "libxmlsec1-mscrypto.dll";
#else
#else
Name = "libxmlsec-mscrypto.dll";
Name = "libxmlsec-mscrypto.dll";
...
...
xmlsecurity/prj/d.lst
Dosyayı görüntüle @
22505eea
...
@@ -2,7 +2,9 @@ mkdir: %COMMON_DEST%\bin%_EXT%\hid
...
@@ -2,7 +2,9 @@ mkdir: %COMMON_DEST%\bin%_EXT%\hid
..\%COMMON_OUTDIR%\misc\*.hid %COMMON_DEST%\bin%_EXT%\hid\*.hid
..\%COMMON_OUTDIR%\misc\*.hid %COMMON_DEST%\bin%_EXT%\hid\*.hid
..\%__SRC%\bin\xsec_fw.dll %_DEST%\bin%_EXT%\xsec_fw.dll
..\%__SRC%\bin\xsec_fw.dll %_DEST%\bin%_EXT%\xsec_fw.dll
..\%__SRC%\bin\xsec_xmlsec.dll %_DEST%\bin%_EXT%\xsec_xmlsec.dll
..\%__SRC%\bin\xsec_xmlsec.dll %_DEST%\bin%_EXT%\xsec_xmlsec.dll
..\%__SRC%\bin\xsec_xs.dll %_DEST%\bin%_EXT%\xsec_xs.dll
..\%__SRC%\bin\xmlsecurity.dll %_DEST%\bin%_EXT%\xmlsecurity.dll
..\%__SRC%\bin\xmlsecurity.dll %_DEST%\bin%_EXT%\xmlsecurity.dll
..\%__SRC%\bin\xmlsecur.dll %_DEST%\bin%_EXT%\xmlsecur.dll
..\%__SRC%\lib\libxsec_fw.so %_DEST%\lib%_EXT%\libxsec_fw.so
..\%__SRC%\lib\libxsec_fw.so %_DEST%\lib%_EXT%\libxsec_fw.so
..\%__SRC%\lib\libxsec_xmlsec.so %_DEST%\lib%_EXT%\libxsec_xmlsec.so
..\%__SRC%\lib\libxsec_xmlsec.so %_DEST%\lib%_EXT%\libxsec_xmlsec.so
..\%__SRC%\lib\libxmlsecurity.so %_DEST%\lib%_EXT%\libxmlsecurity.so
..\%__SRC%\lib\libxmlsecurity.so %_DEST%\lib%_EXT%\libxmlsecurity.so
...
...
xmlsecurity/source/xmlsec/nss/makefile.mk
Dosyayı görüntüle @
22505eea
...
@@ -46,6 +46,9 @@ CFLAGS+=-DSYSTEM_LIBXML $(LIBXML_CFLAGS)
...
@@ -46,6 +46,9 @@ CFLAGS+=-DSYSTEM_LIBXML $(LIBXML_CFLAGS)
MOZ_INC
=
$(SOLARVERSION)$/$(INPATH)$/
inc
$(UPDMINOREXT)$/
mozilla
MOZ_INC
=
$(SOLARVERSION)$/$(INPATH)$/
inc
$(UPDMINOREXT)$/
mozilla
NSS_INC
=
$(MOZ_INC)$/
nss
NSS_INC
=
$(MOZ_INC)$/
nss
NSPR_INC
=
$(MOZ_INC)$/
nspr
NSPR_INC
=
$(MOZ_INC)$/
nspr
.ELIF
"$(GUI)"
==
"OS2"
NSS_INC
=
/@unixroot/usr/include/nss3
NSPR_INC
=
/@unixroot/usr/include/nspr4
.ELSE
.ELSE
# TODO: better use pkgconfig to find the proper system include path
# TODO: better use pkgconfig to find the proper system include path
NSS_INC
=
/usr/include/nss3
NSS_INC
=
/usr/include/nss3
...
...
xmlsecurity/source/xmlsec/nss/nssinitializer.cxx
Dosyayı görüntüle @
22505eea
...
@@ -295,7 +295,10 @@ bool nsscrypto_initialize( const css::uno::Reference< css::lang::XMultiServiceFa
...
@@ -295,7 +295,10 @@ bool nsscrypto_initialize( const css::uno::Reference< css::lang::XMultiServiceFa
#endif
#endif
deleteRootsModule
();
deleteRootsModule
();
#if defined SYSTEM_MOZILLA
#if defined OS2
// YD the nss system dlls names are ending with 'k'
OUString
rootModule
(
RTL_CONSTASCII_USTRINGPARAM
(
"nssckbik"
SAL_DLLEXTENSION
));
#elif defined SYSTEM_MOZILLA
OUString
rootModule
(
RTL_CONSTASCII_USTRINGPARAM
(
"libnssckbi"
SAL_DLLEXTENSION
));
OUString
rootModule
(
RTL_CONSTASCII_USTRINGPARAM
(
"libnssckbi"
SAL_DLLEXTENSION
));
#else
#else
OUString
rootModule
(
RTL_CONSTASCII_USTRINGPARAM
(
"${OOO_BASE_DIR}/program/libnssckbi"
SAL_DLLEXTENSION
));
OUString
rootModule
(
RTL_CONSTASCII_USTRINGPARAM
(
"${OOO_BASE_DIR}/program/libnssckbi"
SAL_DLLEXTENSION
));
...
...
xmlsecurity/util/makefile.mk
Dosyayı görüntüle @
22505eea
...
@@ -68,6 +68,9 @@ DEF1EXPORTFILE = xsec_fw.dxp
...
@@ -68,6 +68,9 @@ DEF1EXPORTFILE = xsec_fw.dxp
#
#
SHL2NAME
=
xsec_xmlsec
SHL2NAME
=
xsec_xmlsec
.IF
"$(GUI)"
==
"OS2"
SHL2NAME
=
xsec_xs
.ENDIF
SHL2TARGET
=
$(SHL2NAME)
SHL2TARGET
=
$(SHL2NAME)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment