6d9aa92ed0
Tests: Fix some bashisms, add more files to bashisms check
2019-06-09 15:50:50 +00:00
4bd0f06cd6
jbigi: Support android builds using NDK
...
Prep for GMP 6.1.2
2019-06-05 17:13:15 +00:00
3abc777062
Debian: Fix builds for x32 (ticket #2076 )
...
Incorporate patches 2 and 3 into build scripts
2017-11-19 16:58:51 +00:00
e47c628891
jbigi: Update GMP version (ticket #1840 )
2017-01-19 16:18:30 +00:00
63272d3cfc
mbuild-all script fixes
2016-06-06 12:37:06 +00:00
126a4d8443
jbigi: Fix GMP version reporting for shared library (ticket #1800 )
2016-06-04 13:23:05 +00:00
d7e1f62db4
Build: Fix Debian build on ARM (ticket #1801 )
...
- Fix other jbigi/jcpuid build script errors and typos
- Nonzero exit code missing on some jbigi/jcpuid build script failures
- Refresh patch
2016-06-01 17:45:27 +00:00
8807787b10
remove alert character output from build script printfs
2016-05-26 20:24:08 +00:00
0f6336052a
core/buildscripts: Added ARM support to BITS detection.
...
Added support for armv6/armv7/aarch32/aarch64 BITS detection
to build scripts.
2016-05-07 01:34:38 +00:00
c2f35c0d29
core/buildscripts: Added proper uname based BITS detection.
...
Added automatic detection for the BITS variable.
2016-05-05 22:32:20 +00:00
4fd0261efa
jcpuid/build_jbigi: Default BITS to 64 if unset.
...
To make sure that our debian build scripts work,
set BITS to 64 if unassigned.
2016-05-05 22:03:27 +00:00
f8163241ef
NBI test improvements:
...
- Try to prevent not-coprime errors
- Minor cleanups
- Javadoc fix
Fix build script typo
2015-10-09 16:35:00 +00:00
c1c3a92331
Fixed case statement to be independent of case.
2015-10-08 01:18:38 +00:00
075c4d4822
Changed scripts to be SH compatible instead of bash.
2015-10-05 14:13:38 +00:00
2bc87662aa
Added 'osx' alias for darwin.
2015-09-29 15:34:57 +00:00
73228a1514
Revamped downloading of gmp files.
...
Revamped cross-compilation support.
2015-09-29 15:31:42 +00:00
0848e34243
Replaced 0 with NULL to fix miscompilation on windows.
2015-09-24 22:13:33 +00:00
5c56de7218
Add x86 and x86_64 targets.
2015-06-14 18:39:12 +00:00
ecb28eb480
Added support for all ARM targets provided in GMP, on platforms running Linux.
2015-06-13 19:57:05 +00:00
34d3009439
Added GMP6 compilations of jbigi for Intel CPUs on linux, built on Intel Haswell.
2015-05-25 21:10:47 +00:00
67760c8bea
Corrected make clean call
2015-05-25 18:16:19 +00:00
583a050281
merge of '6040534dc82b5160fea1d95bec37c98497f0f22c'
...
and 'e8ebf9b71d96f8107ed295d94502a04dc70d1414'
2015-05-25 17:49:26 +00:00
2185a65de6
Added -j flag to make to use parallel compilation.
2015-05-25 17:49:11 +00:00
9134d2856f
Don't unpack gmp before every build. Do a distclean instead.
2015-05-23 18:48:35 +00:00
55c411a495
Add coreisbr coreihwl coreibwl targets, thx tuna
...
Reorder the builds so the new ones are build first, for easier testing
2015-04-22 22:10:42 +00:00
a3c6cc1daa
libjbigi updates:
...
Added:
nativeJbigiVersion()
nativeGMPMajorVersion()
nativeGMPMinorVersion()
nativeGMPPatchVersion()
nativeModInverse()
nativeModPowCT()
Support negative vaules in conversion functions
Support negative base value in modPow()
Throw ArithmeticException for bad arguments rather than crashing
Switch to GMP 6.0.0
New build targets
NativeBigInteger changes:
Test improvements
Version reporting
Crypto changes:
Use constant time modPow() for signing and decryption
Use native modInverse()
2014-11-30 21:19:28 +00:00
683ce3254f
testscripts build target: check shell scripts for validity
...
(also adding missing shebang lines)
2013-09-20 22:32:05 +00:00
5ab1d6896a
jbigi scripts: look in /usr/local (for *BSD)
2013-09-20 19:39:25 +00:00
c1da7f778b
improvements to jbigi scripts
...
support for Solaris (tested with Solaris 11 x86)
mbuild-all.sh:
- output correctly formatted file names (tested in Solaris x86, FreeBSD (x86 and x64) and Linux (x86 & x64))
- switch from echo -e to the more portable printf
- more error checking, comments
debian/patches: refreshed based on changes to core/c/*
libjcpuid-x86_64-solaris.so: built in solaris 11 x86 with
java 1.7.0_07 and gcc 4.5.2, stripped
2013-05-12 00:08:52 +00:00
d0a3c7256a
Improved support for GNU/kFreeBSD
...
- add kFreeBSD to NBI and CPUID
- add kFreeBSD to jcpuid/jbigi build scripts
- refresh debian patches to compensate for kFreeBSD changes
- i2prouter: Detect kFreeBSD and normalize its name
- clean up osid (switching to "elif") and adding support for detecting kFreeBSD
- update postinstall.sh; I2P cannot be installed using gij so postinstall.sh
will not be run. If/when openjdk finally comes to kFreeBSD, we'll be ready for it.
2012-11-19 22:41:54 +00:00
b67359aca6
Match *FreeBSD* instead of just FreeBSD*.
...
(spotted at http://pastethis.i2p/show/2280/ and jcpuid already matches
*FreeBSD* so this fixes a minor consistency issue. Thanks to the anonymous
paster.)
2012-11-16 21:24:03 +00:00
e574b5e61a
minor updates to jbigi/jcpuid scripts
...
- use my find-java-home stub script when building jcupid
- move find-java-home to core/c
- add support for ArchLinux to find-java-home
2012-05-28 16:56:08 +00:00
b09071f20f
update of jbigi scripts
...
- merge mbuild_jbigi.sh into build_jbigi.sh and drop mbuild_jbigi.sh
- make build.sh's tests optional
- try to determine the locations of JAVA_HOME and I2P
2012-01-08 23:23:00 +00:00
56a67729e3
Fix compilation with gmp 5.0.1
2012-01-08 01:14:48 +00:00
929d471aa8
uname -s is sufficient
...
The OS' release version is discarded anyway....so we won't ask for it.
2011-12-11 12:52:32 +00:00
6c4dbc545d
Redo functions to remove the dependency on bash
2011-12-11 12:50:24 +00:00
5f81e923ca
Change my earlier tests to something POSIX compliant
...
[ test $condition -a test $condition ] is only used in bash
(and I want to make this script work in any bourne compatible shell)
2011-12-11 11:56:59 +00:00
d9f5a8621d
Enclose "tr" parameters in quotes
2011-12-11 11:50:41 +00:00
27d9616126
Remove the GNU-only -r parameter to sed
...
Revisiting this script now that I know a bit about regex.
2011-12-11 11:47:48 +00:00
7652c19699
Abort if bash is not being used
2011-10-07 21:13:39 +00:00
f9b9877491
Fix "shebang"
2011-09-26 15:33:12 +00:00
450a5e14ab
add more platforums for (open|net)bsd
2011-09-20 01:18:16 +00:00
8ee6503e54
allow x86_64 or amd64 for the X86_64 systems
2011-09-19 17:42:26 +00:00
8aaf9a1c5e
Add OPENBSD_PLATFORMS variable (that I missed in the previous commit)
2011-09-19 12:27:03 +00:00
6760d2a5f4
Add (Net|Open)BSD support, clean-ups
2011-09-19 12:23:43 +00:00
e92c23c949
typo fix
2011-09-18 17:04:37 +00:00
2261039a76
NetBSD support
2011-09-18 16:56:10 +00:00
18ee23960c
Add jbigi support for Intel Macs
...
The jnilibs were compiled on Snow Leopard 10.6.8 with Xcode 3.2 (gcc 4.2.1)
2011-07-30 23:18:39 +00:00
1339049886
build_jbigi.sh: make dynamic library build compatible with --as-needed GNU linker flag
...
See http://www.gentoo.org/proj/en/qa/asneeded.xml for details
2011-06-28 15:57:48 +00:00
3bbe3ba707
typo fix
2011-06-17 00:16:54 +00:00