diff options
Diffstat (limited to 'base')
328 files changed, 8084 insertions, 0 deletions
diff --git a/base/audit/audit-2.2.3-logdir.patch.xz b/base/audit/audit-2.2.3-logdir.patch.xz Binary files differnew file mode 100644 index 0000000..8bdab8f --- /dev/null +++ b/base/audit/audit-2.2.3-logdir.patch.xz diff --git a/base/audit/audit-2.2.3-sysvinit.patch.xz b/base/audit/audit-2.2.3-sysvinit.patch.xz Binary files differnew file mode 100644 index 0000000..a84239d --- /dev/null +++ b/base/audit/audit-2.2.3-sysvinit.patch.xz diff --git a/base/audit/audit.build b/base/audit/audit.build new file mode 100755 index 0000000..2ab9e24 --- /dev/null +++ b/base/audit/audit.build @@ -0,0 +1,115 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=audit +VERSION=2.2.3 +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}: audit +${NAME}: +${NAME}: User space utilities for storing and searching the audit records +${NAME}: generated by the audit subsystem in the Linux 2.6 kernel. +${NAME}: +${NAME}: Homepage: http://people.redhat.com/sgrubb/audit +${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... +} + +config etc/libaudit.conf.new +config etc/audit/auditd.conf.new +config etc/audit/audit.rules.new +config etc/audisp/audisp-remote.conf.new +config etc/audisp/audispd.conf.new +#config etc/audisp/zos-remote.conf.new +config etc/rc.d/rc.auditd.new +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://people.redhat.com/sgrubb/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL2" + +build0() +{ +sed -i 's|/usr/lib/systemd/system|/usr/share/systemd/system|g' init.d/Makefile.in +sed -i 's|SUBDIRS = builtins zos-remote remote|SUBDIRS = builtins remote|g' audisp/plugins/Makefile.in +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]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --without-python \ + --with-libcap-ng=auto \ + --with-libwrap="${SYS_DIR[usr]}" \ + --enable-systemd +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog ChangeLog +install.dir ${PKG}${SYS_DIR[etc]}/rc.d +install.cfg rc.auditd ${PKG}${SYS_DIR[etc]}/rc.d/rc.auditd.new +mv \ + ${PKG}${SYS_DIR[etc]}/libaudit.conf \ + ${PKG}${SYS_DIR[etc]}/libaudit.conf.new +mv \ + ${PKG}${SYS_DIR[etc]}/audit/auditd.conf \ + ${PKG}${SYS_DIR[etc]}/audit/auditd.conf.new +mv \ + ${PKG}${SYS_DIR[etc]}/audit/audit.rules \ + ${PKG}${SYS_DIR[etc]}/audit/audit.rules.new +mv \ + ${PKG}${SYS_DIR[etc]}/audisp/audisp-remote.conf \ + ${PKG}${SYS_DIR[etc]}/audisp/audisp-remote.conf.new +mv \ + ${PKG}${SYS_DIR[etc]}/audisp/audispd.conf \ + ${PKG}${SYS_DIR[etc]}/audisp/audispd.conf.new +#mv \ +# ${PKG}${SYS_DIR[etc]}/audisp/zos-remote.conf \ +# ${PKG}${SYS_DIR[etc]}/audisp/zos-remote.conf.new +rm -rf \ + ${PKG}${SYS_DIR[etc]}/rc.d/init.d \ + ${PKG}${SYS_DIR[etc]}/sysconfig \ + ${PKG}${SYS_DIR[man]}/man?/*zos-remote* \ + ${PKG}${SYS_DIR[lib]}/python*/site-packages/audit.py? +} diff --git a/base/avahi/avahi-0.6.31-config.patch.xz b/base/avahi/avahi-0.6.31-config.patch.xz Binary files differnew file mode 100644 index 0000000..5439b15 --- /dev/null +++ b/base/avahi/avahi-0.6.31-config.patch.xz diff --git a/base/avahi/avahi-0.6.31-desktopfiles.patch.xz b/base/avahi/avahi-0.6.31-desktopfiles.patch.xz Binary files differnew file mode 100644 index 0000000..cff9576 --- /dev/null +++ b/base/avahi/avahi-0.6.31-desktopfiles.patch.xz diff --git a/base/avahi/avahi-0.6.31-rundir.patch.xz b/base/avahi/avahi-0.6.31-rundir.patch.xz Binary files differnew file mode 100644 index 0000000..bf848eb --- /dev/null +++ b/base/avahi/avahi-0.6.31-rundir.patch.xz diff --git a/base/avahi/avahi-0.6.31-systembussocket.patch.xz b/base/avahi/avahi-0.6.31-systembussocket.patch.xz Binary files differnew file mode 100644 index 0000000..7458278 --- /dev/null +++ b/base/avahi/avahi-0.6.31-systembussocket.patch.xz diff --git a/base/avahi/avahi.build b/base/avahi/avahi.build new file mode 100755 index 0000000..4ce55b7 --- /dev/null +++ b/base/avahi/avahi.build @@ -0,0 +1,186 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=avahi +VERSION=0.6.31 +BUILD=2 +DEPENDS=('libdaemon >= 0.14-1' 'expat >= 2.1.0-1' 'gdbm >= 1.10-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}: avahi +${NAME}: +${NAME}: A free Zeroconf implementation, including a system for multicast +${NAME}: DNS/DNS-SD service discovery. It allows programs to publish and +${NAME}: discover services and hosts running on a local network with no +${NAME}: specific configuration. For example, a user can plug their computer +${NAME}: into a network and Avahi automatically finds printers to print to, +${NAME}: files to look at and people to talk to, as well as advertising the +${NAME}: network services running on the machine. +${NAME}: +${NAME}: Homepage: http://avahi.org +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/rc.d/rc.avahidaemon.new +config etc/rc.d/rc.avahidnsconfd.new +config etc/avahi/avahi-daemon.conf.new +config etc/mdns.allow.new + +# If the avahi users/groups don't exist add them + +if grep "^avahi:x:" etc/passwd 1> /dev/null 2> /dev/null ; then + true +else + echo "avahi:x:61:61:avahi:/:/bin/false" >> etc/passwd +fi +if grep "^avahi::" etc/group 1> /dev/null 2> /dev/null ; then + true +else + echo "avahi::61:avahi" >> etc/group +fi +if grep "^avahi:" etc/shadow 1> /dev/null 2> /dev/null ; then + true +else + echo "avahi:*:9797:0:::::" >> etc/shadow +fi + +if grep "^autoipd:x:" etc/passwd 1> /dev/null 2> /dev/null ; then + true +else + echo "autoipd:x:62:62:autoipd:/:/bin/false" >> etc/passwd +fi +if grep "^autoipd::" etc/group 1> /dev/null 2> /dev/null ; then + true +else + echo "autoipd::62:autoipd" >> etc/group +fi +if grep "^autoipd:" etc/shadow 1> /dev/null 2> /dev/null ; then + true +else + echo "autoipd:*:9797:0:::::" >> etc/shadow +fi +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://avahi.org/download/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="LGPL21" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.{am,in} +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --enable-static=no \ + --enable-shared=yes \ + --enable-introspection=no \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --disable-qt3 \ + --disable-qt4 \ + --disable-python \ + --disable-python-dbus \ + --disable-pygtk \ + --disable-mono \ + --disable-monodoc \ + --with-distro=slackware \ + --with-systemdsystemunitdir="${SYS_DIR[systemdsystemunitdir]}" \ + --with-xml=expat \ + --with-avahi-user=avahi \ + --with-avahi-group=avahi \ + --with-autoipd-user=autoipd \ + --with-autoipd-group=autoipd \ + --with-avahi-priv-access-group=netdev +make ${JOBS} +make install DESTDIR="${PKG}" +install.cfg mdns.allow.new ${PKG}${SYS_DIR[etc]} +for manpage in \ + avahi-browse-domains avahi-publish-address avahi-publish-service \ + avahi-resolve-address avahi-resolve-host-name bvnc; do + rm -f ${PKG}${SYS_DIR[man]}/man?/${manpage}.? +done +( + cd ${PKG}${SYS_DIR[man]}/man1 + echo ".so man/man1/avahi-browse.1" > avahi-browse-domains.1 + echo ".so man/man1/avahi-publish.1" > avahi-publish-address.1 + echo ".so man/man1/avahi-publish.1" > avahi-publish-service.1 + echo ".so man/man1/avahi-resolve.1" > avahi-resolve-address.1 + echo ".so man/man1/avahi-resolve.1" > avahi-resolve-host-name.1 + echo ".so man/man1/bssh.1" > bvnc.1 +) +config ${PKG}${SYS_DIR[etc]}/rc.d/rc.avahidaemon +config ${PKG}${SYS_DIR[etc]}/rc.d/rc.avahidnsconfd +config ${PKG}${SYS_DIR[etc]}/avahi/avahi-daemon.conf +rm -rf \ + ${PKG}${SYS_DIR[var]} \ + ${PKG}${SYS_DIR[lib]}/avahi +} + +SRCNAME[1]=nss-mdns +SRCVERS[1]=0.10 +SRCPACK[1]=http://0pointer.de/lennart/projects/${SRCNAME[1]}/${SRCNAME[1]}-${SRCVERS[1]}.tar.gz +SRCCOPY[1]="LGPL21" + +build1() +{ +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]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --disable-lynx \ + --enable-avahi +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc README +#FIXME: compat +( + install.dir ${PKG}/lib64 + cd ${PKG}/lib64 + for link in libnss_mdns{4,6,,_minimal,{4,6}_minimal}.so.2; do + ln -sf ${SYS_DIR[lib]}/${link} + done +) +} diff --git a/base/bash/bash-4.2-man.patch.xz b/base/bash/bash-4.2-man.patch.xz Binary files differnew file mode 100644 index 0000000..7171ecb --- /dev/null +++ b/base/bash/bash-4.2-man.patch.xz diff --git a/base/bash/bash-4.2-paths.patch.xz b/base/bash/bash-4.2-paths.patch.xz Binary files differnew file mode 100644 index 0000000..7d0b01d --- /dev/null +++ b/base/bash/bash-4.2-paths.patch.xz diff --git a/base/bash/bash-4.2-pgrpsync.patch.xz b/base/bash/bash-4.2-pgrpsync.patch.xz Binary files differnew file mode 100644 index 0000000..869cbed --- /dev/null +++ b/base/bash/bash-4.2-pgrpsync.patch.xz diff --git a/base/bash/bash-4.2-readlineoom.patch.xz b/base/bash/bash-4.2-readlineoom.patch.xz Binary files differnew file mode 100644 index 0000000..8e58b9d --- /dev/null +++ b/base/bash/bash-4.2-readlineoom.patch.xz diff --git a/base/bash/bash-4.2-security.patch.xz b/base/bash/bash-4.2-security.patch.xz Binary files differnew file mode 100644 index 0000000..3b38b1b --- /dev/null +++ b/base/bash/bash-4.2-security.patch.xz diff --git a/base/bash/bash-4.2-update045.patch.xz b/base/bash/bash-4.2-update045.patch.xz Binary files differnew file mode 100644 index 0000000..44ca452 --- /dev/null +++ b/base/bash/bash-4.2-update045.patch.xz diff --git a/base/bash/bash.build b/base/bash/bash.build new file mode 100755 index 0000000..28d4a75 --- /dev/null +++ b/base/bash/bash.build @@ -0,0 +1,114 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=bash +MAJOR=4.2 +VERSION=${MAJOR}.45 +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}: bash (sh-compatible shell) +${NAME}: +${NAME}: The GNU Bourne-Again SHell. Bash is a sh-compatible command +${NAME}: interpreter that executes commands read from the standard input or +${NAME}: from a file. Bash also incorporates useful features from the Korn +${NAME}: and C shells (ksh and csh). Bash is ultimately intended to be a +${NAME}: conformant implementation of the IEEE Posix Shell and Tools +${NAME}: specification (IEEE Working Group 1003.2). +${NAME}: +${NAME}: Bash must be present for the system to boot properly. +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +# Install texinfo files + +install_info() +{ + for file in "\${*}"; do + if [ -x usr/bin/install-info ]; then + usr/bin/install-info --info-dir=usr/share/info usr/share/info/\${file}.info.xz 2> /dev/null + fi + done +} + +install_info bash + +if [ -r usr/bin/bash ]; then + mv usr/bin/bash usr/bin/bash.old +fi + +mv usr/bin/bash4.new usr/bin/bash + +if [ -f usr/bin/bash.old ]; then + rm -f usr/bin/bash.old +fi + +if [ ! -r etc/shells ]; then + touch etc/shells + chmod 0644 etc/shells +fi + +if fgrep "/usr/bin/bash" etc/shells 1> /dev/null 2> /dev/null ; then + true +else + echo "/usr/bin/bash" >> etc/shells +fi + +if fgrep "/usr/bin/rbash" etc/shells 1> /dev/null 2> /dev/null ; then + true +else + echo "/usr/bin/rbash" >> etc/shells +fi +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${MAJOR} +SRCPACK[0]=ftp://ftp.gnu.org/gnu/bash/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL3" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --infodir="${SYS_DIR[info]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --bindir="${SYS_DIR[bin]}" \ + --with-curses +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS COMPAT +changelog NEWS +install.man doc/*.1 ${PKG}${SYS_DIR[man]}/man1 +mv ${PKG}${SYS_DIR[bin]}/bash ${PKG}${SYS_DIR[bin]}/bash4.new +rm -f \ + ${PKG}${SYS_DIR[bin]}/bashbug \ + ${PKG}${SYS_DIR[man]}/man1/bashbug.1 +#FIXME: compat +( + cd ${PKG}${SYS_DIR[bin]} + ln -sf bash rbash + ln -sf bash sh +) +} diff --git a/base/bin/adjtimex-1.29-install.patch.xz b/base/bin/adjtimex-1.29-install.patch.xz Binary files differnew file mode 100644 index 0000000..8645c20 --- /dev/null +++ b/base/bin/adjtimex-1.29-install.patch.xz diff --git a/base/bin/bin.build b/base/bin/bin.build new file mode 100755 index 0000000..295ff46 --- /dev/null +++ b/base/bin/bin.build @@ -0,0 +1,836 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=bin +VERSION=$(date +%Y%m%d) +BUILD=2 +DEPENDS=('udev >= 173-1' 'pam >= 1.1.6-1') +OPTDEPENDS=('libxml >= 2.9.0-2' 'xz >= 5.0.4-1' 'bzip2 >= 1.0.6-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}: bin (a huge collection of essential utilities) +${NAME}: +${NAME}: The bin package is a huge collection of random utilities that +${NAME}: are essential to run a Linux system. +${NAME}: +${NAME}: +${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... +} + +install_info() +{ + for file in "\${*}"; do + if [ -x usr/bin/install-info ]; then + usr/bin/install-info --info-dir=usr/share/info usr/share/info/\${file}.info.xz 2> /dev/null + fi + done +} + +# Keep same perms on rc.serial.new: + +if [ -e etc/rc.d/rc.serial ]; then + cp -a etc/rc.d/rc.serial etc/rc.d/rc.serial.new.incoming + cat etc/rc.d/rc.serial.new > etc/rc.d/rc.serial.new.incoming + mv etc/rc.d/rc.serial.new.incoming etc/rc.d/rc.serial.new +fi + +config etc/rc.d/rc.serial.new +config etc/serial.conf.new +config etc/conf.d/dircolors.conf.new +config etc/login.defs.new +config etc/default/useradd.new +config etc/pam.d/chage.new +config etc/pam.d/chfn.new +config etc/pam.d/chgpasswd.new +config etc/pam.d/chpasswd.new +config etc/pam.d/chsh.new +config etc/pam.d/groupadd.new +config etc/pam.d/groupdel.new +config etc/pam.d/groupmems.new +config etc/pam.d/groupmod.new +config etc/pam.d/login.new +config etc/pam.d/newusers.new +config etc/pam.d/passwd.new +config etc/pam.d/shadow.new +config etc/pam.d/su.new +config etc/pam.d/su-l.new +config etc/pam.d/useradd.new +config etc/pam.d/userdel.new +config etc/pam.d/usermod.new +config var/log/faillog.new +rm -f var/log/faillog.new + +# Install texinfo files + +install_info coreutils grep sed find find-maint which +EOF + +#NOTE: maybe merge moreutils, kmod and gzip ? + +# Sources + +SRCNAME[0]=attr +SRCVERS[0]=2.4.47 +SRCPACK[0]=http://download.savannah.gnu.org/releases/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.src.tar.gz +SRCCOPY[0]="GPL2 LGPL21" + +build0() +{ +export INSTALL_USER="root" INSTALL_GROUP="root" +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --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]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} +make install install-lib install-dev DESTDIR="${PKG}" +changelog doc/CHANGES +for i in get list multi remove set; do + man="attr_${i}.3" + manf="attr_${i}f.3" + rm -f ${PKG}${SYS_DIR[man]}/man3/${manf} + echo ".so man3/${man}" > ${PKG}${SYS_DIR[man]}/man3/${manf} +done +chmod 0755 ${PKG}${SYS_DIR[lib]}/libattr.so.*.*.* +rm -rf \ + ${PKG}${SYS_DIR[lib]}/libattr.a \ + ${PKG}${SYS_DIR[doc]}/${SRCNAME[0]} \ + ${PKG}${SYS_DIR[man]}/man2 +} + +SRCNAME[1]=acl +SRCVERS[1]=2.2.52 +SRCPACK[1]=http://download.savannah.gnu.org/releases/${SRCNAME[1]}/${SRCNAME[1]}-${SRCVERS[1]}.src.tar.gz +SRCCOPY[1]="GPL2 LGPL21" + +build1() +{ +export INSTALL_USER="root" INSTALL_GROUP="root" +CPPFLAGS="-I${PKG}${SYS_DIR[include]}" \ +LDFLAGS="-L${PKG}${SYS_DIR[lib]}" \ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --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]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} +make install install-lib install-dev DESTDIR="${PKG}" +changelog doc/CHANGES +rm -f ${PKG}${SYS_DIR[man]}/man3/acl_extended_file_nofollow.3 +echo ".so man3/acl_extended_file.3" > ${PKG}${SYS_DIR[man]}/man3/acl_extended_file_nofollow.3 +chmod 0755 ${PKG}${SYS_DIR[lib]}/libacl.so.*.*.* +rm -rf ${PKG}${SYS_DIR[doc]}/${SRCNAME[1]} +} + +SRCNAME[2]=libcap-ng +SRCVERS[2]=0.7.3 +SRCPACK[2]=http://people.redhat.com/sgrubb/${SRCNAME[2]}/${SRCNAME[2]}-${SRCVERS[2]}.tar.gz +SRCCOPY[2]="GPL2 LGPL21" + +build2() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' src/Makefile.in +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]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-python=no +#FIXME: audit should use pkgconfig to find libcap-ng +#--includedir=/usr/include/cap-ng +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog ChangeLog +} + +SRCNAME[3]=libcap +SRCVERS[3]=2.22 +SRCPACK[3]=ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${SRCNAME[3]}-${SRCVERS[3]}.tar.bz2 +SRCCOPY[3]="GPL2" + +build3() +{ +sed -i 's|$(LIBDIR)/security|$(LIBDIR)/plugins/security|g' pam_cap/Makefile +make ${JOBS} CFLAGS="${FLAGS}" lib="lib" +make install DESTDIR="${PKG}" \ + RAISE_SETFCAP="no" MANDIR="${PKG}${SYS_DIR[man]}" \ + prefix="${SYS_DIR[usr]}" lib="lib" +doc README +license License +chmod 0755 ${PKG}${SYS_DIR[lib]}/libcap.so.?.?? +rm -f ${PKG}${SYS_DIR[lib]}/libcap.a +} + +SRCNAME[4]=shadow +SRCVERS[4]=4.1.5.1 +SRCPACK[4]=http://pkg-shadow.alioth.debian.org/releases/${SRCNAME[4]}-${SRCVERS[4]}.tar.bz2 + +build4() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-rpath \ + --enable-static=no \ + --enable-shared=yes \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --docdir="${SYS_DIR[doc]}/${SRCNAME[4]}-${SRCVERS[4]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --without-selinux \ + --without-audit \ + --without-libcrack \ + --with-libpam \ + --with-group-name-max-length=32 +make ${JOBS} +make install DESTDIR="${PKG}" +changelog NEWS +license COPYING +install.dir ${PKG}${SYS_DIR[var]}/log +touch ${PKG}${SYS_DIR[var]}/log/faillog.new +install.bin adduser ${PKG}${SYS_DIR[sbin]} +#FIXME: compat +( + cd ${PKG}${SYS_DIR[bin]} + ln -s ${SYS_DIR[sbin]}/faillog + ln -s ${SYS_DIR[sbin]}/lastlog + mv newgrp sg +) +install.dir ${PKG}/sbin +( + cd ${PKG}/sbin + ln -s ${SYS_DIR[sbin]}/nologin +) +} + +SRCNAME[5]=util-linux +SRCVERS[5]=2.23.1 +SRCPACK[5]=http://www.kernel.org/pub/linux/utils/${SRCNAME[5]}/v${SRCVERS[5]}/${SRCNAME[5]}-${SRCVERS[5]}.tar.xz +SRCCOPY[5]="GPL3 GPL2 LGPL2 LGPL21 BSD4" + +build5() +{ +sed -i 's|$(usrlib_execdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --disable-rpath \ + --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]}" \ + --bindir="${SYS_DIR[bin]}" \ + --sbindir="${SYS_DIR[sbin]}" \ + --with-systemdsystemunitdir="${SYS_DIR[systemdsystemunitdir]}" \ + --disable-uuidd \ + --disable-last \ + --enable-fs-paths-default="/usr/sbin:/sbin:/sbin/fs.d:/sbin/fs" \ + --enable-libblkid \ + --enable-libmount \ + --enable-libuuid \ + --enable-agetty \ + --enable-chfn-chsh \ + --enable-line \ + --enable-mesg \ + --enable-newgrp \ + --enable-raw \ + --enable-rename \ + --enable-reset \ + --enable-schedutils \ + --enable-tunelp \ + --enable-vipw \ + --enable-wall \ + --enable-write \ + --enable-use-tty-group +#FIXME: Remove in 'last' from sysvinit ? (--disable-last) +#FIXME: systemd --enable-socket-activation --> when switching to systemd +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +#rm -rf ${PKG}${SYS_DIR[man]}/ru +#FIXME: compat +( + cd ${PKG}${SYS_DIR[bin]} + ln -sf ${SYS_DIR[sbin]}/fdformat + ln -sf ${SYS_DIR[sbin]}/readprofile + ln -sf ${SYS_DIR[sbin]}/tunelp + ln -sf ${SYS_DIR[sbin]}/raw + ln -sf ${SYS_DIR[sbin]}/sulogin + cd ${PKG}${SYS_DIR[sbin]} + ln -sf hwclock clock + ln -sf ${SYS_DIR[bin]}/mount + ln -sf ${SYS_DIR[bin]}/umount + cd ${PKG}${SYS_DIR[man]}/man8 + echo ".so man1/hwclock.8" > clock.8 + + install.dir ${PKG}/sbin + cd ${PKG}/sbin + ln -sf ${SYS_DIR[bin]}/mount + ln -sf ${SYS_DIR[bin]}/umount + ln -sf ${SYS_DIR[sbin]}/ctrlaltdel + ln -sf ${SYS_DIR[sbin]}/blkid + ln -sf ${SYS_DIR[sbin]}/fdisk + ln -sf ${SYS_DIR[sbin]}/fsck.minix + ln -sf ${SYS_DIR[sbin]}/switch_root + ln -sf ${SYS_DIR[sbin]}/mkfs.bfs + ln -sf ${SYS_DIR[sbin]}/mkfs + ln -sf ${SYS_DIR[sbin]}/cfdisk + ln -sf ${SYS_DIR[sbin]}/hwclock + ln -sf ${SYS_DIR[sbin]}/hwclock clock + ln -sf ${SYS_DIR[sbin]}/raw + ln -sf ${SYS_DIR[sbin]}/mkswap + ln -sf ${SYS_DIR[sbin]}/agetty + ln -sf ${SYS_DIR[sbin]}/fsck.cramfs + ln -sf ${SYS_DIR[sbin]}/losetup + ln -sf ${SYS_DIR[sbin]}/findfs + ln -sf ${SYS_DIR[sbin]}/mkfs.cramfs + ln -sf ${SYS_DIR[sbin]}/fsfreeze + ln -sf ${SYS_DIR[sbin]}/sfdisk + ln -sf ${SYS_DIR[sbin]}/fstrim + ln -sf ${SYS_DIR[sbin]}/swapon + ln -sf ${SYS_DIR[sbin]}/swapon swapoff + ln -sf ${SYS_DIR[sbin]}/fsck + ln -sf ${SYS_DIR[sbin]}/mkfs.minix + ln -sf ${SYS_DIR[sbin]}/swaplabel + ln -sf ${SYS_DIR[sbin]}/wipefs + ln -sf ${SYS_DIR[sbin]}/pivot_root + ln -sf ${SYS_DIR[sbin]}/blockdev + ln -sf ${SYS_DIR[sbin]}/sulogin +) +} + +SRCNAME[6]=procps-ng +SRCVERS[6]=3.3.8 +SRCPACK[6]=${URL[sf]}/${SRCNAME[6]}/Production/${SRCNAME[6]}-${SRCVERS[6]}.tar.xz +SRCCOPY[6]="GPL2 LGPL2" + +build6() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' proc/Makefile.in +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-rpath \ + --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]}" \ + --docdir="${SYS_DIR[doc]}/${SRCNAME[5]}-${SRCVERS[5]}" \ + --disable-kill \ + --disable-skill \ + --enable-w-from \ + --enable-watch8bit +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +#FIXME: everything should end up in /usr not /usr/usr +#FIXME: systemd (--with-systemd) +mv ${PKG}${SYS_DIR[usr]}/usr/bin/* ${PKG}${SYS_DIR[bin]} +rm -rf ${PKG}${SYS_DIR[usr]}/usr +( + cd ${PKG}${SYS_DIR[bin]} + ln -sf pkill pgrep +) +} + +SRCNAME[7]=procinfo-ng +SRCVERS[7]=2.0.304 +SRCPACK[7]=${URL[sf]}/procinfo-ng/${SRCNAME[7]}/${SRCVERS[7]}/${SRCNAME[7]}-${SRCVERS[7]}.tar.bz2 +SRCCOPY[7]="GPL2 LGPL21" + +build7() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} +make install DESTDIR="${PKG}" +} + +SRCNAME[8]=psmisc +SRCVERS[8]=22.20 +SRCPACK[8]=${URL[sf]}/psmisc/${SRCNAME[8]}/${SRCNAME[8]}-${SRCVERS[8]}.tar.gz +SRCCOPY[8]="GPL2" + +build8() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-rpath \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog ChangeLog +echo ".so man1/pstree.1" > ${PKG}${SYS_DIR[man]}/man1/pstree.x11.1 +} + +SRCNAME[9]=sysfsutils +SRCVERS[9]=2.1.0 +SRCPACK[9]=${URL[sf]}/linux-diag/${SRCNAME[9]}-${SRCVERS[9]}.tar.gz +SRCCOPY[9]="GPL2 LGPL21" + +build9() +{ +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]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS CREDITS docs/libsysfs.txt +changelog ChangeLog +} + +SRCNAME[10]=inotify-tools +SRCVERS[10]=3.14 +SRCPACK[10]=http://github.com/downloads/rvoicilas/${SRCNAME[10]}/${SRCNAME[10]}-${SRCVERS[10]}.tar.gz +SRCCOPY[10]="GPL2" + +build10() +{ +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]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +rm -rf ${PKG}${SYS_DIR[doc]}/${SRCNAME[10]} +} + +SRCNAME[11]=less +SRCVERS[11]=458 +SRCPACK[11]=http://www.greenwoodsoftware.com/less/${SRCNAME[11]}-${SRCVERS[11]}.tar.gz +SRCCOPY[11]="GPL3 BSD2" + +build11() +{ +chmod 0644 * +chmod 0755 configure mkinstalldirs *.sh +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[conf]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-regex=posix \ + --with-editor="${SYS_DIR[bin]}/vi" +make ${JOBS} +make install DESTDIR="${PKG}" +changelog NEWS +install.bin lesspipe.sh ${PKG}${SYS_DIR[bin]} +} + +SRCNAME[12]=tree +SRCVERS[12]=1.6.0 +SRCPACK[12]=ftp://mama.indstate.edu/linux/tree/${SRCNAME[12]}-${SRCVERS[12]}.tgz +SRCCOPY[12]="GPL2" + +build12() +{ +make ${JOBS} OPTS="${FLAGS}" +make install prefix="${PKG}${SYS_DIR[usr]}" MANDIR="${PKG}${SYS_DIR[man]}/man1" +doc README +changelog CHANGES +} + +SRCNAME[13]=which +SRCVERS[13]=2.20 +SRCPACK[13]=http://carlo17.home.xs4all.nl/${SRCNAME[13]}/${SRCNAME[13]}-${SRCVERS[13]}.tar.gz +SRCCOPY[13]="GPL3" + +build13() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --infodir="${SYS_DIR[info]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +} + +SRCNAME[14]=libarchive +SRCVERS[14]=3.1.2 +SRCPACK[14]=http://libarchive.googlecode.com/files/${SRCNAME[14]}-${SRCVERS[14]}.tar.gz +SRCCOPY[14]="BSD2" + +build14() +{ +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]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --libdir="${SYS_DIR[lib]}" \ + --includedir="${SYS_DIR[include]}/archive" \ + --enable-posix-regex-lib=libc \ + --enable-bsdtar=shared \ + --enable-bsdcpio=shared \ + --without-expat \ + --without-openssl \ + --without-lzo2 +#NOTE: can it replace uu{en,de}code ? +#FIXME: Use CMake +#cmake \ +# -DENABLE_NETTLE:BOOL="on" \ +# -DENABLE_OPENSSL:BOOL="off" \ +# -DENABLE_TAR_SHARED:BOOL="on" \ +# -DENABLE_CPIO_SHARED:BOOL="on" \ +# -DENABLE_XATTR:BOOL="on" \ +# -DENABLE_ACL:BOOL="on" \ +# -DENABLE_ICONV:BOOL="on" \ +#CMakeLists.txt +make ${JOBS} V=1 +make check +make install DESTDIR="${PKG}" +changelog NEWS +} + +SRCNAME[15]=debianutils +SRCVERS[15]=4.3.4 +SRCPACK[15]=http://ftp.de.debian.org/debian/pool/main/d/${SRCNAME[15]}/${SRCNAME[15]}_${SRCVERS[15]}.tar.gz + +build15() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} +make install DESTDIR="${PKG}" +#FIXME: replace the slackware run-parts hack with this one +rm -f \ + ${PKG}${SYS_DIR[bin]}/run-parts \ + ${PKG}${SYS_DIR[sbin]}/installkernel \ + ${PKG}${SYS_DIR[man]}/man{1,8}/{run-parts,installkernel}.? \ + ${PKG}${SYS_DIR[man]}/??/man{1,8}/{run-parts,installkernel}.? +} + +SRCNAME[16]=coreutils +SRCVERS[16]=8.21 +SRCPACK[16]=http://ftp.gnu.org/gnu/${NAME}/${SRCNAME[16]}-${SRCVERS[16]}.tar.xz +SRCCOPY[16]="GPL3" + +build16() +{ +FORCE_UNSAFE_CONFIGURE=1 \ +DEFAULT_POSIX2_VERSION=199209 \ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --disable-rpath \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --infodir="${SYS_DIR[info]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --libdir="${SYS_DIR[lib]}" \ + --libexecdir="${SYS_DIR[lib]}/exec" \ + --bindir="${SYS_DIR[bin]}" \ + --enable-no-install-program="hostname,kill,uptime" \ + --without-gmp +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog NEWS +install.dir ${PKG}${SYS_DIR[etc]}/{profile.d,conf.d} +install.cfg dircolors.conf ${PKG}${SYS_DIR[conf]}/dircolors.conf.new +install.bin dircolors.sh ${PKG}${SYS_DIR[etc]}/profile.d +install.bin dircolors.csh ${PKG}${SYS_DIR[etc]}/profile.d +( + cd ${PKG}${SYS_DIR[bin]} + ln -sf install ginstall + ln -sf uname arch + cd ${PKG}${SYS_DIR[man]}/man1 + echo ".so man1/install.1" > ginstall.1 + echo ".so man1/uname.1" > arch.1 +) +rm -rf \ + ${PKG}${SYS_DIR[share]}/locale/*/LC_TIME +} + +SRCNAME[17]=findutils +SRCVERS[17]=4.4.2 +SRCPACK[17]=${URL[gnu]}/${SRCNAME[17]}/${SRCNAME[17]}-${SRCVERS[17]}.tar.gz +SRCCOPY[17]="GPL3" + +build17() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-rpath \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --infodir="${SYS_DIR[info]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog NEWS +} + +SRCNAME[18]=grep +SRCVERS[18]=2.14 +SRCPACK[18]=${URL[gnu]}/${SRCNAME[18]}/${SRCNAME[18]}-${SRCVERS[18]}.tar.xz +SRCCOPY[18]="GPL3" + +build18() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --disable-rpath \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --infodir="${SYS_DIR[info]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} V=1 LIB_PCRE=${SYS_DIR[lib]}/libpcre.a +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog NEWS +} + +SRCNAME[19]=sed +SRCVERS[19]=4.2.2 +SRCPACK[19]=${URL[gnu]}/${SRCNAME[19]}/${SRCNAME[19]}-${SRCVERS[19]}.tar.bz2 +SRCCOPY[19]="GPL3 FDL13" + +build19() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-rpath \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --infodir="${SYS_DIR[info]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog NEWS +} + +SRCNAME[20]=adjtimex +SRCVERS[20]=1.29 +SRCPACK[20]=http://security.ubuntu.com/ubuntu/pool/universe/a/${SRCNAME[20]}/${SRCNAME[20]}_${SRCVERS[20]}.orig.tar.gz +SRCCOPY[20]="GPL2" + +build20() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --sbindir="${SYS_DIR[sbin]}" +make ${JOBS} +make install DESTDIR="${PKG}" +changelog ChangeLog +#FIXME: compat +( +install.dir ${PKG}/sbin +cd ${PKG}/sbin +ln -sf ${SYS_DIR[sbin]}/adjtimex +) +} + +SRCNAME[21]=setserial +SRCVERS[21]=2.17 +SRCPACK[21]=${URL[sf]}/${SRCNAME[21]}/${SRCNAME[21]}-${SRCVERS[21]}.tar.gz +SRCCOPY[21]="GPL2" + +build21() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --bindir="${SYS_DIR[sbin]}" +make ${JOBS} +make install DESTDIR="${PKG}" +install.dir ${PKG}${SYS_DIR[etc]}/rc.d +install.dat rc.serial ${PKG}${SYS_DIR[etc]}/rc.d/rc.serial.new +install.dat serial.conf ${PKG}${SYS_DIR[etc]}/serial.conf.new +} + +SRCNAME[22]=net-tools +SRCVERS[22]=20130121 +SRCPACK[22]=http://www.tazenda.demon.co.uk/phil/${SRCNAME[22]}/${SRCNAME[22]}-${SRCVERS[22]}.tar.xz + +build22() +{ +make version.h +make ${JOBS} CFLAGS="${FLAGS}" +make install-hostname \ + DESTDIR="${PKG}" \ + MANDIR="${SYS_DIR[man]}" \ + BINDIR="${SYS_DIR[bin]}" \ + SBINDIR="${SYS_DIR[sbin]}" +} + +SRCNAME[23]=mkpwd +SRCVERS[23]=0.8 +SRCPACK[23]=http://www.o-schroeder.de/download/${SRCNAME[23]}-$(echo ${SRCVERS[23]} | tr . -).tgz +SRCROOT[23]=${SRCNAME[23]} + +build23() +{ +make FLAGS="${FLAGS}" +make install DESTDIR="${PKG}" +doc README +changelog ChangeLog +} + +SRCNAME[24]=slackwareutils +SRCVERS[24]=$(date +%Y%m%d) +#TODO: broken. Files are included in this repo. + +build24() +{ +make ${JOBS} CFLAGS="${FLAGS}" +make install DESTDIR="${PKG}" MANDIR="${SYS_DIR[man]}/man1" +} + +SRCNAME[25]=config +SRCVERS[25]=$(date +%Y%m%d) +#TODO: broken. Files are included in this repo. + +build25() +{ +make install-bin-package DESTDIR="${PKG}" EXT=".new" +} diff --git a/base/bin/coreutils-8.21-advcpmv.patch.xz b/base/bin/coreutils-8.21-advcpmv.patch.xz Binary files differnew file mode 100644 index 0000000..a6e21f8 --- /dev/null +++ b/base/bin/coreutils-8.21-advcpmv.patch.xz diff --git a/base/bin/coreutils-8.21-dircolors.patch.xz b/base/bin/coreutils-8.21-dircolors.patch.xz Binary files differnew file mode 100644 index 0000000..871c2d7 --- /dev/null +++ b/base/bin/coreutils-8.21-dircolors.patch.xz diff --git a/base/bin/coreutils-8.21-uname.patch.xz b/base/bin/coreutils-8.21-uname.patch.xz Binary files differnew file mode 100644 index 0000000..8481390 --- /dev/null +++ b/base/bin/coreutils-8.21-uname.patch.xz diff --git a/base/bin/debianutils-4.3.4-nowhich.patch.xz b/base/bin/debianutils-4.3.4-nowhich.patch.xz Binary files differnew file mode 100644 index 0000000..2339c63 --- /dev/null +++ b/base/bin/debianutils-4.3.4-nowhich.patch.xz diff --git a/base/bin/findutils-4.4.2-nodefaultoptionswarnings.patch.xz b/base/bin/findutils-4.4.2-nodefaultoptionswarnings.patch.xz Binary files differnew file mode 100644 index 0000000..ae6397d --- /dev/null +++ b/base/bin/findutils-4.4.2-nodefaultoptionswarnings.patch.xz diff --git a/base/bin/findutils-4.4.2-nolocate.patch.xz b/base/bin/findutils-4.4.2-nolocate.patch.xz Binary files differnew file mode 100644 index 0000000..b3ff083 --- /dev/null +++ b/base/bin/findutils-4.4.2-nolocate.patch.xz diff --git a/base/bin/less-458-lesspipe.patch.xz b/base/bin/less-458-lesspipe.patch.xz Binary files differnew file mode 100644 index 0000000..060419d --- /dev/null +++ b/base/bin/less-458-lesspipe.patch.xz diff --git a/base/bin/less-458-sysconfdir.patch.xz b/base/bin/less-458-sysconfdir.patch.xz Binary files differnew file mode 100644 index 0000000..351532a --- /dev/null +++ b/base/bin/less-458-sysconfdir.patch.xz diff --git a/base/bin/libarchive-3.1.2-mtreefix.patch.xz b/base/bin/libarchive-3.1.2-mtreefix.patch.xz Binary files differnew file mode 100644 index 0000000..c2a6d84 --- /dev/null +++ b/base/bin/libarchive-3.1.2-mtreefix.patch.xz diff --git a/base/bin/mkpwd-0.8-install.patch.xz b/base/bin/mkpwd-0.8-install.patch.xz Binary files differnew file mode 100644 index 0000000..8a0d5d4 --- /dev/null +++ b/base/bin/mkpwd-0.8-install.patch.xz diff --git a/base/bin/net-tools-20130121-config.patch.xz b/base/bin/net-tools-20130121-config.patch.xz Binary files differnew file mode 100644 index 0000000..9683ffa --- /dev/null +++ b/base/bin/net-tools-20130121-config.patch.xz diff --git a/base/bin/net-tools-20130121-debian242.patch.xz b/base/bin/net-tools-20130121-debian242.patch.xz Binary files differnew file mode 100644 index 0000000..a544220 --- /dev/null +++ b/base/bin/net-tools-20130121-debian242.patch.xz diff --git a/base/bin/net-tools-20130121-install.patch.xz b/base/bin/net-tools-20130121-install.patch.xz Binary files differnew file mode 100644 index 0000000..0fd2fd2 --- /dev/null +++ b/base/bin/net-tools-20130121-install.patch.xz diff --git a/base/bin/net-tools-20130121-missingheaders.patch.xz b/base/bin/net-tools-20130121-missingheaders.patch.xz Binary files differnew file mode 100644 index 0000000..ee76a47 --- /dev/null +++ b/base/bin/net-tools-20130121-missingheaders.patch.xz diff --git a/base/bin/setserial-2.17-autostuff.patch.xz b/base/bin/setserial-2.17-autostuff.patch.xz Binary files differnew file mode 100644 index 0000000..bd991e0 --- /dev/null +++ b/base/bin/setserial-2.17-autostuff.patch.xz diff --git a/base/bin/setserial-2.17-install.patch.xz b/base/bin/setserial-2.17-install.patch.xz Binary files differnew file mode 100644 index 0000000..097bd5a --- /dev/null +++ b/base/bin/setserial-2.17-install.patch.xz diff --git a/base/bin/setserial-2.17-rcserial.patch.xz b/base/bin/setserial-2.17-rcserial.patch.xz Binary files differnew file mode 100644 index 0000000..e4a12c1 --- /dev/null +++ b/base/bin/setserial-2.17-rcserial.patch.xz diff --git a/base/bin/setserial-2.17-undefTIOCGHAYESESP.patch.xz b/base/bin/setserial-2.17-undefTIOCGHAYESESP.patch.xz Binary files differnew file mode 100644 index 0000000..d560709 --- /dev/null +++ b/base/bin/setserial-2.17-undefTIOCGHAYESESP.patch.xz diff --git a/base/bin/setserial-2.17-usr.patch.xz b/base/bin/setserial-2.17-usr.patch.xz Binary files differnew file mode 100644 index 0000000..8ecfd4e --- /dev/null +++ b/base/bin/setserial-2.17-usr.patch.xz diff --git a/base/bin/shadow-4.1.5.1-2ndskip.patch.xz b/base/bin/shadow-4.1.5.1-2ndskip.patch.xz Binary files differnew file mode 100644 index 0000000..8811b0c --- /dev/null +++ b/base/bin/shadow-4.1.5.1-2ndskip.patch.xz diff --git a/base/bin/shadow-4.1.5.1-adduser.patch.xz b/base/bin/shadow-4.1.5.1-adduser.patch.xz Binary files differnew file mode 100644 index 0000000..4e1bb6c --- /dev/null +++ b/base/bin/shadow-4.1.5.1-adduser.patch.xz diff --git a/base/bin/shadow-4.1.5.1-backupmode.patch.xz b/base/bin/shadow-4.1.5.1-backupmode.patch.xz Binary files differnew file mode 100644 index 0000000..0071200 --- /dev/null +++ b/base/bin/shadow-4.1.5.1-backupmode.patch.xz diff --git a/base/bin/shadow-4.1.5.1-config.patch.xz b/base/bin/shadow-4.1.5.1-config.patch.xz Binary files differnew file mode 100644 index 0000000..e21358b --- /dev/null +++ b/base/bin/shadow-4.1.5.1-config.patch.xz diff --git a/base/bin/shadow-4.1.5.1-cryptglibc217v2.patch.xz b/base/bin/shadow-4.1.5.1-cryptglibc217v2.patch.xz Binary files differnew file mode 100644 index 0000000..1719a5b --- /dev/null +++ b/base/bin/shadow-4.1.5.1-cryptglibc217v2.patch.xz diff --git a/base/bin/shadow-4.1.5.1-goodname.patch.xz b/base/bin/shadow-4.1.5.1-goodname.patch.xz Binary files differnew file mode 100644 index 0000000..d396bd3 --- /dev/null +++ b/base/bin/shadow-4.1.5.1-goodname.patch.xz diff --git a/base/bin/shadow-4.1.5.1-infoparentdir.patch.xz b/base/bin/shadow-4.1.5.1-infoparentdir.patch.xz Binary files differnew file mode 100644 index 0000000..ec0f6e7 --- /dev/null +++ b/base/bin/shadow-4.1.5.1-infoparentdir.patch.xz diff --git a/base/bin/shadow-4.1.5.1-install.patch.xz b/base/bin/shadow-4.1.5.1-install.patch.xz Binary files differnew file mode 100644 index 0000000..4d094fb --- /dev/null +++ b/base/bin/shadow-4.1.5.1-install.patch.xz diff --git a/base/bin/shadow-4.1.5.1-logmsg.patch.xz b/base/bin/shadow-4.1.5.1-logmsg.patch.xz Binary files differnew file mode 100644 index 0000000..33c43f3 --- /dev/null +++ b/base/bin/shadow-4.1.5.1-logmsg.patch.xz diff --git a/base/bin/shadow-4.1.5.1-mergegroup.patch.xz b/base/bin/shadow-4.1.5.1-mergegroup.patch.xz Binary files differnew file mode 100644 index 0000000..4411177 --- /dev/null +++ b/base/bin/shadow-4.1.5.1-mergegroup.patch.xz diff --git a/base/bin/shadow-4.1.5.1-strncpy.patch.xz b/base/bin/shadow-4.1.5.1-strncpy.patch.xz Binary files differnew file mode 100644 index 0000000..8ec1169 --- /dev/null +++ b/base/bin/shadow-4.1.5.1-strncpy.patch.xz diff --git a/base/bin/shadow-4.1.5.1-suidmode.patch.xz b/base/bin/shadow-4.1.5.1-suidmode.patch.xz Binary files differnew file mode 100644 index 0000000..1a1b798 --- /dev/null +++ b/base/bin/shadow-4.1.5.1-suidmode.patch.xz diff --git a/base/bin/shadow-4.1.5.1-xstrdup.patch.xz b/base/bin/shadow-4.1.5.1-xstrdup.patch.xz Binary files differnew file mode 100644 index 0000000..1722e40 --- /dev/null +++ b/base/bin/shadow-4.1.5.1-xstrdup.patch.xz diff --git a/base/bin/tree-1.6.0-optflags.patch.xz b/base/bin/tree-1.6.0-optflags.patch.xz Binary files differnew file mode 100644 index 0000000..dfa1725 --- /dev/null +++ b/base/bin/tree-1.6.0-optflags.patch.xz diff --git a/base/bin/tree-1.6.0-perms.patch.xz b/base/bin/tree-1.6.0-perms.patch.xz Binary files differnew file mode 100644 index 0000000..a3d920a --- /dev/null +++ b/base/bin/tree-1.6.0-perms.patch.xz diff --git a/base/bluetooth/bluetooth.build b/base/bluetooth/bluetooth.build new file mode 100755 index 0000000..89c63cb --- /dev/null +++ b/base/bluetooth/bluetooth.build @@ -0,0 +1,171 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=bluetooth +VERSION=4.101 +BUILD=3 +DEPENDS=('glib >= 2.36.0-1' 'dbus >= 1.6.8-1') +OPTDEPENDS=('libical >= 1.0-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}: bluetooth +${NAME}: +${NAME}: A wireless standard for exchanging data over short distances. +${NAME}: +${NAME}: This package provides the libraries and utilities and other support +${NAME}: files to use bluetooth adapters and devices. +${NAME}: +${NAME}: Homepage: http://www.bluez.org +${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... +} + +# Keep same perms on rc.bluetooth.new: +if [ -e etc/rc.d/rc.bluetooth ]; then + cp -a etc/rc.d/rc.bluetooth etc/rc.d/rc.bluetooth.new.incoming + cat etc/rc.d/rc.bluetooth.new > etc/rc.d/rc.bluetooth.new.incoming + mv etc/rc.d/rc.bluetooth.new.incoming etc/rc.d/rc.bluetooth.new +fi + +config etc/rc.d/rc.bluetooth.new +config etc/bluetooth/audio.conf.new +config etc/bluetooth/input.conf.new +config etc/bluetooth/main.conf.new +config etc/bluetooth/network.conf.new +config etc/bluetooth/serial.conf.new +config etc/bluetooth/rfcomm.conf.new +config etc/modprobe.d/bluetooth.conf.new +EOF + +# Sources + +SRCNAME[0]=bluez +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://www.kernel.org/pub/linux/bluetooth/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL2 LGPL21" + +build0() +{ +sed -i 's|$(libdir)/alsa-lib|$(libdir)/plugins/alsa-1|g' Makefile.in +sed -i 's|$(libdir)/cups/backend|$(libdir)/exec/cups/backend|g' Makefile.in +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +sed -i 's|$(libdir)/bluetooth/plugins|$(libdir)/plugins/bluetooth|g' Makefile.{in,am} +sed -i 's|${libdir}/bluetooth/plugins|${libdir}/plugins/bluetooth|g' configure acinclude.m4 +sed -i 's|udevdir = @UDEV_DIR@|udevdir = $(libdir)/exec/udev|g' Makefile.in +sed -i 's|rulesdir = @UDEV_DIR@/rules.d|rulesdir = $(datadir)/udev/rules|g' Makefile.in +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --enable-shared=yes \ + --enable-static=no \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-systemdunitdir="${SYS_DIR[systemdsystemunitdir]}" \ + --enable-alsa \ + --enable-usb \ + --enable-pnat \ + --enable-tools \ + --enable-bccmd \ + --enable-hid2hci \ + --enable-dfutool \ + --enable-hidd \ + --enable-pand \ + --enable-dund \ + --enable-cups \ + --enable-service \ + --enable-datafiles +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog ChangeLog +install.dir ${PKG}${SYS_DIR[udevrules]} +install.dir ${PKG}${SYS_DIR[udevscripts]} +install.bin bluetooth.sh ${PKG}${SYS_DIR[udevscripts]}/bluetooth +install.bin scripts/bluetooth_serial ${PKG}${SYS_DIR[udevscripts]} +#FIXME: this will have to go when systemd arrives +install.dat 97-bluetooth.rules ${PKG}${SYS_DIR[udevrules]} +install.dir ${PKG}${SYS_DIR[etc]}/{rc.d,modprobe.d,bluetooth} +install.cfg bluetooth.modprobe ${PKG}${SYS_DIR[etc]}/modprobe.d/bluetooth.conf.new +install.cfg rc.bluetooth ${PKG}${SYS_DIR[etc]}/rc.d/rc.bluetooth.new +install.cfg audio/audio.conf \ + ${PKG}${SYS_DIR[etc]}/bluetooth/audio.conf.new +install.cfg input/input.conf \ + ${PKG}${SYS_DIR[etc]}/bluetooth/input.conf.new +install.cfg network/network.conf \ + ${PKG}${SYS_DIR[etc]}/bluetooth/network.conf.new +install.cfg serial/serial.conf \ + ${PKG}${SYS_DIR[etc]}/bluetooth/serial.conf.new +config ${PKG}${SYS_DIR[etc]}/bluetooth/main.conf +config ${PKG}${SYS_DIR[etc]}/bluetooth/rfcomm.conf +rm -rf ${PKG}${SYS_DIR[lib]}/bluetooth +# Remove this directory if there's no plugin in it +rmdir ${PKG}${SYS_DIR[lib]}/plugins/bluetooth +} + +SRCNAME[1]=obexd +SRCVERS[1]=0.48 +SRCPACK[1]=http://www.kernel.org/pub/linux/bluetooth/${SRCNAME[1]}-${SRCVERS[1]}.tar.gz +SRCCOPY[1]="GPL2" + +build1() +{ +sed -i 's|${libdir}/obex/plugins|${libdir}/plugins/obex|g' configure +BLUEZ_CFLAGS="-I${PKG}${SYS_DIR[include]}" \ +BLUEZ_LIBS="-L${PKG}${SYS_DIR[lib]} -lbluetooth" \ +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]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --libexecdir="${SYS_DIR[lib]}/exec" \ + --enable-usb \ + --enable-pcsuite +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog ChangeLog +# Remove this directory if there's no plugin in it +rmdir ${PKG}${SYS_DIR[lib]}/plugins/obex +} diff --git a/base/bluetooth/bluez-4.101-dbusconfig.patch.xz b/base/bluetooth/bluez-4.101-dbusconfig.patch.xz Binary files differnew file mode 100644 index 0000000..3569c31 --- /dev/null +++ b/base/bluetooth/bluez-4.101-dbusconfig.patch.xz diff --git a/base/bluetooth/bluez-4.101-dellmouse.patch.xz b/base/bluetooth/bluez-4.101-dellmouse.patch.xz Binary files differnew file mode 100644 index 0000000..f2741bd --- /dev/null +++ b/base/bluetooth/bluez-4.101-dellmouse.patch.xz diff --git a/base/bluetooth/bluez-4.101-modprobe.patch.xz b/base/bluetooth/bluez-4.101-modprobe.patch.xz Binary files differnew file mode 100644 index 0000000..877d642 --- /dev/null +++ b/base/bluetooth/bluez-4.101-modprobe.patch.xz diff --git a/base/bluetooth/bluez-4.101-sndfile.patch.xz b/base/bluetooth/bluez-4.101-sndfile.patch.xz Binary files differnew file mode 100644 index 0000000..6b762c9 --- /dev/null +++ b/base/bluetooth/bluez-4.101-sndfile.patch.xz diff --git a/base/bluetooth/bluez-4.101-sysvinit.patch.xz b/base/bluetooth/bluez-4.101-sysvinit.patch.xz Binary files differnew file mode 100644 index 0000000..f869443 --- /dev/null +++ b/base/bluetooth/bluez-4.101-sysvinit.patch.xz diff --git a/base/bluetooth/bluez-4.101-udev.patch.xz b/base/bluetooth/bluez-4.101-udev.patch.xz Binary files differnew file mode 100644 index 0000000..028b114 --- /dev/null +++ b/base/bluetooth/bluez-4.101-udev.patch.xz diff --git a/base/bluetooth/bluez-4.101-usb.patch.xz b/base/bluetooth/bluez-4.101-usb.patch.xz Binary files differnew file mode 100644 index 0000000..49a6c68 --- /dev/null +++ b/base/bluetooth/bluez-4.101-usb.patch.xz diff --git a/base/bluetooth/obexd-0.48-unistdh.patch.xz b/base/bluetooth/obexd-0.48-unistdh.patch.xz Binary files differnew file mode 100644 index 0000000..7c84837 --- /dev/null +++ b/base/bluetooth/obexd-0.48-unistdh.patch.xz diff --git a/base/bzip2/bzip2-1.0.6-install.patch.xz b/base/bzip2/bzip2-1.0.6-install.patch.xz Binary files differnew file mode 100644 index 0000000..ba1fbfa --- /dev/null +++ b/base/bzip2/bzip2-1.0.6-install.patch.xz diff --git a/base/bzip2/bzip2-1.0.6-optflags.patch.xz b/base/bzip2/bzip2-1.0.6-optflags.patch.xz Binary files differnew file mode 100644 index 0000000..95f7203 --- /dev/null +++ b/base/bzip2/bzip2-1.0.6-optflags.patch.xz diff --git a/base/bzip2/bzip2-1.0.6-saneso.patch.xz b/base/bzip2/bzip2-1.0.6-saneso.patch.xz Binary files differnew file mode 100644 index 0000000..04f162c --- /dev/null +++ b/base/bzip2/bzip2-1.0.6-saneso.patch.xz diff --git a/base/bzip2/bzip2.build b/base/bzip2/bzip2.build new file mode 100755 index 0000000..fbc73a9 --- /dev/null +++ b/base/bzip2/bzip2.build @@ -0,0 +1,85 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=bzip2 +VERSION=1.0.6 +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}: bzip2 (a block-sorting file compressor) +${NAME}: +${NAME}: Bzip2 compresses files using the Burrows-Wheeler block sorting text +${NAME}: compression algorithm, and Huffman coding. Compression is generally +${NAME}: considerably better than that achieved by more conventional LZ77/LZ78- +${NAME}: based compressors, and approaches the performance of the PPM family of +${NAME}: statistical compressors. +${NAME}: +${NAME}: Homepage: http://www.bzip.org +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://www.bzip.org/${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="BSD4" + +build0() +{ +make ${JOBS} OPTFLAGS="${FLAGS}" -f Makefile-libbz2_so +make ${JOBS} OPTFLAGS="${FLAGS}" +make install install-so DESTDIR="${PKG}" \ + PREFIX="${SYS_DIR[usr]}" \ + MANDIR="${SYS_DIR[man]}" \ + LIBDIR="${SYS_DIR[lib]}" +changelog CHANGES +rm -f \ + ${PKG}${SYS_DIR[bin]}/bzip2 +mv \ + ${PKG}${SYS_DIR[bin]}/bzip2-shared \ + ${PKG}${SYS_DIR[bin]}/sbzip2 +( + cd ${PKG}${SYS_DIR[man]}/man1 + mv bzip2.1 sbzip2.1 +) +} + +SRCNAME[1]=pbzip2 +SRCVERS[1]=1.1.6 +SRCPACK[1]=http://compression.ca/${SRCNAME[1]}/${SRCNAME[1]}-${SRCVERS[1]}.tar.gz +SRCCOPY[1]="BSD4" + +build1() +{ + +make ${JOBS} OPTFLAGS="${FLAGS}" +doc AUTHORS +changelog ChangeLog +install.dir ${PKG}${SYS_DIR[bin]} +install.bin pbzip2 ${PKG}${SYS_DIR[bin]}/bzip2 +install.dir ${PKG}${SYS_DIR[man]}/man1 +install.man pbzip2.1 ${PKG}${SYS_DIR[man]}/man1 +( + cd ${PKG}${SYS_DIR[bin]} + ln -sf bzip2 pbzip2 + ln -sf bzip2 pbzcat + ln -sf bzip2 pbunzip2 + cd ${PKG}${SYS_DIR[man]}/man1 + echo ".so man1/pbzip2.1" > bzip2.1 +) +} diff --git a/base/bzip2/pbzip2-1.1.6-optflags.patch.xz b/base/bzip2/pbzip2-1.1.6-optflags.patch.xz Binary files differnew file mode 100644 index 0000000..a6eee1a --- /dev/null +++ b/base/bzip2/pbzip2-1.1.6-optflags.patch.xz diff --git a/base/ca_certificates/ca-certificates-20130119-destdir.patch.xz b/base/ca_certificates/ca-certificates-20130119-destdir.patch.xz Binary files differnew file mode 100644 index 0000000..8c5b795 --- /dev/null +++ b/base/ca_certificates/ca-certificates-20130119-destdir.patch.xz diff --git a/base/ca_certificates/ca-certificates-20130119-fixupdate.patch.xz b/base/ca_certificates/ca-certificates-20130119-fixupdate.patch.xz Binary files differnew file mode 100644 index 0000000..765d042 --- /dev/null +++ b/base/ca_certificates/ca-certificates-20130119-fixupdate.patch.xz diff --git a/base/ca_certificates/ca-certificates-20130119-nodebconf.patch.xz b/base/ca_certificates/ca-certificates-20130119-nodebconf.patch.xz Binary files differnew file mode 100644 index 0000000..a635447 --- /dev/null +++ b/base/ca_certificates/ca-certificates-20130119-nodebconf.patch.xz diff --git a/base/ca_certificates/ca-certificates-20130119-paths.patch.xz b/base/ca_certificates/ca-certificates-20130119-paths.patch.xz Binary files differnew file mode 100644 index 0000000..58c7983 --- /dev/null +++ b/base/ca_certificates/ca-certificates-20130119-paths.patch.xz diff --git a/base/ca_certificates/ca_certificates.build b/base/ca_certificates/ca_certificates.build new file mode 100755 index 0000000..7d6ccb6 --- /dev/null +++ b/base/ca_certificates/ca_certificates.build @@ -0,0 +1,61 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=ca_certificates +VERSION=20130119 +ARCH=noarch +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}: ca-certificates (PEM Files of CA Certificates) +${NAME}: +${NAME}: This package includes PEM files of CA certificates to allow +${NAME}: SSL-based applications to check for the authenticity of SSL +${NAME}: connections. +${NAME}: +${NAME}: Homepage: http://packages.qa.debian.org/c/ca-certificates.html +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +chroot . usr/sbin/update-ca-certificates --fresh 1>/dev/null 2>/dev/null +EOF + +# Sources + +SRCNAME[0]=ca-certificates +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://packages.debian.org/source/testing/${SRCNAME[0]}/${SRCNAME[0]}_${SRCVERS[0]}.tar.gz + +build0() +{ +make ${JOBS} +make install DESTDIR="${PKG}" +doc debian/NEWS +install.dat doinst.sh ${PKG}/install +install.dir ${PKG}${SYS_DIR[man]}/man8 +install.man sbin/update-ca-certificates.8 ${PKG}${SYS_DIR[man]}/man8 +install.dir ${PKG}${SYS_DIR[share]}/ca-certificates/update +install.dir ${PKG}${SYS_DIR[var]}/cache/cacerts +echo "# Automatically generated by ${NAME}-${VERSION}" > ${PKG}${SYS_DIR[var]}/cache/cacerts/cacerts.cache +( + cd ${PKG}${SYS_DIR[share]}/ca-certificates + find . -name '*.crt' | sort | cut -b3- +) >> ${PKG}${SYS_DIR[var]}/cache/cacerts/cacerts.cache +} diff --git a/base/cgroup/cgroup.build b/base/cgroup/cgroup.build new file mode 100755 index 0000000..d45be0b --- /dev/null +++ b/base/cgroup/cgroup.build @@ -0,0 +1,125 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=cgroup +VERSION=0.38 +BUILD=3 + +# 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}: libcgroup (library and utilities for kernel control groups) +${NAME}: +${NAME}: Control Groups provide a mechanism for aggregating/partitioning sets +${NAME}: of tasks, and all their future children, into hierarchical groups +${NAME}: with specialized behaviour. It makes use of a filesystem interface. +${NAME}: This package contains a library for developing applications that use +${NAME}: control groups, as well as some basic userspace tools for controlling +${NAME}: and monitoring control groups. +${NAME}: +${NAME}: Homepage: http://libcg.sourceforge.net +${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... +} + +# Leave any new rc files with the same permissions as the old ones: +if [ -e etc/rc.d/rc.cgconfig ]; then + if [ -x etc/rc.d/rc.cgconfig ]; then + chmod 755 etc/rc.d/rc.cgconfig.new + else + chmod 644 etc/rc.d/rc.cgconfig.new + fi +fi +if [ -e etc/rc.d/rc.cgred ]; then + if [ -x etc/rc.d/rc.cgred ]; then + chmod 755 etc/rc.d/rc.cgred.new + else + chmod 644 etc/rc.d/rc.cgred.new + fi +fi + +# Then config() them: +config etc/rc.d/rc.cgconfig.new +config etc/rc.d/rc.cgred.new + +# config() the other configuration files: +config etc/cgroup/cgconfig.conf.new +config etc/cgroup/cgred.conf.new +config etc/cgroup/cgrules.conf.new +config etc/cgroup/cgsnapshot_blacklist.conf.new + +# If there are already installed config files, get rid of the .new ones. +# There will still be fresh samples in the docs. +rm -f etc/cgroup/cgconfig.conf.new etc/cgroup/cgred.conf.new etc/cgroup/cgrules.conf.new etc/cgroup/cgsnapshot_blacklist.conf.new +EOF + +# Sources + +SRCNAME[0]=libcgroup +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[sf]}/libcg/${SRCNAME[0]}/v${SRCVERS[0]}/${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-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]}" \ + --enable-cgred-socket="${SYS_DIR[run]}/cgred/cgred.socket" \ + --enable-pam-module-dir="${SYS_DIR[lib]}/plugins/security" \ + --enable-pam=yes +#FIXME: systemd --enable-opaque-hierarchy="name:systemd" +make ${JOBS} +make install DESTDIR="${PKG}" +doc README{,_{daemon,systemd}} +install.dir ${PKG}${SYS_DIR[etc]}/{rc.d,cgroup,tmpfiles.d} +install.dat cgroup.conf.tmpfiles ${PKG}${SYS_DIR[etc]}/tmpfiles.d/cgroup.conf +install.dat scripts/init.d/cgconfig ${PKG}${SYS_DIR[etc]}/rc.d/rc.cgconfig.new +install.dat scripts/init.d/cgred ${PKG}${SYS_DIR[etc]}/rc.d/rc.cgred.new +install.dat samples/cgred.conf ${PKG}${SYS_DIR[etc]}/cgroup/cgred.conf.new +install.dat samples/cgconfig.conf ${PKG}${SYS_DIR[etc]}/cgroup/cgconfig.conf.new +install.dat samples/cgrules.conf ${PKG}${SYS_DIR[etc]}/cgroup/cgrules.conf.new +install.dat samples/cgsnapshot_blacklist.conf ${PKG}${SYS_DIR[etc]}/cgroup/cgsnapshot_blacklist.conf.new +install.dir ${PKG}${SYS_DIR[systemdsystemunitdir]} +install.dat dist/cgconfig.service ${PKG}${SYS_DIR[systemdsystemunitdir]} +( + cd ${PKG}${SYS_DIR[lib]}/plugins/security + rm -f pam_cgroup.so pam_cgroup.so.0 + mv pam_cgroup.so.0.0.0 pam_cgroup.so +) +} diff --git a/base/cgroup/libcgroup-0.38-init.patch.xz b/base/cgroup/libcgroup-0.38-init.patch.xz Binary files differnew file mode 100644 index 0000000..16a72c6 --- /dev/null +++ b/base/cgroup/libcgroup-0.38-init.patch.xz diff --git a/base/cgroup/libcgroup-0.38-sysconfdir.patch.xz b/base/cgroup/libcgroup-0.38-sysconfdir.patch.xz Binary files differnew file mode 100644 index 0000000..409de8a --- /dev/null +++ b/base/cgroup/libcgroup-0.38-sysconfdir.patch.xz diff --git a/base/cgroup/libcgroup-0.38-systemd.patch.xz b/base/cgroup/libcgroup-0.38-systemd.patch.xz Binary files differnew file mode 100644 index 0000000..2b48553 --- /dev/null +++ b/base/cgroup/libcgroup-0.38-systemd.patch.xz diff --git a/base/cgroup/libcgroup-0.38-tmpfilesd.patch.xz b/base/cgroup/libcgroup-0.38-tmpfilesd.patch.xz Binary files differnew file mode 100644 index 0000000..baa5221 --- /dev/null +++ b/base/cgroup/libcgroup-0.38-tmpfilesd.patch.xz diff --git a/base/cryptsetup/cryptsetup.build b/base/cryptsetup/cryptsetup.build new file mode 100755 index 0000000..2e2bb12 --- /dev/null +++ b/base/cryptsetup/cryptsetup.build @@ -0,0 +1,66 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=cryptsetup +VERSION=1.6.0 +BUILD=2 +DEPENDS=('lvm >= 2.02.98-1' 'libpwquality >= 1.2.1-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}: cryptsetup (utility for setting up encrypted filesystems) +${NAME}: +${NAME}: LUKS is a standard for cross-platform hard disk encryption. It +${NAME}: provides secure management of multiple user passwords and stores +${NAME}: setup information in the partition header. LUKS for dm-crypt is now +${NAME}: implemented in cryptsetup replacing the original cryptsetup. It +${NAME}: provides all the functionally of the original version plus all LUKS +${NAME}: features. +${NAME}: +${NAME}: Homepage: http://code.google.com/p/cryptsetup +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://cryptsetup.googlecode.com/files/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="GPL2 LGPL21" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' lib/Makefile.in +CPPFLAGS="-I${SYS_DIR[include]}/pwquality" \ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-rpath \ + --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-crypto_backend=nettle \ + --enable-cryptsetup-reencrypt \ + --disable-selinux \ + --enable-pwquality +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS FAQ docs/*-ReleaseNotes +} diff --git a/base/dbus/dbus-1.6.8-allowrootglobally.patch.xz b/base/dbus/dbus-1.6.8-allowrootglobally.patch.xz Binary files differnew file mode 100644 index 0000000..74b739e --- /dev/null +++ b/base/dbus/dbus-1.6.8-allowrootglobally.patch.xz diff --git a/base/dbus/dbus-1.6.8-archdependentheader.patch.xz b/base/dbus/dbus-1.6.8-archdependentheader.patch.xz Binary files differnew file mode 100644 index 0000000..9c6961d --- /dev/null +++ b/base/dbus/dbus-1.6.8-archdependentheader.patch.xz diff --git a/base/dbus/dbus-1.6.8-dbussethome.patch.xz b/base/dbus/dbus-1.6.8-dbussethome.patch.xz Binary files differnew file mode 100644 index 0000000..1892e8d --- /dev/null +++ b/base/dbus/dbus-1.6.8-dbussethome.patch.xz diff --git a/base/dbus/dbus-1.6.8-systemdusersession.patch.xz b/base/dbus/dbus-1.6.8-systemdusersession.patch.xz Binary files differnew file mode 100644 index 0000000..8f5ad4b --- /dev/null +++ b/base/dbus/dbus-1.6.8-systemdusersession.patch.xz diff --git a/base/dbus/dbus-1.6.8-sysvinit.patch.xz b/base/dbus/dbus-1.6.8-sysvinit.patch.xz Binary files differnew file mode 100644 index 0000000..4f7f13d --- /dev/null +++ b/base/dbus/dbus-1.6.8-sysvinit.patch.xz diff --git a/base/dbus/dbus.build b/base/dbus/dbus.build new file mode 100755 index 0000000..d3eab82 --- /dev/null +++ b/base/dbus/dbus.build @@ -0,0 +1,127 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=dbus +VERSION=1.6.8 +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}: dbus (message bus system) +${NAME}: +${NAME}: D-Bus is a message bus system, a simple way for applications to talk +${NAME}: to one another. In addition to interprocess communication, D-Bus +${NAME}: helps coordinate process lifecycle; it makes it simple and reliable +${NAME}: to code a "single instance" application or daemon, and to launch +${NAME}: applications and daemons on demand when their services are needed. +${NAME}: +${NAME}: Homepage: http://www.freedesktop.org/wiki/Software/dbus +${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... +} + +# Keep same perms on rc.messagebus.new: + +if [ -e etc/rc.d/rc.messagebus ]; then + cp -a etc/rc.d/rc.messagebus etc/rc.d/rc.messagebus.new.incoming + cat etc/rc.d/rc.messagebus.new > etc/rc.d/rc.messagebus.new.incoming + mv etc/rc.d/rc.messagebus.new.incoming etc/rc.d/rc.messagebus.new +fi + +config etc/rc.d/rc.messagebus.new +config etc/dbus-1/session.conf.new +config etc/dbus-1/system.conf.new +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://dbus.freedesktop.org/releases/dbus/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +sed -i "s|@ARCHITECTURE@|$(uname -m)|g" dbus/Makefile.{am,in} dbus-1.pc.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]}" \ + --htmldir="${SYS_DIR[html]}/${SRCNAME[0]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --libexecdir="${SYS_DIR[lib]}/exec" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-init-scripts=slackware \ + --with-system-pid-file="${SYS_DIR[run]}/dbus/pid" \ + --with-system-socket="${SYS_DIR[run]}/dbus/system_bus_socket" \ + --with-console-auth-dir="${SYS_DIR[run]}/console" \ + --with-systemdsystemunitdir="${SYS_DIR[systemdsystemunitdir]}" \ + --with-xml=expat \ + --disable-verbose-mode \ + --disable-doxygen-docs \ + --disable-tests \ + --disable-asserts \ + --disable-dnotify \ + --enable-inotify \ + --enable-x11-autolaunch +#FIXME: systemd +#--enable-systemd +#--enable-userdb-cache +#--enable-console-owner-file +#--with-console-owner-file= +#--with-dbus-daemondir= +#--with-session-socket-dir=/tmp +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +license COPYING +install.dir ${PKG}${SYS_DIR[bin]} +install.dir ${PKG}${SYS_DIR[etc]}/rc.d +install.bin rc.messagebus.new ${PKG}${SYS_DIR[etc]}/rc.d +rm -rf \ + ${PKG}${SYS_DIR[etc]}/rc.d/rc.messagebus \ + ${PKG}${SYS_DIR[sbin]} \ + ${PKG}${SYS_DIR[share]}/dbus-1 \ + ${PKG}${SYS_DIR[lib]}/exec/dbus-1 \ + ${PKG}${SYS_DIR[doc]}/dbus \ + ${PKG}${SYS_DIR[html]} \ + ${PKG}${SYS_DIR[var]}/run +config ${PKG}${SYS_DIR[etc]}/dbus-1/session.conf +config ${PKG}${SYS_DIR[etc]}/dbus-1/system.conf +chown messagebus ${PKG}${SYS_DIR[var]}/lib/dbus +} diff --git a/base/dhcpcd/dhcpcd-5.6.8-rundir.patch.xz b/base/dhcpcd/dhcpcd-5.6.8-rundir.patch.xz Binary files differnew file mode 100644 index 0000000..e8ff72c --- /dev/null +++ b/base/dhcpcd/dhcpcd-5.6.8-rundir.patch.xz diff --git a/base/dhcpcd/dhcpcd-5.6.8-slackwareservice.patch.xz b/base/dhcpcd/dhcpcd-5.6.8-slackwareservice.patch.xz Binary files differnew file mode 100644 index 0000000..558ea4a --- /dev/null +++ b/base/dhcpcd/dhcpcd-5.6.8-slackwareservice.patch.xz diff --git a/base/dhcpcd/dhcpcd.build b/base/dhcpcd/dhcpcd.build new file mode 100755 index 0000000..ead7eb6 --- /dev/null +++ b/base/dhcpcd/dhcpcd.build @@ -0,0 +1,84 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=dhcpcd +VERSION=5.6.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}: dhcpcd (DHCP client daemon) +${NAME}: +${NAME}: The DHCP client program dhcpcd is used to connect to a network by +${NAME}: contacting a DHCP server. Dhcpcd gets an IP address and other +${NAME}: information from a corresponding DHCP server, configures the network +${NAME}: interface automatically, and tries to renew the lease time according +${NAME}: to RFC2131 or RFC1541 depending on the command line option. +${NAME}: +${NAME}: Homepage: http://roy.marples.name/projects/dhcpcd +${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/dhcpcd.conf.new +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://roy.marples.name/downloads/dhcpcd/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="BSD2" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --libexecdir="${SYS_DIR[share]}/net/dhcpcd" \ + --dbdir="${SYS_DIR[var]}/lib/dhcpcd" \ + --rundir="${SYS_DIR[run]}/dhcpcd" +make ${JOBS} +make install DESTDIR="${PKG}" HOOKSCRIPTS="50-ntp.conf 50-yp.conf" +doc README +config ${PKG}${SYS_DIR[etc]}/dhcpcd.conf +#FIXME: compat +install.dir ${PKG}/sbin +( + cd ${PKG}/sbin + ln -sf ${SYS_DIR[sbin]}/dhcpcd +) +} diff --git a/base/dialog/dialog-1.2-20130523-dialogrc.patch.xz b/base/dialog/dialog-1.2-20130523-dialogrc.patch.xz Binary files differnew file mode 100644 index 0000000..c9ac90d --- /dev/null +++ b/base/dialog/dialog-1.2-20130523-dialogrc.patch.xz diff --git a/base/dialog/dialog-1.2-20130523-smallerminheight.patch.xz b/base/dialog/dialog-1.2-20130523-smallerminheight.patch.xz Binary files differnew file mode 100644 index 0000000..c3c7054 --- /dev/null +++ b/base/dialog/dialog-1.2-20130523-smallerminheight.patch.xz diff --git a/base/dialog/dialog.build b/base/dialog/dialog.build new file mode 100755 index 0000000..9c9604d --- /dev/null +++ b/base/dialog/dialog.build @@ -0,0 +1,81 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=dialog +VERSION=1.2.20130523 +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}: dialog (display dialog boxes from shell scripts) +${NAME}: +${NAME}: Dialog is a program to present a variety of questions or display +${NAME}: messages using dialog boxes from a shell script. The Slackware +${NAME}: package management script "pkgtool" uses this, as do various other +${NAME}: menu-driven console scripts. +${NAME}: +${NAME}: Dialog was originally contributed to Slackware by Savio Lam, and has +${NAME}: been contributed to by many. Dialog is currently maintained by +${NAME}: Thomas E. Dickey. +${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/conf.d/dialog.conf.new +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=1.2-20130523 +SRCPACK[0]=http://invisible-island.net/datafiles/release/${SRCNAME[0]}-${SRCVERS[0]}.tgz +SRCCOPY[0]="LGPL21" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-rpath-hack \ + --disable-static \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --enable-nls \ + --enable-widec \ + --with-ncursesw +make ${JOBS} +make install DESTDIR="${PKG}" +changelog CHANGES +install.dir ${PKG}${SYS_DIR[conf]} +install.dat samples/slackware.rc ${PKG}${SYS_DIR[conf]}/dialog.conf.new +} diff --git a/base/disks/disks.build b/base/disks/disks.build new file mode 100755 index 0000000..ec9f9d9 --- /dev/null +++ b/base/disks/disks.build @@ -0,0 +1,112 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=disks +VERSION=$(date +%Y%m%d) +BUILD=1 +DEPENDS=('glib >= 2.36.0-1' 'udev >= 173-1' 'polkit >= 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}: disks (support for mass storage disk devices) +${NAME}: +${NAME}: Utilities and libraries to operate disk mass storage devices such as +${NAME}: hard drives or CD drives. +${NAME}: +${NAME}: This package includes 'libatasmart', 'udisks' as well as the 'hdparm' +${NAME}: utility. +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=libatasmart +SRCVERS[0]=0.19 +SRCPACK[0]=http://0pointer.de/public/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +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-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]}/atasmart" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +rm -rf \ + ${PKG}${SYS_DIR[share]}/vala \ + ${PKG}${SYS_DIR[doc]}/libatasmart +} + +SRCNAME[1]=hdparm +SRCVERS[1]=9.43 +SRCPACK[1]=http://downloads.sourceforge.net/project/${SRCNAME[1]}/${SRCNAME[1]}/${SRCNAME[1]}-${SRCVERS[1]}.tar.gz + +build1() +{ +make ${JOBS} OPTS="${FLAGS}" +make install DESTDIR="${PKG}" binprefix="${SYS_DIR[usr]}" mandir="${SYS_DIR[man]}" +changelog Changelog +license LICENSE.TXT +} + +SRCNAME[2]=udisks +SRCVERS[2]=2.1.0 +SRCPACK[2]=http://udisks.freedesktop.org/releases/${SRCNAME[2]}-${SRCVERS[2]}.tar.bz2 +SRCCOPY[2]="LGPL2 GPL2" + +build2() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' udisks/Makefile.in +sed -i 's|$(udevdir)/rules.d|$(udevdir)|g' data/Makefile.in +LIBATASMART_CFLAGS="-I${PKG}${SYS_DIR[include]}/atasmart" \ +LIBATASMART_LIBS="-L${PKG}${SYS_DIR[lib]} -latasmart" \ +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]}" \ + --libexec="${SYS_DIR[lib]}/exec" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-html-dir="${SYS_DIR[html]}" \ + --with-udevdir="${SYS_DIR[udevrules]}" +#FIXME: systemd +# --with-systemdsystemunitdir="${SYS_DIR[systemdsystemunitdir]}" +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +# No development docs +rm -rf ${PKG}${SYS_DIR[html]} +} diff --git a/base/disks/hdparm-9.43-cflags.patch.xz b/base/disks/hdparm-9.43-cflags.patch.xz Binary files differnew file mode 100644 index 0000000..a0864f0 --- /dev/null +++ b/base/disks/hdparm-9.43-cflags.patch.xz diff --git a/base/disks/libatasmart-0.19-uninitializedvar.patch.xz b/base/disks/libatasmart-0.19-uninitializedvar.patch.xz Binary files differnew file mode 100644 index 0000000..a4b7b00 --- /dev/null +++ b/base/disks/libatasmart-0.19-uninitializedvar.patch.xz diff --git a/base/disks/udisks-2.0.1-french.patch.xz b/base/disks/udisks-2.0.1-french.patch.xz Binary files differnew file mode 100644 index 0000000..fa4bfeb --- /dev/null +++ b/base/disks/udisks-2.0.1-french.patch.xz diff --git a/base/disks/udisks-2.1.0-udisksdprivdir.patch.xz b/base/disks/udisks-2.1.0-udisksdprivdir.patch.xz Binary files differnew file mode 100644 index 0000000..fa25b85 --- /dev/null +++ b/base/disks/udisks-2.1.0-udisksdprivdir.patch.xz diff --git a/base/ethernet/ethernet.build b/base/ethernet/ethernet.build new file mode 100755 index 0000000..de2b64d --- /dev/null +++ b/base/ethernet/ethernet.build @@ -0,0 +1,57 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=ethernet +VERSION=3.10 +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}: ethernet +${NAME}: +${NAME}: This package provides the following ethernet network card utilities: +${NAME}: +${NAME}: * ethtool (tune ethernet-based network interfaces) +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=ethtool +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://www.kernel.org/pub/software/network/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="GPL2" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +} diff --git a/base/file/file-5.14-datadir.patch.xz b/base/file/file-5.14-datadir.patch.xz Binary files differnew file mode 100644 index 0000000..6fdaf35 --- /dev/null +++ b/base/file/file-5.14-datadir.patch.xz diff --git a/base/file/file-5.14-moremagic.patch.xz b/base/file/file-5.14-moremagic.patch.xz Binary files differnew file mode 100644 index 0000000..66520f1 --- /dev/null +++ b/base/file/file-5.14-moremagic.patch.xz diff --git a/base/file/file-5.14-short.patch.xz b/base/file/file-5.14-short.patch.xz Binary files differnew file mode 100644 index 0000000..2fbc54d --- /dev/null +++ b/base/file/file-5.14-short.patch.xz diff --git a/base/file/file.build b/base/file/file.build new file mode 100755 index 0000000..97751c1 --- /dev/null +++ b/base/file/file.build @@ -0,0 +1,66 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=file +VERSION=5.14 +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}: file (a utility to determine file type) +${NAME}: +${NAME}: This is Ian F. Darwin's 'file' utility, used to identify files. +${NAME}: Christos Zoulas has been file's maintainer since 1994. +${NAME}: +${NAME}: Homepage: http://www.darwinsys.com/file +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=ftp://ftp.astron.com/pub/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="BSD2" + +build0() +{ +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]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --datadir="${SYS_DIR[share]}" \ + --enable-fsect-man5 +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +changelog ChangeLog +install.dir ${PKG}${SYS_DIR[share]}/magic +install.dat magic/Magdir/* ${PKG}${SYS_DIR[share]}/magic +rm -rf \ + ${PKG}${SYS_DIR[man]}/man4 \ + ${PKG}${SYS_DIR[share]}/magic.mgc +} diff --git a/base/firewall/arptables-v0.0.4-systemd.patch.xz b/base/firewall/arptables-v0.0.4-systemd.patch.xz Binary files differnew file mode 100644 index 0000000..9482a4e --- /dev/null +++ b/base/firewall/arptables-v0.0.4-systemd.patch.xz diff --git a/base/firewall/conntrack-tools-1.4.1-configfilepaths.patch.xz b/base/firewall/conntrack-tools-1.4.1-configfilepaths.patch.xz Binary files differnew file mode 100644 index 0000000..2aa9b5c --- /dev/null +++ b/base/firewall/conntrack-tools-1.4.1-configfilepaths.patch.xz diff --git a/base/firewall/conntrack-tools-1.4.1-conntrackdconf.patch.xz b/base/firewall/conntrack-tools-1.4.1-conntrackdconf.patch.xz Binary files differnew file mode 100644 index 0000000..2ba81d1 --- /dev/null +++ b/base/firewall/conntrack-tools-1.4.1-conntrackdconf.patch.xz diff --git a/base/firewall/conntrack-tools-1.4.1-moduledir.patch.xz b/base/firewall/conntrack-tools-1.4.1-moduledir.patch.xz Binary files differnew file mode 100644 index 0000000..97b4b5d --- /dev/null +++ b/base/firewall/conntrack-tools-1.4.1-moduledir.patch.xz diff --git a/base/firewall/conntrack-tools-1.4.1-systemd.patch.xz b/base/firewall/conntrack-tools-1.4.1-systemd.patch.xz Binary files differnew file mode 100644 index 0000000..7a9f769 --- /dev/null +++ b/base/firewall/conntrack-tools-1.4.1-systemd.patch.xz diff --git a/base/firewall/conntrack-tools-1.4.1-tmpfilesd.patch.xz b/base/firewall/conntrack-tools-1.4.1-tmpfilesd.patch.xz Binary files differnew file mode 100644 index 0000000..62691c2 --- /dev/null +++ b/base/firewall/conntrack-tools-1.4.1-tmpfilesd.patch.xz diff --git a/base/firewall/firewall.build b/base/firewall/firewall.build new file mode 100755 index 0000000..3216c74 --- /dev/null +++ b/base/firewall/firewall.build @@ -0,0 +1,314 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=firewall +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}: firewall +${NAME}: +${NAME}: Tools and libraries for network firewalls. +${NAME}: +${NAME}: Homepage: http://www.netfilter.org +${NAME}: +${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... +} + +config etc/iptables/conntrackd.conf.new +config etc/iptables/ipset.conf.new +config etc/iptables/arptables.conf.new +EOF + +# Sources + +SRCNAME[0]=libmnl +SRCVERS[0]=1.0.3 +SRCPACK[0]=http://ftp.netfilter.org/pub/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="LGPL21" + +configure() +{ +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]}/iptables" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + ${*} +} + +build0() +{ +configure +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +} + +SRCNAME[1]=libnfnetlink +SRCVERS[1]=1.0.1 +SRCPACK[1]=http://ftp.netfilter.org/pub/${SRCNAME[1]}/${SRCNAME[1]}-${SRCVERS[1]}.tar.bz2 +SRCCOPY[1]="GPL2" + +build1() +{ +configure +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +} + +SRCNAME[2]=libnetfilter_log +SRCVERS[2]=1.0.1 +SRCPACK[2]=http://ftp.netfilter.org/pub/${SRCNAME[2]}/${SRCNAME[2]}-${SRCVERS[2]}.tar.bz2 +SRCCOPY[2]="GPL2" + +build2() +{ +LIBNFNETLINK_CFLAGS="-I${PKG}${SYS_DIR[include]}" \ +LIBNFNETLINK_LIBS="-L${PKG}${SYS_DIR[lib]} -lnfnetlink" \ +configure +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +} + +SRCNAME[3]=libnetfilter_conntrack +SRCVERS[3]=1.0.3 +SRCPACK[3]=http://ftp.netfilter.org/pub/${SRCNAME[3]}/${SRCNAME[3]}-${SRCVERS[3]}.tar.bz2 +SRCCOPY[3]="GPL2" + +build3() +{ +LIBMNL_CFLAGS="-I${PKG}${SYS_DIR[include]}" \ +LIBMNL_LIBS="-L${PKG}${SYS_DIR[lib]} -lmnl" \ +LIBNFNETLINK_CFLAGS="-I${PKG}${SYS_DIR[include]}" \ +LIBNFNETLINK_LIBS="-L${PKG}${SYS_DIR[lib]} -lnfnetlink" \ +configure +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +} + +SRCNAME[4]=libnetfilter_queue +SRCVERS[4]=1.0.2 +SRCPACK[4]=http://ftp.netfilter.org/pub/${SRCNAME[4]}/${SRCNAME[4]}-${SRCVERS[4]}.tar.bz2 +SRCCOPY[4]="GPL2" + +build4() +{ +LIBMNL_CFLAGS="-I${PKG}${SYS_DIR[include]}" \ +LIBMNL_LIBS="-L${PKG}${SYS_DIR[lib]} -lmnl" \ +LIBNFNETLINK_CFLAGS="-I${PKG}${SYS_DIR[include]}" \ +LIBNFNETLINK_LIBS="-L${PKG}${SYS_DIR[lib]} -lnfnetlink" \ +configure +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +} + +SRCNAME[5]=libnetfilter_acct +SRCVERS[5]=1.0.2 +SRCPACK[5]=http://ftp.netfilter.org/pub/${SRCNAME[5]}/${SRCNAME[5]}-${SRCVERS[5]}.tar.bz2 +SRCCOPY[5]="GPL2" + +build5() +{ +LIBMNL_CFLAGS="-I${PKG}${SYS_DIR[include]}" \ +LIBMNL_LIBS="-L${PKG}${SYS_DIR[lib]} -lmnl" \ +configure +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +} + +SRCNAME[6]=libnetfilter_cthelper +SRCVERS[6]=1.0.0 +SRCPACK[6]=http://ftp.netfilter.org/pub/${SRCNAME[6]}/${SRCNAME[6]}-${SRCVERS[6]}.tar.bz2 +SRCCOPY[6]="GPL2" + +build6() +{ +LIBMNL_CFLAGS="-I${PKG}${SYS_DIR[include]}" \ +LIBMNL_LIBS="-L${PKG}${SYS_DIR[lib]} -lmnl" \ +configure +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +} + +SRCNAME[7]=libnetfilter_cttimeout +SRCVERS[7]=1.0.0 +SRCPACK[7]=http://ftp.netfilter.org/pub/${SRCNAME[7]}/${SRCNAME[7]}-${SRCVERS[7]}.tar.bz2 +SRCCOPY[7]="GPL2" + +build7() +{ +LIBMNL_CFLAGS="-I${PKG}${SYS_DIR[include]}" \ +LIBMNL_LIBS="-L${PKG}${SYS_DIR[lib]} -lmnl" \ +configure +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +} + +SRCNAME[8]=nfacct +SRCVERS[8]=1.0.1 +SRCPACK[8]=http://ftp.netfilter.org/pub/${SRCNAME[8]}/${SRCNAME[8]}-${SRCVERS[8]}.tar.bz2 +SRCCOPY[8]="GPL2" + +build8() +{ +LIBMNL_CFLAGS="-I${PKG}${SYS_DIR[include]}" \ +LIBMNL_LIBS="-L${PKG}${SYS_DIR[lib]} -lmnl" \ +LIBNETFILTER_ACCT_CFLAGS="-I${PKG}${SYS_DIR[include]}" \ +LIBNETFILTER_ACCT_LIBS="-L${PKG}${SYS_DIR[lib]} -lnetfilter_acct" \ +configure +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +} + +SRCNAME[9]=conntrack-tools +SRCVERS[9]=1.4.1 +SRCPACK[9]=http://ftp.netfilter.org/pub/${SRCNAME[9]}/${SRCNAME[9]}-${SRCVERS[9]}.tar.bz2 +SRCCOPY[9]="GPL2" + +build9() +{ +rm -f ${PKG}${SYS_DIR[lib]}/*.la +LIBMNL_CFLAGS="-I${PKG}${SYS_DIR[include]}" \ +LIBMNL_LIBS="-L${PKG}${SYS_DIR[lib]} -lmnl" \ +LIBNFNETLINK_CFLAGS="-I${PKG}${SYS_DIR[include]}" \ +LIBNFNETLINK_LIBS="-L${PKG}${SYS_DIR[lib]} -lnfnetlink" \ +LIBNETFILTER_CONNTRACK_CFLAGS="-I${PKG}${SYS_DIR[include]}" \ +LIBNETFILTER_CONNTRACK_LIBS="-L${PKG}${SYS_DIR[lib]} -lnetfilter_conntrack" \ +LIBNETFILTER_CTTIMEOUT_CFLAGS="-I${PKG}${SYS_DIR[include]}" \ +LIBNETFILTER_CTTIMEOUT_LIBS="-L${PKG}${SYS_DIR[lib]} -lnetfilter_cttimeout" \ +LIBNETFILTER_CTHELPER_CFLAGS="-I${PKG}${SYS_DIR[include]}" \ +LIBNETFILTER_CTHELPER_LIBS="-L${PKG}${SYS_DIR[lib]} -lnetfilter_cthelper" \ +LIBNETFILTER_QUEUE_CFLAGS="-I${PKG}${SYS_DIR[include]}" \ +LIBNETFILTER_QUEUE_LIBS="-L${PKG}${SYS_DIR[lib]} -lnetfilter_queue" \ +configure +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +install.dir ${PKG}${SYS_DIR[systemdsystemunitdir]} +install.dat conntrackd.service ${PKG}${SYS_DIR[systemdsystemunitdir]} +install.dir ${PKG}${SYS_DIR[etc]}/iptables +install.cfg doc/helper/conntrackd.conf ${PKG}${SYS_DIR[etc]}/iptables/conntrackd.conf.new +install.dir ${PKG}${SYS_DIR[etc]}/tmpfiles.d +install.dat conntrackd.conf.tmpfiles ${PKG}${SYS_DIR[etc]}/tmpfiles.d/conntrackd.conf +} + +SRCNAME[10]=iptables +SRCVERS[10]=1.4.18 +SRCPACK[10]=http://ftp.netfilter.org/pub/${SRCNAME[10]}/${SRCNAME[10]}-${SRCVERS[10]}.tar.bz2 +SRCCOPY[10]="GPL2" + +build10() +{ +sed -i 's|${libdir}/pkgconfig|${datarootdir}/pkgconfig|g' configure +sed -i 's|${datadir}/xtables|${datadir}/net|g' configure +rm include/linux/types.h +libnfnetlink_CFLAGS="-I${PKG}${SYS_DIR[include]}" \ +libnfnetlink_LIBS="-L${PKG}${SYS_DIR[lib]} -lnfnetlink" \ +LDFLAGS="-L${PKG}${SYS_DIR[lib]}" \ +configure \ + --enable-devel \ + --enable-libipq \ + --with-xtlibdir=${SYS_DIR[lib]}/plugins/xtables +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +sed -i "s|@SYSTEMDSYSTEMSCRIPTDIR@|${SYS_DIR[systemdsystemscriptdir]}|g" ip{,6}tables.service +install.dir ${PKG}${SYS_DIR[systemdsystemunitdir]} +install.dat ip{,6}tables.service ${PKG}${SYS_DIR[systemdsystemunitdir]} +install.dir ${PKG}${SYS_DIR[systemdsystemscriptdir]} +install.bin iptables-flush ${PKG}${SYS_DIR[systemdsystemscriptdir]} +install.dir ${PKG}${SYS_DIR[etc]}/iptables +install.dat rules/{empty,simple_firewall}.rules ${PKG}${SYS_DIR[etc]}/iptables +install.dir ${PKG}${SYS_DIR[var]}/lib/ip{,6}tables +install.dat rules/empty-{filter,mangle,nat,raw,security}.rules ${PKG}${SYS_DIR[var]}/lib/iptables +install.dat rules/empty-{filter,mangle,nat,raw,security}.rules ${PKG}${SYS_DIR[var]}/lib/ip6tables +} + +SRCNAME[11]=ipset +SRCVERS[11]=6.17 +SRCPACK[11]=http://ftp.netfilter.org/pub/${SRCNAME[11]}/${SRCNAME[11]}-${SRCVERS[11]}.tar.bz2 +SRCCOPY[11]="GPL2" + +build11() +{ +libmnl_CFLAGS="-I${PKG}${SYS_DIR[include]}" \ +libmnl_LIBS="-L${PKG}${SYS_DIR[lib]} -lmnl" \ +LDFLAGS="-L${PKG}${SYS_DIR[lib]}" \ +configure \ + --with-kmod=no +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +changelog ChangeLog +sed -i "s|@SYSTEMDSYSTEMSCRIPTDIR@|${SYS_DIR[systemdsystemscriptdir]}|g" ipset.service +install.dir ${PKG}${SYS_DIR[etc]}/iptables +touch ${PKG}${SYS_DIR[etc]}/iptables/ipset.conf.new +install.dir ${PKG}${SYS_DIR[share]}/pkgconfig +install.dat lib/libipset.pc ${PKG}${SYS_DIR[share]}/pkgconfig +install.dir ${PKG}${SYS_DIR[systemdsystemunitdir]} +install.dat ipset.service ${PKG}${SYS_DIR[systemdsystemunitdir]} +install.dir ${PKG}${SYS_DIR[systemdsystemscriptdir]} +install.bin ipset-systemd ${PKG}${SYS_DIR[systemdsystemscriptdir]}/ipset +install.dir ${PKG}${SYS_DIR[bashcompletiondir]} +install.dat utils/ipset_bash_completion/ipset_bash_completion \ + ${PKG}${SYS_DIR[bashcompletiondir]}/ipset +} + +SRCNAME[12]=arptables +SRCVERS[12]=v0.0.4 +SRCPACK[12]=${URL[sf]}/ebtables/arptables/${SRCNAME[12]}-${SRCVERS[12]}/${SRCNAME[12]}-${SRCVERS[12]}.tar.gz +SRCCOPY[12]="GPL2" + +build12() +{ +make ${JOBS} +make install DESTDIR="${PKG}" \ + PREFIX="${SYS_DIR[usr]}" MANDIR="${SYS_DIR[man]}" +sed -i "s|@SYSTEMDSYSTEMSCRIPTDIR@|${SYS_DIR[systemdsystemscriptdir]}|g" arptables.service +install.dir ${PKG}${SYS_DIR[etc]}/iptables +touch ${PKG}${SYS_DIR[etc]}/iptables/arptables.conf.new +install.dir ${PKG}${SYS_DIR[systemdsystemunitdir]} +install.dat arptables.service ${PKG}${SYS_DIR[systemdsystemunitdir]} +install.dir ${PKG}${SYS_DIR[systemdsystemscriptdir]} +install.bin arptables.systemd ${PKG}${SYS_DIR[systemdsystemscriptdir]}/arptables +rm -rf ${PKG}${SYS_DIR[etc]}/rc.d +} diff --git a/base/firewall/ipset-6.17-mnllinking.patch.xz b/base/firewall/ipset-6.17-mnllinking.patch.xz Binary files differnew file mode 100644 index 0000000..a4cc24e --- /dev/null +++ b/base/firewall/ipset-6.17-mnllinking.patch.xz diff --git a/base/firewall/ipset-6.17-systemd.patch.xz b/base/firewall/ipset-6.17-systemd.patch.xz Binary files differnew file mode 100644 index 0000000..2ef4961 --- /dev/null +++ b/base/firewall/ipset-6.17-systemd.patch.xz diff --git a/base/firewall/iptables-1.4.18-extensioncppflags.patch.xz b/base/firewall/iptables-1.4.18-extensioncppflags.patch.xz Binary files differnew file mode 100644 index 0000000..4750602 --- /dev/null +++ b/base/firewall/iptables-1.4.18-extensioncppflags.patch.xz diff --git a/base/firewall/iptables-1.4.18-rules.patch.xz b/base/firewall/iptables-1.4.18-rules.patch.xz Binary files differnew file mode 100644 index 0000000..9b9b2c3 --- /dev/null +++ b/base/firewall/iptables-1.4.18-rules.patch.xz diff --git a/base/firewall/iptables-1.4.18-systemd.patch.xz b/base/firewall/iptables-1.4.18-systemd.patch.xz Binary files differnew file mode 100644 index 0000000..dbb8084 --- /dev/null +++ b/base/firewall/iptables-1.4.18-systemd.patch.xz diff --git a/base/firewire/firewire.build b/base/firewire/firewire.build new file mode 100755 index 0000000..3afddf8 --- /dev/null +++ b/base/firewire/firewire.build @@ -0,0 +1,108 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=firewire +VERSION=$(date +%Y%m%d) +BUILD=1 +OPTDEPENDS=('usb >= 1.0.15-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}: firewire +${NAME}: +${NAME}: FireWire (IEEE 1394) support libraries and tools. FireWire is a +${NAME}: serial bus interface for high-speed communications and isochronous +${NAME}: real-time data tranfer which is used by many camcorders. +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +configure() +{ +sed -i 's|@libdir@/pkgconfig|@datarootdir@/pkgconfig|g' Makefile.{in,am} +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]}" \ + --localstatedir="${SYS_DIR[var]}" \ + ${*} +make ${JOBS} +make install DESTDIR="${PKG}" +} + +SRCNAME[0]=libraw1394 +SRCVERS[0]=2.1.0 +SRCPACK[0]=http://www.kernel.org/pub/linux/libs/ieee1394/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="LGPL21" + +build0() +{ +configure +doc AUTHORS +changelog NEWS +} + +SRCNAME[1]=libiec61883 +SRCVERS[1]=1.2.0 +SRCPACK[1]=http://www.kernel.org/pub/linux/libs/ieee1394/${SRCNAME[1]}-${SRCVERS[1]}.tar.xz +SRCCOPY[1]="LGPL21" + +build1() +{ +LIBRAW1394_CFLAGS="-I${PKG}${SYS_DIR[include]}" \ +LIBRAW1394_LIBS="-L${PKG}${SYS_DIR[lib]} -lraw1394" \ +configure +doc AUTHORS +changelog NEWS +} + +SRCNAME[2]=libdc1394 +SRCVERS[2]=2.2.1 +SRCPACK[2]=${URL[sf]}/libdc1394/libdc1394-2/${SRCVERS[2]}/${SRCNAME[2]}-${SRCVERS[2]}.tar.gz +SRCCOPY[2]="LGPL21" + +build2() +{ +configure +doc AUTHORS +changelog NEWS +} + +SRCNAME[3]=libavc1394 +SRCVERS[3]=0.5.4 +SRCPACK[3]=${URL[sf]}//${SRCVERS[3]}/${SRCNAME[3]}-${SRCVERS[3]}.tar.gz +SRCCOPY[3]="LGPL21" + +build3() +{ +LIBRAW1394_CFLAGS="-I${PKG}${SYS_DIR[include]}" \ +LIBRAW1394_LIBS="-L${PKG}${SYS_DIR[lib]} -lraw1394" \ +configure +doc AUTHORS +changelog NEWS +} diff --git a/base/framebuffer/fbcat-0.3-man.patch.xz b/base/framebuffer/fbcat-0.3-man.patch.xz Binary files differnew file mode 100644 index 0000000..bc544c9 --- /dev/null +++ b/base/framebuffer/fbcat-0.3-man.patch.xz diff --git a/base/framebuffer/fbida-2.09-cflags.patch.xz b/base/framebuffer/fbida-2.09-cflags.patch.xz Binary files differnew file mode 100644 index 0000000..646d84c --- /dev/null +++ b/base/framebuffer/fbida-2.09-cflags.patch.xz diff --git a/base/framebuffer/fbida-2.09-config.patch.xz b/base/framebuffer/fbida-2.09-config.patch.xz Binary files differnew file mode 100644 index 0000000..cf5f17e --- /dev/null +++ b/base/framebuffer/fbida-2.09-config.patch.xz diff --git a/base/framebuffer/fbida-2.09-extraldflags.patch.xz b/base/framebuffer/fbida-2.09-extraldflags.patch.xz Binary files differnew file mode 100644 index 0000000..0e96eb1 --- /dev/null +++ b/base/framebuffer/fbida-2.09-extraldflags.patch.xz diff --git a/base/framebuffer/fbida-2.09-fontsutf8.patch.xz b/base/framebuffer/fbida-2.09-fontsutf8.patch.xz Binary files differnew file mode 100644 index 0000000..877ee5e --- /dev/null +++ b/base/framebuffer/fbida-2.09-fontsutf8.patch.xz diff --git a/base/framebuffer/fbida-2.09-nocurl.patch.xz b/base/framebuffer/fbida-2.09-nocurl.patch.xz Binary files differnew file mode 100644 index 0000000..269b205 --- /dev/null +++ b/base/framebuffer/fbida-2.09-nocurl.patch.xz diff --git a/base/framebuffer/fbset-2.1-fbmodes.patch.xz b/base/framebuffer/fbset-2.1-fbmodes.patch.xz Binary files differnew file mode 100644 index 0000000..d71cc3f --- /dev/null +++ b/base/framebuffer/fbset-2.1-fbmodes.patch.xz diff --git a/base/framebuffer/fbset-2.1-kernelfbh.patch.xz b/base/framebuffer/fbset-2.1-kernelfbh.patch.xz Binary files differnew file mode 100644 index 0000000..cc1c583 --- /dev/null +++ b/base/framebuffer/fbset-2.1-kernelfbh.patch.xz diff --git a/base/framebuffer/fbset-2.1-makefile.patch.xz b/base/framebuffer/fbset-2.1-makefile.patch.xz Binary files differnew file mode 100644 index 0000000..ba346f8 --- /dev/null +++ b/base/framebuffer/fbset-2.1-makefile.patch.xz diff --git a/base/framebuffer/fbset-2.1-manpages.patch.xz b/base/framebuffer/fbset-2.1-manpages.patch.xz Binary files differnew file mode 100644 index 0000000..469ffad --- /dev/null +++ b/base/framebuffer/fbset-2.1-manpages.patch.xz diff --git a/base/framebuffer/fbset-2.1-newaccels.patch.xz b/base/framebuffer/fbset-2.1-newaccels.patch.xz Binary files differnew file mode 100644 index 0000000..7813cea --- /dev/null +++ b/base/framebuffer/fbset-2.1-newaccels.patch.xz diff --git a/base/framebuffer/fbset-2.1-rgbkeyword.patch.xz b/base/framebuffer/fbset-2.1-rgbkeyword.patch.xz Binary files differnew file mode 100644 index 0000000..ed98f97 --- /dev/null +++ b/base/framebuffer/fbset-2.1-rgbkeyword.patch.xz diff --git a/base/framebuffer/fbset-2.1-usage.patch.xz b/base/framebuffer/fbset-2.1-usage.patch.xz Binary files differnew file mode 100644 index 0000000..c11b17b --- /dev/null +++ b/base/framebuffer/fbset-2.1-usage.patch.xz diff --git a/base/framebuffer/fbset-2.1-warnings.patch.xz b/base/framebuffer/fbset-2.1-warnings.patch.xz Binary files differnew file mode 100644 index 0000000..97ec63a --- /dev/null +++ b/base/framebuffer/fbset-2.1-warnings.patch.xz diff --git a/base/framebuffer/framebuffer.build b/base/framebuffer/framebuffer.build new file mode 100755 index 0000000..c3c8ce6 --- /dev/null +++ b/base/framebuffer/framebuffer.build @@ -0,0 +1,98 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=framebuffer +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}: framebuffer +${NAME}: +${NAME}: The Linux framebuffer makes it possible to use the console in +${NAME}: graphics mode which allows among other things to have large +${NAME}: consoles. This package includes the following framebuffer utilities: +${NAME}: +${NAME}: * fbset (view and change framebuffer settings) +${NAME}: * fbi (display images) +${NAME}: * fbcat (dump the console screen to a file) +${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/fb.modes.new +EOF + +# Sources + +SRCNAME[0]=fbset +SRCVERS[0]=2.1 +SRCPACK[0]=http://users.telenet.be/geertu/Linux/fbdev/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL2" + +build0() +{ +make ${JOBS} CFLAGS="${FLAGS}" +make install DESTDIR="${PKG}" PREFIX="${SYS_DIR[usr]}" MANDIR="${SYS_DIR[man]}" +doc etc/fb.modes.{Falcon,NTSC,PAL,ATI} +install.dir ${PKG}${SYS_DIR[etc]} +install.cfg etc/fb.modes.ATI ${PKG}${SYS_DIR[etc]}/fb.modes.new +} + +SRCNAME[1]=fbida +SRCVERS[1]=2.09 +SRCPACK[1]=http://dl.bytesex.org/releases/fbida/${SRCNAME[1]}-${SRCVERS[1]}.tar.gz +SRCCOPY[1]="GPL2" + +build1() +{ +make ${JOBS} verbose=yes OPTS="${FLAGS}" +make install DESTDIR="${PKG}" prefix="${SYS_DIR[usr]}" +changelog Changes +rm -f \ + ${PKG}${SYS_DIR[bin]}/{fbgs,exiftran} \ + ${PKG}${SYS_DIR[man]}/man1/{fbgs,exiftran}.1 +} + +SRCNAME[2]=fbcat +SRCVERS[2]=0.3 +SRCPACK[2]=http://fbcat.googlecode.com/files/${SRCNAME[2]}-${SRCVERS[2]}.tar.gz +SRCCOPY[2]="GPL2" + +build2() +{ +make ${JOBS} CFLAGS="${FLAGS}" +changelog doc/changelog +install.dir ${PKG}${SYS_DIR[bin]} +install.bin fb{cat,grab} ${PKG}${SYS_DIR[bin]} +install.dir ${PKG}${SYS_DIR[man]}/man1 +install.man doc/fb{cat,grab}.1 ${PKG}${SYS_DIR[man]}/man1 +} diff --git a/base/fs_btr/fs_btr.build b/base/fs_btr/fs_btr.build new file mode 100755 index 0000000..6023d5d --- /dev/null +++ b/base/fs_btr/fs_btr.build @@ -0,0 +1,51 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=fs_btr +CHECKOUT=20130318 +VERSION=0.20.${CHECKOUT} +BUILD=1 +OPTDEPENDS=('fs_ext >= 1.42.7-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}: fs_btr (btrfs filesystem utilities) +${NAME}: +${NAME}: User space utilities for the 'btrfs' filesystem. +${NAME}: +${NAME}: Homepage: http://btrfs.wiki.kernel.org +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=btrfs-progs +SRCVERS[0]=${CHECKOUT} +SRCPACK[0]=${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="GPL2" + +build0() +{ +sed -i 's|$(prefix)/man|$(prefix)/share/man|g' man/Makefile +make ${JOBS} CFLAGS="${FLAGS}" V=1 +make install DESTDIR="${PKG}" prefix="${SYS_DIR[usr]}" bindir="${SYS_DIR[sbin]}" +gunzip ${PKG}${SYS_DIR[man]}/man?/*.?.gz +chmod 0644 ${PKG}${SYS_DIR[lib]}/*.a +} diff --git a/base/fs_cifs/fs_cifs.build b/base/fs_cifs/fs_cifs.build new file mode 100755 index 0000000..137cad4 --- /dev/null +++ b/base/fs_cifs/fs_cifs.build @@ -0,0 +1,59 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=fs_cifs +VERSION=6.0 +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}: fs_cifs +${NAME}: +${NAME}: Support tools for CIFS (Common Internet File System) a file sharing +${NAME}: protocol used to request file and print services over a network. It +${NAME}: is based on the SMB (Server Message Block) protocol widely in use by +${NAME}: personal computers and workstations running a wide variety of +${NAME}: operating systems. +${NAME}: +${NAME}: Homepage: https://wiki.samba.org/index.php/LinuxCIFS_utils +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=cifs-utils +SRCVERS[0]=${VERSION} +SRCPACK[0]=ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="GPL3" + +build0() +{ +ROOTSBINDIR="${SYS_DIR[sbin]}" \ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-libcap-ng=yes +#FIXME: systemd --enable-systemd +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +} diff --git a/base/fs_exfat/exfat-utils-1.0.1-nodebug.patch.xz b/base/fs_exfat/exfat-utils-1.0.1-nodebug.patch.xz Binary files differnew file mode 100644 index 0000000..a286ce7 --- /dev/null +++ b/base/fs_exfat/exfat-utils-1.0.1-nodebug.patch.xz diff --git a/base/fs_exfat/fs_exfat.build b/base/fs_exfat/fs_exfat.build new file mode 100755 index 0000000..247a284 --- /dev/null +++ b/base/fs_exfat/fs_exfat.build @@ -0,0 +1,65 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=fs_exfat +VERSION=1.0.1 +BUILD=1 +DEPENDS=('fuse >= 2.9.2-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}: fs_exfat +${NAME}: +${NAME}: A free exFAT file system implementation which uses FUSE. +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=fuse-exfat +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://exfat.googlecode.com/files/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL3" + +build0() +{ +scons CFLAGS="${FLAGS}" ${JOBS} install DESTDIR="${PKG}${SYS_DIR[sbin]}" +changelog ChangeLog +install.dir ${PKG}${SYS_DIR[man]}/man8 +install.man fuse/mount.exfat-fuse.8 ${PKG}${SYS_DIR[man]}/man8 +echo ".so man8/mount.exfat-fuse.8" > ${PKG}${SYS_DIR[man]}/man8/mount.exfat.8 +} + +SRCNAME[1]=exfat-utils +SRCVERS[1]=${VERSION} +SRCPACK[1]=http://exfat.googlecode.com/files/${SRCNAME[1]}-${SRCVERS[1]}.tar.gz +SRCCOPY[1]="GPL3" + +build1() +{ +scons CFLAGS="${FLAGS}" ${JOBS} install DESTDIR="${PKG}${SYS_DIR[sbin]}" +changelog ChangeLog +install.dir ${PKG}${SYS_DIR[man]}/man8 +install.man */*.8 ${PKG}${SYS_DIR[man]}/man8 +echo ".so man8/exfatfsck.8" > ${PKG}${SYS_DIR[man]}/man8/fsck.exfat.8 +echo ".so man8/mkexfatfs.8" > ${PKG}${SYS_DIR[man]}/man8/mkfs.exfat.8 +} diff --git a/base/fs_exfat/fuse-exfat-1.0.1-nodebug.patch.xz b/base/fs_exfat/fuse-exfat-1.0.1-nodebug.patch.xz Binary files differnew file mode 100644 index 0000000..8abd16e --- /dev/null +++ b/base/fs_exfat/fuse-exfat-1.0.1-nodebug.patch.xz diff --git a/base/fs_ext/fs_ext.build b/base/fs_ext/fs_ext.build new file mode 100755 index 0000000..fc05ed8 --- /dev/null +++ b/base/fs_ext/fs_ext.build @@ -0,0 +1,124 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=fs_ext +VERSION=1.42.7 +BUILD=1 +OPTIONS="noinfoz" + +# 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}: fs_ext (extended filesystems utilities) +${NAME}: +${NAME}: Utilities needed to create and maintain ext2, ext3 and ext4 +${NAME}: filesystems. +${NAME}: +${NAME}: These utilities were written by Remy Card (the developer and +${NAME}: maintainer of the ext2 fs) and Theodore T'so. +${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... +} + +install_info() +{ + for file in "\${*}"; do + if [ -x usr/bin/install-info ]; then + usr/bin/install-info --info-dir=usr/share/info usr/share/info/\${file}.info.xz 2> /dev/null + fi + done +} + +config etc/mke2fs.conf.new + +# Install texinfo files + +install_info libext2fs +EOF + +# Sources + +SRCNAME[0]=e2fsprogs +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="GPL2 LGPL2" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datadir)/pkgconfig|g' */*/Makefile.in +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-rpath \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --infodir="${SYS_DIR[info]}" \ + --docdir="${SYS_DIR[doc]}/${SRCNAME[0]}-${SRCVERS[0]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --enable-elf-shlibs \ + --disable-libblkid \ + --disable-libuuid \ + --disable-uuidd +make ${JOBS} V=1 +make install install-libs DESTDIR="${PKG}" +changelog RELEASE-NOTES +mv \ + ${PKG}${SYS_DIR[etc]}/mke2fs.conf \ + ${PKG}${SYS_DIR[etc]}/mke2fs.conf.new +( + for fstype in ext2 ext3 ext4 ext4dev; do + cd ${PKG}${SYS_DIR[sbin]} + rm -f fsck.${fstype} mkfs.${fstype} + ln -sf mke2fs mkfs.${fstype} + ln -sf e2fsck fsck.${fstype} + cd ${PKG}${SYS_DIR[man]}/man8 + rm -f fsck.${fstype} mkfs.${fstype} + echo ".so man8/mke2fs.8" > mkfs.${fstype} + echo ".so man8/e2fsck.8" > fsck.${fstype} + done +) +( + cd ${PKG}${SYS_DIR[sbin]} + rm -f e2label findfs + ln -sf tune2fs e2label + ln -sf mke2fs mke3fs + ln -sf mke2fs mke4fs + cd ${PKG}${SYS_DIR[man]}/man8 + echo ".so man8/mke2fs.8" > mke3fs.8 + echo ".so man8/mke2fs.8" > mke4fs.8 +) +sed -i -e 's/^AWK=.*/AWK=awk/' "${PKG}/usr/bin/compile_et" +sed -i -e 's#^SS_DIR=.*#SS_DIR="/usr/share/ss"#' "${PKG}/usr/bin/mk_cmds" +sed -i -e 's#^ET_DIR=.*#ET_DIR="/usr/share/et"#' "${PKG}/usr/bin/compile_et" +} diff --git a/base/fs_fat/fatsort-1.1.331-man8.patch.xz b/base/fs_fat/fatsort-1.1.331-man8.patch.xz Binary files differnew file mode 100644 index 0000000..24d05fd --- /dev/null +++ b/base/fs_fat/fatsort-1.1.331-man8.patch.xz diff --git a/base/fs_fat/fs_fat.build b/base/fs_fat/fs_fat.build new file mode 100755 index 0000000..5daad48 --- /dev/null +++ b/base/fs_fat/fs_fat.build @@ -0,0 +1,72 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=fs_fat +VERSION=3.0.18 +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}: fs_fat (tools for working with FAT filesystems) +${NAME}: +${NAME}: Utilities for creating FAT filesystems (mkdosfs), and for checking +${NAME}: and repairing them (dosfsck). +${NAME}: +${NAME}: Homepage: http://www.daniel-baumann.ch/software/dosfstools +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=dosfstools +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://daniel-baumann.ch/files/software/dosfstools/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="GPL3" + +build0() +{ +make ${JOBS} OPTFLAGS="${FLAGS}" +make install DESTDIR="${PKG}" PREFIX="${SYS_DIR[usr]}" MANDIR="${SYS_DIR[man]}" +changelog ChangeLog +( + cd ${PKG}${SYS_DIR[man]}/man8 + rm -f {mkfs,fsck}.{msdos,vfat}.8 + rm -f {mkdosfs,dosfslabel,dosfsck}.8 + echo ".so man8/mkfs.fat.8" > mkfs.msdos.8 + echo ".so man8/mkfs.fat.8" > mkfs.vfat.8 + echo ".so man8/mkfs.fat.8" > mkdosfs.8 + echo ".so man8/fsck.fat.8" > fsck.msdos.8 + echo ".so man8/fsck.fat.8" > fsck.vfat.8 + echo ".so man8/fsck.fat.8" > dosfsck.8 + echo ".so man8/fatlabel.8" > dosfslabel.8 +) +rm -rf ${PKG}${SYS_DIR[doc]}/${SRCNAME[0]} +} + +SRCNAME[1]=fatsort +SRCVERS[1]=1.1.331 +SRCPACK[1]=${URL[sf]}/fatsort/${SRCNAME[1]}-${SRCVERS[1]}.tar.gz +SRCCOPY[1]="GPL2" + +build1() +{ +make ${JOBS} CFLAGS+="${FLAGS}" +make install DESTDIR="${PKG}" MANDIR="${SYS_DIR[man]}/man8" SBINDIR="${SYS_DIR[sbin]}" +changelog CHANGES +} diff --git a/base/fs_iso/fs_iso.build b/base/fs_iso/fs_iso.build new file mode 100755 index 0000000..ae01df2 --- /dev/null +++ b/base/fs_iso/fs_iso.build @@ -0,0 +1,60 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=fs_iso +VERSION=20080229 +BUILD=2 +DEPENDS=('fuse >= 2.9.2-1' 'glib >= 2.36.0-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}: fs_iso +${NAME}: +${NAME}: FuseISO is a FUSE module to mount ISO filesystem images (.iso, .nrg, +${NAME}: .bin, .mdf and .img files). It currently supports plain ISO9660 +${NAME}: level 1 and 2, Rock Ridge, Joliet and zisofs. +${NAME}: +${NAME}: Homepage: http://fuseiso.sf.net +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=fuseiso +SRCVERS[0]=${VERSION} +SRCPACK[0]=${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="GPL2" + +build0() +{ +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]}"\ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog ChangeLog +} diff --git a/base/fs_iso/fuseiso-20080229-largeiso.patch.xz b/base/fs_iso/fuseiso-20080229-largeiso.patch.xz Binary files differnew file mode 100644 index 0000000..a8e941e --- /dev/null +++ b/base/fs_iso/fuseiso-20080229-largeiso.patch.xz diff --git a/base/fs_ntfs/fs_ntfs.build b/base/fs_ntfs/fs_ntfs.build new file mode 100755 index 0000000..6ca3666 --- /dev/null +++ b/base/fs_ntfs/fs_ntfs.build @@ -0,0 +1,88 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=fs_ntfs +VERSION=2013.1.13 +BUILD=2 +DEPENDS=('fuse >= 2.9.2-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}: fs_ntfs (NTFS file system) +${NAME}: +${NAME}: This package provides support for the NTFS file system. It allows +${NAME}: accessing Windows NT, 2000, XP, 2003 and Vista partitions. +${NAME}: +${NAME}: Homepage: http://www.ntfs-3g.org +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=ntfs-3g_ntfsprogs +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://tuxera.com/opensource/${SRCNAME[0]}-${SRCVERS[0]}.tgz +SRCCOPY[0]="GPL2 LGPL2" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datadir)/pkgconfig|g' configure +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --enable-static=no \ + --enable-shared=yes \ + --prefix="${SYS_DIR[usr]}" \ + --exec-prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-fuse=external \ + --enable-extras \ + --enable-crypto \ + --disable-ldconfig +make ${JOBS} +make install DESTDIR="${PKG}" LIBTOOL="${SYS_DIR[bin]}/libtool" +doc AUTHORS CREDITS +mv \ + ${PKG}/sbin/* \ + ${PKG}${SYS_DIR[sbin]} +( + cd ${PKG}${SYS_DIR[bin]} + ln -s ntfs-3g ntfsmount + cd ${PKG}${SYS_DIR[sbin]} + ln -s ${SYS_DIR[bin]}/ntfs-3g mount.ntfs-fuse + ln -s ${SYS_DIR[bin]}/ntfs-3g mount.ntfs +) +( + cd ${PKG}${SYS_DIR[man]}/man8 + rm -f \ + mkfs.ntfs.8 \ + mount.ntfs-3g.8 \ + mount.lowntfs-3g.8 + echo ".so man8/mkntfs.8" > mkfs.ntfs.8 + echo ".so man8/ntfs-3g.8" > mount.ntfs-3g.8 + echo ".so man8/ntfs-3g.8" > mount.lowntfs-3g.8 +) +rm -rf \ + ${PKG}/sbin \ + ${PKG}${SYS_DIR[doc]}/ntfs-3g +} diff --git a/base/fs_ntfs/ntfs-3g_ntfsprogs-2013.1.13-autoreconf.patch.xz b/base/fs_ntfs/ntfs-3g_ntfsprogs-2013.1.13-autoreconf.patch.xz Binary files differnew file mode 100644 index 0000000..fe81279 --- /dev/null +++ b/base/fs_ntfs/ntfs-3g_ntfsprogs-2013.1.13-autoreconf.patch.xz diff --git a/base/fs_reiser3/reiser3.SlackBuild b/base/fs_reiser3/reiser3.SlackBuild new file mode 100755 index 0000000..40207e3 --- /dev/null +++ b/base/fs_reiser3/reiser3.SlackBuild @@ -0,0 +1,99 @@ +#!/bin/sh + +CWD=`pwd` +NAME=reiser3 +VERSION=3.6.21 +ARCH=i586 +BUILD=1 +PKGNAME=reiserfsprogs +PKGVER=${VERSION} +BASEDIR=${PKGNAME}-${PKGVER} +ARCHIVE=${BASEDIR}.tar.bz2 +REPOSITORY=http://www.kernel.org/pub/linux/utils/fs/reiserfs +FLAGS="-O2 -march=pentium -mtune=pentium -fno-strength-reduce \ + -fomit-frame-pointer -ffast-math" +PKG=/tmp/package-$NAME + +rm -rf $PKG +mkdir -p $PKG + +# Obtain sources +if [ ! -e $ARCHIVE ]; then + if `wget "$REPOSITORY/$ARCHIVE"`; then + true + else + exit 1 + fi +fi + +# Compile +cd /tmp +tar jxvf $CWD/$ARCHIVE +cd $BASEDIR +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" ./configure \ + --prefix=/usr \ + --sbindir=/sbin \ + --mandir=/usr/man \ + --build=${ARCH}-slackware-linux +make + +# Install +make install DESTDIR=$PKG +mkdir -p $PKG/install $PKG/usr/doc/$NAME-$VERSION +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 ':'. + + |-----handy-ruler------------------------------------------------------| +reiser3: reiser3 (ReiserFS 3 file system utilities) +reiser3: +reiser3: Utilities for ReiserFS 3, a file system based on balanced tree +reiser3: algorithms. +reiser3: +reiser3: Homepage: http://www.namesys.com +reiser3: +reiser3: +reiser3: +reiser3: +reiser3: +EOF + +install -m644 -g0 -o0 CREDITS ChangeLog README \ + $PKG/usr/doc/${NAME}-${VERSION} + +gzip -9nf \ + $PKG/usr/doc/${NAME}-${VERSION}/ChangeLog + +chmod 444 ${PKG}/usr/man/man?/*.? +gzip -9nf ${PKG}/usr/man/man?/*.? + +#( +# # It should be .reiser3 and not .reiserfs +# FSNAME=reiserfs +# cd ${PKG}/sbin +# mv mkreiserfs mkfs.${FSNAME} +# mv reiserfsck fsck.${FSNAME} +# mv reiserfstune tunefs.${FSNAME} +# mv debugreiserfs debugfs.${FSNAME} +# mv resize_reiserfs resizefs.${FSNAME} +# cd ${PKG}/usr/man/man8 +# mv mkreiserfs.8 mkfs.${FSNAME}.8 +# mv reiserfsck.8 fsck.${FSNAME}.8 +# mv reiserfstune.8 tunefs.${FSNAME}.8 +# mv debugfsreiserfs.8 debugfs.${FSNAME}.8 +# mv resize_reiserfs.8 resizefs.${FSNAME}.8 +#) + +strip \ + ${PKG}/sbin/* || : + +chown -R root.root ${PKG} + +# Make package +cd $PKG +cat install/slack-desc | grep "$NAME:" > /tmp/$NAME-$VERSION-$ARCH-$BUILD.txt +makepkg -l y -c n /tmp/$NAME-$VERSION-$ARCH-$BUILD.tgz diff --git a/base/fs_ssh/sshfs.build b/base/fs_ssh/sshfs.build new file mode 100755 index 0000000..c82a11e --- /dev/null +++ b/base/fs_ssh/sshfs.build @@ -0,0 +1,58 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=fs_ssh +VERSION=2.4 +BUILD=1 +DEPENDS=('fuse >= 2.9.2-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}: sshfs (network filesystem) +${NAME}: +${NAME}: A filesystem client based on the SSH File Transfer Protocol. Since +${NAME}: most SSH servers already support this protocol it is very easy to +${NAME}: set up: i.e. on the server side there's nothing to do. On the client +${NAME}: side mounting the filesystem is as easy as logging into the server +${NAME}: with ssh. +${NAME}: +${NAME}: Homepage: http://fuse.sourceforge.net/sshfs.html +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=sshfs-fuse +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://dl.sf.net/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL2" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS FAQ.txt +changelog ChangeLog +} diff --git a/base/fs_union/fs_union.build b/base/fs_union/fs_union.build new file mode 100755 index 0000000..d348902 --- /dev/null +++ b/base/fs_union/fs_union.build @@ -0,0 +1,64 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=fs_union +VERSION=0.26 +BUILD=1 +DEPENDS=('fuse >= 2.9.2-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}: fs_union (FUSE-based union filesystem) +${NAME}: +${NAME}: A unionfs implementation which is more flexible than the current +${NAME}: in-kernel unionfs solution. +${NAME}: +${NAME}: Homepage: http://podgorny.cz/moin/UnionFsFuse +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=unionfs-fuse +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://podgorny.cz/unionfs-fuse/releases/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="BSD3" + +build0() +{ +cmake \ + -DCMAKE_VERBOSE_MAKEFILE:BOOL="on" \ + -DCMAKE_INSTALL_PREFIX:STRING="${SYS_DIR[usr]}" \ + -DCMAKE_C_FLAGS_RELEASE:STRING="${FLAGS}" \ + -DCMAKE_C_FLAGS_DEBUG:STRING="" \ + -DWITH_XATTR:BOOL="on" \ + -DMAN_INSTALL_DIR:STRING="${SYS_DIR[man]}" \ +. +make ${JOBS} +make install DESTDIR="${PKG}" +doc CREDITS +changelog NEWS +( + cd ${PKG}${SYS_DIR[man]}/man8 + echo ".so man8/unionfs-fuse.8" > unionfs.8 + echo ".so man8/unionfs-fuse.8" > mount.unionfs.8 +) +install.dir ${PKG}${SYS_DIR[sbin]} +install.bin mount.unionfs ${PKG}${SYS_DIR[sbin]} +} diff --git a/base/fuse/fuse.build b/base/fuse/fuse.build new file mode 100755 index 0000000..70ffa0a --- /dev/null +++ b/base/fuse/fuse.build @@ -0,0 +1,98 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=fuse +VERSION=2.9.2 +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}: FUSE (Filesystem in Userspace) +${NAME}: +${NAME}: FUSE is a simple interface for userspace programs to export a virtual +${NAME}: filesystem to the Linux kernel. FUSE also aims to provide a secure +${NAME}: method for non privileged users to create and mount their own +${NAME}: filesystem implementations. +${NAME}: +${NAME}: Homepage: http://fuse.sourceforge.net +${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... +} + +# Keep same perms on rc.fuse.new: +if [ -e etc/rc.d/rc.fuse ]; then + cp -a etc/rc.d/rc.fuse etc/rc.d/rc.fuse.new.incoming + cat etc/rc.d/rc.fuse.new > etc/rc.d/rc.fuse.new.incoming + mv etc/rc.d/rc.fuse.new.incoming etc/rc.d/rc.fuse.new +fi + +config etc/rc.d/rc.fuse.new +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${url[sf]}/${SRCNAME[0]}/files/fuse-2.X/${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL2 LGPL2" + +build0() +{ +MOUNT_FUSE_PATH="${SYS_DIR[sbin]}" \ +UDEV_RULES_PATH="${SYS_DIR[udevrules]}" \ +INIT_D_PATH="${SYS_DIR[etc]}/rc.d" \ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-rpath \ + --disable-static \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-pkgconfigdir="${SYS_DIR[share]}/pkgconfig" \ + --docdir="${SYS_DIR[doc]}/${SRCNAME[0]}-${SRCVERS[0]}" \ + --enable-lib \ + --enable-util +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS FAQ +changelog ChangeLog +# Move the start|stop script of fuse to the right place. +mv \ + ${PKG}${SYS_DIR[etc]}/rc.d/fuse \ + ${PKG}${SYS_DIR[etc]}/rc.d/rc.fuse.new +# udev handles device node creation +rm -rf ${PKG}/dev +} diff --git a/base/gamin/gamin-0.1.10-conf.patch.xz b/base/gamin/gamin-0.1.10-conf.patch.xz Binary files differnew file mode 100644 index 0000000..c27e0b1 --- /dev/null +++ b/base/gamin/gamin-0.1.10-conf.patch.xz diff --git a/base/gamin/gamin-0.1.10-fixconst.patch.xz b/base/gamin/gamin-0.1.10-fixconst.patch.xz Binary files differnew file mode 100644 index 0000000..2fd5325 --- /dev/null +++ b/base/gamin/gamin-0.1.10-fixconst.patch.xz diff --git a/base/gamin/gamin-0.1.10-fixinotifyhelperdoublelock.patch.xz b/base/gamin/gamin-0.1.10-fixinotifyhelperdoublelock.patch.xz Binary files differnew file mode 100644 index 0000000..254f52b --- /dev/null +++ b/base/gamin/gamin-0.1.10-fixinotifyhelperdoublelock.patch.xz diff --git a/base/gamin/gamin.build b/base/gamin/gamin.build new file mode 100755 index 0000000..424de20 --- /dev/null +++ b/base/gamin/gamin.build @@ -0,0 +1,87 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=gamin +VERSION=0.1.10 +BUILD=3 +DEPENDS=('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}: gamin (A minimalist FAM replacement) +${NAME}: +${NAME}: Gamin is a file and directory monitoring system defined to be a +${NAME}: subset of the FAM (File Alteration Monitor) system. +${NAME}: +${NAME}: Homepage: http://www.gnome.org/~veillard/gamin +${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... +} + +config etc/gamin/gaminrc.new +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[gnome]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="LGPL2" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +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]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --libexecdir="${SYS_DIR[lib]}/exec" \ + --with-python=/go/to/hell \ + --disable-dnotify \ + --enable-inotifyq +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +install.dir ${PKG}${SYS_DIR[etc]}/gamin +install.cfg gaminrc ${PKG}${SYS_DIR[etc]}/gamin/gaminrc.new +rm -rf ${PKG}${SYS_DIR[lib]}64 +} diff --git a/base/gawk/gawk-4.1.0-notermcap.patch.xz b/base/gawk/gawk-4.1.0-notermcap.patch.xz Binary files differnew file mode 100644 index 0000000..6c8cf98 --- /dev/null +++ b/base/gawk/gawk-4.1.0-notermcap.patch.xz diff --git a/base/gawk/gawk.build b/base/gawk/gawk.build new file mode 100755 index 0000000..a07b3d7 --- /dev/null +++ b/base/gawk/gawk.build @@ -0,0 +1,89 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=gawk +VERSION=4.1.0 +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}: gawk (pattern scanning and processing language) +${NAME}: +${NAME}: Gawk is the GNU Project's implementation of the AWK programming +${NAME}: language. It conforms to the definition of the language in the POSIX +${NAME}: 1003.2 Command Language And Utilities Standard. This version in turn +${NAME}: is based on the description in The AWK Programming Language, by Aho, +${NAME}: Kernighan, and Weinberger, with the additional features found in the +${NAME}: System V Release 4 version of UNIX awk. Gawk also provides more +${NAME}: recent Bell Labs awk extensions, and some GNU-specific extensions. +${NAME}: +${NAME}: Homepage: http://www.gnu.org/software/gawk +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +install_info() +{ + for file in "\${*}"; do + if [ -x usr/bin/install-info ]; then + usr/bin/install-info --info-dir=usr/share/info usr/share/info/\${file}.info.xz 2> /dev/null + fi + done +} + +# Install texinfo files + +install_info gawk gawkinet +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://ftp.gnu.org/gnu/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="GPL3" + +build0() +{ +sed -i 's|$(libdir)/@PACKAGE@|$(libdir)/plugins/@PACKAGE@|g' Makefile.in +sed -i 's|${libdir}/gawk|${libdir}/plugins/gawk|g' extension/configure +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --disable-rpath \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --infodir="${SYS_DIR[info]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --libexecdir="${SYS_DIR[lib]}/exec" +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +( + cd ${PKG}${SYS_DIR[bin]} + ln -sf gawk-${SRCVERS[0]} awk + ln -sf gawk-${SRCVERS[0]} gawk +) +( + cd ${PKG}${SYS_DIR[man]}/man1 + echo ".so man1/gawk.1" > awk.1 +) +} diff --git a/base/glib/glib-2.38.2-archdependentheader.patch.xz b/base/glib/glib-2.38.2-archdependentheader.patch.xz Binary files differnew file mode 100644 index 0000000..89bbfd8 --- /dev/null +++ b/base/glib/glib-2.38.2-archdependentheader.patch.xz diff --git a/base/glib/glib-2.38.2-systembussocket.patch.xz b/base/glib/glib-2.38.2-systembussocket.patch.xz Binary files differnew file mode 100644 index 0000000..89c087c --- /dev/null +++ b/base/glib/glib-2.38.2-systembussocket.patch.xz diff --git a/base/glib/glib.build b/base/glib/glib.build new file mode 100755 index 0000000..2944b8d --- /dev/null +++ b/base/glib/glib.build @@ -0,0 +1,137 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=glib +MAJOR=2.38 +VERSION=${MAJOR}.2 +BUILD=1 +DEPENDS=('libraries >= 20130211-1') +OPTIONS="symprepend" + +# 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}: glib (library of C routines) +${NAME}: +${NAME}: GLib is a library which includes support routines for C such as +${NAME}: lists, trees, hashes, memory allocation, and many other things. +${NAME}: +${NAME}: Homepage: http://www.gtk.org +${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 gio modules to the cache + +if [ -x ${SYS_DIR[bin]}/gio-querymodules ]; then + ${SYS_DIR[bin]}/gio-querymodules ${GIO_MODULE_DIR} +fi +EOF + +configure() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +sed -i 's|${libdir}/glib-2.0/include|${includedir}/glib-2.0/include|g' glib-2.0.pc.in +sed -i "s|/glib-2.0/include|/$(uname -m)-linux/glib-2.0|g" glib-2.0.pc.in +export PKG_CONFIG_PATH="${PKG}${SYS_DIR[share]}/pkgconfig" +export LD_LIBRARY_PATH="${PKG}${SYS_DIR[lib]}" +export LDFLAGS="-L${PKG}${SYS_DIR[lib]}" +export CPPFLAGS="-I${SYS_DIR[include]}/libelf -I${PKG}${SYS_DIR[include]}/gio-unix-2.0 -I${PKG}${SYS_DIR[include]}/glib-2.0 -I${PKG}${SYS_DIR[include]}/$(uname -m)-linux/glib-2.0" +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --enable-shared=yes \ + --enable-static=no \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --libexecdir="${SYS_DIR[lib]}/exec" \ + --with-html-dir="${SYS_DIR[html]}" \ + ${*} +} + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://download.gnome.org/sources/${SRCNAME[0]}/${MAJOR}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="LGPL2" + +build0() +{ +sed -i "s|@ARCHITECTURE@|$(uname -m)|g" glib/Makefile.{am,in} glib-2.0.pc.in +sed -i 's|codegendir = $(libdir)/gdbus-2.0/codegen|codegendir = $(libdir)/exec/gdbus-2.0/codegen|g' gio/gdbus-2.0/codegen/Makefile.in +sed -i 's|@libdir@|@libdir@/exec|g' gio/gdbus-2.0/codegen/gdbus-codegen.in +configure \ + --with-gio-module-dir="${GIO_MODULE_DIR}" +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +touch ${PKG}${GIO_MODULE_DIR}/giomodule.cache +rm -rf \ + ${PKG}${SYS_DIR[html]} \ + ${PKG}${SYS_DIR[share]}/{gdb,glib-2.0/gdb} \ + ${PKG}${SYS_DIR[bin]}/gtester-report \ + ${PKG}${SYS_DIR[man]}/man1/gtester-report.1 \ + ${PKG}${SYS_DIR[lib]}/*.la +} + +SRCNAME[1]=${NAME}-networking +SRCVERS[1]=${VERSION} +SRCPACK[1]=${URL[gnome]}/${SRCNAME[1]}/${MAJOR}/${SRCNAME[1]}-${SRCVERS[1]}.tar.xz +SRCCOPY[1]="LGPL2" + +build1() +{ +MODULE_DIR="${GIO_MODULE_DIR}" \ +LIBS="-lgmodule-2.0" \ +configure +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +changelog NEWS +} + +#INTROM=1.34 +#SRCNAME[3]=gobject-introspection +#SRCVERS[3]=${INTROM}.2 +#SRCPACK[3]=${URL[gnome]}/${SRCNAME[3]}/${INTROM}/${SRCNAME[3]}-${SRCVERS[3]}.tar.xz +#SRCCOPY[3]="LGPL2 GPL2" +# +#build3() +#{ +#sed -i "s|\$(shell pkg-config --variable=|${PKG}/\$(shell pkg-config --variable=|g" Makefile.in +#sed -i 's|$(GLIB_LIBDIR)/glib-2.0/include/glibconfig.h|$(GLIB_INCLUDEDIR)/glibconfig.h|g' Makefile.in +#sed -i 's|pkglibdir = $(libdir)/@PACKAGE@|pkglibdir = $(libdir)/exec/@PACKAGE@|g' Makefile.in +#sed -i 's|@libdir@|@libdir@/exec|g' tools/g-ir-scanner.in +#configure \ +# --with-glib-src="${BUILD[dir]}/${NAME}-${VERSION}" +#make ${JOBS} V=1 +#make install DESTDIR="${PKG}" +#doc AUTHORS CONTRIBUTORS +#changelog NEWS +#rm -rf \ +# ${PKG}${SYS_DIR[html]} \ +# ${PKG}${SYS_DIR[lib]}/*.la +#} diff --git a/base/gnutls/gnutls.build b/base/gnutls/gnutls.build new file mode 100755 index 0000000..c572132 --- /dev/null +++ b/base/gnutls/gnutls.build @@ -0,0 +1,70 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=gnutls +MAJOR=3.2 +VERSION=${MAJOR}.12 +BUILD=1 +DEPENDS=('libraries >= 20131221-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}: GnuTLS +${NAME}: +${NAME}: GnuTLS is a project that aims to develop a library which provides a +${NAME}: secure layer, over a reliable transport layer. Currently the GnuTLS +${NAME}: library implements the proposed standards by the IETF's TLS working +${NAME}: group. The TLS protocol provides communications privacy over the +${NAME}: Internet. The protocol allows client/server applications to +${NAME}: communicate in a way that is designed to prevent eavesdropping, +${NAME}: tampering, or message forgery. +${NAME}: +${NAME}: Homepage: http://www.gnu.org/software/gnutls +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION}.1 +SRCPACK[0]=ftp://ftp.gnutls.org/gcrypt/gnutls/v${MAJOR}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCROOT[0]="${SRCNAME[0]}-${VERSION}" +SRCCOPY[0]="GPL3" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' lib/Makefile.in libdane/Makefile.in +INCLUDE="-I${SYS_DIR[include]}/tasn1 -I${SYS_DIR[include]}/idn" +CFLAGS="${FLAGS} ${INCLUDE}" CXXFLAGS="${FLAGS} ${INCLUDE}" \ +./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]}" \ + --infodir="${SYS_DIR[info]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-html-dir="${SYS_DIR[html]}" +# --with-default-trust-store-pkcs11 ? +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog NEWS +# No development docs +rm -rf ${PKG}${SYS_DIR[info]} +} diff --git a/base/gpm/gpm-1.20.7-autostuff.patch.xz b/base/gpm/gpm-1.20.7-autostuff.patch.xz Binary files differnew file mode 100644 index 0000000..9b75590 --- /dev/null +++ b/base/gpm/gpm-1.20.7-autostuff.patch.xz diff --git a/base/gpm/gpm-1.20.7-inputattach.patch.xz b/base/gpm/gpm-1.20.7-inputattach.patch.xz Binary files differnew file mode 100644 index 0000000..596a718 --- /dev/null +++ b/base/gpm/gpm-1.20.7-inputattach.patch.xz diff --git a/base/gpm/gpm-1.20.7-libsilent.patch.xz b/base/gpm/gpm-1.20.7-libsilent.patch.xz Binary files differnew file mode 100644 index 0000000..0bcf039 --- /dev/null +++ b/base/gpm/gpm-1.20.7-libsilent.patch.xz diff --git a/base/gpm/gpm-1.20.7-quiet.patch.xz b/base/gpm/gpm-1.20.7-quiet.patch.xz Binary files differnew file mode 100644 index 0000000..c9465e2 --- /dev/null +++ b/base/gpm/gpm-1.20.7-quiet.patch.xz diff --git a/base/gpm/gpm-1.20.7-rundir.patch.xz b/base/gpm/gpm-1.20.7-rundir.patch.xz Binary files differnew file mode 100644 index 0000000..a2bfb09 --- /dev/null +++ b/base/gpm/gpm-1.20.7-rundir.patch.xz diff --git a/base/gpm/gpm-1.20.7-service.patch.xz b/base/gpm/gpm-1.20.7-service.patch.xz Binary files differnew file mode 100644 index 0000000..666aa8f --- /dev/null +++ b/base/gpm/gpm-1.20.7-service.patch.xz diff --git a/base/gpm/gpm-1.20.7-slackware.patch.xz b/base/gpm/gpm-1.20.7-slackware.patch.xz Binary files differnew file mode 100644 index 0000000..3a02510 --- /dev/null +++ b/base/gpm/gpm-1.20.7-slackware.patch.xz diff --git a/base/gpm/gpm-1.20.7-weakwgetch.patch.xz b/base/gpm/gpm-1.20.7-weakwgetch.patch.xz Binary files differnew file mode 100644 index 0000000..47dbb03 --- /dev/null +++ b/base/gpm/gpm-1.20.7-weakwgetch.patch.xz diff --git a/base/gpm/gpm.build b/base/gpm/gpm.build new file mode 100755 index 0000000..ab39ae5 --- /dev/null +++ b/base/gpm/gpm.build @@ -0,0 +1,95 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=gpm +VERSION=1.20.7 +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}: gpm (general purpose mouse server) +${NAME}: +${NAME}: The general purpose mouse server, or gpm, allows you to use the mouse +${NAME}: to cut and paste text from the screen. It also acts as a mouse server +${NAME}: for applications running on the Linux console, such as the Midnight +${NAME}: Commander file manager. +${NAME}: +${NAME}: NOTE: This program may cause problems when you start X on systems +${NAME}: that do not use a serial mouse. If you get an 'unable to open mouse +${NAME}: device' error from X, disable /etc/rc.d/rc.gpm. +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +install_info() +{ + for file in "\${*}"; do + if [ -x usr/bin/install-info ]; then + usr/bin/install-info --info-dir=usr/share/info usr/share/info/\${file}.info.xz 2> /dev/null + fi + done +} + +# Install texinfo files + +install_info gpm +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://www.nico.schottelius.org/software/gpm/archives/${SRCNAME[0]}-${SRCVERS[0]}.tar.lzma +SRCCOPY[0]="GPL2" + +build0() +{ +chmod +x configure +CPPFLAGS="-DRUN_QUIET" \ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --enable-static=no \ + --enable-shared=yes \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --infodir="${SYS_DIR[info]}" \ + --sysconfdir="${SYS_DIR[etc]}/gpm" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} +make install DESTDIR="${PKG}" +( cd inputattach ; make CFLAGS="${CFLAGS}" DESTDIR="${PKG}" install ) +doc README doc/FAQ doc/README.{etouch,gunze,microtouch,synaptics,twiddler} +changelog doc/changelog +install.bin mouseconfig ${PKG}${SYS_DIR[sbin]} +install.dir ${PKG}${SYS_DIR[etc]}/{gpm,rc.d} +install.cfg conf/*.conf ${PKG}${SYS_DIR[etc]}/gpm +install.dir ${PKG}${SYS_DIR[var]}/log/setup +install.bin setup.mouse ${PKG}${SYS_DIR[var]}/log/setup +install.dir ${PKG}${SYS_DIR[share]}/emacs/site-lisp +install.dat contrib/emacs/t-mouse.el ${PKG}${SYS_DIR[share]}/emacs/site-lisp +install.dir ${PKG}${SYS_DIR[systemdsystemunitdir]} +install.dat gpm.service ${PKG}${SYS_DIR[systemdsystemunitdir]} +( + cd ${PKG}${SYS_DIR[lib]} + chmod 0755 libgpm.so.?.?.? + ln -sf libgpm.so.?.?.? libgpm.so +) +# Unneeded debugging/test cli apps +rm -f ${PKG}${SYS_DIR[bin]}/{hltest,get-versions,display-{coords,buttons}} +} diff --git a/base/groff/groff-1.22.2-sitetmac.patch.xz b/base/groff/groff-1.22.2-sitetmac.patch.xz Binary files differnew file mode 100644 index 0000000..6db77e3 --- /dev/null +++ b/base/groff/groff-1.22.2-sitetmac.patch.xz diff --git a/base/groff/groff.build b/base/groff/groff.build new file mode 100755 index 0000000..07079bf --- /dev/null +++ b/base/groff/groff.build @@ -0,0 +1,92 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=groff +VERSION=1.22.2 +BUILD=1 +DEPENDS=('perl >= 5.12.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}: GNU groff (document formatting system) +${NAME}: +${NAME}: The groff package provides versions of troff, nroff, eqn, tbl and +${NAME}: other Unix text-formatting utilities. Groff is used to 'compile' man +${NAME}: pages stored in groff/nroff format into a form which can be printed +${NAME}: or displayed on the screen. These man pages are stored in compressed +${NAME}: form in the /usr/share/man/man? directories. +${NAME}: +${NAME}: Homepage: http://www.gnu.org/software/groff +${NAME}: +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +install_info() +{ + for file in "\${*}"; do + if [ -x usr/bin/install-info ]; then + usr/bin/install-info --info-dir=usr/share/info usr/share/info/\${file}.info.xz 2> /dev/null + fi + done +} + +# Install texinfo files + +install_info groff +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[gnu]}/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL3 FDL13" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-rpath \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --docdir="${SYS_DIR[doc]}/groff" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-appresdir="${SYS_DIR[share]}/X11/app-defaults" \ + --with-grofferdir="${SYS_DIR[lib]}/exec/groff" \ + --with-x +#FIXME: A subpackage for gxditview is needed +make ${JOBS} +make install DESTDIR="${PKG}" +changelog NEWS +license LICENSES +install.dat site.tmac ${PKG}${SYS_DIR[share]}/groff/site-tmac/man.local +install.dat site.tmac ${PKG}${SYS_DIR[share]}/groff/site-tmac/mdoc.local +# Compatibility symlinks +( + cd ${PKG}${SYS_DIR[bin]} + ln -sf eqn geqn + ln -sf tbl gtbl + ln -sf soelim zsoelim +) +rm -rf \ + ${PKG}${SYS_DIR[lib]}/groff \ + ${PKG}${SYS_DIR[doc]}/groff +} diff --git a/base/gzip/gzip.build b/base/gzip/gzip.build new file mode 100755 index 0000000..d49c213 --- /dev/null +++ b/base/gzip/gzip.build @@ -0,0 +1,89 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=gzip +VERSION=1.5 +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}: gzip (file compression utility) +${NAME}: +${NAME}: Gzip reduces the size of the named files using Lempel-Ziv coding +${NAME}: (LZ77). Whenever possible, each file is replaced by one with the +${NAME}: extension .gz, while keeping the same ownership modes, access and +${NAME}: modification times. +${NAME}: +${NAME}: Homepage: http://www.gnu.org/software/gzip +${NAME}: +${NAME}: +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +install_info() +{ + for file in "\${*}"; do + if [ -x usr/bin/install-info ]; then + usr/bin/install-info --info-dir=usr/share/info usr/share/info/\${file}.info.xz 2> /dev/null + fi + done +} + +# Install texinfo files + +install_info gzip +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[gnu]}/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="GPL3" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --infodir="${SYS_DIR[info]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog NEWS +# Already included in the ncompress package +rm -f ${PKG}${SYS_DIR[bin]}/uncompress +} + +SRCNAME[1]=pigz +SRCVERS[1]=2.3 +SRCPACK[1]=http://zlib.net/pigz/${SRCNAME[1]}-${SRCVERS[1]}.tar.gz + +build1() +{ +make CFLAGS="${FLAGS}" +make install install-compat DESTDIR="${PKG}" PREFIX="${SYS_DIR[usr]}" +doc README +} diff --git a/base/gzip/pigz-2.3-makefile.patch.xz b/base/gzip/pigz-2.3-makefile.patch.xz Binary files differnew file mode 100644 index 0000000..050f2dd --- /dev/null +++ b/base/gzip/pigz-2.3-makefile.patch.xz diff --git a/base/js/js.build b/base/js/js.build new file mode 100755 index 0000000..acd4c4a --- /dev/null +++ b/base/js/js.build @@ -0,0 +1,74 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=js +MAJOR=17.0 +VERSION=${MAJOR}.0 +BUILD=1 +DEPENDS=('libnspr >= 4.9.6-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}: libjs +${NAME}: +${NAME}: The SpiderMonkey JavaScript (ECMAScript 5) interpreter and libraries. +${NAME}: It includes a just-in-time (JIT) compiler for a significant speed +${NAME}: increase. +${NAME}: +${NAME}: Homepage: https://developer.mozilla.org/En/SpiderMonkey/17 +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=mozjs +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://ftp.mozilla.org/pub/mozilla.org/js/${SRCNAME[0]}${SRCVERS[0]}.tar.gz +SRCROOT[0]=${SRCNAME[0]}${SRCVERS[0]} +SRCCOPY[0]="MPL" + +#NOTE: glibc (libpthread) needs to be installed in /usr/lib +# https://bugzilla.mozilla.org/show_bug.cgi?id=514393 + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datadir)/pkgconfig|g' js/src/Makefile.in +cd js/src +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-system-nspr \ + --enable-threadsafe \ + --enable-readline +make ${JOBS} +make install DESTDIR="${PKG}" +find ${PKG}${SYS_DIR[include]} -type f -exec chmod 0644 {} + +chmod 0644 ${PKG}${SYS_DIR[share]}/pkgconfig/*.pc +( + cd ${PKG}${SYS_DIR[bin]} + ln -sf js17 js + cd ${PKG}${SYS_DIR[lib]} + ln -sf libmozjs-${MAJOR}.so libmozjs.so +) +rm -f ${PKG}${SYS_DIR[lib]}/*.a +} diff --git a/base/keyboard/kbd-1.15.3-fixestranslation.patch.xz b/base/keyboard/kbd-1.15.3-fixestranslation.patch.xz Binary files differnew file mode 100644 index 0000000..731028a --- /dev/null +++ b/base/keyboard/kbd-1.15.3-fixestranslation.patch.xz diff --git a/base/keyboard/kbd-1.15.3-keycodesman.patch.xz b/base/keyboard/kbd-1.15.3-keycodesman.patch.xz Binary files differnew file mode 100644 index 0000000..8a34668 --- /dev/null +++ b/base/keyboard/kbd-1.15.3-keycodesman.patch.xz diff --git a/base/keyboard/kbd-1.15.3-maps.patch.xz b/base/keyboard/kbd-1.15.3-maps.patch.xz Binary files differnew file mode 100644 index 0000000..8a7b7c9 --- /dev/null +++ b/base/keyboard/kbd-1.15.3-maps.patch.xz diff --git a/base/keyboard/kbd-1.15.3-nleuro.patch.xz b/base/keyboard/kbd-1.15.3-nleuro.patch.xz Binary files differnew file mode 100644 index 0000000..a0c0cda --- /dev/null +++ b/base/keyboard/kbd-1.15.3-nleuro.patch.xz diff --git a/base/keyboard/kbd-1.15.3-po.patch.xz b/base/keyboard/kbd-1.15.3-po.patch.xz Binary files differnew file mode 100644 index 0000000..a21466a --- /dev/null +++ b/base/keyboard/kbd-1.15.3-po.patch.xz diff --git a/base/keyboard/kbd-1.15.3-resizeconx86_64.patch.xz b/base/keyboard/kbd-1.15.3-resizeconx86_64.patch.xz Binary files differnew file mode 100644 index 0000000..c83042a --- /dev/null +++ b/base/keyboard/kbd-1.15.3-resizeconx86_64.patch.xz diff --git a/base/keyboard/kbd-1.15.3-slackware.patch.xz b/base/keyboard/kbd-1.15.3-slackware.patch.xz Binary files differnew file mode 100644 index 0000000..26a0d19 --- /dev/null +++ b/base/keyboard/kbd-1.15.3-slackware.patch.xz diff --git a/base/keyboard/kbd-1.15.3-unicodestart.patch.xz b/base/keyboard/kbd-1.15.3-unicodestart.patch.xz Binary files differnew file mode 100644 index 0000000..7c3cd22 --- /dev/null +++ b/base/keyboard/kbd-1.15.3-unicodestart.patch.xz diff --git a/base/keyboard/keyboard.build b/base/keyboard/keyboard.build new file mode 100755 index 0000000..9642dbb --- /dev/null +++ b/base/keyboard/keyboard.build @@ -0,0 +1,85 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=keyboard +VERSION=1.15.3 +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}: keyboard (keyboard maps and console fonts) +${NAME}: +${NAME}: Load and save keyboard mappings. Needed if you are not using the US +${NAME}: keyboard map. This package also contains utilities to change your +${NAME}: console fonts - if you install it you'll get a menu later on that +${NAME}: lets you select from many different fonts. If you like one, you can +${NAME}: make it your default font. A new default font can be chosen at any +${NAME}: time by typing 'setconsolefont'. +${NAME}: +${NAME}: Homepage: http://www.kbd-project.org +${NAME}: +EOF + +# Sources + +SRCNAME[0]=kbd +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://ftp.osuosl.org/pub/linux/utils/kbd/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-rpath \ + --prefix=/usr \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir=/etc \ + --libdir=/usr/lib$(libdirsuffix) \ + --localstatedir=/var \ + --datadir=/usr/share/kbd +make ${JOBS} KEYCODES_PROGS=yes RESIZECONS_PROGS=yes +make install KEYCODES_PROGS=yes RESIZECONS_PROGS=yes DESTDIR="${PKG}" +( cd src ; make resizecons ; install.bin resizecons ${PKG}/usr/bin ) +doc AUTHORS CREDITS +changelog ChangeLog +license COPYING +install.dir ${PKG}/usr/share/html/kbd +install.dat doc/*.html ${PKG}/usr/share/html/kbd +install.dir ${PKG}/install +install.dat doinst.sh ${PKG}/install +install.dir ${PKG}/etc/rc.d +install.dat rc.font.new ${PKG}/etc/rc.d +install.dir ${PKG}/var/log/setup +install.bin setup.setconsolefont ${PKG}/var/log/setup +install.dir ${PKG}/usr/bin +install.bin setconsolefont ${PKG}/usr/bin +#FIXME: compat +( + install.dir ${PKG}/bin + cd ${PKG}/bin ; ln -sf /usr/bin/loadkeys +) +} + +SRCNAME[1]=kbd +SRCVERS[1]=extra-fonts +SRCPACK[1]=${SRCNAME[1]}-${SRCVERS[1]}.tar.xz +SRCOPTS[1]="pkgunpack" + +build1() +{ +echo "Nothing to do here!" +} diff --git a/base/keyutils/keyutils-1.5.5-makefile.patch.xz b/base/keyutils/keyutils-1.5.5-makefile.patch.xz Binary files differnew file mode 100644 index 0000000..9fb5e69 --- /dev/null +++ b/base/keyutils/keyutils-1.5.5-makefile.patch.xz diff --git a/base/keyutils/keyutils.build b/base/keyutils/keyutils.build new file mode 100755 index 0000000..2dbb32f --- /dev/null +++ b/base/keyutils/keyutils.build @@ -0,0 +1,55 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=keyutils +VERSION=1.5.5 +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}: keyutils (Kernel key management utilities) +${NAME}: +${NAME}: This package contains tools and a wrapper library to control the +${NAME}: Linux kernel key management facility and to provide a mechanism by +${NAME}: which the kernel can call back to user space to get a key +${NAME}: instantiated. +${NAME}: +${NAME}: Homepage: http://people.redhat.com/dhowells/keyutils +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://people.redhat.com/dhowells/keyutils/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="GPL2 LGPL21" + +build0() +{ +make ${JOBS} OPTS="${CFLAGS}" +make install DESTDIR="${PKG}" \ + BINDIR="${SYS_DIR[bin]}" \ + SBINDIR="${SYS_DIR[sbin]}" \ + LIBDIR="${SYS_DIR[lib]}" \ + USRLIBDIR="${SYS_DIR[lib]}" \ + MAN1="${SYS_DIR[man]}/man1" \ + MAN3="${SYS_DIR[man]}/man3" \ + MAN5="${SYS_DIR[man]}/man5" \ + MAN8="${SYS_DIR[man]}/man8" +rm -f ${PKG}${SYS_DIR[lib]}/*.a +} diff --git a/base/kmod/kmod-17-searchconf.patch.xz b/base/kmod/kmod-17-searchconf.patch.xz Binary files differnew file mode 100644 index 0000000..465ffe9 --- /dev/null +++ b/base/kmod/kmod-17-searchconf.patch.xz diff --git a/base/kmod/kmod.build b/base/kmod/kmod.build new file mode 100755 index 0000000..1cbe1b6 --- /dev/null +++ b/base/kmod/kmod.build @@ -0,0 +1,102 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=kmod +VERSION=17 +BUILD=1 +DEPENDS=('xz >= 5.0.4-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}: kmod (kernel module utilities) +${NAME}: +${NAME}: A set of tools to handle common tasks with Linux kernel modules like +${NAME}: insert, remove, list, check properties, resolve dependencies and +${NAME}: aliases. +${NAME}: +${NAME}: These tools are desgined on top of libkmod, a library that is shipped +${NAME}: with kmod. +${NAME}: +${NAME}: Homepage: http://git.profusion.mobi/cgit.cgi/kmod.git +${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/depmod.d/search.conf.new +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://ftp.kernel.org/pub/linux/utils/kernel/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="GPL2" + +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]}" \ + --includedir="${SYS_DIR[include]}/kmod" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-bashcompletiondir="${SYS_DIR[bashcompletiondir]}" \ + --with-html-dir="${SYS_DIR[html]}" \ + --with-rootprefix="" \ + --with-zlib \ + --with-xz +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +changelog NEWS +install.dir ${PKG}${SYS_DIR[etc]}/{depmod,modprobe}.d +install.dat search.conf.new ${PKG}${SYS_DIR[etc]}/depmod.d +#FIXME: compatibility symlinks +( + install.dir ${PKG}/{sbin,${SYS_DIR[bin]},${SYS_DIR[sbin]}} + cd ${PKG}/sbin + ln -sf ${SYS_DIR[bin]}/kmod lsmod + cd ${PKG}${SYS_DIR[bin]} + ln -sf kmod lsmod + for dir in "/sbin" "${SYS_DIR[sbin]}"; do + cd ${PKG}${dir} + for tool in mod{probe,info} {ins,rm,dep}mod; do + ln -sf ${SYS_DIR[bin]}/kmod ${tool} + done + done +) +} diff --git a/base/libdrm/libdrm.build b/base/libdrm/libdrm.build new file mode 100755 index 0000000..1c1679d --- /dev/null +++ b/base/libdrm/libdrm.build @@ -0,0 +1,64 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=libdrm +VERSION=2.4.44 +BUILD=1 +DEPENDS=('udev >= 173-1' 'pci >= 20130507-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}: libdrm (A library to support Direct Rendering) +${NAME}: +${NAME}: This library implements an interface to the kernel's DRM services. It +${NAME}: is used to support hardware accelerated 3D rendering. +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://dri.freedesktop.org/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 + +#NOTE: cairo is just used for tests, it can therefore be safely ignored + +build0() +{ +sed -i 's|${libdir}/pkgconfig|${datarootdir}/pkgconfig|g' configure +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --enable-shared=yes \ + --enable-static=no \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-kernel-source=/usr/src/linux \ + --enable-cairo-tests=no \ + --enable-udev +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +} diff --git a/base/libnspr/libnspr.build b/base/libnspr/libnspr.build new file mode 100755 index 0000000..63d7050 --- /dev/null +++ b/base/libnspr/libnspr.build @@ -0,0 +1,77 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=libnspr +VERSION=4.9.6 +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}: libnspr (Netscape portable runtime) +${NAME}: +${NAME}: A library that provides platform independence for non-GUI operating +${NAME}: system facilities. These facilities include threads, thread +${NAME}: synchronization, normal file and network I/O, interval timing and +${NAME}: calendar time, basic memory management (malloc and free) and shared +${NAME}: library linking. +${NAME}: +${NAME}: Homepage: http://www.mozilla.org/projects/nspr +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=nspr +SRCVERS[0]=${VERSION} +SRCPACK[0]=ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${SRCVERS[0]}/src/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="MPL2" + +build0() +{ +case "$(uname -m)" in + x86_64) + ARCH_FLAGS="--enable-64bit" + ;; +esac +cd mozilla/nsprpub +sed -i 's|$(libdir)/pkgconfig|$(datadir)/pkgconfig|g' config/Makefile.in +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-static=no \ + --enable-shared=yes \ + --enable-optimize \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --includedir="${SYS_DIR[include]}/nspr" \ + --localstatedir="${SYS_DIR[var]}" \ + ${ARCH_FLAGS} +make ${JOBS} +make install DESTDIR="${PKG}" +( + cd ${PKG}${SYS_DIR[share]}/pkgconfig + ln -sf nspr.pc mozilla-nspr.pc +) +chmod 0644 ${PKG}${SYS_DIR[lib]}/*.a +rm -rf \ + ${PKG}${SYS_DIR[bin]}/{compile-et.pl,prerr.properties} \ + ${PKG}${SYS_DIR[share]}/aclocal \ + ${PKG}${SYS_DIR[include]}/nspr/md +} diff --git a/base/libnspr/nspr-4.9.6-pkgconfig.patch.xz b/base/libnspr/nspr-4.9.6-pkgconfig.patch.xz Binary files differnew file mode 100644 index 0000000..5830ca4 --- /dev/null +++ b/base/libnspr/nspr-4.9.6-pkgconfig.patch.xz diff --git a/base/libraries/libaio-0.3.109-optflags.patch.xz b/base/libraries/libaio-0.3.109-optflags.patch.xz Binary files differnew file mode 100644 index 0000000..75bd731 --- /dev/null +++ b/base/libraries/libaio-0.3.109-optflags.patch.xz diff --git a/base/libraries/libffi-3.0.13-includedir.patch.xz b/base/libraries/libffi-3.0.13-includedir.patch.xz Binary files differnew file mode 100644 index 0000000..04b9cb2 --- /dev/null +++ b/base/libraries/libffi-3.0.13-includedir.patch.xz diff --git a/base/libraries/libraries.build b/base/libraries/libraries.build new file mode 100755 index 0000000..bb0f0f1 --- /dev/null +++ b/base/libraries/libraries.build @@ -0,0 +1,394 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=libraries +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}: libraries (shared libraries needed by many programs) +${NAME}: +${NAME}: This is a collection of shared libraries needed to run most programs. +${NAME}: +${NAME}: It includes: zlib, gmp, libidn, libtasn1, libaio, libffi and nettle. +${NAME}: +${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... +} + +install_info() +{ + for file in "\${*}"; do + if [ -x usr/bin/install-info ]; then + usr/bin/install-info --info-dir=usr/share/info usr/share/info/\${file}.info.xz 2> /dev/null + fi + done +} + +# Install texinfo files + +install_info rluserman + +config etc/pkcs11/pkcs11.conf.new +EOF + +# Sources + +SRCNAME[0]=zlib +SRCVERS[0]=1.2.8 +SRCPACK[0]=http://zlib.net/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL3 LGPL3" + +build0() +{ +cmake \ + -DCMAKE_C_FLAGS:STRING="${FLAGS}" \ + -DCMAKE_CXX_FLAGS:STRING="${FLAGS}" \ + -DCMAKE_VERBOSE_MAKEFILE:BOOL="on" \ + -DCMAKE_INSTALL_PREFIX:PATH="${SYS_DIR[usr]}" \ + -DINSTALL_LIB_DIR:STRING="${SYS_DIR[lib]}" \ + -DINSTALL_MAN_DIR:STRING="${SYS_DIR[man]}" \ + -DINSTALL_PKGCONFIG_DIR:STRING="${SYS_DIR[share]}/pkgconfig" \ +. +make ${JOBS} +make install DESTDIR="${PKG}" +doc FAQ +changelog ChangeLog +} + +SRCNAME[1]=gmp +SRCVERS[1]=5.1.3 +SRCPACK[1]=ftp://ftp.gmplib.org/pub/gmp-${SRCVERS[1]}/${SRCNAME[1]}-${SRCVERS[1]}.tar.xz +SRCCOPY[1]="GPL3 LGPL3" + +build1() +{ +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]}" \ + --infodir="${SYS_DIR[info]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --enable-assembly \ + --enable-cxx +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +# No development docs +rm -rf ${PKG}${SYS_DIR[info]} +} + +SRCNAME[2]=mpfr +SRCVERS[2]=3.1.2 +SRCPACK[2]=http://www.mpfr.org/mpfr-current/${SRCNAME[2]}-${SRCVERS[2]}.tar.xz +SRCCOPY[2]="GPL3 LGPL3" + +build2() +{ +# Can't use -ffast-math with this library +CFLAGS="${FLAGS%-ffast-math}" CXXFLAGS="${FLAGS%-ffast-math}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --enable-shared=yes \ + --enable-static=no \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --infodir="${SYS_DIR[info]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-gmp-include="${PKG}${SYS_DIR[include]}" \ + --with-gmp-lib="${PKG}${SYS_DIR[lib]}" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +# No development docs +rm -rf \ + ${PKG}${SYS_DIR[doc]}/mpfr \ + ${PKG}${SYS_DIR[info]} +} + +SRCNAME[3]=libidn +SRCVERS[3]=1.28 +SRCPACK[3]=http://ftp.gnu.org/gnu/libidn/${SRCNAME[3]}-${SRCVERS[3]}.tar.gz +SRCCOPY[3]="GPL2 LGPL3" + +build3() +{ +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 \ + --disable-rpath \ + --enable-static=no \ + --enable-shared=yes \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --infodir="${SYS_DIR[info]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --includedir="${SYS_DIR[include]}/idn" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-html-dir="${SYS_DIR[html]}" \ + --enable-threads=posix +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog NEWS +# No development docs +rm -rf ${PKG}${SYS_DIR[info]} +} + +SRCNAME[4]=libtasn1 +SRCVERS[4]=3.4 +SRCPACK[4]=http://ftp.gnupg.org/pub/gnutls/${SRCNAME[4]}/${SRCNAME[4]}-${SRCVERS[4]}.tar.gz +SRCCOPY[4]="LGPL21 GPL3" + +build4() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' lib/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]}" \ + --infodir="${SYS_DIR[info]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --includedir="${SYS_DIR[include]}/tasn1" \ + --with-html-dir="${SYS_DIR[html]}" +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog NEWS +# No development docs +rm -rf ${PKG}${SYS_DIR[info]} +} + +SRCNAME[5]=libaio +SRCVERS[5]=0.3.109 +SRCPACK[5]=http://www.kernel.org/pub/linux/kernel/people/bcrl/aio/${SRCNAME[5]}-${SRCVERS[5]}.tar.bz2 +SRCCOPY[5]="LGPL21" + +build5() +{ +make ${JOBS} OPTFLAGS="${FLAGS}" +make install prefix="${PKG}${SYS_DIR[usr]}" libdir="${PKG}${SYS_DIR[lib]}" +changelog ChangeLog +rm -f ${PKG}${SYS_DIR[lib]}/libaio.a +} + +SRCNAME[6]=nettle +SRCVERS[6]=2.7.1 +SRCPACK[6]=http://www.lysator.liu.se/~nisse/archive/${SRCNAME[6]}-${SRCVERS[6]}.tar.gz +SRCCOPY[6]="LGPL21" + +build6() +{ +#NOTE: cannot use --disable-static as it breaks the build +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --enable-shared \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --infodir="${SYS_DIR[info]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} +make install DESTDIR="${PKG}" +changelog NEWS +chmod 0755 ${PKG}${SYS_DIR[lib]}/*.so* +# No development docs +rm -rf \ + ${PKG}${SYS_DIR[info]} \ + ${PKG}${SYS_DIR[lib]}/lib{nettle,hogweed}.a +} + +SRCNAME[7]=libffi +SRCVERS[7]=3.0.13 +SRCPACK[7]=ftp://sourceware.org/pub/${SRCNAME[7]}/${SRCNAME[7]}-${SRCVERS[7]}.tar.gz +SRCCOPY[7]="MIT" + +build7() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +sed -i "s|@ARCHITECTURE@|$(uname -m)|g" include/Makefile.{am,in} libffi.pc.in +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]}" \ + --infodir="${SYS_DIR[info]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} +make install DESTDIR="${PKG}" +changelog ChangeLog +#FIXME: kludge +mv \ + ${PKG}${SYS_DIR[lib]}64/* \ + ${PKG}${SYS_DIR[lib]} +rmdir ${PKG}${SYS_DIR[lib]}64 +# No development docs +rm -rf ${PKG}${SYS_DIR[info]} +} + +SRCNAME[8]=popt +SRCVERS[8]=1.16 +SRCPACK[8]=http://rpm5.org/files/popt/${SRCNAME[8]}-${SRCVERS[8]}.tar.gz +SRCCOPY[8]="MIT" + +build8() +{ +sed -i 's|$(prefix)/lib/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-rpath \ + --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]}" +make ${JOBS} +make install DESTDIR="${PKG}" +changelog CHANGES +} + +SRCNAME[9]=p11-kit +SRCVERS[9]=0.20.1 +SRCPACK[9]=http://p11-glue.freedesktop.org/releases/${SRCNAME[9]}-${SRCVERS[9]}.tar.gz +SRCCOPY[9]="BSD3" + +build9() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' p11-kit/Makefile.in +sed -i 's|${libdir}/p11-kit|${libdir}/exec/p11-kit|g' configure +LIBTASN1_CFLAGS="-I${PKG}${SYS_DIR[include]}/tasn1" \ +LIBTASN1_LIBS="-L${PKG}${SYS_DIR[lib]} -ltasn1" \ +LIBFFI_CFLAGS="-I${PKG}${SYS_DIR[include]}/$(uname -m)-linux/libffi-${SRCVERS[7]}" \ +LIBFFI_LIBS="-L${PKG}${SYS_DIR[lib]} -lffi" \ +CPPFLAGS="-I${PKG}${SYS_DIR[include]}/tasn1" \ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --disable-rpath \ + --enable-static=no \ + --enable-shared=yes \ + --enable-debug=no \ + --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]}" \ + --with-module-path="${SYS_DIR[lib]}/plugins/pkcs11" +#--with-trust-paths="${SYS_DIR[share]}/ca-certificates" +#--with-system-config= +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +mv \ + ${PKG}${SYS_DIR[etc]}/pkcs11/pkcs11.conf.example \ + ${PKG}${SYS_DIR[etc]}/pkcs11/pkcs11.conf.new +rm -rf ${PKG}${SYS_DIR[html]} +} + +#NOTE: ncurses is a dependency of readline + +SRCNAME[10]=readline +SRCVERS[10]=6.2 +SRCPACK[10]=${URL[gnu]}/readline/${SRCNAME[10]}-${SRCVERS[10]}.tar.gz +SRCCOPY[10]="GPL2" + +build10() +{ +case "$(uname -m)" in + x86_64) + PIC="-fPIC" + ;; +esac +sed -i 's|$(prefix)/lib/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +sed -i 's|-Wl,-rpath,$(libdir) ||g' support/shobj-conf +CFLAGS="${FLAGS} ${PIC}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --enable-static=yes \ + --enable-shared=yes \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --infodir="${SYS_DIR[info]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --enable-multibyte \ + --with-curses +make ${JOBS} SHLIB_LIBS="-lncurses" +make install DESTDIR="${PKG}" +changelog CHANGES +rm -rf \ + ${PKG}${SYS_DIR[share]}/readline \ + ${PKG}${SYS_DIR[info]}/{history,readline}* +#chmod 0755 ${PKG}${SYS_DIR[lib]}/libreadline*.so.* +} diff --git a/base/libraries/nettle-2.7.1-nodebugffs.patch.xz b/base/libraries/nettle-2.7.1-nodebugffs.patch.xz Binary files differnew file mode 100644 index 0000000..239d5fe --- /dev/null +++ b/base/libraries/nettle-2.7.1-nodebugffs.patch.xz diff --git a/base/libraries/readline-6.2-update004.patch.xz b/base/libraries/readline-6.2-update004.patch.xz Binary files differnew file mode 100644 index 0000000..4096354 --- /dev/null +++ b/base/libraries/readline-6.2-update004.patch.xz diff --git a/base/lilo/lilo-23.2-bootsplash.patch.xz b/base/lilo/lilo-23.2-bootsplash.patch.xz Binary files differnew file mode 100644 index 0000000..ea036b3 --- /dev/null +++ b/base/lilo/lilo-23.2-bootsplash.patch.xz diff --git a/base/lilo/lilo-23.2-slackware.patch.xz b/base/lilo/lilo-23.2-slackware.patch.xz Binary files differnew file mode 100644 index 0000000..c51f043 --- /dev/null +++ b/base/lilo/lilo-23.2-slackware.patch.xz diff --git a/base/lilo/lilo.build b/base/lilo/lilo.build new file mode 100755 index 0000000..9c3cfc8 --- /dev/null +++ b/base/lilo/lilo.build @@ -0,0 +1,74 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=lilo +VERSION=23.2 +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}: lilo (Linux Loader) +${NAME}: +${NAME}: Generic Boot Loader for Linux ('LInux LOader') by Werner Almesberger. +${NAME}: LILO boots Linux from your hard drive. It can also boot other +${NAME}: operating systems such as MS-DOS and OS/2, and can even boot DOS from +${NAME}: the second hard drive. LILO comes with utilities and documentation +${NAME}: that make it easier to install, such as 'liloconfig' and +${NAME}: 'QuickStart'. NOTE: Installing boot loaders is inherently dangerous +${NAME}: Be sure to have some means to boot your system from a different media +${NAME}: if you install LILO on your hard disk. +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=https://alioth.debian.org/frs/download.php/3539/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="BSD3" + +build0() +{ +make ${JOBS} +make -i install DESTDIR="${PKG}" MAN_DIR="/usr/man" SBIN_DIR="/usr/sbin" +doc README sample/*.conf readme/* +changelog NEWS +rm -rf \ + ${PKG}/boot/{coffee.bmp,*debian*} \ + ${PKG}/usr/bin/liloconfig \ + ${PKG}/etc/{initramfs,kernel} +mv \ + ${PKG}/etc/lilo.conf_example \ + ${PKG}/etc/lilo.conf.example +install.bin liloconfig ${PKG}/usr/sbin +install.dir ${PKG}/var/log/setup +install.bin setup.liloconfig ${PKG}/var/log/setup +install.dat text.lilohelp ${PKG}/var/log/setup +case "$(uname -m)" in + x86_64) + install.dat slack64.bmp ${PKG}/boot/slack.bmp + ;; + *) + install.dat slack.bmp ${PKG}/boot + ;; +esac +#FIXME: compat +install.dir ${PKG}/sbin +( + cd ${PKG}/sbin + ln -sf /usr/sbin/lilo + ln -sf /usr/sbin/liloconfig +) +} diff --git a/base/logrotate/logrotate-3.8.3-config.patch.xz b/base/logrotate/logrotate-3.8.3-config.patch.xz Binary files differnew file mode 100644 index 0000000..f28bc6b --- /dev/null +++ b/base/logrotate/logrotate-3.8.3-config.patch.xz diff --git a/base/logrotate/logrotate-3.8.3-paths.patch.xz b/base/logrotate/logrotate-3.8.3-paths.patch.xz Binary files differnew file mode 100644 index 0000000..3c48916 --- /dev/null +++ b/base/logrotate/logrotate-3.8.3-paths.patch.xz diff --git a/base/logrotate/logrotate-3.8.3-tabooexts.patch.xz b/base/logrotate/logrotate-3.8.3-tabooexts.patch.xz Binary files differnew file mode 100644 index 0000000..6b05cfe --- /dev/null +++ b/base/logrotate/logrotate-3.8.3-tabooexts.patch.xz diff --git a/base/logrotate/logrotate.build b/base/logrotate/logrotate.build new file mode 100755 index 0000000..b2c9440 --- /dev/null +++ b/base/logrotate/logrotate.build @@ -0,0 +1,70 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=logrotate +VERSION=3.8.3 +BUILD=3 + +# 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}: logrotate (system log rotation tool) +${NAME}: +${NAME}: The logrotate utility is designed to simplify the administration +${NAME}: of log files on a system which generates a lot of log files. +${NAME}: Logrotate allows for the automatic rotation compression, removal +${NAME}: and mailing of log files. Logrotate can be set to handle a log +${NAME}: file daily, weekly, monthly or when the log file gets to a certain +${NAME}: size. Normally, logrotate runs as a daily cron job. +${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/logrotate.conf.new +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://fedorahosted.org/releases/l/o/logrotate/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL2" + +build0() +{ +make ${JOBS} RPM_OPT_FLAGS="${FLAGS}" +make install PREFIX="${PKG}" MANDIR="${SYS_DIR[man]}" +changelog CHANGES +install.dir ${PKG}${SYS_DIR[etc]}/{logrotate.d,cron.daily} +install.dir ${PKG}${SYS_DIR[var]}/lib/logrotate +install.cfg logrotate.conf ${PKG}${SYS_DIR[etc]}/logrotate.conf.new +install.bin logrotate.cron ${PKG}${SYS_DIR[etc]}/cron.daily/logrotate +} diff --git a/base/lvm/LVM2-2.02.98-slackware.patch.xz b/base/lvm/LVM2-2.02.98-slackware.patch.xz Binary files differnew file mode 100644 index 0000000..1cee556 --- /dev/null +++ b/base/lvm/LVM2-2.02.98-slackware.patch.xz diff --git a/base/lvm/lvm.build b/base/lvm/lvm.build new file mode 100755 index 0000000..ddd821a --- /dev/null +++ b/base/lvm/lvm.build @@ -0,0 +1,146 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=lvm +VERSION=2.02.98 +BUILD=1 +DEPENDS=('udev >= 173-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}: lvm (Logical Volume Manager version 2) +${NAME}: +${NAME}: Heinz Mauelshagen's LVM (Logical Volume Manager) for Linux. LVM adds +${NAME}: an additional layer between the physical peripherals and the +${NAME}: low-level I/O interface to get a logical view of disks. This allows +${NAME}: the concatenation of several disks (so-called physical volumes or PVs) +${NAME}: to form a storage pool (so-called Volume Group or VG) with allocation +${NAME}: units called physical extents (called PE). With LVM, you can extend, +${NAME}: resize, or relocate storage dynamically. +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=LVM2 +SRCVERS[0]=${VERSION} +SRCPACK[0]=ftp://sources.redhat.com/pub/lvm2/${SRCNAME[0]}.${SRCVERS[0]}.tgz +SRCROOT[0]=${SRCNAME[0]}.${SRCVERS[0]} +SRCCOPY[0]="GPL2 LGPL21" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --prefix=/usr \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir=/etc \ + --libdir=/usr/lib$(libdirsuffix) \ + --localstatedir=/var \ + --sbindir=/usr/sbin \ + --disable-readline \ + --disable-selinux \ + --enable-cmdlib \ + --enable-applib \ + --enable-dmeventd \ + --enable-static_link \ + --enable-pkgconfig \ + --enable-udev_sync \ + --enable-udev_rules \ + --with-udev-prefix="/usr" \ + --with-udevdir="$(pkg-config udev --variable=udevdir)/rules.d" \ + --with-systemdsystemunitdir="${SYS_DIR[systemdsystemunitdir]}" \ + --with-tmpfilesdir="/etc/tmpfiles.d" \ + --with-default-run-dir=/run \ + --with-default-locking-dir=/run/lock \ + --with-dmeventd-pidfile=/run/dmeventd.pid \ + --with-device-uid=0 \ + --with-device-gid=6 \ + --with-device-mode=0644 \ + --with-staticdir=/usr/sbin \ + --with-usrsbindir=/usr/sbin \ + --with-usrlibdir=/usr/lib$(libdirsuffix) +make ${JOBS} +make install install_systemd_units DESTDIR="${PKG}" +doc WHATS_NEW_DM +changelog WHATS_NEW +install.dat doinst.sh ${PKG}/install +#FIXME: systemd (make install_systemd_generators) +#install.dir ${PKG}${SYS_DIR[run]}/lvm +mv \ + ${PKG}/etc/lvm/lvm.conf \ + ${PKG}/etc/lvm/lvm.conf.new +rm -rf \ + ${PKG}/usr/lib$(libdirsuffix)/*.a +#FIXME: compatibility symlinks +install.dir ${PKG}/sbin +( + cd ${PKG}/sbin + ln -sf /usr/sbin/dmeventd + ln -sf /usr/sbin/dmeventd.static + ln -sf /usr/sbin/lvmdump + ln -sf /usr/sbin/lvm + ln -sf /usr/sbin/lvm.static + ln -sf /usr/sbin/lvmconf + ln -sf /usr/sbin/dmsetup + ln -sf /usr/sbin/dmsetup.static + ln -sf /usr/sbin/vgimportclone + ln -sf /usr/sbin/fsadm + ln -sf /usr/sbin/lvm lvchange + ln -sf /usr/sbin/lvm lvconvert + ln -sf /usr/sbin/lvm lvcreate + ln -sf /usr/sbin/lvm lvdisplay + ln -sf /usr/sbin/lvm lvextend + ln -sf /usr/sbin/lvm lvmchange + ln -sf /usr/sbin/lvm lvmdiskscan + ln -sf /usr/sbin/lvm lvmsadc + ln -sf /usr/sbin/lvm lvmsar + ln -sf /usr/sbin/lvm lvreduce + ln -sf /usr/sbin/lvm lvremove + ln -sf /usr/sbin/lvm lvrename + ln -sf /usr/sbin/lvm lvresize + ln -sf /usr/sbin/lvm lvs + ln -sf /usr/sbin/lvm lvscan + ln -sf /usr/sbin/lvm pvchange + ln -sf /usr/sbin/lvm pvck + ln -sf /usr/sbin/lvm pvcreate + ln -sf /usr/sbin/lvm pvdisplay + ln -sf /usr/sbin/lvm pvmove + ln -sf /usr/sbin/lvm pvremove + ln -sf /usr/sbin/lvm pvresize + ln -sf /usr/sbin/lvm pvs + ln -sf /usr/sbin/lvm pvscan + ln -sf /usr/sbin/lvm vgcfgbackup + ln -sf /usr/sbin/lvm vgcfgrestore + ln -sf /usr/sbin/lvm vgchange + ln -sf /usr/sbin/lvm vgck + ln -sf /usr/sbin/lvm vgconvert + ln -sf /usr/sbin/lvm vgcreate + ln -sf /usr/sbin/lvm vgdisplay + ln -sf /usr/sbin/lvm vgexport + ln -sf /usr/sbin/lvm vgextend + ln -sf /usr/sbin/lvm vgimport + ln -sf /usr/sbin/lvm vgmerge + ln -sf /usr/sbin/lvm vgmknodes + ln -sf /usr/sbin/lvm vgreduce + ln -sf /usr/sbin/lvm vgremove + ln -sf /usr/sbin/lvm vgrename + ln -sf /usr/sbin/lvm vgs + ln -sf /usr/sbin/lvm vgscan + ln -sf /usr/sbin/lvm vgsplit +) +} diff --git a/base/man/man-1.6g-makewhatisxz.patch.xz b/base/man/man-1.6g-makewhatisxz.patch.xz Binary files differnew file mode 100644 index 0000000..a1108a5 --- /dev/null +++ b/base/man/man-1.6g-makewhatisxz.patch.xz diff --git a/base/man/man-1.6g-mandoc.patch.xz b/base/man/man-1.6g-mandoc.patch.xz Binary files differnew file mode 100644 index 0000000..d0b3ea7 --- /dev/null +++ b/base/man/man-1.6g-mandoc.patch.xz diff --git a/base/man/man-1.6g-nousrsplit.patch.xz b/base/man/man-1.6g-nousrsplit.patch.xz Binary files differnew file mode 100644 index 0000000..a81cdf9 --- /dev/null +++ b/base/man/man-1.6g-nousrsplit.patch.xz diff --git a/base/man/man-1.6g-paths.patch.xz b/base/man/man-1.6g-paths.patch.xz Binary files differnew file mode 100644 index 0000000..169f567 --- /dev/null +++ b/base/man/man-1.6g-paths.patch.xz diff --git a/base/man/man-1.6g-slackware.patch.xz b/base/man/man-1.6g-slackware.patch.xz Binary files differnew file mode 100644 index 0000000..1b3d9e9 --- /dev/null +++ b/base/man/man-1.6g-slackware.patch.xz diff --git a/base/man/man.build b/base/man/man.build new file mode 100755 index 0000000..2bcb044 --- /dev/null +++ b/base/man/man.build @@ -0,0 +1,56 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=man +VERSION=1.6g +BUILD=3 + +# 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}: man (format and display the on-line manual pages) +${NAME}: +${NAME}: The man package is a collection of tools used for searching and +${NAME}: reading the online system documentation. In fact, on most UNIX-like +${NAME}: operating systems it is the primary means of finding out how +${NAME}: programs on the system work. For example, 'man man' will display the +${NAME}: documentation for man itself. +${NAME}: +${NAME}: Man requires the groff text processing package. +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://primates.ximian.com/~flucifredi/${NAME}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL2" + +build0() +{ +./configure \ + +lang all \ + +fhs \ + -confdir /etc/conf.d +make ${JOBS} CFLAGS="${FLAGS}" +make install DESTDIR="${PKG}" +changelog HISTORY +install.dat doinst.sh ${PKG}/install +install -d -m 0700 ${PKG}/var/cache/man/cat{1,2,3,4,5,6,7,8,9,n} +mv \ + ${PKG}/etc/conf.d/man.conf \ + ${PKG}/etc/conf.d/man.conf.new +} diff --git a/base/man_pages/man-pages-3.46-whatis.patch.xz b/base/man_pages/man-pages-3.46-whatis.patch.xz Binary files differnew file mode 100644 index 0000000..4942393 --- /dev/null +++ b/base/man_pages/man-pages-3.46-whatis.patch.xz diff --git a/base/man_pages/man-pages-3.46-xz.patch.xz b/base/man_pages/man-pages-3.46-xz.patch.xz Binary files differnew file mode 100644 index 0000000..72faa41 --- /dev/null +++ b/base/man_pages/man-pages-3.46-xz.patch.xz diff --git a/base/man_pages/man_pages.build b/base/man_pages/man_pages.build new file mode 100755 index 0000000..c5fa7e8 --- /dev/null +++ b/base/man_pages/man_pages.build @@ -0,0 +1,51 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=man_pages +VERSION=3.46 +BUILD=1 +ARCH=noarch +OPTIONS="nomanz normla nostrip" + +# 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}: man_pages (system documentation) +${NAME}: +${NAME}: Man pages are online documentation for Linux. This package includes +${NAME}: many section 1, 2, 3, 4, 5, 7, and 8 man pages for Linux. +${NAME}: +${NAME}: The man-pages distribution is maintained by Michael Kerrisk with +${NAME}: the help of more writers, editors, and other contributors than we +${NAME}: can name here. +${NAME}: +${NAME}: For more information, see http://www.kernel.org/doc/man-pages +${NAME}: +EOF + +# Sources + +SRCNAME[0]=man-pages +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://www.kernel.org/pub/linux/docs/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz + +build0() +{ +make screen xz MANDIR="${SYS_DIR[man]}" +make install MANDIR="${SYS_DIR[man]}" DESTDIR="${PKG}" +doc Changes.old +changelog Changes +install.dat doinst.sh ${PKG}/install +install.doc whatis.sample ${PKG}${SYS_DIR[man]} +} diff --git a/base/memstat/memstat-0.5-config.patch.bz2 b/base/memstat/memstat-0.5-config.patch.bz2 Binary files differnew file mode 100644 index 0000000..9a8dcad --- /dev/null +++ b/base/memstat/memstat-0.5-config.patch.bz2 diff --git a/base/memstat/memstat-0.5-makefile.patch.bz2 b/base/memstat/memstat-0.5-makefile.patch.bz2 Binary files differnew file mode 100644 index 0000000..04b1f17 --- /dev/null +++ b/base/memstat/memstat-0.5-makefile.patch.bz2 diff --git a/base/memstat/memstat-0.5-slackware.patch.bz2 b/base/memstat/memstat-0.5-slackware.patch.bz2 Binary files differnew file mode 100644 index 0000000..4c9e8da --- /dev/null +++ b/base/memstat/memstat-0.5-slackware.patch.bz2 diff --git a/base/memstat/memstat.SlackBuild b/base/memstat/memstat.SlackBuild new file mode 100755 index 0000000..a195445 --- /dev/null +++ b/base/memstat/memstat.SlackBuild @@ -0,0 +1,81 @@ +#!/bin/sh + +CWD=`pwd` +NAME=memstat +VERSION=0.5 +ARCH=i586 +BUILD=1 +PKGNAME=$NAME +PKGVER=$VERSION +BASEDIR=${PKGNAME}-${PKGVER} +ARCHIVE=${PKGNAME}_${PKGVER}.tar.gz +REPOSITORY=http://ftp.de.debian.org/debian/pool/main/m/memstat +FLAGS="-O2 -march=pentium -mtune=pentium -fno-strength-reduce \ + -fomit-frame-pointer -ffast-math" +PKG=/tmp/package-$NAME + +rm -rf $PKG +mkdir -p $PKG + +# Obtain sources +if [ ! -e $ARCHIVE ]; then + if `wget "$REPOSITORY/$ARCHIVE"`; then + true + else + exit 1 + fi +fi + +# Compile +cd /tmp +tar zxvf $CWD/$ARCHIVE +cd $BASEDIR +bzcat $CWD/$NAME-$VERSION-makefile.patch.bz2 | patch -p1 -s +bzcat $CWD/$NAME-$VERSION-config.patch.bz2 | patch -p1 -s +bzcat $CWD/$NAME-$VERSION-slackware.patch.bz2 | patch -p1 -s +make OPTS="${FLAGS}" sysconfdir="/etc/conf.d" + +# Install +make install DESTDIR=$PKG sysconfdir="/etc/conf.d" mandir="/usr/man" +mkdir -p $PKG/install $PKG/usr/doc/$NAME-$VERSION +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 ':'. + + |-----handy-ruler------------------------------------------------------| +memstat: memstat (Identify what's using up virtual memory) +memstat: +memstat: Lists all the processes, executables, and shared libraries that are +memstat: using up virtual memory. It's helpful to see how the shared memory +memstat: is used and which 'old' libs are loaded. +memstat: +memstat: +memstat: +memstat: +memstat: +memstat: +EOF + +install -m644 -g0 -o0 memstat-tutorial.txt \ + $PKG/usr/doc/$NAME-$VERSION + +mv $PKG/etc/conf.d/memstat.conf \ + $PKG/etc/conf.d/memstat.conf.new + +install -m 0755 -g 0 -o 0 doinst.sh $PKG/install + +chmod 444 $PKG/usr/man/man?/*.? +gzip -9nf $PKG/usr/man/man?/*.? + +strip $PKG/usr/bin/* || : + +chown -R root.root $PKG + +# Make package +cd $PKG +cat install/slack-desc | grep "$NAME:" > /tmp/$NAME-$VERSION-$ARCH-$BUILD.txt +makepkg -l y -c n /tmp/$NAME-$VERSION-$ARCH-$BUILD.tgz diff --git a/base/moreutils/moreutils.SlackBuild b/base/moreutils/moreutils.SlackBuild new file mode 100755 index 0000000..2fb5144 --- /dev/null +++ b/base/moreutils/moreutils.SlackBuild @@ -0,0 +1,79 @@ +#!/bin/sh + +CWD=`pwd` +NAME=moreutils +VERSION=0.40 +ARCH=i586 +BUILD=1 +PKGNAME=$NAME +PKGVER=$VERSION +BASEDIR=$PKGNAME +ARCHIVE=$PKGNAME_$PKGVER.tar.gz +REPOSITORY=http://ftp.de.debian.org/debian/pool/main/m/moreutils +FLAGS="-O2 -march=pentium -mtune=pentium -fno-strength-reduce \ + -fomit-frame-pointer -ffast-math" +PKG=/tmp/package-$NAME + +rm -rf $PKG +mkdir -p $PKG + +# Obtain sources +if [ ! -e $ARCHIVE ]; then + if `wget "$REPOSITORY/$ARCHIVE"`; then + true + else + exit 1 + fi +fi + +# Compile +cd /tmp +tar zxvf $CWD/$ARCHIVE +cd $BASEDIR +make CFLAGS=${FLAGS} + +# Install +make install DESTDIR=$PKG +mkdir -p $PKG/install +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 ':'. + + |-----handy-ruler------------------------------------------------------| +moreutils: moreutils (additional shell utilities) +moreutils: +moreutils: A growing collection of shell tools including: +moreutils: +moreutils: ifdata, ifne, isutf8, lckdo, mispipe, parallel, pee and sponge. +moreutils: +moreutils: +moreutils: Homepage: http://joey.kitenet.net/code/moreutils +moreutils: +moreutils: +moreutils: +EOF + +# Get rid of all perl shit +( + cd $PKG/usr/bin + rm -f combine ts vidir vipe zrun + cd $PKG/usr/man/man1 + rm -f combine.1 ts.1 vidir.1 vipe.1 zrun.1 +) + +chmod 0444 $PKG/usr/man/man?/*.? +xz -9f $PKG/usr/man/man?/*.? + +strip \ + $PKG/usr/bin/* || : + +chown -R root.root $PKG + +# Make package +cd $PKG +cat install/slack-desc | grep "$NAME:" > /tmp/$NAME-$VERSION-$ARCH-$BUILD.txt +makepkg -l y -c n /tmp/$NAME-$VERSION-$ARCH-$BUILD.txz diff --git a/base/nano/nano-2.2.6-localedir.patch.xz b/base/nano/nano-2.2.6-localedir.patch.xz Binary files differnew file mode 100644 index 0000000..fe1cf55 --- /dev/null +++ b/base/nano/nano-2.2.6-localedir.patch.xz diff --git a/base/nano/nano.build b/base/nano/nano.build new file mode 100755 index 0000000..0f17409 --- /dev/null +++ b/base/nano/nano.build @@ -0,0 +1,99 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=nano +MAJOR=2.2 +VERSION=${MAJOR}.6 +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}: GNU nano (text editor) +${NAME}: +${NAME}: GNU nano is a drop-in replacement for pico (the Pine MUA's editor). +${NAME}: The difference is that nano has more features such as syntax +${NAME}: highlighting and it is distributed under the terms of the GNU General +${NAME}: Public License. +${NAME}: +${NAME}: Homepage: http://www.nano-editor.org +${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... +} + +install_info() +{ + for file in "\${*}"; do + if [ -x usr/bin/install-info ]; then + usr/bin/install-info --info-dir=usr/share/info usr/share/info/\${file}.info.xz 2> /dev/null + fi + done +} + +install_info nano + +config etc/nanorc.new +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://www.nano-editor.org/dist/v${MAJOR}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL3 FDL12" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-rpath \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --infodir="${SYS_DIR[info]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --datadir="${SYS_DIR[share]}/application-data" \ + --localedir="${SYS_DIR[share]}/locale" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --disable-wrapping-as-root \ + --enable-utf8 +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS THANKS UPGRADE +changelog NEWS +install.dir ${PKG}${SYS_DIR[etc]} +install.doc doc/nanorc.sample ${PKG}${SYS_DIR[etc]}/nanorc.new +install.dir ${PKG}${SYS_DIR[html]}/${NAME} +install.doc doc/faq.html ${PKG}${SYS_DIR[html]}/${NAME} +rm -rf ${PKG}${SYS_DIR[share]}/application-data/nano/man-html +} diff --git a/base/networkmanager/NetworkManager-0.9.8.2-config.patch.xz b/base/networkmanager/NetworkManager-0.9.8.2-config.patch.xz Binary files differnew file mode 100644 index 0000000..c254d61 --- /dev/null +++ b/base/networkmanager/NetworkManager-0.9.8.2-config.patch.xz diff --git a/base/networkmanager/NetworkManager-0.9.8.2-netdevgrp.patch.xz b/base/networkmanager/NetworkManager-0.9.8.2-netdevgrp.patch.xz Binary files differnew file mode 100644 index 0000000..9ef0b7a --- /dev/null +++ b/base/networkmanager/NetworkManager-0.9.8.2-netdevgrp.patch.xz diff --git a/base/networkmanager/NetworkManager-0.9.8.2-rundir.patch.xz b/base/networkmanager/NetworkManager-0.9.8.2-rundir.patch.xz Binary files differnew file mode 100644 index 0000000..14a4686 --- /dev/null +++ b/base/networkmanager/NetworkManager-0.9.8.2-rundir.patch.xz diff --git a/base/networkmanager/NetworkManager-0.9.8.2-sysvinit.patch.xz b/base/networkmanager/NetworkManager-0.9.8.2-sysvinit.patch.xz Binary files differnew file mode 100644 index 0000000..6254c2d --- /dev/null +++ b/base/networkmanager/NetworkManager-0.9.8.2-sysvinit.patch.xz diff --git a/base/networkmanager/NetworkManager-0.9.8.2-warnflags.patch.xz b/base/networkmanager/NetworkManager-0.9.8.2-warnflags.patch.xz Binary files differnew file mode 100644 index 0000000..dfa0fc6 --- /dev/null +++ b/base/networkmanager/NetworkManager-0.9.8.2-warnflags.patch.xz diff --git a/base/networkmanager/networkmanager.build b/base/networkmanager/networkmanager.build new file mode 100755 index 0000000..b60847f --- /dev/null +++ b/base/networkmanager/networkmanager.build @@ -0,0 +1,133 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=networkmanager +MAJOR=0.9 +VERSION=${MAJOR}.8.2 +BUILD=1 +DEPENDS=('glib >= 2.36.0-1' 'dbus >= 1.6.8-1' 'udev >= 173-1' 'gnutls >= 3.2.1-1' 'tcpip >= 20130209-1' 'libsoup >= 2.42.0-1') +OPTDEPENDS=('ppp >= 2.4.5-1' 'wireless >= 20130324-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}: networkmanager +${NAME}: +${NAME}: NetworkManager attempts to keep an active network connection +${NAME}: available at all times. The point of NetworkManager is to make +${NAME}: networking configuration and setup as painless and automatic as +${NAME}: possible. +${NAME}: +${NAME}: Homepage: http://projects.gnome.org/NetworkManager +${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} +} + +if [ ! -d run/networkmanager ]; then + install -d -m 0755 run/networkmanager +fi + +if [ -e etc/HOSTNAME ]; then + sed -i "s|@myhostname@|\$(cat etc/HOSTNAME | cut -f1 -d .)|g" \ + etc/NetworkManager/NetworkManager.conf.new +fi + +preserve_perms etc/rc.d/rc.networkmanager.new +config etc/NetworkManager/NetworkManager.conf.new +EOF + +# Sources + +SRCNAME[0]=NetworkManager +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[gnome]}/${SRCNAME[0]}/${MAJOR}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="GPL2" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' $(find . -name "Makefile.in") +sed -i 's|pkglibdir = $(libdir)/@PACKAGE@|pkglibdir = $(libdir)/plugins/@PACKAGE@|g' $(find . -name "Makefile.in") +sed -i 's|$(UDEV_BASE_DIR)/rules.d|$(UDEV_BASE_DIR)|g' callouts/Makefile.in +sed -i 's|CKDB_PATH=/var/run/ConsoleKit/database|CKDB_PATH=/run/consolekit/database|g' configure +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --disable-rpath \ + --enable-static=no \ + --enable-shared=yes \ + --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-system-ca-path="${SYS_DIR[share]}/ca-certificates" \ + --with-systemdsystemunitdir="${SYS_DIR[systemdsystemunitdir]}" \ + --with-udev-dir="${SYS_DIR[udevrules]}" \ + --with-pppd-plugin-dir="${SYS_DIR[lib]}/plugins/pppd/2.4.5" \ + --with-session-tracking=consolekit \ + --with-suspend-resume=upower \ + --with-crypto=gnutls \ + --with-dhcpcd="${SYS_DIR[sbin]}/dhcpcd" \ + --with-dhclient=yes \ + --disable-qt \ + --enable-modify-system \ + --enable-polkit \ + --enable-ppp \ + --enable-concheck +#FIXME: systemd +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +install.dir ${PKG}${SYS_DIR[etc]}/rc.d +install.dat rc.networkmanager.new ${PKG}${SYS_DIR[etc]}/rc.d +install.cfg NetworkManager.conf.new ${PKG}${SYS_DIR[etc]}/NetworkManager +rmdir ${PKG}${SYS_DIR[lib]}/plugins/NetworkManager +rm -rf \ + ${PKG}${SYS_DIR[var]}/run \ + ${PKG}${SYS_DIR[html]}/libnm-* +} diff --git a/base/pam/Linux-PAM-1.1.6-audiolimits.patch.xz b/base/pam/Linux-PAM-1.1.6-audiolimits.patch.xz Binary files differnew file mode 100644 index 0000000..ba1ff44 --- /dev/null +++ b/base/pam/Linux-PAM-1.1.6-audiolimits.patch.xz diff --git a/base/pam/Linux-PAM-1.1.6-cryptnullcheck.patch.xz b/base/pam/Linux-PAM-1.1.6-cryptnullcheck.patch.xz Binary files differnew file mode 100644 index 0000000..b507eb9 --- /dev/null +++ b/base/pam/Linux-PAM-1.1.6-cryptnullcheck.patch.xz diff --git a/base/pam/Linux-PAM-1.1.6-faillock.patch.xz b/base/pam/Linux-PAM-1.1.6-faillock.patch.xz Binary files differnew file mode 100644 index 0000000..9603580 --- /dev/null +++ b/base/pam/Linux-PAM-1.1.6-faillock.patch.xz diff --git a/base/pam/Linux-PAM-1.1.6-lastlogretval.patch.xz b/base/pam/Linux-PAM-1.1.6-lastlogretval.patch.xz Binary files differnew file mode 100644 index 0000000..3967b4e --- /dev/null +++ b/base/pam/Linux-PAM-1.1.6-lastlogretval.patch.xz diff --git a/base/pam/Linux-PAM-1.1.6-limitsuser.patch.xz b/base/pam/Linux-PAM-1.1.6-limitsuser.patch.xz Binary files differnew file mode 100644 index 0000000..68e3bba --- /dev/null +++ b/base/pam/Linux-PAM-1.1.6-limitsuser.patch.xz diff --git a/base/pam/Linux-PAM-1.1.6-namespacedestdir.patch.xz b/base/pam/Linux-PAM-1.1.6-namespacedestdir.patch.xz Binary files differnew file mode 100644 index 0000000..acfd571 --- /dev/null +++ b/base/pam/Linux-PAM-1.1.6-namespacedestdir.patch.xz diff --git a/base/pam/Linux-PAM-1.1.6-namespacemntopts.patch.xz b/base/pam/Linux-PAM-1.1.6-namespacemntopts.patch.xz Binary files differnew file mode 100644 index 0000000..7660ee8 --- /dev/null +++ b/base/pam/Linux-PAM-1.1.6-namespacemntopts.patch.xz diff --git a/base/pam/Linux-PAM-1.1.6-notally.patch.xz b/base/pam/Linux-PAM-1.1.6-notally.patch.xz Binary files differnew file mode 100644 index 0000000..231fd8d --- /dev/null +++ b/base/pam/Linux-PAM-1.1.6-notally.patch.xz diff --git a/base/pam/Linux-PAM-1.1.6-nouserenv.patch.xz b/base/pam/Linux-PAM-1.1.6-nouserenv.patch.xz Binary files differnew file mode 100644 index 0000000..71ba366 --- /dev/null +++ b/base/pam/Linux-PAM-1.1.6-nouserenv.patch.xz diff --git a/base/pam/Linux-PAM-1.1.6-rundir.patch.xz b/base/pam/Linux-PAM-1.1.6-rundir.patch.xz Binary files differnew file mode 100644 index 0000000..f00297c --- /dev/null +++ b/base/pam/Linux-PAM-1.1.6-rundir.patch.xz diff --git a/base/pam/Linux-PAM-1.1.6-stdnoclose.patch.xz b/base/pam/Linux-PAM-1.1.6-stdnoclose.patch.xz Binary files differnew file mode 100644 index 0000000..2af77a5 --- /dev/null +++ b/base/pam/Linux-PAM-1.1.6-stdnoclose.patch.xz diff --git a/base/pam/Linux-PAM-1.1.6-strictaliasing.patch.xz b/base/pam/Linux-PAM-1.1.6-strictaliasing.patch.xz Binary files differnew file mode 100644 index 0000000..cbd9959 --- /dev/null +++ b/base/pam/Linux-PAM-1.1.6-strictaliasing.patch.xz diff --git a/base/pam/Linux-PAM-1.1.6-tmpfilesd.patch.xz b/base/pam/Linux-PAM-1.1.6-tmpfilesd.patch.xz Binary files differnew file mode 100644 index 0000000..e6b59a8 --- /dev/null +++ b/base/pam/Linux-PAM-1.1.6-tmpfilesd.patch.xz diff --git a/base/pam/pam.build b/base/pam/pam.build new file mode 100755 index 0000000..5124f8d --- /dev/null +++ b/base/pam/pam.build @@ -0,0 +1,166 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=pam +VERSION=1.1.6 +BUILD=3 +DEPENDS=('cracklib >= 2.8.22-1' 'libdb >= 5.3.21-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}: pam (pluggable authentication modules) +${NAME}: +${NAME}: PAM is a system security tool that allows system administrators to +${NAME}: set authentication policy without having to recompile programs that +${NAME}: handle authentication. +${NAME}: +${NAME}: Homepage: http://www.us.kernel.org/pub/linux/libs/pam/index.html +${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... +} + +if [ ! -d run/faillock ]; then + install -m 0755 -d run/faillock +fi + +config etc/security/access.conf.new +config etc/security/group.conf.new +config etc/security/limits.conf.new +config etc/security/namespace.conf.new +config etc/security/namespace.init.new +config etc/security/pam_env.conf.new +config etc/security/time.conf.new +config etc/default/passwd.new +config etc/environment.new +config etc/pam.d/other.new +config etc/pam.d/system-auth.new +config etc/pam.d/system-local-login.new +config etc/pam.d/system-login.new +config etc/pam.d/system-remote-login.new +config etc/pam.d/system-services.new +config var/log/tallylog.new +rm -f var/log/tallylog.new +EOF + +#TODO: when switching to PAM remember to enable /usr/bin/login in 'util-linux' +# and disable /usr/bin/login in 'shadow'. + +#NOTE: Maybe /etc/environment should be in another package + +# Sources + +SRCNAME[0]=Linux-PAM +SRCVERS[0]=${VERSION} +SRCPACK[0]=https://fedorahosted.org/releases/l/i/linux-pam/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="BSD3 GPL2" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-rpath \ + --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]}" \ + --sbindir="${SYS_DIR[sbin]}" \ + --disable-audit \ + --disable-selinux \ + --disable-prelude \ + --enable-securedir="${SYS_DIR[lib]}/plugins/security" \ + --enable-isadir="../../${SYS_DIR[lib]}/plugins/security" +make ${JOBS} +make install DESTDIR="${PKG}" SCONFIGDIR="${SYS_DIR[etc]}/security" +doc AUTHORS +changelog NEWS +config ${PKG}${SYS_DIR[etc]}/security/{access,group,limits,namespace,pam_env,time}.conf +config ${PKG}${SYS_DIR[etc]}/security/namespace.init +config ${PKG}${SYS_DIR[etc]}/environment +install.dir ${PKG}${SYS_DIR[etc]}/tmpfiles.d +install.cfg pam.conf.tmpfiles ${PKG}${SYS_DIR[etc]}/tmpfiles.d/pam.conf +install.dir ${PKG}${SYS_DIR[var]}/log +install -m 0600 /dev/null ${PKG}${SYS_DIR[var]}/log/tallylog.new +chmod 4755 ${PKG}${SYS_DIR[sbin]}/unix_chkpwd +chmod 0700 ${PKG}${SYS_DIR[sbin]}/unix_update +rm -rf \ + ${PKG}${SYS_DIR[doc]}/Linux-PAM +# Compatibility stuff +( + cd ${PKG}${SYS_DIR[lib]}/plugins/security + ln -s pam_unix.so pam_unix_acct.so + ln -s pam_unix.so pam_unix_auth.so + ln -s pam_unix.so pam_unix_passwd.so + ln -s pam_unix.so pam_unix_session.so +) +} + +SRCNAME[1]=pam_unix2 +SRCVERS[1]=2.9.1 +SRCPACK[1]=http://archlinux.c3sl.ufpr.br/other/pam_unix2/${SRCNAME[1]}-${SRCVERS[1]}.tar.bz2 +SRCCOPY[1]="GPL2" + +build1() +{ +sed -i 's|$(libdir)/security|$(libdir)/plugins/security|g' src/Makefile.{in,am} +LDFLAGS="-L${PKG}${SYS_DIR[lib]}" \ +CPPFLAGS="-I${PKG}${SYS_DIR[include]}" \ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-rpath \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog NEWS +config ${PKG}${SYS_DIR[etc]}/default/passwd +} + +SRCNAME[2]=pam-policy +SRCVERS[2]=$(date +%Y%m%d) +# TODO: broken. Files are included in this repo. + +build2() +{ +make install-pam-package DESTDIR="${PKG}" EXT=".new" +} diff --git a/base/pam/pam_unix2-2.9.1-glibc216.patch.xz b/base/pam/pam_unix2-2.9.1-glibc216.patch.xz Binary files differnew file mode 100644 index 0000000..ddc7fc3 --- /dev/null +++ b/base/pam/pam_unix2-2.9.1-glibc216.patch.xz diff --git a/base/parted/parted.build b/base/parted/parted.build new file mode 100755 index 0000000..bc2fc31 --- /dev/null +++ b/base/parted/parted.build @@ -0,0 +1,84 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=parted +VERSION=3.1 +BUILD=2 +DEPENDS=('udev >= 173-1' 'lvm >= 2.02.98-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}: parted (partition editor) +${NAME}: +${NAME}: A program that manipulates partition tables. This is useful for +${NAME}: creating space for new operating systems, reorganizing disk usage, +${NAME}: copying data on hard disks and disk imaging. The package contains a +${NAME}: library, libparted, as well as a command-line frontend, parted, which +${NAME}: can also be used in scripts. +${NAME}: +${NAME}: Homepage: http://www.gnu.org/software/parted +${NAME}: +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +install_info() +{ + for file in "\${*}"; do + if [ -x usr/bin/install-info ]; then + usr/bin/install-info --info-dir=usr/share/info usr/share/info/\${file}.info.xz 2> /dev/null + fi + done +} + +# Install texinfo files + +install_info parted +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[gnu]}/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="GPL3" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +#FIXME: workaround for failing test for ext2_fs.h +ac_cv_header_linux_ext2_fs_h="yes" \ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --disable-rpath \ + --enable-static=no \ + --enable-shared=yes \ + --enable-debug=no \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --infodir="${SYS_DIR[info]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog NEWS +} diff --git a/base/pci/pci.build b/base/pci/pci.build new file mode 100755 index 0000000..da01109 --- /dev/null +++ b/base/pci/pci.build @@ -0,0 +1,104 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=pci +VERSION=$(date '+%Y%m%d') +BUILD=1 +DEPENDS=('kmod >= 12-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}: pci (PCI bus support) +${NAME}: +${NAME}: The Peripheral Component Interconnect (PCI) is a bus for attaching +${NAME}: hardware devices in a computer. The vast majority of today's personal +${NAME}: computers have this. +${NAME}: +${NAME}: This package is a collection of programs and libraries for accessing, +${NAME}: inspecting and manipulating configuration of PCI devices. +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=pciutils +SRCVERS[0]=3.2.0 +SRCPACK[0]=ftp://ftp.kernel.org/pub/software/utils/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="GPL2" + +build0() +{ +make ${JOBS} \ + OPT="${FLAGS}" \ + PREFIX="${SYS_DIR[usr]}" \ + SBINDIR="${SYS_DIR[sbin]}" \ + LIBDIR="${SYS_DIR[lib]}" \ + SHAREDIR="${SYS_DIR[share]}/hwdata" \ + MANDIR="${SYS_DIR[man]}" +make install install-lib \ + DESTDIR="${PKG}" \ + PREFIX="${SYS_DIR[usr]}" \ + SBINDIR="${SYS_DIR[sbin]}" \ + LIBDIR="${SYS_DIR[lib]}" \ + SHAREDIR="${SYS_DIR[share]}/hwdata" \ + MANDIR="${SYS_DIR[man]}" \ + PKGCFDIR="${SYS_DIR[share]}/pkgconfig" +changelog ChangeLog +install.dir ${PKG}${SYS_DIR[bin]} +rm -f \ + ${PKG}${SYS_DIR[share]}/hwdata/pci.ids.gz +} + +SRCNAME[1]=pciids +SRCVERS[1]=$(date "+%Y%m%d") +SRCPACK[1]=http://pciids.sourceforge.net/pci.ids +SRCOPTS[1]="nosrcroot nounpack" + +build1() +{ +install.dir ${PKG}${SYS_DIR[share]}/hwdata +rm -f ${PKG}${SYS_DIR[share]}/hwdata/pci.ids +cat ${CWD}/pci.ids | gzip -9nf > ${PKG}${SYS_DIR[share]}/hwdata/pci.ids.gz +} + +SRCNAME[2]=libpciaccess +SRCVERS[2]=0.13.1 +SRCPACK[2]=http://xorg.freedesktop.org/archive/individual/lib/${SRCNAME[2]}-${SRCVERS[2]}.tar.bz2 + +build2() +{ +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]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-pciids-path="${SYS_DIR[share]}/hwdata" \ + --with-zlib +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog ChangeLog +license COPYING +} diff --git a/base/pci/pciutils-3.2.0-makefile.patch.xz b/base/pci/pciutils-3.2.0-makefile.patch.xz Binary files differnew file mode 100644 index 0000000..5d61665 --- /dev/null +++ b/base/pci/pciutils-3.2.0-makefile.patch.xz diff --git a/base/policykit/polkit-0.105-ckdatabase.patch.xz b/base/policykit/polkit-0.105-ckdatabase.patch.xz Binary files differnew file mode 100644 index 0000000..c197d39 --- /dev/null +++ b/base/policykit/polkit-0.105-ckdatabase.patch.xz diff --git a/base/policykit/polkit-0.105-config.patch.xz b/base/policykit/polkit-0.105-config.patch.xz Binary files differnew file mode 100644 index 0000000..a6fd57e --- /dev/null +++ b/base/policykit/polkit-0.105-config.patch.xz diff --git a/base/policykit/polkit-0.105-extensiondir.patch.xz b/base/policykit/polkit-0.105-extensiondir.patch.xz Binary files differnew file mode 100644 index 0000000..f052a12 --- /dev/null +++ b/base/policykit/polkit-0.105-extensiondir.patch.xz diff --git a/base/policykit/polkit-0.105-fixxauthority.patch.xz b/base/policykit/polkit-0.105-fixxauthority.patch.xz Binary files differnew file mode 100644 index 0000000..b8bc044 --- /dev/null +++ b/base/policykit/polkit-0.105-fixxauthority.patch.xz diff --git a/base/policykit/polkit.build b/base/policykit/polkit.build new file mode 100755 index 0000000..0923beb --- /dev/null +++ b/base/policykit/polkit.build @@ -0,0 +1,95 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=policykit +VERSION=0.105 +BUILD=3 +DEPENDS=('glib >= 2.36.0-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}: policykit (authentication framework) +${NAME}: +${NAME}: PolicyKit is an application-level toolkit for defining and handling +${NAME}: the policy that allows unprivileged processes to speak to privileged +${NAME}: processes. PolicyKit is specifically targeting applications in rich +${NAME}: desktop environments on multi-user UNIX-like operating systems. +${NAME}: +${NAME}: Homepage: http://www.freedesktop.org/wiki/Software/PolicyKit +${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/polkit-1/localauthority/50-local.d/20-plugdev-group-mount-override.pkla.new +config etc/polkit-1/localauthority/50-local.d/10-org.freedesktop.NetworkManager.pkla.new +EOF + +# Sources + +SRCNAME[0]=polkit +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://hal.freedesktop.org/releases/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="LGPL2" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' $(find . -name "Makefile.in") +sed -i 's|$(libdir)/polkit-1/extensions|$(libdir)/plugins/polkit-1|g' $(find . -name "Makefile.in") +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --disable-introspection \ + --disable-examples \ + --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]}" \ + --with-authfw=shadow \ + --with-os-type=Slackware \ + --enable-verbose-mode +#FIXME: pam support +#FIXME: systemd support +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +changelog NEWS +install.dat *.pkla.new ${PKG}${SYS_DIR[etc]}/polkit-1/localauthority/50-local.d +# Fix your scripty shit polkit people +# --enable-man-pages=no \ +# rm -rf ${PKG}${SYS_DIR[man]} +} diff --git a/base/power/pm-utils-1.4.1-bluetooth.patch.xz b/base/power/pm-utils-1.4.1-bluetooth.patch.xz Binary files differnew file mode 100644 index 0000000..67b52c6 --- /dev/null +++ b/base/power/pm-utils-1.4.1-bluetooth.patch.xz diff --git a/base/power/pm-utils-1.4.1-disablesataalpm.patch.xz b/base/power/pm-utils-1.4.1-disablesataalpm.patch.xz Binary files differnew file mode 100644 index 0000000..6650487 --- /dev/null +++ b/base/power/pm-utils-1.4.1-disablesataalpm.patch.xz diff --git a/base/power/pm-utils-1.4.1-loggingappend.patch.xz b/base/power/pm-utils-1.4.1-loggingappend.patch.xz Binary files differnew file mode 100644 index 0000000..e1ab840 --- /dev/null +++ b/base/power/pm-utils-1.4.1-loggingappend.patch.xz diff --git a/base/power/pm-utils-1.4.1-rundir.patch.xz b/base/power/pm-utils-1.4.1-rundir.patch.xz Binary files differnew file mode 100644 index 0000000..e858a68 --- /dev/null +++ b/base/power/pm-utils-1.4.1-rundir.patch.xz diff --git a/base/power/pm-utils-1.4.1-saneharddrivedefaults.patch.xz b/base/power/pm-utils-1.4.1-saneharddrivedefaults.patch.xz Binary files differnew file mode 100644 index 0000000..8eb4045 --- /dev/null +++ b/base/power/pm-utils-1.4.1-saneharddrivedefaults.patch.xz diff --git a/base/power/pm-utils-1.4.1-slackware.patch.xz b/base/power/pm-utils-1.4.1-slackware.patch.xz Binary files differnew file mode 100644 index 0000000..ece83db --- /dev/null +++ b/base/power/pm-utils-1.4.1-slackware.patch.xz diff --git a/base/power/pm-utils-1.4.1-wrongpathintelaudio.patch.xz b/base/power/pm-utils-1.4.1-wrongpathintelaudio.patch.xz Binary files differnew file mode 100644 index 0000000..1efa094 --- /dev/null +++ b/base/power/pm-utils-1.4.1-wrongpathintelaudio.patch.xz diff --git a/base/power/power.build b/base/power/power.build new file mode 100755 index 0000000..f8a8215 --- /dev/null +++ b/base/power/power.build @@ -0,0 +1,145 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=power +VERSION=0.9.19 +BUILD=2 +DEPENDS=('glib >= 2.34.3-1' 'dbus_glib >= 0.100.2-1' 'udev >= 173-1' 'polkit >= 0.105-1' 'usb >= 1.0.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}: upower +${NAME}: +${NAME}: An abstraction for enumerating power devices, listening to device +${NAME}: events and querying history and statistics. Any application or +${NAME}: service on the system can access the org.freedesktop.UPower service +${NAME}: via the system message bus. Some operations (such as suspending the +${NAME}: system) are restricted using polkit. UPower is also useful to control +${NAME}: the latency of different operations on your computer, which enables +${NAME}: you to save significant amounts of power. +${NAME}: +${NAME}: Homepage: http://upower.freedesktop.org +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/UPower/UPower.conf.new +EOF + +# Sources + +SRCNAME[0]=upower +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://upower.freedesktop.org/releases/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="GPL2" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +sed -i 's|$(slashlibdir)/udev/rules.d|$(datarootdir)/udev/rules|g' rules/Makefile.in +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --disable-rpath \ + --enable-static=no \ + --enable-shared=yes \ + --enable-introspection=no \ + --enable-man-pages=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-systemdsystemunitdir="${SYS_DIR[systemdsystemunitdir]}" \ + --with-backend=linux +#FIXME: systemd +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +config ${PKG}${SYS_DIR[etc]}/UPower/UPower.conf +} + +SRCNAME[1]=cpufrequtils +SRCVERS[1]=008 +SRCPACK[1]=http://www.kernel.org/pub/linux/utils/kernel/cpufreq/${SRCNAME[1]}-${SRCVERS[1]}.tar.bz2 +SRCCOPY[1]="GPL2" + +build1() +{ +make ${JOBS} \ + V="true" \ + PROC="false" \ + OPTIMIZATION="${FLAGS}" +make install DESTDIR="${PKG}" libdir="${SYS_DIR[lib]}" +doc AUTHORS +rm -f ${PKG}${SYS_DIR[lib]}/*.a +} + +SRCNAME[2]=pm-utils +SRCVERS[2]=1.4.1 +SRCPACK[2]=http://pm-utils.freedesktop.org/releases/${SRCNAME[2]}-${SRCVERS[2]}.tar.gz +SRCCOPY[2]="GPL2" + +PMUTILSLIBDIR=${SYS_DIR[share]}/pm-utils + +build2() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[share]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --docdir="${SYS_DIR[doc]}/${SRCNAME[2]}-${SRCVERS[2]}" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS README.SLACKWARE +changelog ChangeLog +rm -f ${PKG}${PMUTILSLIBDIR}/{sleep.d/55NetworkManager,power.d/{harddrive,disable_wol,hal-cd-polling}} +} + +SRCNAME[3]=pm-quirks +SRCVERS[3]=20100619 +SRCPACK[3]=http://pm-utils.freedesktop.org/releases/${SRCNAME[3]}-${SRCVERS[3]}.tar.gz +SRCROOT[3]=video-quirks + +build3() +{ +install.dir ${PKG}${PMUTILSLIBDIR}/video-quirks +install.dat *.quirkdb ${PKG}${PMUTILSLIBDIR}/video-quirks +} diff --git a/base/ppp/ppp-2.4.5-optflags.patch.xz b/base/ppp/ppp-2.4.5-optflags.patch.xz Binary files differnew file mode 100644 index 0000000..cf689c7 --- /dev/null +++ b/base/ppp/ppp-2.4.5-optflags.patch.xz diff --git a/base/ppp/ppp-2.4.5-options.patch.xz b/base/ppp/ppp-2.4.5-options.patch.xz Binary files differnew file mode 100644 index 0000000..01d7346 --- /dev/null +++ b/base/ppp/ppp-2.4.5-options.patch.xz diff --git a/base/ppp/ppp-2.4.5-pcaplink.patch.xz b/base/ppp/ppp-2.4.5-pcaplink.patch.xz Binary files differnew file mode 100644 index 0000000..7f091a6 --- /dev/null +++ b/base/ppp/ppp-2.4.5-pcaplink.patch.xz diff --git a/base/ppp/ppp.build b/base/ppp/ppp.build new file mode 100755 index 0000000..74e87a6 --- /dev/null +++ b/base/ppp/ppp.build @@ -0,0 +1,121 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=ppp +VERSION=2.4.5 +BUILD=1 +DEPENDS=('tcpip >= 20130209-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}: ppp (Point-to-Point Protocol) +${NAME}: +${NAME}: The Point-to-Point Protocol (PPP) provides a method for transmitting +${NAME}: data over serial links. It's commonly used for connecting to the +${NAME}: Internet using a modem. +${NAME}: +${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... +} + +config etc/ppp/chap-secrets.new +config etc/ppp/options.new +config etc/ppp/pap-secrets.new + +config etc/radiusclient-ng/issue.new +config etc/radiusclient-ng/radiusclient.conf.new +config etc/radiusclient-ng/realms.new +config etc/radiusclient-ng/servers.new +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=ftp://ftp.samba.org/pub/ppp/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL2" + +build0() +{ +# Fix build error with recent kernels +rm include/linux/if_pppol2tp.h +# enable active filter +sed -i "s:^#FILTER=y:FILTER=y:" pppd/Makefile.linux +# enable ipv6 support +sed -i "s:^#HAVE_INET6=y:HAVE_INET6=y:" pppd/Makefile.linux +# Enable Microsoft proprietary Callback Control Protocol +sed -i "s:^#CBCP=y:CBCP=y:" pppd/Makefile.linux +# Install the plugins at the right spot +sed -i "s|lib/pppd|lib/plugins/pppd|g" $(grep -lr 'lib/pppd' *) +./configure \ + --prefix="${SYS_DIR[usr]}" +make ${JOBS} OPT="${FLAGS} -D_GNU_SOURCE" +make install DESTDIR="${PKG}/usr" +doc README +chmod 0755 ${PKG}${SYS_DIR[lib]}/plugins/pppd/*/*.so +( + install.dir ${PKG}${SYS_DIR[etc]}/ppp + install.cfg etc.ppp/options ${PKG}${SYS_DIR[etc]}/ppp/options.new + install -m 0600 etc.ppp/chap-secrets ${PKG}${SYS_DIR[etc]}/ppp/chap-secrets.new + install -m 0600 etc.ppp/pap-secrets ${PKG}${SYS_DIR[etc]}/ppp/pap-secrets.new +) +} + +SRCNAME[1]=radiusclient-ng +SRCVERS[1]=0.5.6 +SRCPACK[1]=${URL[sf]}/${SRCNAME[1]}.berlios/${SRCNAME[1]}-${SRCVERS[1]}.tar.gz + +build1() +{ +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]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} +make install DESTDIR="${PKG}" +license COPYRIGHT +changelog CHANGES +config ${PKG}${SYS_DIR[etc]}/radiusclient-ng/radiusclient.conf +config ${PKG}${SYS_DIR[etc]}/radiusclient-ng/issue +config ${PKG}${SYS_DIR[etc]}/radiusclient-ng/servers +config ${PKG}${SYS_DIR[etc]}/radiusclient-ng/realms +chmod 0600 ${PKG}${SYS_DIR[etc]}/radiusclient-ng/{realms,servers}.new +} diff --git a/base/ppp/radiusclient-ng-0.5.6-extraconfig.patch.xz b/base/ppp/radiusclient-ng-0.5.6-extraconfig.patch.xz Binary files differnew file mode 100644 index 0000000..cf79aa6 --- /dev/null +++ b/base/ppp/radiusclient-ng-0.5.6-extraconfig.patch.xz diff --git a/base/rfkill/rfkill-0.5-opts.patch.xz b/base/rfkill/rfkill-0.5-opts.patch.xz Binary files differnew file mode 100644 index 0000000..089081b --- /dev/null +++ b/base/rfkill/rfkill-0.5-opts.patch.xz diff --git a/base/rfkill/rfkill-0.5-udevrule.patch.xz b/base/rfkill/rfkill-0.5-udevrule.patch.xz Binary files differnew file mode 100644 index 0000000..f51ddd5 --- /dev/null +++ b/base/rfkill/rfkill-0.5-udevrule.patch.xz diff --git a/base/rfkill/rfkill.build b/base/rfkill/rfkill.build new file mode 100755 index 0000000..abb30ce --- /dev/null +++ b/base/rfkill/rfkill.build @@ -0,0 +1,48 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=rfkill +VERSION=0.5 +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}: rfkill (tool to query subsystem interfaces) +${NAME}: +${NAME}: rfkill is a small tool to query the state of the rfkill switches, +${NAME}: buttons and subsystem interfaces. +${NAME}: +${NAME}: Homepage: http://linuxwireless.org/en/users/Documentation/rfkill +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=https://www.kernel.org/pub/software/network/rfkill/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz + +build0() +{ +make ${JOBS} V=1 OPTS="${FLAGS}" +make install DESTDIR="${PKG}" +license COPYING +install.dir ${PKG}${SYS_DIR[udevrules]} +install.dat 60-rfkill.rules ${PKG}${SYS_DIR[udevrules]} +} diff --git a/base/scsi/lsscsi-0.27-manfix.patch.xz b/base/scsi/lsscsi-0.27-manfix.patch.xz Binary files differnew file mode 100644 index 0000000..2e8f7ea --- /dev/null +++ b/base/scsi/lsscsi-0.27-manfix.patch.xz diff --git a/base/scsi/scsi.build b/base/scsi/scsi.build new file mode 100755 index 0000000..5c6e99d --- /dev/null +++ b/base/scsi/scsi.build @@ -0,0 +1,112 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=scsi +VERSION=1.36 +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}: scsi +${NAME}: +${NAME}: Library and utilities for SCSI devices. This includes devices on +${NAME}: transports traditionally associated with SCSI such as Fibre Channel +${NAME}: (FCP), Serial Attached SCSI (SAS) and the SCSI Parallel Interface +${NAME}: (SPI). Many other devices use SCSI command sets. ATAPI CD/DVD +${NAME}: drivers and SATA disks connect via a translation layer or a bridge +${NAME}: device are examples of devices that use the SCSI command sets. This +${NAME}: package includes the 'sdparm' and 'lsscsi' utilities. +${NAME}: +${NAME}: Homepage: http://sg.danny.cz +EOF + +# Sources + +SRCNAME[0]=sg3_utils +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://sg.danny.cz/sg/p/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="GPL2 BSD3" + +# lftpget http://www.garloff.de/kurt/linux/rescan-scsi-bus.sh + +build0() +{ +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]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --bindir="${SYS_DIR[sbin]}" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS CREDITS +changelog ChangeLog +install.bin rescan-scsi-bus.sh \ + ${PKG}${SYS_DIR[sbin]}/rescan-scsi-bus +} + +SRCNAME[1]=lsscsi +SRCVERS[1]=0.27 +SRCPACK[1]=http://sg.danny.cz/scsi/${SRCNAME[1]}-${SRCVERS[1]}.tgz +SRCCOPY[1]="GPL2" + +build1() +{ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} CFLAGS+="${FLAGS}" +make install DESTDIR="${PKG}" +doc AUTHORS CREDITS +changelog ChangeLog +install.dir ${PKG}${SYS_DIR[man]}/man1 +mv \ + ${PKG}${SYS_DIR[man]}/man8/lsscsi.8 \ + ${PKG}${SYS_DIR[man]}/man1/lsscsi.1 +} + +SRCNAME[2]=sdparm +SRCVERS[2]=1.07 +SRCPACK[2]=http://sg.danny.cz/sg/p/${SRCNAME[2]}-${SRCVERS[2]}.tgz +SRCCOPY[2]="BSD3" + +build2() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --bindir="${SYS_DIR[sbin]}" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS CREDITS +changelog NEWS +} diff --git a/base/scsi/sg3_utils-1.36-rescanscsibus.patch.xz b/base/scsi/sg3_utils-1.36-rescanscsibus.patch.xz Binary files differnew file mode 100644 index 0000000..db4f13d --- /dev/null +++ b/base/scsi/sg3_utils-1.36-rescanscsibus.patch.xz diff --git a/base/sensors/lm_sensors-3.3.4-config.patch.xz b/base/sensors/lm_sensors-3.3.4-config.patch.xz Binary files differnew file mode 100644 index 0000000..aed3011 --- /dev/null +++ b/base/sensors/lm_sensors-3.3.4-config.patch.xz diff --git a/base/sensors/sensors.build b/base/sensors/sensors.build new file mode 100755 index 0000000..87ad7a4 --- /dev/null +++ b/base/sensors/sensors.build @@ -0,0 +1,73 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=sensors +VERSION=3.3.4 +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}: sensors (hardware monitoring utilities) +${NAME}: +${NAME}: Utilities to monitor temperatures, voltages and fans. +${NAME}: +${NAME}: Homepage: http://www.lm-sensors.org +${NAME}: +${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... +} + +config etc/conf.d/sensors.conf.new +EOF + +# Sources + +SRCNAME[0]=lm_sensors +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://dl.lm-sensors.org/lm-sensors/releases/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="GPL LGPL21" + +build0() +{ +make ${JOBS} CFLAGS="${FLAGS}" PREFIX="${SYS_DIR[usr]}" LIBDIR="${SYS_DIR[lib]}" +make install DESTDIR="${PKG}" PREFIX="${SYS_DIR[usr]}" LIBDIR="${SYS_DIR[lib]}" +doc CONTRIBUTORS +changelog CHANGES +mv \ + ${PKG}${SYS_DIR[conf]}/sensors.conf \ + ${PKG}${SYS_DIR[conf]}/sensors.conf.new +rm -f \ + ${PKG}${SYS_DIR[bin]}/sensors-conf-convert \ + ${PKG}${SYS_DIR[lib]}/*.a +} diff --git a/base/softraid/mdadm-3.2.6-disablewerror.patch.xz b/base/softraid/mdadm-3.2.6-disablewerror.patch.xz Binary files differnew file mode 100644 index 0000000..293e0de --- /dev/null +++ b/base/softraid/mdadm-3.2.6-disablewerror.patch.xz diff --git a/base/softraid/mdadm-3.2.6-udevdir.patch.xz b/base/softraid/mdadm-3.2.6-udevdir.patch.xz Binary files differnew file mode 100644 index 0000000..5e97671 --- /dev/null +++ b/base/softraid/mdadm-3.2.6-udevdir.patch.xz diff --git a/base/softraid/softraid.build b/base/softraid/softraid.build new file mode 100755 index 0000000..8d7418e --- /dev/null +++ b/base/softraid/softraid.build @@ -0,0 +1,80 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=softraid +VERSION=3.2.6 +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}: softraid (manage software RAID arrays) +${NAME}: +${NAME}: Create, manage and monitor Linux MD (software RAID) devices. +${NAME}: +${NAME}: Homepage: http://neil.brown.name/blog/mdadm +${NAME}: +${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... +} + +config etc/mdadm.conf.new +EOF + +# Sources + +SRCNAME[0]=mdadm +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://www.kernel.org/pub/linux/utils/raid/mdadm/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="GPL2" + +build0() +{ +make ${JOBS} CXFLAGS="${FLAGS}" CONFFILE2="${SYS_DIR[etc]}/mdadm.conf" +make install \ + MANDIR="${SYS_DIR[man]}" \ + BINDIR="${SYS_DIR[sbin]}" \ + UDEVDIR="${SYS_DIR[udevrules]}" \ + DESTDIR="${PKG}" +doc AUTHORS +changelog ANNOUNCE-${SRCVERS[0]} +install.dir ${PKG}${SYS_DIR[etc]} +install.dat mdadm.conf-example ${PKG}${SYS_DIR[etc]}/mdadm.conf.new +#FIXME: compat symlinks +install.dir ${PKG}/sbin +( + cd ${PKG}/sbin + ln -sf /usr/sbin/mdadm + ln -sf /usr/sbin/mdmon +) +} diff --git a/base/sound/alsa-utils-1.0.27-alsactlbufferoverflow.patch.xz b/base/sound/alsa-utils-1.0.27-alsactlbufferoverflow.patch.xz Binary files differnew file mode 100644 index 0000000..e9c2ed9 --- /dev/null +++ b/base/sound/alsa-utils-1.0.27-alsactlbufferoverflow.patch.xz diff --git a/base/sound/alsa-utils-1.0.27-arecord.patch.xz b/base/sound/alsa-utils-1.0.27-arecord.patch.xz Binary files differnew file mode 100644 index 0000000..64915ae --- /dev/null +++ b/base/sound/alsa-utils-1.0.27-arecord.patch.xz diff --git a/base/sound/alsa-utils-1.0.27-desktopfile.patch.xz b/base/sound/alsa-utils-1.0.27-desktopfile.patch.xz Binary files differnew file mode 100644 index 0000000..7b2dc7e --- /dev/null +++ b/base/sound/alsa-utils-1.0.27-desktopfile.patch.xz diff --git a/base/sound/alsa-utils-1.0.27-manfix.patch.xz b/base/sound/alsa-utils-1.0.27-manfix.patch.xz Binary files differnew file mode 100644 index 0000000..46cb33a --- /dev/null +++ b/base/sound/alsa-utils-1.0.27-manfix.patch.xz diff --git a/base/sound/alsa-utils-1.0.27-pcsp.patch.xz b/base/sound/alsa-utils-1.0.27-pcsp.patch.xz Binary files differnew file mode 100644 index 0000000..7d5a129 --- /dev/null +++ b/base/sound/alsa-utils-1.0.27-pcsp.patch.xz diff --git a/base/sound/alsa-utils-1.0.27-servicetypo.patch.xz b/base/sound/alsa-utils-1.0.27-servicetypo.patch.xz Binary files differnew file mode 100644 index 0000000..5e689ff --- /dev/null +++ b/base/sound/alsa-utils-1.0.27-servicetypo.patch.xz diff --git a/base/sound/alsa-utils-1.0.27-sysvinit.patch.xz b/base/sound/alsa-utils-1.0.27-sysvinit.patch.xz Binary files differnew file mode 100644 index 0000000..c602034 --- /dev/null +++ b/base/sound/alsa-utils-1.0.27-sysvinit.patch.xz diff --git a/base/sound/alsa-utils-1.0.27-tmpfilesd.patch.xz b/base/sound/alsa-utils-1.0.27-tmpfilesd.patch.xz Binary files differnew file mode 100644 index 0000000..b2d7785 --- /dev/null +++ b/base/sound/alsa-utils-1.0.27-tmpfilesd.patch.xz diff --git a/base/sound/sound.build b/base/sound/sound.build new file mode 100755 index 0000000..7125abc --- /dev/null +++ b/base/sound/sound.build @@ -0,0 +1,132 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=sound +VERSION=1.0.27 +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}: sound (Advanced Linux Sound Architecture) +${NAME}: +${NAME}: The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI +${NAME}: functionality to the Linux operating system. +${NAME}: +${NAME}: This package provides the ALSA libraries and utilities. +${NAME}: +${NAME}: Homepage: http://alsa-project.org +${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/modprobe.d/snd-pcsp.conf.new +config etc/rc.d/rc.alsa.new + +if [ ! -d run/alsactl ]; then + install -d -m 0755 run/alsactl +fi +EOF + +# Sources + +ALSAREPO="ftp://ftp.alsa-project.org/pub/lib" + +SRCNAME[0]=alsa-lib +SRCVERS[0]=${VERSION} +SRCPACK[0]=${ALSAREPO}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="LGPL21" + +build0() +{ +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]}/alsa" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --disable-python \ + --with-configdir="${SYS_DIR[share]}/alsa" \ + --with-plugindir="${SYS_DIR[lib]}/plugins/alsa-1" \ + --with-pkgconfdir="${SYS_DIR[share]}/pkgconfig" +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +install.dir ${PKG}${SYS_DIR[etc]}/alsa +install.dat doc/asoundrc.txt ${PKG}${SYS_DIR[etc]}/alsa/asoundrc.sample +} + +SRCNAME[1]=alsa-utils +SRCVERS[1]=${VERSION} +SRCPACK[1]=${ALSAREPO}/${SRCNAME[1]}-${SRCVERS[1]}.tar.bz2 +SRCCOPY[1]="GPL2" + +build1() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --disable-rpath \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}/alsa" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --disable-xmlto \ + --disable-alsaconf \ + --with-alsa-prefix="${PKG}${SYS_DIR[lib]}" \ + --with-alsa-inc-prefix="${PKG}${SYS_DIR[include]}" \ + --with-udev-rules-dir="${SYS_DIR[udevrules]}" \ + --with-systemdsystemunitdir="${SYS_DIR[systemdsystemunitdir]}" \ + --with-asound-state-dir="${SYS_DIR[var]}/lib/alsa" \ + --with-alsactl-pidfile-dir="${SYS_DIR[run]}/alsactl" +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +install.dir ${PKG}${SYS_DIR[etc]}/{rc,modprobe,tmpfiles}.d +install.cfg alsactl.conf.tmpfiles ${PKG}${SYS_DIR[etc]}/tmpfiles.d/alsactl.conf +install.bin rc.alsa ${PKG}${SYS_DIR[etc]}/rc.d/rc.alsa.new +install.cfg snd-pcsp.conf.modprobe ${PKG}${SYS_DIR[etc]}/modprobe.d/snd-pcsp.conf.new +install.dir ${PKG}${SYS_DIR[share]}/applications +install.dat alsamixer.desktop ${PKG}${SYS_DIR[share]}/applications +mv \ + ${PKG}${SYS_DIR[man]}/man7 \ + ${PKG}${SYS_DIR[man]}/man8 +mv \ + ${PKG}${SYS_DIR[man]}/man1/alsactl.1 \ + ${PKG}${SYS_DIR[man]}/man8/alsactl.8 +} diff --git a/base/spkg/spkg.build b/base/spkg/spkg.build new file mode 100755 index 0000000..19a8764 --- /dev/null +++ b/base/spkg/spkg.build @@ -0,0 +1,62 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=spkg +VERSION=1.0.1 +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}: spkg +${NAME}: +${NAME}: An unofficial Slackware Linux package manager written in C which can +${NAME}: be used side by side with the traditional pkgtools. Besides from +${NAME}: being much faster than pkgtools, it has also additional features +${NAME}: such as safe mode, safe cancel, rollback and verbose mode amonst +${NAME}: other things while still having a simple user interface. +${NAME}: +${NAME}: Homepage: http://spkg.megous.com +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.{am,in} +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --enable-static=yes \ + --enable-shared=yes \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +# --enable-static-spkg=only +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +rm -rf ${PKG}${SYS_DIR[usr]}/doc +} diff --git a/base/sudo/sudo-1.8.6p8-pamd.patch.xz b/base/sudo/sudo-1.8.6p8-pamd.patch.xz Binary files differnew file mode 100644 index 0000000..abacdac --- /dev/null +++ b/base/sudo/sudo-1.8.6p8-pamd.patch.xz diff --git a/base/sudo/sudo-1.8.6p8-tmpfiles.patch.xz b/base/sudo/sudo-1.8.6p8-tmpfiles.patch.xz Binary files differnew file mode 100644 index 0000000..3854c14 --- /dev/null +++ b/base/sudo/sudo-1.8.6p8-tmpfiles.patch.xz diff --git a/base/sudo/sudo.build b/base/sudo/sudo.build new file mode 100755 index 0000000..d567aff --- /dev/null +++ b/base/sudo/sudo.build @@ -0,0 +1,109 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=sudo +VERSION=1.8.6p8 +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}: sudo (give limited root privileges to certain users) +${NAME}: +${NAME}: 'sudo' is a command that allows users to execute some commands as +${NAME}: root. The /etc/sudoers file (edited with 'visudo') specifies which +${NAME}: users have access to sudo and which commands they can run. 'sudo' +${NAME}: logs all its activities to /var/log/ so the system administrator +${NAME}: can keep an eye on things. +${NAME}: +${NAME}: Homepage: http://www.sudo.ws +${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/pam.d/sudo.new +config etc/pam.d/sudo-i.new +config etc/sudoers.new +rm -f etc/sudoers.new +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://www.sudo.ws/sudo/dist/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="ISC" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --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]}/plugins/sudo" \ + --localstatedir="${SYS_DIR[var]}" \ + --sbindir="${SYS_DIR[sbin]}" \ + --with-timedir="${SYS_DIR[run]}/sudo" \ + --with-passprompt="[sudo] password for %p: " \ + --with-logging="syslog" \ + --with-logfac="authpriv" \ + --with-editor="${SYS_DIR[bin]}/vi" \ + --with-ignore-dot \ + --with-tty-tickets \ + --with-env-editor \ + --with-pam \ + --with-pam-login +#NOTE: --with-linux-audit ? +make ${JOBS} +make install DESTDIR="${PKG}" +doc doc/CONTRIBUTORS doc/UPGRADE doc/sample.{sudo.conf,sudoers} +changelog NEWS +install.dir ${PKG}${SYS_DIR[etc]}/{tmpfiles,pam}.d +install.dat sudo.pam ${PKG}${SYS_DIR[etc]}/pam.d/sudo.new +install.dat sudo.pam ${PKG}${SYS_DIR[etc]}/pam.d/sudo-i.new +install.dat sudo.conf.tmpfiles ${PKG}${SYS_DIR[etc]}/tmpfiles.d/sudo.conf +( + cd ${PKG}${SYS_DIR[bin]} + chmod 4711 sudo + ln -sf sudo sudoedit +) +rm -f ${PKG}${SYS_DIR[man]}/man8/sudoedit.8 +echo ".so man8/sudo.8" > ${PKG}${SYS_DIR[man]}/man8/sudoedit.8 +chmod 0755 ${PKG}${SYS_DIR[lib]}/plugins/sudo/*.so +config ${PKG}${SYS_DIR[etc]}/sudoers +rm -rf \ + ${PKG}${SYS_DIR[run]} \ + ${PKG}${SYS_DIR[doc]}/sudo +} diff --git a/base/tcpip/host-20070128-compile.patch.xz b/base/tcpip/host-20070128-compile.patch.xz Binary files differnew file mode 100644 index 0000000..67d83ad --- /dev/null +++ b/base/tcpip/host-20070128-compile.patch.xz diff --git a/base/tcpip/iproute2-3.7.0-datadir.patch.xz b/base/tcpip/iproute2-3.7.0-datadir.patch.xz Binary files differnew file mode 100644 index 0000000..826ac43 --- /dev/null +++ b/base/tcpip/iproute2-3.7.0-datadir.patch.xz diff --git a/base/tcpip/iproute2-3.7.0-installman7.patch.xz b/base/tcpip/iproute2-3.7.0-installman7.patch.xz Binary files differnew file mode 100644 index 0000000..c27d0c6 --- /dev/null +++ b/base/tcpip/iproute2-3.7.0-installman7.patch.xz diff --git a/base/tcpip/iputils-s20121221-install.patch.xz b/base/tcpip/iputils-s20121221-install.patch.xz Binary files differnew file mode 100644 index 0000000..b785183 --- /dev/null +++ b/base/tcpip/iputils-s20121221-install.patch.xz diff --git a/base/tcpip/iputils-s20121221-ipmask.patch.xz b/base/tcpip/iputils-s20121221-ipmask.patch.xz Binary files differnew file mode 100644 index 0000000..1b51bb3 --- /dev/null +++ b/base/tcpip/iputils-s20121221-ipmask.patch.xz diff --git a/base/tcpip/iputils-s20121221-manpages.patch.xz b/base/tcpip/iputils-s20121221-manpages.patch.xz Binary files differnew file mode 100644 index 0000000..013fe28 --- /dev/null +++ b/base/tcpip/iputils-s20121221-manpages.patch.xz diff --git a/base/tcpip/iputils-s20121221-noinstall.patch.xz b/base/tcpip/iputils-s20121221-noinstall.patch.xz Binary files differnew file mode 100644 index 0000000..9dd8ea4 --- /dev/null +++ b/base/tcpip/iputils-s20121221-noinstall.patch.xz diff --git a/base/tcpip/libpcap-1.3.0-autoconf.patch.xz b/base/tcpip/libpcap-1.3.0-autoconf.patch.xz Binary files differnew file mode 100644 index 0000000..7e78543 --- /dev/null +++ b/base/tcpip/libpcap-1.3.0-autoconf.patch.xz diff --git a/base/tcpip/libpcap-1.3.0-libnl32.patch.xz b/base/tcpip/libpcap-1.3.0-libnl32.patch.xz Binary files differnew file mode 100644 index 0000000..edc8edd --- /dev/null +++ b/base/tcpip/libpcap-1.3.0-libnl32.patch.xz diff --git a/base/tcpip/net-tools-20130121-config.patch.xz b/base/tcpip/net-tools-20130121-config.patch.xz Binary files differnew file mode 100644 index 0000000..9683ffa --- /dev/null +++ b/base/tcpip/net-tools-20130121-config.patch.xz diff --git a/base/tcpip/net-tools-20130121-debian242.patch.xz b/base/tcpip/net-tools-20130121-debian242.patch.xz Binary files differnew file mode 100644 index 0000000..a544220 --- /dev/null +++ b/base/tcpip/net-tools-20130121-debian242.patch.xz diff --git a/base/tcpip/net-tools-20130121-install.patch.xz b/base/tcpip/net-tools-20130121-install.patch.xz Binary files differnew file mode 100644 index 0000000..0fd2fd2 --- /dev/null +++ b/base/tcpip/net-tools-20130121-install.patch.xz diff --git a/base/tcpip/net-tools-20130121-missingheaders.patch.xz b/base/tcpip/net-tools-20130121-missingheaders.patch.xz Binary files differnew file mode 100644 index 0000000..ee76a47 --- /dev/null +++ b/base/tcpip/net-tools-20130121-missingheaders.patch.xz diff --git a/base/tcpip/tcp_wrappers-7.6-updates.patch.xz b/base/tcpip/tcp_wrappers-7.6-updates.patch.xz Binary files differnew file mode 100644 index 0000000..d308009 --- /dev/null +++ b/base/tcpip/tcp_wrappers-7.6-updates.patch.xz diff --git a/base/tcpip/tcpip.build b/base/tcpip/tcpip.build new file mode 100755 index 0000000..e6d5678 --- /dev/null +++ b/base/tcpip/tcpip.build @@ -0,0 +1,273 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=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}: tcpip +${NAME}: +${NAME}: Basic TCP/IP networking utilities and libraries. +${NAME}: +${NAME}: This package must be installed if you want network or Internet +${NAME}: access. +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +install_info() +{ + for file in "\${*}"; do + if [ -x usr/bin/install-info ]; then + usr/bin/install-info --info-dir=usr/share/info usr/share/info/\${file}.info.xz 2> /dev/null + fi + done +} + +# Install texinfo files + +install_info inetutils +EOF + +# Sources + +SRCNAME[0]=libnl +SRCVERS[0]=3.2.19 +SRCPACK[0]=http://www.infradead.org/~tgr/libnl/files/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="LGPL21" + +build0() +{ +sed -i 's|pkglibdir = $(libdir)/@PACKAGE@|pkglibdir = $(libdir)/plugins/@PACKAGE@|g' \ + Makefile.in */Makefile.in */*/Makefile.in */*/*/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[share]}/net" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-pkgconfigdir="${SYS_DIR[share]}/pkgconfig" +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +changelog ChangeLog +} + +SRCNAME[1]=libpcap +SRCVERS[1]=1.3.0 +SRCPACK[1]=http://www.tcpdump.org/release/${SRCNAME[1]}-${SRCVERS[1]}.tar.gz +SRCCOPY[1]="BSD3" + +build1() +{ +CPPFLAGS="-I${PKG}${SYS_DIR[include]}/libnl3" \ +LDFLAGS="-L${PKG}${SYS_DIR[lib]}" \ +CFLAGS="${FLAGS} ${CPPFLAGS}" CXXFLAGS="${FLAGS} ${CPPFLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --enable-shared=yes \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --enable-ipv6 \ + --enable-bluetooth +make ${JOBS} +make install DESTDIR="${PKG}" +doc CREDITS +changelog CHANGES +( + cd ${PKG}${SYS_DIR[man]}/man3 + for manpage in *.3pcap; do + mv ${manpage} $(basename ${manpage} .3pcap).3 + done +) +rm -f ${PKG}${SYS_DIR[lib]}/*.a +} + +SRCNAME[2]=tcp_wrappers +SRCVERS[2]=7.6 +SRCPACK[2]=http://ftp.nluug.nl/security/tcpwrappers/${SRCNAME[2]}_${SRCVERS[2]}.tar.gz +SRCROOT[2]=${SRCNAME[2]}_${SRCVERS[2]} + +build2() +{ +make OPTS="${FLAGS}" REAL_DAEMON_DIR="${SYS_DIR[sbin]}" linux +make install DESTDIR="${PKG}" MANDIR="${SYS_DIR[man]}" LIBDIR="${SYS_DIR[lib]}" +doc README +changelog CHANGES +rm -f ${PKG}${SYS_DIR[lib]}/libwrap.a +} + +SRCNAME[3]=host +SRCVERS[3]=20070128 +SRCPACK[3]=ftp://ftp.weird.com/pub/local/${SRCNAME[3]}-${SRCVERS[3]}.tar.gz + +build3() +{ +make ${JOBS} COPTIM="${FLAGS}" CONFDIR="${SYS_DIR[etc]}" \ + PREFIX="${SYS_DIR[usr]}" MANDIR="${SYS_DIR[man]}/man1" +make install DESTDIR="${PKG}" CONFDIR="${SYS_DIR[etc]}" \ + PREFIX="${SYS_DIR[usr]}" MANDIR="${SYS_DIR[man]}/man1" +for file in mxlookup nscheck nslookup rblookup; do + echo ".so man1/host.1" > ${PKG}${SYS_DIR[man]}/man1/${file}.1 +done +} + +SRCNAME[4]=traceroute +SRCVERS[4]=2.0.19 +SRCPACK[4]=${URL[sf]}/${SRCNAME[4]}/${SRCNAME[4]}/${SRCNAME[4]}-${SRCVERS[4]}/${SRCNAME[4]}-${SRCVERS[4]}.tar.gz +SRCCOPY[4]="LGPL21 GPL2" + +build4() +{ +make ${JOBS} CFLAGS+="${FLAGS}" +make install DESTDIR="${PKG}" \ + prefix="${SYS_DIR[usr]}" \ + mandir="${SYS_DIR[man]}" +doc CREDITS +changelog ChangeLog +( + cd ${PKG}${SYS_DIR[bin]} + ln -sf traceroute traceroute6 + cd ${PKG}${SYS_DIR[man]}/man1 + echo ".so man1/traceroute.1" > traceroute6.1 +) +} + +SRCNAME[5]=whois +SRCVERS[5]=5.0.20 +SRCPACK[5]=http://ftp.debian.org/debian/pool/main/w/${SRCNAME[5]}/${SRCNAME[5]}_${SRCVERS[5]}.tar.xz +SRCCOPY[5]="GPL2" + +build5() +{ +make ${JOBS} CFLAGS="${FLAGS} -I${SYS_DIR[include]}/idn" HAVE_LIBIDN=y +make install mandir="${SYS_DIR[man]}" BASEDIR="${PKG}" +} + +SRCNAME[6]=inetutils +SRCVERS[6]=1.9.1 +SRCPACK[6]=${URL[gnu]}/${SRCNAME[6]}/${SRCNAME[6]}-${SRCVERS[6]}.tar.gz +SRCCOPY[6]="GPL3" + +build6() +{ +#FIXME: PAM: might need to be enabled +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --disable-rpath \ + --enable-static=no \ + --enable-shared=yes \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --infodir="${SYS_DIR[info]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --disable-servers \ + --disable-hostname \ + --disable-logger \ + --disable-ifconfig \ + --disable-talk \ + --disable-traceroute \ + --disable-whois +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog NEWS +chmod 0755 ${PKG}${SYS_DIR[bin]}/{ping,ping6,rcp,rsh,rlogin} +rmdir ${PKG}/usr/libexec +} + +SRCNAME[7]=iputils +SRCVERS[7]=s20121221 +SRCPACK[7]=http://www.skbuff.net/${SRCNAME[7]}/${SRCNAME[7]}-${SRCVERS[7]}.tar.bz2 +SRCCOPY[7]="BSD4" + +build7() +{ +make ${JOBS} \ + CCOPTOPT="${FLAGS}" \ + VPATH="${SYS_DIR[lib]}" +make install \ + SBINDIR="${SYS_DIR[sbin]}" \ + DESTDIR="${PKG}" +changelog RELNOTES +# These utilities are provided by other packages but leave this just in case +#chmod 4711 \ +# ${PKG}/bin/ping \ +# ${PKG}/bin/ping6 \ +# ${PKG}/usr/bin/traceroute6 +} + +SRCNAME[8]=net-tools +SRCVERS[8]=20130121 +SRCPACK[8]=http://www.tazenda.demon.co.uk/phil/${SRCNAME[8]}/${SRCNAME[8]}-${SRCVERS[8]}.tar.xz +SRCCOPY[8]="GPL2" + +build8() +{ +make version.h +make ${JOBS} CFLAGS="${FLAGS}" +make install-slattach install-plipconfig installdata \ + DESTDIR="${PKG}" \ + MANDIR="${SYS_DIR[man]}" \ + BINDIR="${SYS_DIR[bin]}" \ + SBINDIR="${SYS_DIR[sbin]}" +rm -rf ${PKG}${SYS_DIR[man]}/pt_BR +} + +SRCNAME[9]=iproute2 +SRCVERS[9]=3.7.0 +SRCPACK[9]=http://devresources.linuxfoundation.org/dev/${SRCNAME[9]}/download/${SRCNAME[9]}-${SRCVERS[9]}.tar.xz +SRCCOPY[9]="GPL2" + +build9() +{ +./configure +make ${JOBS} \ + CCOPTS="${FLAGS}" \ + CONFDIR="${SYS_DIR[share]}/net" \ + DATADIR="${SYS_DIR[share]}/net" \ + LIBDIR="${SYS_DIR[lib]}/plugins" +make install \ + DESTDIR="${PKG}" \ + CONFDIR="${SYS_DIR[share]}/net" \ + DATADIR="${SYS_DIR[share]}/net" \ + SBINDIR="${SYS_DIR[sbin]}" \ + LIBDIR="${SYS_DIR[lib]}/plugins" \ + MANDIR="${SYS_DIR[man]}" \ + DOCDIR="${SYS_DIR[doc]}/${SRCNAME[9]}-${SRCVERS[9]}/extra" +rm -rf \ + ${PKG}${SYS_DIR[doc]}/${SRCNAME[9]}-${SRCVERS[9]}/extra +} diff --git a/base/tcpip/whois-5.0.20-mandir.patch.xz b/base/tcpip/whois-5.0.20-mandir.patch.xz Binary files differnew file mode 100644 index 0000000..c4b064e --- /dev/null +++ b/base/tcpip/whois-5.0.20-mandir.patch.xz diff --git a/base/tcpip/whois-5.0.20-nomkpasswd.patch.xz b/base/tcpip/whois-5.0.20-nomkpasswd.patch.xz Binary files differnew file mode 100644 index 0000000..2dd3888 --- /dev/null +++ b/base/tcpip/whois-5.0.20-nomkpasswd.patch.xz diff --git a/base/udev/udev-173-deadlockedworker.patch.xz b/base/udev/udev-173-deadlockedworker.patch.xz Binary files differnew file mode 100644 index 0000000..7bcb492 --- /dev/null +++ b/base/udev/udev-173-deadlockedworker.patch.xz diff --git a/base/udev/udev-173-input_id.patch.xz b/base/udev/udev-173-input_id.patch.xz Binary files differnew file mode 100644 index 0000000..20c45ab --- /dev/null +++ b/base/udev/udev-173-input_id.patch.xz diff --git a/base/udev/udev-173-libdirhack.patch.xz b/base/udev/udev-173-libdirhack.patch.xz Binary files differnew file mode 100644 index 0000000..8a261b6 --- /dev/null +++ b/base/udev/udev-173-libdirhack.patch.xz diff --git a/base/udev/udev-173-rulegenerator.patch.xz b/base/udev/udev-173-rulegenerator.patch.xz Binary files differnew file mode 100644 index 0000000..1adc455 --- /dev/null +++ b/base/udev/udev-173-rulegenerator.patch.xz diff --git a/base/udev/udev-173-slackware.patch.xz b/base/udev/udev-173-slackware.patch.xz Binary files differnew file mode 100644 index 0000000..19aa89e --- /dev/null +++ b/base/udev/udev-173-slackware.patch.xz diff --git a/base/udev/udev.build b/base/udev/udev.build new file mode 100755 index 0000000..35d669b --- /dev/null +++ b/base/udev/udev.build @@ -0,0 +1,103 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=udev +VERSION=173 +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}: udev (dynamic device directory system) +${NAME}: +${NAME}: udev provides a dynamic device directory containing only the files +${NAME}: for the devices which are actually present. It creates or removes +${NAME}: device node files usually located in the /dev directory. +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://www.kernel.org/pub/linux/utils/kernel/hotplug/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="GPL2" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --enable-shared=yes \ + --enable-static=yes \ + --disable-introspection \ + --prefix=/usr \ + --mandir="${SYS_DIR[man]}" \ + --docdir="${SYS_DIR[doc]}/${SRCNAME[0],,}-${SRCVERS[0]}" \ + --sysconfdir=/etc \ + --libdir=/usr/lib$(libdirsuffix) \ + --libexecdir=/usr/lib$(libdirsuffix)/udev \ + --localstatedir=/var \ + --sbindir=/usr/sbin \ + --with-html-dir="${SYS_DIR[html]}" \ + --with-rootlibdir=/usr/lib$(libdirsuffix) \ + --with-firmware-path="/usr/lib/firmware:/usr/local/lib/firmware:/lib/firmware" \ + --with-systemdsystemunitdir="${SYS_DIR[systemdsystemunitdir]}" \ + --with-pci-ids-path=/usr/share/hwdata \ + --with-usb-ids-path=/usr/share/hwdata \ + --enable-udev_acl +#FIXME: floppy stuff goes in separate a floppy package and also old HD stuff +#FIXME: remove udev_acl when switching to systemd +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +changelog ChangeLog +install.dir ${PKG}/etc/{rc.d,modprobe.d,udev/rules.d} +install.dat doinst.sh ${PKG}/install +install.dat config/udev.conf ${PKG}/etc/udev +install.dat config/rules.d/* ${PKG}/usr/lib$(libdirsuffix)/udev/rules.d +install.dat config/modprobe.d/* ${PKG}/etc/modprobe.d +install.bin config/rc.d/rc.udev.new ${PKG}/etc/rc.d +mv \ + ${PKG}/usr/share/pkgconfig/* \ + ${PKG}/usr/lib$(libdirsuffix)/pkgconfig +mv \ + ${PKG}/usr/lib/ConsoleKit \ + ${PKG}/usr/lib$(libdirsuffix) +rm -rf \ + ${PKG}/usr/lib \ + ${PKG}/usr/share/pkgconfig +#FIXME: compatibility symlinks +install.dir ${PKG}/sbin +( + cd ${PKG}/sbin + ln -sf /usr/sbin/udevd + ln -sf /usr/sbin/udevadm + ln -sf /usr/lib$(libdirsuffix)/udev/scsi_id +) +( + cd ${PKG}/usr/sbin + ln -sf /usr/lib$(libdirsuffix)/udev/scsi_id +) +( + cd ${PKG}/usr/lib$(libdirsuffix) + src.unpack ${CWD}/udev-fixed-devices.tar.xz +) +} diff --git a/base/usb/libusb-compat-0.1.4-pkgconfig.patch.xz b/base/usb/libusb-compat-0.1.4-pkgconfig.patch.xz Binary files differnew file mode 100644 index 0000000..d37d63f --- /dev/null +++ b/base/usb/libusb-compat-0.1.4-pkgconfig.patch.xz diff --git a/base/usb/usb.build b/base/usb/usb.build new file mode 100755 index 0000000..0fb853c --- /dev/null +++ b/base/usb/usb.build @@ -0,0 +1,135 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=usb +MAJOR=1.0 +VERSION=${MAJOR}.15 +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}: usb +${NAME}: +${NAME}: Library and utilities required to use USB devices. This package +${NAME}: provides the following components: +${NAME}: +${NAME}: * libusb - allows userspace applications access to USB devices +${NAME}: * usbutils - various utilities such as lsusb +${NAME}: * usb.ids - database of USB ids +${NAME}: +${NAME}: +${NAME}: Homepage: http://www.linux-usb.org +EOF + +# Sources + +SRCNAME[0]=libusbx +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[sf]}/${SRCNAME[0]}/${SRCNAME[0]}-${MAJOR}/${SRCNAME[0]}-${SRCVERS[0]}/${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-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]}" +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog ChangeLog +} + +SRCNAME[1]=libusb-compat +SRCVERS[1]=0.1.4 +SRCPACK[1]=${URL[sf]}/libusb/${SRCNAME[1]}-0.1/${SRCNAME[1]}-${SRCVERS[1]}/${SRCNAME[1]}-${SRCVERS[1]}.tar.bz2 +SRCCOPY[1]="LGPL21" + +build1() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +LIBUSB_1_0_CFLAGS="-I${PKG}${SYS_DIR[include]}/libusb-1.0" \ +LIBUSB_1_0_LIBS="-L${PKG}${SYS_DIR[lib]}" \ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --enable-static=yes \ + --enable-shared=yes \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +} + +SRCNAME[2]=usbutils +SRCVERS[2]=006 +SRCPACK[2]=http://www.kernel.org/pub/linux/utils/usb/usbutils/${SRCNAME[2]}-${SRCVERS[2]}.tar.xz +SRCCOPY[2]="GPL2" + +build2() +{ +LIBUSB_CFLAGS="-I${PKG}${SYS_DIR[include]}" \ +LIBUSB_LIBS="-L${PKG}${SYS_DIR[lib]} -lusb-1.0" \ +CFLAGS="${FLAGS} -I${PKG}${SYS_DIR[include]} -I${PKG}${SYS_DIR[include]}/libusb-1.0" \ +CXXFLAGS="${FLAGS} -I${PKG}${SYS_DIR[include]} -I${PKG}${SYS_DIR[include]}/libusb-1.0" \ +LDFLAGS="-L${PKG}/lib$(libdirsuffix)" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --datadir="${SYS_DIR[share]}/hwdata" \ + --disable-usbids +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +sed "s|@usbids@|${SYS_DIR[share]}/hwdata/usb.ids|g" update-usbids.sh.in > ${PKG}${SYS_DIR[sbin]}/update-usbids +chmod 0755 ${PKG}${SYS_DIR[sbin]}/update-usbids +rm -rf \ + ${PKG}${SYS_DIR[bin]}/lsusb.py +} + +SRCNAME[3]=usbids +SRCVERS[3]=$(date "+%Y%m%d") +SRCPACK[3]=http://linux-usb.sourceforge.net/usb.ids +SRCOPTS[3]="nosrcroot nounpack" + +build3() +{ +install.dir ${PKG}${SYS_DIR[share]}/hwdata +rm -f ${PKG}${SYS_DIR[share]}/hwdata/usb.ids +install.dat ${CWD}/usb.ids ${PKG}${SYS_DIR[share]}/hwdata +} diff --git a/base/vi/vi.build b/base/vi/vi.build new file mode 100755 index 0000000..876ae32 --- /dev/null +++ b/base/vi/vi.build @@ -0,0 +1,90 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=vi +MAJOR=7.3 +VERSION=${MAJOR}.773 +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}: vi (a minimal version of Vi IMproved) +${NAME}: +${NAME}: A minimal version of 'vim' compatible with 'vi'. +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=vim +SRCVERS[0]=${MAJOR} +SRCPACK[0]=http://ftp.vim.org/pub/vim/unix/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCROOT[0]=${SRCNAME[0]}73 + +configure() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}/lib/vim" \ + --localedir="${SYS_DIR[share]}/locale" \ + --with-compiledby="${DISTRONAME}" \ + --with-features=tiny \ + ${*} +} + +build0() +{ +configure \ + --disable-netbeans \ + --disable-pythoninterp \ + --disable-python3interp \ + --disable-rubyinterp \ + --disable-tclinterp \ + --disable-luainterp \ + --disable-perlinterp \ + --disable-gui \ + --disable-gpm \ + --disable-acl \ + --disable-cscope \ + --enable-multibyte \ + --enable-nls + --with-x=no \ + --with-vim-name="vi" +make ${JOBS} VIMRCLOC="${SYS_DIR[etc]}" VIMRTLOC="${SYS_DIR[share]}/vim" VIMRUNTIMEDIR="${SYS_DIR[share]}/vim" +make install VIMRCLOC="${SYS_DIR[etc]}" VIMRTLOC="${SYS_DIR[share]}/vim" DESTDIR="${PKG}" +rm -rf \ + ${PKG}${SYS_DIR[share]} \ + ${PKG}${SYS_DIR[bin]}/{vimtutor,xxd,rview,rvim,view,ex} +mv \ + ${PKG}${SYS_DIR[bin]}/vim \ + ${PKG}${SYS_DIR[bin]}/vi +license runtime/doc/uganda.txt +install.dir ${PKG}${SYS_DIR[man]}/man1 +echo ".so man1/vim.1" > ${PKG}${SYS_DIR[man]}/man1/vi.1 +install.dir ${PKG}${SYS_DIR[share]}/vim/doc +install.dat vi_help.txt ${PKG}${SYS_DIR[share]}/vim/doc +} diff --git a/base/vi/vim-7.3-crontab.patch.xz b/base/vi/vim-7.3-crontab.patch.xz Binary files differnew file mode 100644 index 0000000..b579b03 --- /dev/null +++ b/base/vi/vim-7.3-crontab.patch.xz diff --git a/base/vi/vim-7.3-logfiles.patch.xz b/base/vi/vim-7.3-logfiles.patch.xz Binary files differnew file mode 100644 index 0000000..bed59fe --- /dev/null +++ b/base/vi/vim-7.3-logfiles.patch.xz diff --git a/base/vi/vim-7.3-minimal.patch.xz b/base/vi/vim-7.3-minimal.patch.xz Binary files differnew file mode 100644 index 0000000..6ddcb2d --- /dev/null +++ b/base/vi/vim-7.3-minimal.patch.xz diff --git a/base/vi/vim-7.3-nlpo.patch.xz b/base/vi/vim-7.3-nlpo.patch.xz Binary files differnew file mode 100644 index 0000000..033cf43 --- /dev/null +++ b/base/vi/vim-7.3-nlpo.patch.xz diff --git a/base/vi/vim-7.3-slackware.patch.xz b/base/vi/vim-7.3-slackware.patch.xz Binary files differnew file mode 100644 index 0000000..7e974bf --- /dev/null +++ b/base/vi/vim-7.3-slackware.patch.xz diff --git a/base/vi/vim-7.3-syntax20130121.patch.xz b/base/vi/vim-7.3-syntax20130121.patch.xz Binary files differnew file mode 100644 index 0000000..6821b0b --- /dev/null +++ b/base/vi/vim-7.3-syntax20130121.patch.xz diff --git a/base/vi/vim-7.3-update773.patch.xz b/base/vi/vim-7.3-update773.patch.xz Binary files differnew file mode 100644 index 0000000..ed5b1cd --- /dev/null +++ b/base/vi/vim-7.3-update773.patch.xz diff --git a/base/vi/vim-7.3-useproperlocaledir.patch.xz b/base/vi/vim-7.3-useproperlocaledir.patch.xz Binary files differnew file mode 100644 index 0000000..1c24406 --- /dev/null +++ b/base/vi/vim-7.3-useproperlocaledir.patch.xz diff --git a/base/vi/vim-7.3-vimautoconf.patch.xz b/base/vi/vim-7.3-vimautoconf.patch.xz Binary files differnew file mode 100644 index 0000000..e2d9177 --- /dev/null +++ b/base/vi/vim-7.3-vimautoconf.patch.xz diff --git a/base/wireless/crda-1.1.3-optflags.patch.xz b/base/wireless/crda-1.1.3-optflags.patch.xz Binary files differnew file mode 100644 index 0000000..35da8f2 --- /dev/null +++ b/base/wireless/crda-1.1.3-optflags.patch.xz diff --git a/base/wireless/crda-1.1.3-paths.patch.xz b/base/wireless/crda-1.1.3-paths.patch.xz Binary files differnew file mode 100644 index 0000000..9cd2e93 --- /dev/null +++ b/base/wireless/crda-1.1.3-paths.patch.xz diff --git a/base/wireless/crda-1.1.3-regbin.patch.xz b/base/wireless/crda-1.1.3-regbin.patch.xz Binary files differnew file mode 100644 index 0000000..32c717d --- /dev/null +++ b/base/wireless/crda-1.1.3-regbin.patch.xz diff --git a/base/wireless/iw-3.8-optflags.patch.xz b/base/wireless/iw-3.8-optflags.patch.xz Binary files differnew file mode 100644 index 0000000..1e949e0 --- /dev/null +++ b/base/wireless/iw-3.8-optflags.patch.xz diff --git a/base/wireless/wireless.build b/base/wireless/wireless.build new file mode 100755 index 0000000..b3373a7 --- /dev/null +++ b/base/wireless/wireless.build @@ -0,0 +1,135 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=wireless +VERSION=$(date '+%Y%m%d') +BUILD=1 +DEPENDS=('tcpip >= 20130209-1' 'gnutls >= 3.1.10-1' 'dbus >= 1.4.24-1') +#FIXME: enable EAP_FAST + +# 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 +${NAME}: +${NAME}: This package includes the central regulatory domain agent (crda), +${NAME}: the 'iw' command line tool and the 'wpa_supplicant' daemon. It must +${NAME}: be installed in order for wireless networking (such as WiFi) to work. +${NAME}: +${NAME}: Homepage: http://linuxwireless.org +${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/conf.d/wpa_supplicant.conf.new +config etc/logrotate.d/wpa_supplicant.new +EOF + +REGBINLOCATION="${SYS_DIR[share]}/net" + +# Sources + +SRCNAME[0]=wireless-regdb +SRCVERS[0]=2013.02.13 +SRCPACK[0]=http://linuxwireless.org/download/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="MIT" + +build0() +{ +install.dir ${PKG}${REGBINLOCATION} +install.dat regulatory.bin ${PKG}${REGBINLOCATION} +install.dir ${PKG}${SYS_DIR[man]}/man5 +install.man regulatory.bin.5 ${PKG}${SYS_DIR[man]}/man5 +} + +SRCNAME[1]=crda +SRCVERS[1]=1.1.3 +SRCPACK[1]=http://linuxwireless.org/download/${SRCNAME[1]}/${SRCNAME[1]}-${SRCVERS[1]}.tar.bz2 +SRCCOPY[1]="MIT" + +build1() +{ +make ${JOBS} \ + OPTFLAGS="${FLAGS} -I${SYS_DIR[include]}/gcrypt -I${SYS_DIR[include]}/gpg-error" \ + REG_BIN="${PKG}${REGBINLOCATION}/regulatory.bin" \ + UDEV_RULE_DIR="${SYS_DIR[udevrules]}" +make install DESTDIR="${PKG}" \ + SBINDIR="${SYS_DIR[sbin]}" \ + UDEV_RULE_DIR="${SYS_DIR[udevrules]}" +#FIXME: packages should never compress manual pages! +gunzip ${PKG}${SYS_DIR[man]}/man?/*.?.gz +#FIXME: compat +install.dir ${PKG}/sbin +( + cd ${PKG}/sbin + ln -sf ${SYS_DIR[sbin]}/crda + ln -sf ${SYS_DIR[sbin]}/regdbdump +) +} + +SRCNAME[2]=iw +SRCVERS[2]=3.8 +SRCPACK[2]=http://linuxwireless.org/download/${SRCNAME[2]}/${SRCNAME[2]}-${SRCVERS[2]}.tar.bz2 +SRCCOPY[2]="MIT" + +build2() +{ +make OPTFLAGS="${FLAGS}" V="1" +make install DESTDIR="${PKG}" MANDIR="${SYS_DIR[man]}" BINDIR="${SYS_DIR[sbin]}" +#FIXME: packages should never compress manual pages! +gunzip ${PKG}${SYS_DIR[man]}/man?/*.?.gz +} + +SRCNAME[3]=wpa_supplicant +SRCVERS[3]=2.0 +SRCPACK[3]=http://hostap.epitest.fi/releases/${SRCNAME[3]}-${SRCVERS[3]}.tar.gz +SRCCOPY[3]="BSD3" + +build3() +{ +( cd wpa_supplicant ; make OPTS="${FLAGS}" ) +( +cd wpa_supplicant +make install \ + DESTDIR="${PKG}" \ + CONFDIR="${SYS_DIR[conf]}" \ + MANDIR="${SYS_DIR[man]}" \ + DOCDIR="${SYS_DIR[doc]}/${SRCNAME[3]}-${SRCVERS[3]}" +) +mv \ + ${PKG}${SYS_DIR[conf]}/wpa_supplicant.conf \ + ${PKG}${SYS_DIR[conf]}/wpa_supplicant.conf.sample +install -m 0600 wpa_supplicant.conf.new ${PKG}${SYS_DIR[conf]} +install.dir ${PKG}${SYS_DIR[etc]}/{logrotate,tmpfiles}.d +install.cfg wpa_supplicant.logrotate ${PKG}${SYS_DIR[etc]}/logrotate.d/wpa_supplicant.new +install.cfg wpa_supplicant.conf.tmpfiles ${PKG}${SYS_DIR[etc]}/tmpfiles.d/wpa_supplicant.conf +} diff --git a/base/wireless/wpa_supplicant-2.0-config.patch.xz b/base/wireless/wpa_supplicant-2.0-config.patch.xz Binary files differnew file mode 100644 index 0000000..40b5744 --- /dev/null +++ b/base/wireless/wpa_supplicant-2.0-config.patch.xz diff --git a/base/wireless/wpa_supplicant-2.0-dbusservicefileargs.patch.xz b/base/wireless/wpa_supplicant-2.0-dbusservicefileargs.patch.xz Binary files differnew file mode 100644 index 0000000..558de4a --- /dev/null +++ b/base/wireless/wpa_supplicant-2.0-dbusservicefileargs.patch.xz diff --git a/base/wireless/wpa_supplicant-2.0-etc.patch.xz b/base/wireless/wpa_supplicant-2.0-etc.patch.xz Binary files differnew file mode 100644 index 0000000..6a03cdc --- /dev/null +++ b/base/wireless/wpa_supplicant-2.0-etc.patch.xz diff --git a/base/wireless/wpa_supplicant-2.0-install.patch.xz b/base/wireless/wpa_supplicant-2.0-install.patch.xz Binary files differnew file mode 100644 index 0000000..91159c5 --- /dev/null +++ b/base/wireless/wpa_supplicant-2.0-install.patch.xz diff --git a/base/wireless/wpa_supplicant-2.0-libnl3includes.patch.xz b/base/wireless/wpa_supplicant-2.0-libnl3includes.patch.xz Binary files differnew file mode 100644 index 0000000..861369f --- /dev/null +++ b/base/wireless/wpa_supplicant-2.0-libnl3includes.patch.xz diff --git a/base/wireless/wpa_supplicant-2.0-logrotate.patch.xz b/base/wireless/wpa_supplicant-2.0-logrotate.patch.xz Binary files differnew file mode 100644 index 0000000..62e5095 --- /dev/null +++ b/base/wireless/wpa_supplicant-2.0-logrotate.patch.xz diff --git a/base/wireless/wpa_supplicant-2.0-optflags.patch.xz b/base/wireless/wpa_supplicant-2.0-optflags.patch.xz Binary files differnew file mode 100644 index 0000000..88ae7bf --- /dev/null +++ b/base/wireless/wpa_supplicant-2.0-optflags.patch.xz diff --git a/base/wireless/wpa_supplicant-2.0-quietscanresults.patch.xz b/base/wireless/wpa_supplicant-2.0-quietscanresults.patch.xz Binary files differnew file mode 100644 index 0000000..a736335 --- /dev/null +++ b/base/wireless/wpa_supplicant-2.0-quietscanresults.patch.xz diff --git a/base/wireless/wpa_supplicant-2.0-tmpfilesd.patch.xz b/base/wireless/wpa_supplicant-2.0-tmpfilesd.patch.xz Binary files differnew file mode 100644 index 0000000..fa73927 --- /dev/null +++ b/base/wireless/wpa_supplicant-2.0-tmpfilesd.patch.xz diff --git a/base/xz/xz.build b/base/xz/xz.build new file mode 100755 index 0000000..be53218 --- /dev/null +++ b/base/xz/xz.build @@ -0,0 +1,74 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=xz +VERSION=5.0.4 +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}: xz (compression utility based on the LZMA algorithm) +${NAME}: +${NAME}: LZMA is a general purporse compression algorithm designed by Igor +${NAME}: Pavlov as part of 7-Zip. It provides high compression ratio while +${NAME}: keeping the decompression speed fast. XZ Utils are an attempt to make +${NAME}: LZMA compression easy to use on free (as in freedom) operating +${NAME}: systems. +${NAME}: +${NAME}: The people most responsible for xz are Igor Pavlov, Ville Koskinen, +${NAME}: and Lasse Collin. For more info: http://tukaani.org/xz +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://tukaani.org/xz/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="GPL2 GPL3 LGPL21" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' src/liblzma/Makefile.in +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-rpath \ + --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]}" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog NEWS +# No manual page symlinks +( + cd ${PKG}${SYS_DIR[man]}/man1 + rm -f {lzmore,lzmadec,lzless,lzma,lzegrep,unlzma,lzdiff}.1 + echo ".so man1/xzmore.1" > lzmore.1 + echo ".so man1/xzdec.1" > lzmadec.1 + echo ".so man1/xzless.1" > lzless.1 + echo ".so man1/xz.1" > lzma.1 + echo ".so man1/xzgrep.1" > lzegrep.1 + echo ".so man1/xz.1" > unlzma.1 + echo ".so man1/xzdiff.1" > lzdiff.1 +) +rm -rf ${PKG}${SYS_DIR[doc]}/${SRCNAME[0]} +} |