FSG-3 ipkg feed
 

This is an ipkg feed of packages specifically compiled for the FSG-3 (Freecom Storage Gateway). They'll probably work on other armeb Linux devices, but the FSG-3 is the one I have.

I am not in any way affiliated with Freecom. I'm just a customer who likes to tinker with their product.

If you want to use these packages, follow these steps:

  • Read this forum thread, and follow those instructions to install the DS101 bootstrap, ipkg and wget on the machine. Be careful, the scripts in the bootstrap package are written for a different machine that has the big hard disk partition not under /home but under /volume1. You have to unpack the bootstrap package by hand, then unpack and install bootstrap.ipk by hand, and substitute /home for /volume1. Make sure you have ipkg running properly before you continue. Next time I feel bored I'll try to make a different bootstrap package that does things exactly right for the FSG-3.
  • Read this thread and clean up your libraries in /opt/lib as described there. This will remove some libraries that are incompatible with the FSG. You shouldn't remove libgcc and libstdc++ because they are not provided by the FSG. However, I provide a replacement for them in this feed.
  • Create a file /opt/etc/ipkg/rmc-fsg-feed.conf and put the following in it:
    src/gz rmc-fsg http://www.xs4all.nl/~rmc/fsg/feed
  • Type "ipkg update"
  • Type "ipkg install [packagename]" and watch the magic at work.

The packages in here are packages that I couldn't easily get elsewhere, either because other packages just don't work properly on the FSG-3, or because they're incomplete, or because I just couldn't find any other packages of the same application.

All packages install in /opt, just like all the optware packages.

If this feed is useful to you, I'd appreciate a little note to let me know.

-- Ernst Jan Plugge <rmc@dds.nl>

Name & version Description
mc (4.6.1-2) Midnight Commander. Compiled to use ncurses instead of termcap. Unless you provide special termcap settings, the binary that's out there will mess up your terminal. This one works for me without special settings, and even supports colour if your terminal does. Updated to deal with the new ncurses 5.5-3.
ncurses (5.5-3) Ncurses library. This one includes static libraries, include files and man pages, as well as the regular dynamic libraries. Essential if you want to build your own ncurses-enabled applications. Updated to fix a binary incompatibility issue with the one in optware.
pine (4.64-1) Couldn't find an armeb package for pine, and it's been my mail reader of choice since 1993. Apparently it's not as popular as it used to be, but I've grown used to it. It has SSL support (untested) but no LDAP support.
pure-ftpd (1.0.21-1) Pure-FTPd is a free (BSD), secure, production-quality and standard-conformant FTP server based upon Troll-FTPd. It doesn't provide useless bells and whistles, but focuses on efficiency and ease of use. It provides simple answers to common needs, plus unique useful features for personal users as well as hosting providers. This build was made for and on the FSG-3, and includes most optional features such as support for databases (MySQL), LDAP directories (OpenLDAP) and SSL (OpenSSL).
upnpsdk (1.0.4-2)
linux-igd (0.92-2)
UPnP implementation for NAT traversal. Updated to work with the new libstdc++.
gawk (3.1.5-1) The gawk in optware sometimes crashes with 'internal error' messages. Don't know where they come from, but this build works better for me.
irssi (0.8.10-1) Text mode IRC client.
rtorrent (0.4.5-1)
libsigc++ (2.0.17-1)
libtorrent (0.8.5-1)
Text mode BitTorrent client. Now includes dynamic versions of the libsigc++ and libtorrent libraries. If you want to use this, you'll have to uninstall libtorrent-devel and libsigc++-devel if you have them. Also, this build will not work unless you also install libstdc++ and libgcc from this feed. Although you might be able to get away with not installing libgcc.
apache22 (2.2.0-2) A full Apache httpd 2.2.0 build, with almost everything enabled. LDAP support is not enabled, because a newer version of OpenLDAP is required. I hesitate to just plug in a newer OpenLDAP, because I'd likely break other things.

Note that this build installs in /opt/apache, and the package is named apache22. This is done so it won't interfere with any Apache 2.0 installations.

Updated to fix a few issues:

  • Now includes a startup/shutdown script in /opt/etc/init.d
  • Sendfile support caused problems and has been disabled
apache22-php (5.1.2-2) A full PHP 5.1.2 build that includes almost everything. The full distribution has been split up into a base package and some extension packages, each with their own dependencies. The base package is called apache22-php, the extension packages are called apache22-php-[name], where [name] is one of: bzip2, curl, dba, gd, ldap, mysql, ncurses, openssl, pear, pgsql, readline, xsl, zlib. It installs into /opt/apache along with apache22. The base package now includes a php.ini that is based on the php.ini-recommended from the source.

Note that installing this package is not enough to enable it in Apache. You need to put something like the following into your httpd.conf:

LoadModule php5_module modules/libphp5.so
AddHandler php5-script .php
AddType text/html .php
DirectoryIndex index.php

If you install any of the extension modules, then you'll have to manually enable them in /opt/apache/lib/php.ini. Look for lines like: ;extension=gd.so and remove the ; from the lines corresponding to the packages you installed.

libgcc (3.3.5-1)
libstdc++ (5.0.7-4)
A replacement for the dynamic libgcc and libstdc++ that were delivered with bootstrap.ipk. I have, unfortunately, not been able to rebuild these libraries from source yet. What I did is unpack the static libraries into separate object files and relink them into dynamic libraries. It's an ugly hack, but it works. Sort of.

This has the unintended consequence that some software now complains about missing versioning information: mysql: /opt/lib/libgcc_s.so.1: no version information available (required by mysql). Not all executables linked to libgcc or libstdc++ do this, but a number of them do. Most noticeable are the executables in the mysql and man packages.

As far as I can tell, this warning message doesn't negatively affect the programs themselves, and the message can be ignored, even though it's annoying. But at least this has enabled me to get mysql working, to get a dynamically linked rtorrent working, to get python more stable, and to get man to (apparently) display all pages properly now. So I think the net result is a win.

kernel-module-tun
(2.4.27-1)
A kernel module that works on the FSG's kernel, and satisfies the dependency in the openvpn package. With this module, I've successfully set up VPN connections using openvpn.