PACKAGE NAME ------------ neko_openssl SOURCE/VERSION -------------- openssl-1.0.2l / 33 IRIX/MIPSPRO VERSION -------------------- 6.5.22m / 7.4.4m CONFIGURE FLAGS --------------- setenv CC cc setenv PERL /usr/nekoware/bin/perl cd openssl-1.0.2l patch -p0 < openssl-1.0.2l_irix.patch ./config --prefix=/usr/nekoware --openssldir=/usr/nekoware --with-zlib-include=/usr/nekoware/include --with-zlib-lib=/usr/nekoware/lib shared zlib-dynamic gmake gmake test gmake install cd /usr/nekoware mkdir etc mv openssl.cnf etc ln -s etc/openssl.cnf openssl.cnf For mips3 systems use the alternate config line with 'no-asm': ./config --prefix=/usr/nekoware --openssldir=/usr/nekoware --with-zlib-include=/usr/nekoware/include --with-zlib-lib=/usr/nekoware/lib no-asm shared zlib-dynamic KNOWN DEPENDENCIES ------------------ neko_gmake to build the library. neko_zlib.sw.lib and hdr to build and provide (dynamic) zlib compression support. Even though the build needs zlib dev environment for zlib support and i specified 'zlib_dynamic' it doesn't seem to dynamically link libz.so in the openssl and libssl/libcrypto products. However, the zlib library is loaded upon specific request. Try this: > perl -e 'print pack "H*", "789cd3d3d303000117008b"' > /tmp/data > /usr/nekoware/bin/openssl zlib -d -in /tmp/data It should print '...' without a newline. Whether the zlib is linked in statically or used via a dlopen() i'm not sure. This is why i have included neko_zlib.sw.lib in the dependency list. A recent perl (>= 5.10.x) is optional for building openssl 1.0.2 without ASM support, but necessary for inclusion of ASM support (because the ASM objects in mips4 builds are generated from perl scripts) and for building openssl 1.1.0. Also note that openssl 1.1.0 builds might need no-async to compile correctly because of lack of certain POSIX functionality in IRIX. ERRORS/MISCELLANEOUS -------------------- From certs/README.RootCerts: "The OpenSSL project does not (any longer) include root CA certificates." Therefore i repurposed the certificates subsystem for including the CA certs creation scripts and directories in 'usr/nekoware/misc' For openssl <=1.0.2 and openssl =>1.1.0 the openssl wiki recommends to specify both --prefix and --openssldir flags and set them to the same path i.e. /usr/nekoware This package has dual support for both mips3 and mips4 architecture, controlled by the mach(CPUARCH=R4000) switch for libraries and executables. The mips3 version of openssl is built without assembler routines (no-asm) since this will trigger a bug in the R4000 rev 2.2 CPU, found mostly in Indigo 1 systems. PACKAGED BY ----------- S/N VER PORTER Date --------------------------------------------------------- 17 0.9.8k Pete Plank (neko@nekochan.net) 18 0.9.8o Chaz Chandler (zuluchas) 20 0.9.8r Ian Johnson (ianj) 2011-04-17 22 0.9.8t ? 23 0.9.8x Ian Johnson (ianj) 2012-09-03 26 0.9.8za Rainer Canavan 2014-06-05 28 0.9.8zb Rainer Canavan 2014-08-05 29 0.9.8zc Rainer Canavan 2014-10-28 30 0.9.8zd Rainer Canavan 2015-01-10 31 0.9.8ze Rainer Canavan 2015-03-04 32 0.9.8zf Rainer Canavan 2015-03-19 33 1.0.2l Frank Everdij (dexter1) 2017-08-02