diff --git a/nvidia/.footprint b/nvidia/.footprint new file mode 100644 index 000000000..23e57b4de --- /dev/null +++ b/nvidia/.footprint @@ -0,0 +1,35 @@ +drwxr-xr-x root/root lib/ +drwxr-xr-x root/root lib/modules/ +drwxr-xr-x root/root lib/modules// +drwxr-xr-x root/root lib/modules//kernel/ +drwxr-xr-x root/root lib/modules//kernel/drivers/ +drwxr-xr-x root/root lib/modules//kernel/drivers/video/ +-rw-r--r-- root/root lib/modules//kernel/drivers/video/nvidia.ko +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/X11R6/ +drwxr-xr-x root/root usr/X11R6/lib/ +-rwxr-xr-x root/root usr/X11R6/lib/libXvMCNVIDIA.a +-rwxr-xr-x root/root usr/X11R6/lib/libXvMCNVIDIA.so.1.0.7676 +drwxr-xr-x root/root usr/X11R6/lib/modules/ +drwxr-xr-x root/root usr/X11R6/lib/modules/drivers/ +-rwxr-xr-x root/root usr/X11R6/lib/modules/drivers/nvidia_drv.o +drwxr-xr-x root/root usr/X11R6/lib/modules/extensions/ +lrwxrwxrwx root/root usr/X11R6/lib/modules/extensions/libglx.so -> libglx.so.1.0.7676 +-rwxr-xr-x root/root usr/X11R6/lib/modules/extensions/libglx.so.1.0.7676 +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/nvidia-settings +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/nvidia/ +drwxr-xr-x root/root usr/include/nvidia/GL/ +-r--r--r-- root/root usr/include/nvidia/GL/gl.h +-r--r--r-- root/root usr/include/nvidia/GL/glext.h +-r--r--r-- root/root usr/include/nvidia/GL/glx.h +-r--r--r-- root/root usr/include/nvidia/GL/glxext.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libGL.la +lrwxrwxrwx root/root usr/lib/libGL.so -> libGL.so.1.0.7676 +-rwxr-xr-x root/root usr/lib/libGL.so.1.0.7676 +-rwxr-xr-x root/root usr/lib/libGLcore.so.1.0.7676 +-rwxr-xr-x root/root usr/lib/libnvidia-tls.so.1.0.7676 +drwxr-xr-x root/root usr/lib/tls/ +-rwxr-xr-x root/root usr/lib/tls/libnvidia-tls.so.1.0.7676 diff --git a/nvidia/.md5sum b/nvidia/.md5sum new file mode 100644 index 000000000..e3dceada9 --- /dev/null +++ b/nvidia/.md5sum @@ -0,0 +1,2 @@ +2474c5513006668b0fba401e042dc009 NVIDIA-Linux-x86-1.0-7676-pkg0.run +30639de943a63b41fb363c665e3e094f nvidia-1.0-7676-makefiles.patch diff --git a/nvidia/Pkgfile b/nvidia/Pkgfile new file mode 100644 index 000000000..bf578e0fa --- /dev/null +++ b/nvidia/Pkgfile @@ -0,0 +1,48 @@ +# $Id: Pkgfile,v 1.15 2005/08/26 14:13:41 jaeger Exp $ +# Description: nVIDIA Linux Display Driver +# URL: http://www.nvidia.com/ +# Maintainer: Matt Housh, jaeger at morpheus dot net +# Depends on: x11 + +name=nvidia +version=1.0-7676 +release=1 +source=(http://download.nvidia.com/XFree86/Linux-x86/$version/NVIDIA-Linux-x86-$version-pkg0.run \ + $name-$version-makefiles.patch) + +build() { + sh NVIDIA-Linux-x86-$version-pkg0.run --extract-only + cd NVIDIA-Linux-x86-$version-pkg0 + + # patch Makefiles for normal users and no load during build + patch -p1 < $SRC/$name-$version-makefiles.patch + + # create directories the Makefile expects + mkdir -p $PKG/usr/lib \ + $PKG/usr/X11R6/lib/modules/drivers \ + $PKG/usr/X11R6/lib/modules/extensions \ + $PKG/usr/bin + + # build/install libraries + make ROOT=$PKG install + install -m 0644 usr/lib/libGL.la $PKG/usr/lib/ + sed -i -e 's|__LIBGL_PATH__|/usr/lib|' $PKG/usr/lib/libGL.la + + # remove the documentation + rm -rf $PKG/usr/share + + # copy includes + mkdir -p $PKG/usr/include/nvidia + cp -r usr/include/GL $PKG/usr/include/nvidia/ + + # install settings program + install -m 0755 usr/bin/nvidia-settings $PKG/usr/bin/ + + # build the module + cd usr/src/nv + IGNORE_CC_MISMATCH=1 make -f Makefile.kbuild module + + # install it + install -m 0644 -D nvidia.ko \ + $PKG/lib/modules/`uname -r`/kernel/drivers/video/nvidia.ko +} diff --git a/nvidia/README b/nvidia/README new file mode 100644 index 000000000..16bccc4b4 --- /dev/null +++ b/nvidia/README @@ -0,0 +1,37 @@ +$Id: README,v 1.5 2005/03/11 21:55:52 jaeger Exp $ + +README for nvidia 1.0-6629+ + + +**** IMPORTANT **** +The POST-INSTALL only needs to be run *ONCE* after installing +the nvidia port. It is *NOT REQUIRED* when upgrading the port +if it has been run once when the port was originally installed. +**** IMPORTANT **** + + +*** NOTE for nvidia with udev *** + +If using udev, add your user to the "video" group to be able to +use the nvidia devices required for 3d to function properly. + + +POST-INSTALL + +Rename /usr/X11R6/lib/libGL.so.1.2 to something else, such +as libGL_so_1_2 and run /sbin/ldconfig. GL applications +should then use the nvidia-installed /usr/lib/libGL.so +instead. Rename /usr/X11R6/lib/modules/extensions/libGLcore.a +and libglx.a to something else, such as libGLcore.a.orig and +libglx.a.orig. + +nvhelper.sh will do this for you (./nvhelper.sh --install) + +POST-REMOVE + +Rename /usr/X11R6/lib/libGL_so_1_2 (or whatever you called +it) to libGL.so.1.2 and run /sbin/ldconfig. Also restore +libglx.a and libGLcore.a in /usr/X11R6/lib/modules/extensions. + +nvhelper.sh will do this for you (./nvhelper.sh --restore) + diff --git a/nvidia/nvhelper.sh b/nvidia/nvhelper.sh new file mode 100644 index 000000000..14476cd21 --- /dev/null +++ b/nvidia/nvhelper.sh @@ -0,0 +1,44 @@ +#!/bin/bash + +# $Id: nvhelper.sh,v 1.1.1.1 2004/08/17 20:01:42 crux Exp $ + +echo "" +echo "nvhelper.sh - facilitate renaming/restoring of libGL.so.1.2" +echo "" + +case "$1" in + --install) + if [ ! -f /usr/X11R6/lib/libGL.so.1.2 ] + then + echo "/usr/X11R6/lib/libGL.so.1.2 doesn't exist! Exiting..." + exit 1 + fi + (cd /usr/X11R6/lib + mv libGL.so.1.2 libGL_so_1_2 + mv libGL.a libGL_a + cd modules/extensions + mv libGLcore.a libGLcore.a.orig + mv libglx.a libglx.a.orig + /sbin/ldconfig) + ;; + --restore) + if [ ! -f /usr/X11R6/lib/libGL_so_1_2 ] + then + echo "/usr/X11R6/lib/libGL_so_1_2 doesn't exist! Exiting..." + exit 1 + fi + (cd /usr/X11R6/lib + mv libGL_so_1_2 libGL.so.1.2 + mv libGL_a libGL.a + cd modules/extensions + mv libGLcore.a.orig libGLcore.a + mv libglx.a.orig libglx.a + /sbin/ldconfig) + ;; + *) + echo "Unrecognized option, please use --install or --restore." + exit 0 + ;; +esac + +echo "done." diff --git a/nvidia/nvidia-1.0-7676-makefiles.patch b/nvidia/nvidia-1.0-7676-makefiles.patch new file mode 100644 index 000000000..eae416f40 --- /dev/null +++ b/nvidia/nvidia-1.0-7676-makefiles.patch @@ -0,0 +1,49 @@ +diff -urN NVIDIA-Linux-x86-1.0-7676-pkg0.orig/Makefile NVIDIA-Linux-x86-1.0-7676-pkg0/Makefile +--- NVIDIA-Linux-x86-1.0-7676-pkg0.orig/Makefile 2005-07-29 15:30:44.000000000 -0500 ++++ NVIDIA-Linux-x86-1.0-7676-pkg0/Makefile 2005-08-26 08:36:42.736205664 -0500 +@@ -95,4 +95,4 @@ + @echo -n " " + cp -r usr/share/doc/* ${DOCDIR} + @echo -n " " +- /sbin/ldconfig ++ #/sbin/ldconfig +diff -urN NVIDIA-Linux-x86-1.0-7676-pkg0.orig/usr/src/nv/Makefile.kbuild NVIDIA-Linux-x86-1.0-7676-pkg0/usr/src/nv/Makefile.kbuild +--- NVIDIA-Linux-x86-1.0-7676-pkg0.orig/usr/src/nv/Makefile.kbuild 2005-07-29 15:30:43.000000000 -0500 ++++ NVIDIA-Linux-x86-1.0-7676-pkg0/usr/src/nv/Makefile.kbuild 2005-08-26 08:36:42.736205664 -0500 +@@ -255,10 +255,10 @@ + # + + suser-sanity-check: +- @if ! $(CONFTEST) suser_sanity_check; then exit 1; fi ++ #@if ! $(CONFTEST) suser_sanity_check; then exit 1; fi + + rmmod-sanity-check: +- @if ! $(CONFTEST) rmmod_sanity_check; then exit 1; fi ++ #@if ! $(CONFTEST) rmmod_sanity_check; then exit 1; fi + + gcc-sanity-check: + @if ! $(CONFTEST) cc_sanity_check full_output; then exit 1; fi +@@ -293,9 +293,9 @@ + # + + module-install: suser-sanity-check module +- @mkdir -p $(MODULE_ROOT)/video; \ +- install -m 0664 -o root -g root $(MODULE_OBJECT) $(MODULE_ROOT)/video; \ +- PATH="$(PATH):/bin:/sbin" depmod -ae; ++ #@mkdir -p $(MODULE_ROOT)/video; \ ++ #install -m 0664 -o root -g root $(MODULE_OBJECT) $(MODULE_ROOT)/video; \ ++ #PATH="$(PATH):/bin:/sbin" depmod -ae; + + # + # This target builds, then installs, then creates device nodes and inserts +@@ -303,8 +303,8 @@ + # + + package-install: module-install rmmod-sanity-check +- PATH="$(PATH):/bin:/sbin" modprobe $(MODULE_NAME) && \ +- echo "$(MODULE_OBJECT) installed successfully."; ++ #PATH="$(PATH):/bin:/sbin" modprobe $(MODULE_NAME) && \ ++ #echo "$(MODULE_OBJECT) installed successfully."; + + # + # Build an object file suitable for further processing by the installer and diff --git a/openbox/.footprint b/openbox/.footprint new file mode 100644 index 000000000..f07b56931 --- /dev/null +++ b/openbox/.footprint @@ -0,0 +1,76 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/gnome-panel-control +-rwxr-xr-x root/root usr/bin/kdetrayproxy +-rwxr-xr-x root/root usr/bin/openbox +drwxr-xr-x root/root usr/etc/ +drwxr-xr-x root/root usr/etc/xdg/ +drwxr-xr-x root/root usr/etc/xdg/openbox/ +-rw-r--r-- root/root usr/etc/xdg/openbox/menu.xml +-rw-r--r-- root/root usr/etc/xdg/openbox/rc.xml +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/openbox/ +drwxr-xr-x root/root usr/include/openbox/3.3/ +drwxr-xr-x root/root usr/include/openbox/3.3/openbox/ +-rw-r--r-- root/root usr/include/openbox/3.3/openbox/parse.h +-rw-r--r-- root/root usr/include/openbox/3.3/openbox/render.h +-rw-r--r-- root/root usr/include/openbox/3.3/openbox/theme.h +-rw-r--r-- root/root usr/include/openbox/3.3/openbox/version.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libobparser.a +-rwxr-xr-x root/root usr/lib/libobparser.la +lrwxrwxrwx root/root usr/lib/libobparser.so -> libobparser.so.0.2.1 +lrwxrwxrwx root/root usr/lib/libobparser.so.0 -> libobparser.so.0.2.1 +-rwxr-xr-x root/root usr/lib/libobparser.so.0.2.1 +-rw-r--r-- root/root usr/lib/libobrender.a +-rwxr-xr-x root/root usr/lib/libobrender.la +lrwxrwxrwx root/root usr/lib/libobrender.so -> libobrender.so.0.2.1 +lrwxrwxrwx root/root usr/lib/libobrender.so.0 -> libobrender.so.0.2.1 +-rwxr-xr-x root/root usr/lib/libobrender.so.0.2.1 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/obparser-3.0.pc +-rw-r--r-- root/root usr/lib/pkgconfig/obrender-3.0.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/gnome/ +drwxr-xr-x root/root usr/share/gnome/wm-properties/ +-rw-r--r-- root/root usr/share/gnome/wm-properties/openbox.desktop +drwxr-xr-x root/root usr/share/openbox/ +-rw-r--r-- root/root usr/share/openbox/menu.xsd +-rw-r--r-- root/root usr/share/openbox/rc.xsd +-rwxr-xr-x root/root usr/share/openbox/themeupdate.py +drwxr-xr-x root/root usr/share/pixmaps/ +-rw-r--r-- root/root usr/share/pixmaps/openbox.png +drwxr-xr-x root/root usr/share/themes/ +drwxr-xr-x root/root usr/share/themes/Allegro/ +drwxr-xr-x root/root usr/share/themes/Allegro/openbox-3/ +-rw-r--r-- root/root usr/share/themes/Allegro/openbox-3/bullet.xbm +-rw-r--r-- root/root usr/share/themes/Allegro/openbox-3/themerc +drwxr-xr-x root/root usr/share/themes/Artwiz/ +drwxr-xr-x root/root usr/share/themes/Artwiz/openbox-3/ +-rw-r--r-- root/root usr/share/themes/Artwiz/openbox-3/themerc +drwxr-xr-x root/root usr/share/themes/Blah41/ +drwxr-xr-x root/root usr/share/themes/Blah41/openbox-3/ +-rw-r--r-- root/root usr/share/themes/Blah41/openbox-3/themerc +drwxr-xr-x root/root usr/share/themes/Om4Ob/ +drwxr-xr-x root/root usr/share/themes/Om4Ob/openbox-3/ +-rw-r--r-- root/root usr/share/themes/Om4Ob/openbox-3/close.xbm +-rw-r--r-- root/root usr/share/themes/Om4Ob/openbox-3/close_hover.xbm +-rw-r--r-- root/root usr/share/themes/Om4Ob/openbox-3/desk.xbm +-rw-r--r-- root/root usr/share/themes/Om4Ob/openbox-3/desk_hover.xbm +-rw-r--r-- root/root usr/share/themes/Om4Ob/openbox-3/desk_toggled.xbm +-rw-r--r-- root/root usr/share/themes/Om4Ob/openbox-3/iconify.xbm +-rw-r--r-- root/root usr/share/themes/Om4Ob/openbox-3/iconify_hover.xbm +-rw-r--r-- root/root usr/share/themes/Om4Ob/openbox-3/iconify_pressed.xbm +-rw-r--r-- root/root usr/share/themes/Om4Ob/openbox-3/max.xbm +-rw-r--r-- root/root usr/share/themes/Om4Ob/openbox-3/max_disabled.xbm +-rw-r--r-- root/root usr/share/themes/Om4Ob/openbox-3/max_hover.xbm +-rw-r--r-- root/root usr/share/themes/Om4Ob/openbox-3/max_pressed.xbm +-rw-r--r-- root/root usr/share/themes/Om4Ob/openbox-3/max_toggled.xbm +-rw-r--r-- root/root usr/share/themes/Om4Ob/openbox-3/shade.xbm +-rw-r--r-- root/root usr/share/themes/Om4Ob/openbox-3/shade_disabled.xbm +-rw-r--r-- root/root usr/share/themes/Om4Ob/openbox-3/shade_hover.xbm +-rw-r--r-- root/root usr/share/themes/Om4Ob/openbox-3/shade_toggled.xbm +-rw-r--r-- root/root usr/share/themes/Om4Ob/openbox-3/themerc +drwxr-xr-x root/root usr/share/themes/TheBear/ +drwxr-xr-x root/root usr/share/themes/TheBear/openbox-3/ +-rw-r--r-- root/root usr/share/themes/TheBear/openbox-3/themerc diff --git a/openbox/.md5sum b/openbox/.md5sum new file mode 100644 index 000000000..d01e4315f --- /dev/null +++ b/openbox/.md5sum @@ -0,0 +1 @@ +1ff100d27cc1f47dadebb884a696dac3 openbox-3.3-rc2.tar.gz diff --git a/openbox/Pkgfile b/openbox/Pkgfile new file mode 100644 index 000000000..4455610ed --- /dev/null +++ b/openbox/Pkgfile @@ -0,0 +1,18 @@ +# $Id: Pkgfile,v 1.5 2005/10/19 00:30:11 jaeger Exp $ +# Description: Openbox - fast, lightweight, standards-compliant window manager +# URL: http://www.icculus.org/openbox/ +# Maintainer: Matt Housh, jaeger at morpheus dot net +# Depends on: x11, freetype, glib, expat, libxml2 + +name=openbox +version=3.3-rc2 +release=1 +source=(http://www.icculus.org/$name/releases/$name-$version.tar.gz) + +build() { + cd $name-$version + ./configure --prefix=/usr \ + --disable-nls + make + make DESTDIR=$PKG install +} diff --git a/opencdk/.footprint b/opencdk/.footprint new file mode 100644 index 000000000..b57ac8516 --- /dev/null +++ b/opencdk/.footprint @@ -0,0 +1,11 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/opencdk-config +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/opencdk.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libopencdk.a +-rwxr-xr-x root/root usr/lib/libopencdk.la +lrwxrwxrwx root/root usr/lib/libopencdk.so -> libopencdk.so.8.0.3 +lrwxrwxrwx root/root usr/lib/libopencdk.so.8 -> libopencdk.so.8.0.3 +-rwxr-xr-x root/root usr/lib/libopencdk.so.8.0.3 diff --git a/opencdk/.md5sum b/opencdk/.md5sum new file mode 100644 index 000000000..8e9bd5e5f --- /dev/null +++ b/opencdk/.md5sum @@ -0,0 +1 @@ +766560f9ed6c6a64a2820364b1e6065c opencdk-0.5.7.tar.gz diff --git a/opencdk/Pkgfile b/opencdk/Pkgfile new file mode 100644 index 000000000..c935be2dd --- /dev/null +++ b/opencdk/Pkgfile @@ -0,0 +1,17 @@ +# $Id: Pkgfile,v 1.4 2005/09/14 17:49:12 jaeger Exp $ +# Description: Open Crypto Development Kit +# URL: http://www.gnu.org/software/gnutls/ +# Maintainer: Matt Housh, jaeger at morpheus dot net +# Depends on: libgcrypt + +name=opencdk +version=0.5.7 +release=1 +source=(http://ftp.gnupg.org/gcrypt/alpha/gnutls/$name/$name-$version.tar.gz) + +build() { + cd $name-$version + ./configure --prefix=/usr + make + make DESTDIR=$PKG install +} diff --git a/openntpd/.footprint b/openntpd/.footprint new file mode 100644 index 000000000..4b46660e0 --- /dev/null +++ b/openntpd/.footprint @@ -0,0 +1,14 @@ +drwxr-xr-x root/root etc/ +-rw-r--r-- root/root etc/ntpd.conf +drwxr-xr-x root/root etc/rc.d/ +-rwxr-xr-x root/root etc/rc.d/ntpd +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man5/ +-rw-r--r-- root/root usr/man/man5/ntpd.conf.5.gz +drwxr-xr-x root/root usr/man/man8/ +-rw-r--r-- root/root usr/man/man8/ntpd.8.gz +drwxr-xr-x root/root usr/sbin/ +-rwxr-xr-x root/root usr/sbin/ntpd +drwxr-xr-x root/root var/ +drwxr-xr-x root/root var/empty/ diff --git a/openntpd/.md5sum b/openntpd/.md5sum new file mode 100644 index 000000000..8ee411c06 --- /dev/null +++ b/openntpd/.md5sum @@ -0,0 +1,2 @@ +8e083e4914b691860a65619bfeda97e9 ntpd +10ed8eefd760e5819efcf3277b118f47 openntpd-3.7p1.tar.gz diff --git a/openntpd/Pkgfile b/openntpd/Pkgfile new file mode 100644 index 000000000..5cd1fb98f --- /dev/null +++ b/openntpd/Pkgfile @@ -0,0 +1,20 @@ +# $Id: Pkgfile,v 1.4 2005/09/06 20:46:53 jaeger Exp $ +# Description: portable version of openbsd's ntpd implementation +# URL: http://www.openntpd.org/ +# Maintainer: Matt Housh, jaeger at morpheus dot net + +name=openntpd +version=3.7 +release=1 +source=(ftp://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/$name-${version}p$release.tar.gz \ + ntpd) + +build() { + install -D -m 0755 ntpd $PKG/etc/rc.d/ntpd + cd $name-${version}p$release + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc + make + make DESTDIR=$PKG install +} diff --git a/openntpd/README b/openntpd/README new file mode 100644 index 000000000..f9601a562 --- /dev/null +++ b/openntpd/README @@ -0,0 +1,16 @@ +$Id: README,v 1.3 2005/09/06 20:46:53 jaeger Exp $ + + +README for openntpd + +openntpd expects to have a user and group dedicated to it. By default, _ntp. To +create them, use the following or similar commands, edited to your needs. + + # groupadd -g 83 _ntp + # useradd -g _ntp -u 83 -c "NTP Daemon" -d /var/empty -s /bin/false _ntp + +*NOTE* + + A post-install script has been added to the port which takes care of the + above. + diff --git a/openntpd/ntpd b/openntpd/ntpd new file mode 100644 index 000000000..8385a9488 --- /dev/null +++ b/openntpd/ntpd @@ -0,0 +1,23 @@ +#!/bin/sh +# +# /etc/rc.d/ntpd: start/stop ntp daemon +# + +case $1 in + start) + /usr/sbin/ntpd -s + ;; + stop) + killall -q /usr/sbin/ntpd + ;; + restart) + $0 stop + sleep 2 + $0 start + ;; + *) + echo "usage: $0 [start|stop|restart]" + ;; +esac + +# End of file diff --git a/openntpd/post-install b/openntpd/post-install new file mode 100755 index 000000000..59ed3cb3c --- /dev/null +++ b/openntpd/post-install @@ -0,0 +1,5 @@ +#!/bin/sh + +/usr/sbin/groupadd -g 83 _ntp +/usr/sbin/useradd -g _ntp -u 83 -c "NTP Daemon" -d /var/empty -s /bin/false _ntp +/usr/bin/passwd -l _ntp