diff options
Diffstat (limited to 'old/strata/network-security')
-rw-r--r-- | old/strata/network-security/gnutls.morph | 6 | ||||
-rw-r--r-- | old/strata/network-security/libtasn1.morph | 6 | ||||
-rw-r--r-- | old/strata/network-security/nettle.morph | 6 | ||||
-rw-r--r-- | old/strata/network-security/nspr.morph | 12 | ||||
-rw-r--r-- | old/strata/network-security/nss.morph | 32 | ||||
-rw-r--r-- | old/strata/network-security/p11-kit.morph | 5 |
6 files changed, 67 insertions, 0 deletions
diff --git a/old/strata/network-security/gnutls.morph b/old/strata/network-security/gnutls.morph new file mode 100644 index 00000000..f31cbf12 --- /dev/null +++ b/old/strata/network-security/gnutls.morph @@ -0,0 +1,6 @@ +name: gnutls +kind: chunk +build-system: autotools +configure-commands: +- make autoreconf +- ./configure --prefix="$PREFIX" --sysconfdir=/etc --with-nettle-mini --disable-tools --disable-doc diff --git a/old/strata/network-security/libtasn1.morph b/old/strata/network-security/libtasn1.morph new file mode 100644 index 00000000..c4f378f2 --- /dev/null +++ b/old/strata/network-security/libtasn1.morph @@ -0,0 +1,6 @@ +name: libtasn1 +kind: chunk +build-system: autotools +pre-configure-commands: +# Add ChangeLog so autoreconf succeeds +- touch ChangeLog diff --git a/old/strata/network-security/nettle.morph b/old/strata/network-security/nettle.morph new file mode 100644 index 00000000..80bdbf51 --- /dev/null +++ b/old/strata/network-security/nettle.morph @@ -0,0 +1,6 @@ +name: nettle +kind: chunk +build-system: autotools +configure-commands: +- ./.bootstrap +- ./configure --prefix="$PREFIX" --libdir="$PREFIX"/lib --sysconfdir=/etc --disable-documentation --enable-mini-gmp diff --git a/old/strata/network-security/nspr.morph b/old/strata/network-security/nspr.morph new file mode 100644 index 00000000..078486e7 --- /dev/null +++ b/old/strata/network-security/nspr.morph @@ -0,0 +1,12 @@ +name: nspr +kind: chunk +build-system: autotools +configure-commands: +- | + case "$MORPH_ARCH" in + x86_64|ppc64) + EXTRA_ARGS="--enable-64bit";; + *) + EXTRA_ARGS="";; + esac + ./configure --prefix="$PREFIX" --sysconfdir=/etc --with-mozilla --with-pthreads $EXTRA_ARGS diff --git a/old/strata/network-security/nss.morph b/old/strata/network-security/nss.morph new file mode 100644 index 00000000..2103622c --- /dev/null +++ b/old/strata/network-security/nss.morph @@ -0,0 +1,32 @@ +name: nss +kind: chunk +max-jobs: 1 +build-system: manual +build-commands: +- | + case "$MORPH_ARCH" in + x86_64|ppc64) + export USE_64=1;; + *) + ;; + esac + cd nss + make BUILD_OPT=1 \ + NSPR_INCLUDE_DIR=/usr/include/nspr \ + USE_SYSTEM_ZLIB=1 \ + ZLIB_LIBS=-lz \ + NSS_USE_SYSTEM_SQLITE=1 +install-commands: +- install -d "$DESTDIR"/usr/lib/pkgconfig +- install -v -m755 dist/Linux*/lib/*.so "$DESTDIR"/usr/lib +- install -v -m644 dist/Linux*/lib/*.chk "$DESTDIR"/usr/lib +- install -v -m644 dist/Linux*/lib/libcrmf.a "$DESTDIR"/usr/lib +- install -v -m755 -d "$DESTDIR"/usr/include/nss +- cp -v -RL dist/public/nss/* "$DESTDIR"/usr/include/nss +- cp -v -RL dist/private/nss/* "$DESTDIR"/usr/include/nss +- chmod -v 644 "$DESTDIR"/usr/include/nss/* +- install -d "$DESTDIR"/usr/bin +- install -v -m755 dist/Linux*/bin/certutil "$DESTDIR"/usr/bin +- install -v -m755 dist/Linux*/bin/nss-config "$DESTDIR"/usr/bin +- install -v -m755 dist/Linux*/bin/pk12util "$DESTDIR"/usr/bin +- install -v -m644 dist/Linux*/lib/pkgconfig/nss.pc "$DESTDIR"/usr/lib/pkgconfig diff --git a/old/strata/network-security/p11-kit.morph b/old/strata/network-security/p11-kit.morph new file mode 100644 index 00000000..8f88969a --- /dev/null +++ b/old/strata/network-security/p11-kit.morph @@ -0,0 +1,5 @@ +name: p11-kit +kind: chunk +build-system: autotools +configure-commands: +- ./autogen.sh --prefix="$PREFIX" --sysconfdir=/etc --without-trust-paths |