diff options
author | Deposite Pirate | 2018-09-16 18:48:36 +0200 |
---|---|---|
committer | Deposite Pirate | 2018-09-16 18:48:36 +0200 |
commit | d150a5f3e462fa7fe194a805a4aa0076f4d03ab9 (patch) | |
tree | ce5e44d69c5f3175bfdbd1e3717b52c5dcca5638 /compat | |
parent | f29d3519ce073ec30f99754d93304324f7f26d65 (diff) |
Add ports.
Diffstat (limited to 'compat')
41 files changed, 865 insertions, 0 deletions
diff --git a/compat/compat_lcms/compat_lcms.build b/compat/compat_lcms/compat_lcms.build new file mode 100755 index 0000000..2a7cb42 --- /dev/null +++ b/compat/compat_lcms/compat_lcms.build @@ -0,0 +1,63 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=compat_lcms +VERSION=1.19 +BUILD=2 + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: compat_lcms (Little Color Management System) +${NAME}: +${NAME}: Little CMS intends to be a small-footprint, speed optimized color +${NAME}: management engine in open source form. This version of liblcms is +${NAME}: obsolete. Please use liblcms 2 instead. +${NAME}: +${NAME}: Homepage: http://www.littlecms.com +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=lcms +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://www.littlecms.com/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.{in,am} +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --enable-static=no \ + --enable-shared=yes \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --includedir="${SYS_DIR[include]}/lcms-1.0/lcms" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +rm -rf \ + ${PKG}${SYS_DIR[bin]} \ + ${PKG}${SYS_DIR[man]} +} diff --git a/compat/compat_libpng/compat_libpng.build b/compat/compat_libpng/compat_libpng.build new file mode 100755 index 0000000..a3e44f5 --- /dev/null +++ b/compat/compat_libpng/compat_libpng.build @@ -0,0 +1,78 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=compat_libpng +VERSION=1.4.8 +BUILD=1 + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: libpng (Portable Network Graphics library) +${NAME}: +${NAME}: PNG (Portable Network Graphics) is an extensible file format for the +${NAME}: lossless, portable, well-compressed storage of raster images. PNG +${NAME}: provides a patent-free replacement for GIF and can also replace many +${NAME}: common uses of TIFF. Indexed-color, grayscale, and truecolor images +${NAME}: are supported, plus an optional alpha channel. Sample depths range +${NAME}: from 1 to 16 bits. This version of libpng is obsolete. +${NAME}: +${NAME}: Homepage: http://www.libpng.org +${NAME}: +EOF + +# Sources + +SRCNAME[0]=libpng +SRCVERS[0]=${VERSION} +SRCPACK[0]=ftp://ftp.simplesystems.org/pub/libpng/png/src/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --enable-static=no \ + --enable-shared=yes \ + --prefix=/usr \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir=/etc \ + --libdir=/usr/lib$(libdirsuffix) \ + --localstatedir=/var +make ${JOBS} \ + prefix=/usr \ + LIBPATH=/usr/lib$(libdirsuffix) \ + ZLIBLIB="-L/usr/lib$(libdirsuffix) -lm -lz" +make install DESTDIR="${PKG}" \ + prefix=/usr \ + LIBPATH=/usr/lib$(libdirsuffix) \ + ZLIBLIB="-L/usr/lib$(libdirsuffix) -lm -lz" +changelog CHANGES +license LICENSE +# A symlink survives... +rm -rf \ + ${PKG}${SYS_DIR[man]} \ + ${PKG}/usr/include/*.h \ + ${PKG}/usr/bin/libpng-config \ + ${PKG}/usr/lib$(libdirsuffix)/pkgconfig/libpng.pc \ + ${PKG}/usr/lib$(libdirsuffix)/*.la +# More compat +( + cd ${PKG}/usr/lib$(libdirsuffix) + if [ ! -e libpng.so.14 -a -e libpng14.so.14 ]; then + ln -sf libpng14.so.14 libpng.so.14 + fi +) +} diff --git a/compat/compat_tcpip/compat_tcpip.build b/compat/compat_tcpip/compat_tcpip.build new file mode 100755 index 0000000..cd5eb55 --- /dev/null +++ b/compat/compat_tcpip/compat_tcpip.build @@ -0,0 +1,61 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=compat_tcpip +VERSION=$(date '+%Y%m%d') +BUILD=1 + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: compat_tcpip +${NAME}: +${NAME}: Deprecated TCP/IP utilities. +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=net-tools +SRCVERS[0]=20130121 +SRCPACK[0]=http://www.tazenda.demon.co.uk/phil/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz + +build0() +{ +make version.h +make ${JOBS} CFLAGS="${FLAGS}" +make install-base \ + DESTDIR="${PKG}" \ + MANDIR="${SYS_DIR[man]}" \ + BINDIR="${SYS_DIR[bin]}" \ + SBINDIR="${SYS_DIR[sbin]}" +#FIXME: compatibility symlinks +install.dir ${PKG}/sbin +( + cd ${PKG}/sbin + ln -sf ${SYS_DIR[sbin]}/arp + ln -sf ${SYS_DIR[sbin]}/rarp + ln -sf ${SYS_DIR[sbin]}/ifconfig + ln -sf ${SYS_DIR[sbin]}/route + ln -sf ${SYS_DIR[sbin]}/ipmaddr + ln -sf ${SYS_DIR[sbin]}/iptunnel +) +} diff --git a/compat/compat_tcpip/net-tools-20130121-config.patch.xz b/compat/compat_tcpip/net-tools-20130121-config.patch.xz Binary files differnew file mode 100644 index 0000000..9683ffa --- /dev/null +++ b/compat/compat_tcpip/net-tools-20130121-config.patch.xz diff --git a/compat/compat_tcpip/net-tools-20130121-debian242.patch.xz b/compat/compat_tcpip/net-tools-20130121-debian242.patch.xz Binary files differnew file mode 100644 index 0000000..a544220 --- /dev/null +++ b/compat/compat_tcpip/net-tools-20130121-debian242.patch.xz diff --git a/compat/compat_tcpip/net-tools-20130121-install.patch.xz b/compat/compat_tcpip/net-tools-20130121-install.patch.xz Binary files differnew file mode 100644 index 0000000..0fd2fd2 --- /dev/null +++ b/compat/compat_tcpip/net-tools-20130121-install.patch.xz diff --git a/compat/compat_tcpip/net-tools-20130121-missingheaders.patch.xz b/compat/compat_tcpip/net-tools-20130121-missingheaders.patch.xz Binary files differnew file mode 100644 index 0000000..ee76a47 --- /dev/null +++ b/compat/compat_tcpip/net-tools-20130121-missingheaders.patch.xz diff --git a/compat/compat_wireless/compat_wireless.build b/compat/compat_wireless/compat_wireless.build new file mode 100755 index 0000000..1b81b9d --- /dev/null +++ b/compat/compat_wireless/compat_wireless.build @@ -0,0 +1,57 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=compat_wireless +VERSION=30pre7 +BUILD=6 + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: wireless_tools (utilities for wireless networking) +${NAME}: +${NAME}: This package contains tools and a library used for configuring +${NAME}: wireless networking interfaces: +${NAME}: iwconfig (the main wireless tool), iwlist (display more detailed +${NAME}: information than iwconfig), iwspy (get stats per MAC address and +${NAME}: more), iwpriv (set driver private ioctls), iwgetid (show the ESSID +${NAME}: or NWID of a device), iwevent (display wireless events), ifrename +${NAME}: (rename a network interface). +${NAME}: +${NAME}: These tools are obsolete and are replaced by 'iw'. +EOF + +# Sources + +SRCNAME[0]=wireless_tools +SRCVERS[0]=30.pre9 +SRCROOT[0]=${SRCNAME[0]}.30 +SRCPACK[0]=http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/${SRCNAME[0]}.${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL2" + +build0() +{ +make ${JOBS} CFLAGS="${FLAGS}" PREFIX="/usr" +make install \ + PREFIX="${PKG}/usr" \ + INSTALL_DIR="${PKG}/usr/sbin" \ + INSTALL_LIB="${PKG}/usr/lib$(libdirsuffix)" +install.dat doinst.sh ${PKG}/install +install.dir ${PKG}/etc/rc.d +install.bin rc.wireless ${PKG}/etc/rc.d/rc.wireless.new +install -m 0600 rc.wireless.conf ${PKG}/etc/rc.d/rc.wireless.conf.new +# Don't include man pages in other languages +rm -rf \ + ${PKG}${SYS_DIR[man]}/{cs,fr.ISO8859-1,fr.UTF-8} +} diff --git a/compat/compat_wireless/wireless_tools-30.pre9-nowhine.patch.xz b/compat/compat_wireless/wireless_tools-30.pre9-nowhine.patch.xz Binary files differnew file mode 100644 index 0000000..d1424e3 --- /dev/null +++ b/compat/compat_wireless/wireless_tools-30.pre9-nowhine.patch.xz diff --git a/compat/compat_wireless/wireless_tools-30.pre9-slackware.patch.xz b/compat/compat_wireless/wireless_tools-30.pre9-slackware.patch.xz Binary files differnew file mode 100644 index 0000000..4713944 --- /dev/null +++ b/compat/compat_wireless/wireless_tools-30.pre9-slackware.patch.xz diff --git a/compat/consolekit/ConsoleKit-0.4.6-cleanupconsoletags.patch.xz b/compat/consolekit/ConsoleKit-0.4.6-cleanupconsoletags.patch.xz Binary files differnew file mode 100644 index 0000000..9f16d3a --- /dev/null +++ b/compat/consolekit/ConsoleKit-0.4.6-cleanupconsoletags.patch.xz diff --git a/compat/consolekit/ConsoleKit-0.4.6-libdir.patch.xz b/compat/consolekit/ConsoleKit-0.4.6-libdir.patch.xz Binary files differnew file mode 100644 index 0000000..29cc81b --- /dev/null +++ b/compat/consolekit/ConsoleKit-0.4.6-libdir.patch.xz diff --git a/compat/consolekit/ConsoleKit-0.4.6-nopam.patch.xz b/compat/consolekit/ConsoleKit-0.4.6-nopam.patch.xz Binary files differnew file mode 100644 index 0000000..b6bce05 --- /dev/null +++ b/compat/consolekit/ConsoleKit-0.4.6-nopam.patch.xz diff --git a/compat/consolekit/ConsoleKit-0.4.6-revert.patch.xz b/compat/consolekit/ConsoleKit-0.4.6-revert.patch.xz Binary files differnew file mode 100644 index 0000000..6e6a08b --- /dev/null +++ b/compat/consolekit/ConsoleKit-0.4.6-revert.patch.xz diff --git a/compat/consolekit/ConsoleKit-0.4.6-rundir.patch.xz b/compat/consolekit/ConsoleKit-0.4.6-rundir.patch.xz Binary files differnew file mode 100644 index 0000000..08ee732 --- /dev/null +++ b/compat/consolekit/ConsoleKit-0.4.6-rundir.patch.xz diff --git a/compat/consolekit/ConsoleKit-0.4.6-sysvinit.patch.xz b/compat/consolekit/ConsoleKit-0.4.6-sysvinit.patch.xz Binary files differnew file mode 100644 index 0000000..1ea0fdb --- /dev/null +++ b/compat/consolekit/ConsoleKit-0.4.6-sysvinit.patch.xz diff --git a/compat/consolekit/ConsoleKit-0.4.6-tmpfiles.patch.xz b/compat/consolekit/ConsoleKit-0.4.6-tmpfiles.patch.xz Binary files differnew file mode 100644 index 0000000..11b9d76 --- /dev/null +++ b/compat/consolekit/ConsoleKit-0.4.6-tmpfiles.patch.xz diff --git a/compat/consolekit/consolekit.build b/compat/consolekit/consolekit.build new file mode 100755 index 0000000..80ffd91 --- /dev/null +++ b/compat/consolekit/consolekit.build @@ -0,0 +1,108 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=consolekit +VERSION=0.4.6 +BUILD=5 + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: consolekit (user, login, and seat tracking framework) +${NAME}: +${NAME}: ConsoleKit is a framework for defining and tracking users, login +${NAME}: sessions, and seats. +${NAME}: +${NAME}: Homepage: http://freedesktop.org/wiki/Software/ConsoleKit +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +config() { + NEW="\$1" + OLD="\$(dirname \$NEW)/\$(basename \$NEW .new)" + # If there's no config file by that name, mv it over: + if [ ! -r \$OLD ]; then + mv \$NEW \$OLD + elif [ "\$(cat \$OLD | md5sum)" = "\$(cat \$NEW | md5sum)" ]; then + # toss the redundant copy + rm \$NEW + fi + # Otherwise, we leave the .new copy for the admin to consider... +} + +preserve_perms() { + NEW="\$1" + OLD="\$(dirname \$NEW)/\$(basename \$NEW .new)" + if [ -e \$OLD ]; then + cp -a \$OLD \${NEW}.incoming + cat \$NEW > \${NEW}.incoming + mv \${NEW}.incoming \$NEW + fi + config \$NEW +} + +config etc/ConsoleKit/seats.d/00-primary.seat.new +preserve_perms etc/rc.d/rc.consolekit.new +EOF + +# Sources + +SRCNAME[0]=ConsoleKit +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://www.freedesktop.org/software/ConsoleKit/dist/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="GPL2" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' libck-connector/Makefile.in +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --enable-static=no \ + --enable-shared=yes \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --libexecdir="${SYS_DIR[lib]}/exec" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-pid-file="${SYS_DIR[run]}/consolekit/pid" \ + --without-systemdsystemunitdir \ + --enable-pam-module=no +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +install.dir ${PKG}${SYS_DIR[etc]}/{rc.d,tmpfiles.d} +install.bin rc.consolekit.new ${PKG}${SYS_DIR[etc]}/rc.d +install.dat consolekit.conf.tmpfiles ${PKG}${SYS_DIR[etc]}/tmpfiles.d/consolekit.conf +install.dir ${PKG}${SYS_DIR[share]}/ConsoleKit/run-session.d +install.bin pam-foreground-compat.ck ${PKG}${SYS_DIR[share]}/ConsoleKit/run-session.d +config ${PKG}${SYS_DIR[etc]}/ConsoleKit/seats.d/00-primary.seat +mv \ + ${PKG}${SYS_DIR[etc]}/dbus-1/system.d/ConsoleKit.conf \ + ${PKG}${SYS_DIR[etc]}/dbus-1/system.d/org.freedesktop.ConsoleKit.conf +rm -rf \ + ${PKG}${SYS_DIR[var]}/run +# ${PKG}${SYS_DIR[man]} +} diff --git a/compat/dbus_glib/dbus_glib.build b/compat/dbus_glib/dbus_glib.build new file mode 100755 index 0000000..43c5ce2 --- /dev/null +++ b/compat/dbus_glib/dbus_glib.build @@ -0,0 +1,67 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=dbus_glib +VERSION=0.100.2 +BUILD=1 +DEPENDS=('dbus >= 1.4.24-1' 'glib >= 2.34.3-1') + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: D-BUS Glib +${NAME}: +${NAME}: D-BUS bindings for Glib. These are deprecated and replaced by gdbus +${NAME}: which is part of Glib. +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=dbus-glib +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://dbus.freedesktop.org/releases/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL2 AFL21" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --enable-static=no \ + --enable-shared=yes \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --libexecdir="${SYS_DIR[lib]}/exec" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-html-dir="${SYS_DIR[html]}" \ + --enable-bash-completion=no +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog ChangeLog +# No development docs +rm -rf ${PKG}${SYS_DIR[html]} +} diff --git a/compat/gconf/GConf-3.2.6-reload.patch.xz b/compat/gconf/GConf-3.2.6-reload.patch.xz Binary files differnew file mode 100644 index 0000000..5215ee9 --- /dev/null +++ b/compat/gconf/GConf-3.2.6-reload.patch.xz diff --git a/compat/gconf/GConf-3.2.6-xmlgettextdomain.patch.xz b/compat/gconf/GConf-3.2.6-xmlgettextdomain.patch.xz Binary files differnew file mode 100644 index 0000000..4af6c59 --- /dev/null +++ b/compat/gconf/GConf-3.2.6-xmlgettextdomain.patch.xz diff --git a/compat/gconf/gconf.build b/compat/gconf/gconf.build new file mode 100755 index 0000000..90dc67a --- /dev/null +++ b/compat/gconf/gconf.build @@ -0,0 +1,83 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=gconf +VERSION=3.2.6 +BUILD=1 +DEPENDS=('glib >= 2.34.3-1' 'dbus_glib >= 0.100.2-1' 'libxml >= 2.9.0-1' 'policykit >= 0.105-1') + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: gconf +${NAME}: +${NAME}: GConf is a configuration database system. It is deprecated and +${NAME}: provided only for compatibility with applications such as Google +${NAME}: Chrome. GSettings and dconf should be used to create new +${NAME}: applications. +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +export GIO_MODULE_DIR="${SYS_DIR[lib]}/plugins/gio-2.0" + +cat >> ${PKG}/install/doinst.sh <<EOF +# Add the gtk+ modules to the cache + +if [ -x ${SYS_DIR[bin]}/gio-querymodules ]; then + ${SYS_DIR[bin]}/gio-querymodules ${GIO_MODULE_DIR} +fi +EOF + +# Sources + +SRCNAME[0]=GConf +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[gnome]}/${SRCNAME[0]}/${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="LGPL2" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +sed -i 's|pkglibdir = $(libdir)/@PACKAGE@|pkglibdir = $(libdir)/plugins/@PACKAGE@|g' Makefile.in */Makefile.in */*/Makefile.in +sed -i 's|GIO_MODULE_DIR=$libdir/gio/modules|GIO_MODULE_DIR=$libdir/plugins/gio-2.0|g' configure +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --enable-static=no \ + --enable-shared=yes \ + --enable-debug=minimum \ + --enable-introspection=no \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --libexecdir="${SYS_DIR[lib]}/exec" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-html-dir="${SYS_DIR[html]}" \ + --with-openldap=no \ + --with-gtk=2.0 \ + --disable-orbit +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +# No development docs +rm -rf ${PKG}${SYS_DIR[html]} +} diff --git a/compat/libunique/libunique-1.1.6-autostuff.patch.xz b/compat/libunique/libunique-1.1.6-autostuff.patch.xz Binary files differnew file mode 100644 index 0000000..f25ccd2 --- /dev/null +++ b/compat/libunique/libunique-1.1.6-autostuff.patch.xz diff --git a/compat/libunique/libunique-1.1.6-gconstreturn.patch.xz b/compat/libunique/libunique-1.1.6-gconstreturn.patch.xz Binary files differnew file mode 100644 index 0000000..3d42901 --- /dev/null +++ b/compat/libunique/libunique-1.1.6-gconstreturn.patch.xz diff --git a/compat/libunique/libunique-1.1.6-gdbus.patch.xz b/compat/libunique/libunique-1.1.6-gdbus.patch.xz Binary files differnew file mode 100644 index 0000000..cd73c42 --- /dev/null +++ b/compat/libunique/libunique-1.1.6-gdbus.patch.xz diff --git a/compat/libunique/libunique.build b/compat/libunique/libunique.build new file mode 100755 index 0000000..b5e6bbf --- /dev/null +++ b/compat/libunique/libunique.build @@ -0,0 +1,68 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=libunique +MAJOR=1.1 +VERSION=${MAJOR}.6 +BUILD=2 +DEPENDS=('gtk+ >= 2.24.14-1') + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: libunique +${NAME}: +${NAME}: LibUnique is a library for writing single instance applications, that +${NAME}: is applications that are run once and every further call to the same +${NAME}: binary either exits immediately or sends a command to the running +${NAME}: instance. +${NAME}: +${NAME}: Homepage: http://live.gnome.org/LibUnique +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[gnome]}/${SRCNAME[0]}/${MAJOR}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="LGPL21" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --enable-maintainer-flags=no \ + --enable-static=no \ + --enable-shared=yes \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-html-dir="${SYS_DIR[html]}" \ + --disable-dbus +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +# No development docs +rm -rf ${PKG}${SYS_DIR[html]} +} diff --git a/compat/network_scripts/network_scripts.build b/compat/network_scripts/network_scripts.build new file mode 100755 index 0000000..c432616 --- /dev/null +++ b/compat/network_scripts/network_scripts.build @@ -0,0 +1,63 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=network_scripts +VERSION=14.00 +BUILD=1 +ARCH=noarch + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: network-scripts (Scripts to configure a network) +${NAME}: +${NAME}: These are the basic scripts and files used to define a network and +${NAME}: configure network interfaces on Linux. Most of the original /etc +${NAME}: files were written by Fred N. van Kempen, or borrowed from BSD. The +${NAME}: rc.inet1 and rc.inet2 scripts were mostly written by Patrick +${NAME}: Volkerding, with suggestions and fixes from hundreds of contributors +${NAME}: over the years. +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=network-scripts +SRCVERS[0]=${VERSION} +SRCPACK[0]=${SRCNAME[0]}-${SRCVERS[0]}.tar.xz + +build0() +{ +make install SBINDIR="/usr/sbin" DESTDIR="${PKG}" +install.dat doinst.sh ${PKG}/install +for file in \ + etc/HOSTNAME \ + etc/host.conf \ + etc/hosts \ + etc/hosts.allow \ + etc/hosts.deny \ + etc/hosts.equiv \ + etc/networks \ + etc/protocols \ + etc/nntpserver \ + etc/resolv.conf \ + etc/rc.d/rc.inet1.conf \ + etc/rc.d/rc.inet1 \ + etc/rc.d/rc.inet2 \ + etc/rc.d/rc.ip_forward; do + mv ${PKG}/${file} ${PKG}/${file}.new +done +} diff --git a/compat/pkgtools/pkgtools-14.0-gtar.patch.xz b/compat/pkgtools/pkgtools-14.0-gtar.patch.xz Binary files differnew file mode 100644 index 0000000..5497241 --- /dev/null +++ b/compat/pkgtools/pkgtools-14.0-gtar.patch.xz diff --git a/compat/pkgtools/pkgtools.build b/compat/pkgtools/pkgtools.build new file mode 100755 index 0000000..07b4a78 --- /dev/null +++ b/compat/pkgtools/pkgtools.build @@ -0,0 +1,82 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=pkgtools +VERSION=14.0 +BUILD=2 + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: pkgtools (The Slackware package maintenance system) +${NAME}: +${NAME}: This package contains utilities for handling Slackware packages. +${NAME}: Included are the command line utilities 'installpkg', 'removepkg', +${NAME}: 'makepkg', 'explodepkg', and 'upgradepkg' that install, remove, +${NAME}: build, examine, and upgrade software packages. Also included are +${NAME}: 'pkgtool', a menu based program for installing packages, removing +${NAME}: packages, or viewing the packages that are installed on the system, +${NAME}: documentation (man pages), and a few other system admin scripts. +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${SRCNAME[0]}-${SRCVERS[0]}.tar.xz + +build0() +{ +make install DESTDIR="${PKG}" +#FIXME: compat +install.dir ${PKG}/sbin +( + cd ${PKG}/sbin + ln -sf ${SYS_DIR[sbin]}/makebootdisk + ln -sf ${SYS_DIR[sbin]}/makepkg + ln -sf ${SYS_DIR[sbin]}/removepkg + ln -sf ${SYS_DIR[sbin]}/installpkg + ln -sf ${SYS_DIR[sbin]}/explodepkg + ln -sf ${SYS_DIR[sbin]}/pkgtool + ln -sf ${SYS_DIR[sbin]}/upgradepkg +) +} + +SRCNAME[1]=tar +SRCVERS[1]=1.13 +SRCPACK[1]=${URL[gnu]}/${SRCNAME[1]}/${SRCNAME[1]}-${SRCVERS[1]}.tar.gz +SRCCOPY[1]="GPL2" + +build1() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-nls \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --infodir="${SYS_DIR[info]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --program-prefix="g" \ + --program-suffix="-${SRCVERS[1]}" +make ${JOBS} V=1 +install.dir ${PKG}${SYS_DIR[bin]} +install.bin src/tar ${PKG}${SYS_DIR[bin]}/gtar-${SRCVERS[1]} +install.dir ${PKG}${SYS_DIR[man]}/man1 +echo ".so man1/gtar.1" > ${PKG}${SYS_DIR[man]}/man1/gtar-${SRCVERS[1]}.1 +} diff --git a/compat/pkgtools/tar-1.13-autostuff.patch.xz b/compat/pkgtools/tar-1.13-autostuff.patch.xz Binary files differnew file mode 100644 index 0000000..74894ed --- /dev/null +++ b/compat/pkgtools/tar-1.13-autostuff.patch.xz diff --git a/compat/pkgtools/tar-1.13-bzip2.patch.xz b/compat/pkgtools/tar-1.13-bzip2.patch.xz Binary files differnew file mode 100644 index 0000000..dd8bdeb --- /dev/null +++ b/compat/pkgtools/tar-1.13-bzip2.patch.xz diff --git a/compat/sysvinit/sysvinit-2.88dsf-install.patch.xz b/compat/sysvinit/sysvinit-2.88dsf-install.patch.xz Binary files differnew file mode 100644 index 0000000..185808a --- /dev/null +++ b/compat/sysvinit/sysvinit-2.88dsf-install.patch.xz diff --git a/compat/sysvinit/sysvinit-2.88dsf-paths.patch.xz b/compat/sysvinit/sysvinit-2.88dsf-paths.patch.xz Binary files differnew file mode 100644 index 0000000..09bc2d1 --- /dev/null +++ b/compat/sysvinit/sysvinit-2.88dsf-paths.patch.xz diff --git a/compat/sysvinit/sysvinit-2.88dsf-programs.patch.xz b/compat/sysvinit/sysvinit-2.88dsf-programs.patch.xz Binary files differnew file mode 100644 index 0000000..cab23b9 --- /dev/null +++ b/compat/sysvinit/sysvinit-2.88dsf-programs.patch.xz diff --git a/compat/sysvinit/sysvinit-2.88dsf-slackware.patch.xz b/compat/sysvinit/sysvinit-2.88dsf-slackware.patch.xz Binary files differnew file mode 100644 index 0000000..873068a --- /dev/null +++ b/compat/sysvinit/sysvinit-2.88dsf-slackware.patch.xz diff --git a/compat/sysvinit/sysvinit.build b/compat/sysvinit/sysvinit.build new file mode 100755 index 0000000..78cc210 --- /dev/null +++ b/compat/sysvinit/sysvinit.build @@ -0,0 +1,62 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=sysvinit +VERSION=2.88dsf +BUILD=1 + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: sysvinit (init, the parent of all processes) +${NAME}: +${NAME}: System V style init programs by Miquel van Smoorenburg that control +${NAME}: the booting and shutdown of your system. These support a number of +${NAME}: system runlevels, each with a specific set of utilities spawned. +${NAME}: For example, the normal system runlevel is 3, which starts agetty +${NAME}: on virtual consoles tty1 - tty6. Runlevel 4 starts xdm. +${NAME}: Runlevel 0 shuts the system down. +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://download.savannah.gnu.org/releases/sysvinit/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="GPL2" + +build0() +{ +make ${JOBS} CFLAGS="${FLAGS}" +make install ROOT="${PKG}" MANDIR="${SYS_DIR[man]}" +doc src/initscript.sample +changelog doc/Changelog +install.dat doinst.sh ${PKG}/install +mv ${PKG}/usr/sbin/init ${PKG}/usr/sbin/init.new +#FIXME: compat +( +install.dir ${PKG}/sbin +cd ${PKG}/sbin +for program in bootlogd halt init killall5 shutdown runlevel; do + ln -sf /usr/sbin/${program} +done +ln -sf /usr/sbin/init telinit +ln -sf /usr/sbin/halt reboot +ln -sf /usr/sbin/halt poweroff +ln -sf /usr/sbin/killall5 pidof +) +} diff --git a/compat/sysvinit_scripts/sysvinit-scripts-2.0-alsa.patch.xz b/compat/sysvinit_scripts/sysvinit-scripts-2.0-alsa.patch.xz Binary files differnew file mode 100644 index 0000000..9d77a89 --- /dev/null +++ b/compat/sysvinit_scripts/sysvinit-scripts-2.0-alsa.patch.xz diff --git a/compat/sysvinit_scripts/sysvinit-scripts-2.0-slim.patch.xz b/compat/sysvinit_scripts/sysvinit-scripts-2.0-slim.patch.xz Binary files differnew file mode 100644 index 0000000..d3819b6 --- /dev/null +++ b/compat/sysvinit_scripts/sysvinit-scripts-2.0-slim.patch.xz diff --git a/compat/sysvinit_scripts/sysvinit-scripts-2.0-tmpfilesd.patch.xz b/compat/sysvinit_scripts/sysvinit-scripts-2.0-tmpfilesd.patch.xz Binary files differnew file mode 100644 index 0000000..803c030 --- /dev/null +++ b/compat/sysvinit_scripts/sysvinit-scripts-2.0-tmpfilesd.patch.xz diff --git a/compat/sysvinit_scripts/sysvinit-scripts-2.0-tmpfilesscript.patch.xz b/compat/sysvinit_scripts/sysvinit-scripts-2.0-tmpfilesscript.patch.xz Binary files differnew file mode 100644 index 0000000..95878cd --- /dev/null +++ b/compat/sysvinit_scripts/sysvinit-scripts-2.0-tmpfilesscript.patch.xz diff --git a/compat/sysvinit_scripts/sysvinit_scripts.build b/compat/sysvinit_scripts/sysvinit_scripts.build new file mode 100755 index 0000000..4207c2d --- /dev/null +++ b/compat/sysvinit_scripts/sysvinit_scripts.build @@ -0,0 +1,73 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=sysvinit_scripts +MAJOR=2.0 +VERSION=${MAJOR} +BUILD=4 +ARCH=noarch + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: sysvinit_scripts (basic scripts used to boot your machine) +${NAME}: +${NAME}: These are the Slackware boot scripts, which are needed to start the +${NAME}: machine when not using systemd. Sysvinit looks for these in +${NAME}: /etc/rc.d/. +${NAME}: +${NAME}: This package is obsolete and has been replaced by systemd. +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +config() { + NEW="\$1" + OLD="\$(dirname \$NEW)/\$(basename \$NEW .new)" + # If there's no config file by that name, mv it over: + if [ ! -r \$OLD ]; then + mv \$NEW \$OLD + elif [ "\$(cat \$OLD | md5sum)" = "\$(cat \$NEW | md5sum)" ]; then + # toss the redundant copy + rm \$NEW + fi + # Otherwise, we leave the .new copy for the admin to consider... +} + +config etc/inittab.new +config etc/rc.d/rc.4.new +config etc/rc.d/rc.6.new +config etc/rc.d/rc.K.new +config etc/rc.d/rc.M.new +config etc/rc.d/rc.S.new +config etc/rc.d/rc.local.new +config etc/rc.d/rc.loop.new +config etc/rc.d/rc.sysvinit.new +EOF + +# Sources + +SRCNAME[0]=sysvinit-scripts +SRCVERS[0]=${VERSION} +SRCPACK[0]=${SRCNAME[0]}-${SRCVERS[0]}.tar.xz + +build0() +{ +make install DESTDIR="${PKG}" +} |