An open API service indexing awesome lists of open source software.

https://github.com/mwarning/libsodium-openwrt

libsodium package for OpenWrt
https://github.com/mwarning/libsodium-openwrt

Last synced: 5 months ago
JSON representation

libsodium package for OpenWrt

Awesome Lists containing this project

README

          

*libsodium is in the [openwrt package feed](https://github.com/openwrt/packages/tree/master/libs/libsodium) now and maintenance will happen there*

libsodium-openwrt
=================

A simple [OpenWrt](https://openwrt.org) package for the [libsodium](https://github.com/jedisct1/libsodium) library.
The code is released under the GPLv2 license.

### Where to download packages?

Check the [release section](https://github.com/mwarning/libsodium-openwrt/releases) for the most recent release!

### How to build a OpenWrt .ipk package?

These commands show how to build an OpenWrt image and .ipk package of libsodium


git clone git://git.openwrt.org/14.07/openwrt.git
cd openwrt

echo "src-git libsodium git://github.com/mwarning/libsodium-openwrt.git" >> feeds.conf.default

./scripts/feeds update -a
./scripts/feeds install -a

make defconfig
make menuconfig

You are now shown the OpenWrt configuration interface.
Select the appropiate "Target System" and "Target Profile".
This depends on what target chipset/router you want to build for.
Here is an example on what you might want to select:


Target System (Atheros AR7xxx/AR9xxx)
Target Profile (TP-LINK TL-WR841N/ND)
Libraries ---> <*> libsodium

Exit and save the settings. Then build the packages/images:


make

The ipk packages can now be found in `bin/ar71xx/packages/`.