Skip to content

Commit

Permalink
add libressl package
Browse files Browse the repository at this point in the history
  • Loading branch information
anttikantee committed May 11, 2016
1 parent c869ae0 commit 7c45b90
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -11,6 +11,7 @@ env:
- PACKAGE=leveldb
- PACKAGE=libcurl
- PACKAGE=libevent
- PACKAGE=libressl
- PACKAGE=libxml2
- PACKAGE=mathopd
- PACKAGE=memcached
Expand Down
30 changes: 30 additions & 0 deletions libressl/Makefile
@@ -0,0 +1,30 @@
include ../Makefile.inc
# ftp.openbsd.org doesn't support https. ironic?
UPSTREAM=http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.3.4.tar.gz
TARBALL=$(notdir $(UPSTREAM))

all: build/libressl

build/libressl: build/Makefile
$(MAKE) -C build
$(MAKE) install -C build

liblibressl_CONF_OPTS += \
--prefix=$(RUMPRUN_PKGS_DIR) \
--enable-shared=no

build/Makefile: build/configure
(cd build; \
./configure --host=$(RUMPRUN_TOOLCHAIN_TUPLE) $(liblibressl_CONF_OPTS);)

dl/$(TARBALL):
mkdir -p dl
../scripts/fetch.sh ${UPSTREAM} dl/$(TARBALL)

build/configure: | dl/$(TARBALL)
mkdir -p build
(cd build && tar -zx --strip-components 1 -f ../dl/$(TARBALL))

.PHONY: clean
clean:
rm -rf build
17 changes: 17 additions & 0 deletions libressl/README.md
@@ -0,0 +1,17 @@
Overview
========

SSL library provided by libressl
http://libressl.org/


Maintainer
----------

github: anttikantee


Instructions
============

Run `make`.

0 comments on commit 7c45b90

Please sign in to comment.