Packages
2010-12-11
Introduction
I have created packages of various software products for a few operating systems I've worked with. Some of these can be downloaded here. They are of varying quality; use at your own risk. If you find (or even fix) any bugs, please contact me. Other suggestions for improvement and general comments are also appreciated.
OpenBSD
These packages have been built using the ports system of OpenBSD 3.6. Both the port and any binary packages I've built are available.
These ports also work with OpenBSD 3.7-current. Packages probably only work with OpenBSD 3.6, because they depend on specific library versions.
To install a package, download the file, rename it to get rid of the
_openbsd_arch
part, then run pkg_add
/path/to/package.tgz
. You may need to install some
dependencies first.
To use the ports, you first need to have the ports system installed. Refer to the OpenBSD documentation for instructions. Then, download and unpack the port (to any location), change to the port directory, and use the port like you would any other (again, see the OpenBSD documentation).
annoyance-filter
- Port: annoyance-filter-1.0d_openbsd_port.tar.bz2 (1553 bytes)
- i386 package: annoyance-filter-1.0d_openbsd_i386.tgz (132 KB)
ifile
- Port: ifile-1.3.5_openbsd_port.tar.bz2 (1057 bytes)
- i386 package: ifile-1.3.5_openbsd_i386.tgz (38 KB)
libffi
- Port: libffi-2.0beta_openbsd_port.tar.bz2 (1882 bytes)
- i386 package: libffi-2.0beta_openbsd_i386.tgz (10 KB)
mailvisa
- Port: mailvisa-1.0.0_openbsd_port.tar.bz2 (1019 bytes)
- Package: mailvisa-1.0.0_openbsd.tgz (7907 bytes)
mpd
- Port: mpd-0.11.5_openbsd_port.tar.bz2 (1272 bytes)
- i386 Package (flavor: vorbis): mpd-0.11.5-vorbis_openbsd_i386.tgz (81 KB)
muhttpd
- Port: muhttpd-1.0.6_openbsd_port.tar.bz2 (1120 bytes)
- i386 package: muhttpd-1.0.6_openbsd_i386.tgz (11 KB)
PFE
PFE (Portable Forth Environment) is a portable and ANSI-compliant Forth implementation.
- Port: pfe-0.32.94_openbsd_port.tar.bz2 (1834 bytes)
- Package: pfe-0.32.94_openbsd_i386.tgz (462 KB)
php
This is a port of PHP 4. Whereas the port in the official ports tree depends on Apache, this port builds the CGI version of PHP, which can be used with almost any webserver (including muhttpd).
- Port: php-4.4.1_openbsd_port.tar.bz2 (2270 bytes)
- Package: php-4.4.1_openbsd_i386.tgz (923 KB)
pnet
DotGNU Portable.NET. Note that threading is disabled for now, due to an with the boehm-gc package. You also need pnetlib to use this package.
- Port: pnet-0.6.12_openbsd_port.tar.bz2 (2074 bytes)
- i386 Package: pnet-0.6.12_openbsd_i386.tgz (7156 KB)
pnetlib
Runtime libraries for use with the pnet package.
- Port: pnetlib-0.6.12_openbsd_port.tar.bz2 (1867 bytes)
- i386 Package: pnetlib-0.6.12_openbsd_i386.tgz (2658 KB)
sablevm
- Port: sablevm-1.11.3_openbsd_port.tar.bz2 (1157 bytes)
- i386 Package: sablevm-1.11.3_openbsd_i386.tgz (174 KB)
sablevm-classpath
This package contains some libraries and classes necessary for running Java programs with sablevm. I've only tested the no_gtk flavor so far.
- Port: sablevm-classpath-1.11.3_openbsd_port.tar.bz2 (23 KB)
- i386 Package: sablevm-classpath-1.11.3-no_gtk_openbsd_i386.tgz (3788 KB)
GNU Smalltalk
- Port: smalltalk-2.1.11p1_openbsd_port.tar.bz2 (4736 bytes)
- Package: smalltalk-2.1.11_openbsd_i386.tgz (3592 KB)
treecc
- Port: treecc-0.3.6_openbsd_port.tar.bz2 (963 bytes)
- i386 package: treecc-0.3.6_openbsd_i386.tgz (60 KB)
pkgsrc
pkgsrc is a framework for building third-party software for NetBSD and other UNIX-like systems. I use it to build packages on Mac OS X, which, in my opinion, lacks a good package system.
The ports provided here should work on every system pkgsrc works on. If a port doesn't work on yours, report it to me and I will try to fix it. You use the ports by adding them to an appropriate location in your pkgsrc tree, and using it like you would any other port. See the pkgsrc guide for more information.
mailvisa
- mailvisa-0.8.0_pkgsrc.tar.bz2 (866 bytes)
muhttpd
- muhttpd-1.0.6_pkgsrc.tar.bz2 (836 bytes)
- muhttpd-1.0.6_netbsd_i386.tgz (14 KB)
Debian
Of all operating systems I have worked with, Debian probably has the best package management system. Both source packages and binary packages are provided.
Debian source packages consist of a .dsc file, a .orig.tar.gz file, and a .diff.gz file. Only the .diff.gz file is provided here, as the other two can be obtained through other means. For example, to create a source package for detach, do the following:
# Download the .diff.gz file wget 'http://inglorion.net/download/detach_0.2.0-1.diff.gz' # Download the source code wget 'http://inglorion.net/download/detach-0.2.0.tar.bz2' # Create the .orig.tar.gz file from the .tar.bz2 bunzip2 < detach-0.2.0.tar.bz2 | gzip > detach_0.2.0.orig.tar.gz # Extract source code tar xzf detach_0.2.0.orig.tar.gz # Apply the diff gunzip < detach_0.2.0-1.diff.gz | patch -p0 # Create source package dpkg-source -b detach-0.2.0 # Or, create source and binary package debuild
Of course, the above is a lot of hassle. The file Makefile_detach_0.2.0-1_debian (1614 bytes) automates the above steps. Download the file, rename it to Makefile, and type make source-package to build a source packages, make package (or simply make) for a binary package, or make install to build a binary package and install it. You can change the ARCH, FETCH, NAME and VERSION variables to tailor it to your needs (including using it for other packages than detach).
Binary packages can be installed by running dpkg -i package.deb.
chrootexec
- Source package: chrootexec_0.3.0-1.diff.gz (1433 bytes)
- i386 package: chrootexec_0.3.0-1_i386.deb (4482 bytes)
detach
- Source package: detach_0.2.1-1.diff.gz (1515 bytes)
- PowerPC package: detach_0.2.1-1_powerpc.deb (5144 bytes)
- i386 package: detach_0.2.0-1_i386.deb (4612 bytes)
mailvisa
- Source package: mailvisa_1.0.0-1.diff.gz (1599 bytes)
- Package: mailvisa_1.0.0-1_all.deb (9276 bytes)
muhttpd
- Source package: muhttpd_1.0.6-1.diff.gz (1869 bytes)
- i386 package: muhttpd_1.0.6-1_i386.deb
- PowerPC package: muhttpd_1.0.6-1_powerpc.deb