Skip to content
LeCoyote edited this page Nov 14, 2014 · 4 revisions

Welcome to LeCoyote's Optware wiki!

About this project

This project is a fork of the Optware project, found at www.nslu2-linux.org

For the time being, please refer to the documentation over there for support, and to http://www.nslu2-linux.org/wiki/Optware/AddAPackageToOptware in particular. This wiki is not meant to be a replacement for the documentation :)

Crash course

ipkg-opt

Before you start, you should know that IPKG has gone off the radar a while ago. The sources can still be found over at www.archive.org, but this particular tarball can be retrieved from one of the sources listed here: http://www.filewatcher.com/m/ipkg-opt-0.99.163.tar.gz.2519404-0.html.

You will need this if you want to build the bootstrap xsh script, so just download the file into your optware_path/downloads before moving on to the rest of the build process.

Quick and dirty

If you know what you're doing and want to get started right away, just clone this repository, then:

$ cd optware; make <platform>-target
$ cd <platform>; make directories toolchain ipkg-utils
$ make <platform>-optware-bootstrap-xsh

Something's broken!

That's most likely and to be expected, really. The initial project has been more or less dormant for a while, and compiling 4-year-old code on a modern machine can be rather tricky. However, the goal of this project is to bring optware up to date.

There are a few known issues already that can be remedied rather easily:

ipkg-opt

See above.

The syno-x86_64 target

The main reason why I started this fork was so that I could build stuff for a Synology DS1513+. It runs an x86_64 kernel, and the syno-i686 version of tcpdump would not run properly on it.

Since it is a fairly recent device, the toolchain used is for DSM 5.0 only. It should be possible to create another target that uses the 4.3 toolchain, but it is not my priority right now.

I have had mitigated success building on i686 for x86_64; most of the packages will build nicely, but some (like openssl) will not. Building on x86_64 is not a problem though.

For the record, I am building on an up-to-date Arch Linux system, so it is probably safe to try building on any recent rig once the packages are updated.