Some of my patches & contributions
by Marc O. Gloor

My unofficial/unsupported CFS 1.4.1 branch for Linux (Update: 15. May 2011)

CFS is an encrypting file system for Unix-like OSs. It uses NFS as its interface, and so is reasonably portable. The original work on CFS dates back to 1992. Matt Blaze has updated it since then, with version 1.4.1 appearing from around 1997, but CFS is not currently in active development, and Blaze warns at his Web site to consider the code unsupported. Nevertheless, the CFS solution worked well for many years for my purposes, and it may work for you also.
Today, there is a persistent maintenance problem with CFS. Most of the CFS packages out there are not supported officially or they are branched out or orphaned as nobody maintains a central repository anymore to merge back all the invididual forks (from distributions) back to a main repository. From my perspective, all attempts failed (e.g. cfsnfs project on sourceforge and some others).
However, I share my own modified branch of CFS 1.4.1 for Linux which is an incremental diff and the result of my permanent maintenance of CFS for Linux. This patch includes numerous back merged modifications which I fetched from various sources (SuSe, Redhat, Debian, scientific books, etc) during the past years. I was asked to share the code. Due to license reasons, I not provide here my fully modified CFS archive but you can easily apply my backpatch against original CFS 1.4.1 code by following these instructions but note, that the patch comes without any warranty or support:

1. Download original CFS 1.4.1 from Matt Blaze's website: wget http://www.crypto.com/software/cfs-1.4.1.tar.gz
2. Download my CFS 1.4.1 Linux backpatch: wget data/cfs-1.4.1-mgloor_branch.diff.gz
3. Untar the file: tar xzvf cfs-1.4.1.tar.gz
4. Move into the extracted CFS source dir: cd cfs-1.4.1
5. Apply the patch against original CFS 1.4.1: zcat cfs-1.4.1-mgloor_branch.diff.gz | patch -p1

Update: May 15, 2011:
CFS 1.4.1 from original author Matt Blaze is broken since Linux kernel 2.6.22: This was caused by an utimes/utimensat fix which was committed against the NFS system of Linux kernel 2.6.22, since then, CFS doesn't work anymore with recent Linux kernels. I assume that patching CFS might be a minor issue but I found no time to do it on my own. There is only one utime reference I found in the CFS code (cfs_fh.c) which might be patched to make CFS working again with the latest linux kernel generation. If someone else wanna have a look into it, feel free. Any feedback appreciated.

Patch for official CFS release 1.4.0beta (7/12/1997) from Matt Blaze

Compiling CFS 1.4.0beta (Cryptografic System) for setting up a secure storage using strong cryptography on a Linux Box can be under some circumstances very painful if you prefer to build your own binaries from scratch. One way is to use a cfs package from your distribution. If there is a CFS version of your choice, lucky you! If not and if you like to know whats happen with your data in future, you'll prefer to build the code manually like I does it. To bypass a lot of errors, I collected all my CFS bugfixes, workarounds, changes and security patches to one single CFS  patch [.gz, 14kb] for Rel.1.4.0beta which is well working for me. Parts of the diff based on the GNU/Linux bugtracking system, public website informations and Usenet postings (newsgroups). For installing the patch, you have to change to the CFS source tree location and applying the patch by using 'zcat cfs-1.4.0beta.linux.patch.gz | patch -p1'.

Patch for the "Stuttgart Neuronaler Netzwerk Simulator" (SNNS 4.2)

My patch will fix two compiler errors which occured on my SUN and i386 workstation running GNU/Linux during the compilation process of SNNS 4.2. The compiler breaks on the MAXFLOAT and strcpy_small problem. The SNNS (Stuttgart Neural Network Simulator) is a simulator for neural networks developed at the Institute for Parallel and Distributed High Performance Systems (Institut für Parallele und Verteilte Höchstleistungsrechner, IPVR) at the University of Stuttgart. The goal of the project is to create an efficient and flexible simulation environment for research on and application of neural networks (artificial intelligence, AI). For installing the patch [.gz, 1kb], you have to change to the SNNS source tree location and applying the patch by using 'zcat snns-4.2.linux.patch.gz | patch -p1'
 

Cutmp3 precompiled PPC binary package

Cutmp3 is my favourite mp3 cutter since a while, that's why I initially wrote its manpage (which is part of the official package) and the reason why I contributed with a PPC binary package available from the cutmp3 website. Additionally, I wrote a small interactive shellscript wrapper, called mp3cut.sh [.sh, 2.5kb].


SciTE binary package for Linux on SPARC

Years ago, I contributed SciTE version 1.25 as binary package for the SPARC architecture - but I couldn't find the package anymore...


Patch against Login.app to provide you with a Linux PPC login feeling

Because I don't like the default look-and-feel from the 'xdm' display login manager (XFree86) I patched Login.app-1.2.1.tar.gz against my Linux/PPC Login.app patch which leads to my desired Login.app look-and-feel [.png, 18kb] especially designed for Linux/PPC users. If you would like to have the same login screen as I have, download and extract Login.app, change into the Login.app directory and apply the patch using 'zcat Linux.app_ppc_patch.gz | patch -p1'. Build and install Login.app as described in the documentation.


CSV to XML parser/importer for MyLang


MyLang is a free vocabulary trainer which I often use. To import a new language database, I wrote a parser package [.tar.gz, 8.4kb] which is able to import a CSV based vocabulary and generate a MyLang compliant XML based database file.


Radio 24 Livestream unter Linux (german)
 
In der offiziellen Radio 24  Livestreaming-FAQ fehlt folgender Abschnitt:
FRAGE: Kann ich Radio 24 via Livestreaming unter Linux hören?
ANTWORT: Der Radio 24 Stream ist nicht als üblicher Shoutcast mp3-stream oder Realplayerstream verfügbar. Du brauchst jedoch kein kommerzielles Betriebssystem wie Windows oder proprietäre kostenpflichtige unfreie Player um den Radio 24 Livestream zu hören. Es gibt eine Möglichkeit Radio 24 unter Linux zu hören mit mplayer - dieser liegt als precompiled Package praktisch allen Distributionen bei (URL: http://www.mplayerhq.hu). Downloade den externen ASX stream Deiner Wahl von der Radio 24 Page (z.bsp. wget http://www.radio24.ch/webradio/stream_hi.asx) und öffne die Datei in einem beliebigen Editor, dabei übernimmst Du die unter href aufgeführte URL als Stream-adresse für mplayer (bsp.: mplayer http://dms-cl-011.skypro-media.net/radio24-hi).


$Id: patch.html,v 1.37 2023/12/25 15:27:29 gloor Exp $
Author:
marc_dot_gloor_at_u_dot_nus_dot_edu


home