From f067192c38e4af6208b1f35a76f0c952266869f8 Mon Sep 17 00:00:00 2001 From: rhatto Date: Wed, 3 Sep 2008 03:48:23 +0000 Subject: merging with changes made since 21th May git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@233 18ef50b8-d735-4ccd-97c1-689132df3dd9 --- net/im/bitlbee/bitlbee-1.2.1-x86_64.diff | 12 ++ net/im/feast/feast.mkbuild | 142 ++++++++++++++++++++++ net/im/pidgin/pidgin.mkbuild | 160 ++++++++++++++++++++++++ net/libs/opal/opal.mkbuild | 160 ++++++++++++++++++++++++ net/mail-filter/bogofilter/bogofilter.mkbuild | 169 ++++++++++++++++++++++++++ net/mail/mairix/mairix.mkbuild | 108 ++++++++++++++++ net/mail/offlineimap/offlineimap.mkbuild | 119 ++++++++++++++++++ net/misc/tor/rc.tor.new | 20 +++ net/misc/tor/slack-required | 4 + net/misc/tor/tor.mkbuild | 109 +++++++++++++++++ net/p2p/nicotine+/nicotine+.mkbuild | 90 ++++++++++++++ net/p2p/nicotine/nicotine.mkbuild | 90 ++++++++++++++ net/proxy/privoxy/privoxy.mkbuild | 122 +++++++++++++++++++ net/proxy/privoxy/rc.privoxy.new | 105 ++++++++++++++++ net/proxy/tsocks/tsocks-1.8beta5-x86_64.diff | 36 ++++++ net/proxy/tsocks/tsocks.mkbuild | 94 ++++++++++++++ net/www/gnash/gnash-0.8.3.diff | 69 +++++++++++ net/www/mplayerplug-in/mplayerplug-in.mkbuild | 96 +++++++++++++++ 18 files changed, 1705 insertions(+) create mode 100644 net/im/bitlbee/bitlbee-1.2.1-x86_64.diff create mode 100644 net/im/feast/feast.mkbuild create mode 100644 net/im/pidgin/pidgin.mkbuild create mode 100644 net/libs/opal/opal.mkbuild create mode 100644 net/mail-filter/bogofilter/bogofilter.mkbuild create mode 100644 net/mail/mairix/mairix.mkbuild create mode 100644 net/mail/offlineimap/offlineimap.mkbuild create mode 100755 net/misc/tor/rc.tor.new create mode 100644 net/misc/tor/slack-required create mode 100644 net/misc/tor/tor.mkbuild create mode 100644 net/p2p/nicotine+/nicotine+.mkbuild create mode 100644 net/p2p/nicotine/nicotine.mkbuild create mode 100644 net/proxy/privoxy/privoxy.mkbuild create mode 100755 net/proxy/privoxy/rc.privoxy.new create mode 100644 net/proxy/tsocks/tsocks-1.8beta5-x86_64.diff create mode 100644 net/proxy/tsocks/tsocks.mkbuild create mode 100644 net/www/gnash/gnash-0.8.3.diff create mode 100644 net/www/mplayerplug-in/mplayerplug-in.mkbuild (limited to 'net') diff --git a/net/im/bitlbee/bitlbee-1.2.1-x86_64.diff b/net/im/bitlbee/bitlbee-1.2.1-x86_64.diff new file mode 100644 index 0000000..ce2dcb5 --- /dev/null +++ b/net/im/bitlbee/bitlbee-1.2.1-x86_64.diff @@ -0,0 +1,12 @@ +diff -Naur bitlbee-1.2.1.orig/configure bitlbee-1.2.1/configure +--- bitlbee-1.2.1.orig/configure 2008-06-09 20:09:06.000000000 -0300 ++++ bitlbee-1.2.1/configure 2008-07-15 12:40:40.000000000 -0300 +@@ -340,7 +340,7 @@ + + echo 'SSL_CLIENT=ssl_'$ssl'.o' >> Makefile.settings + +-for i in /lib /usr/lib /usr/local/lib; do ++for i in /lib64 /usr/lib64 /usr/local/lib64 /lib /usr/lib /usr/local/lib; do + if [ -f $i/libresolv.a ]; then + echo '#define HAVE_RESOLV_A' >> config.h + echo 'EFLAGS+='$i'/libresolv.a' >> Makefile.settings diff --git a/net/im/feast/feast.mkbuild b/net/im/feast/feast.mkbuild new file mode 100644 index 0000000..0987d8d --- /dev/null +++ b/net/im/feast/feast.mkbuild @@ -0,0 +1,142 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://www.hick.org/~raffi/download/feast_03b.tgz" + +# Source base name +[[SOURCE NAME]]="feast" + +# +# Package version. Null ("") to auto-set. +[[VERSION]]="03b" + +# +# Package extension +[[EXTENSION]]="tgz" + +# +# Source Name construction string +[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME"_"$VERSION.$EXTENSION" + +# +# Decompressor +[[DECOMPRESSOR]]="gzip" + +# +# Decompressor test flag +[[DECOMPRESSOR TEST FLAG]]="-t" + +# +# Dependency list input +[[SLACK REQUIRED]]="libiconv: silc-toolkit" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +[[DOCUMENTATION FILES]]="license.txt readme.txt" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="net/im/feast" + +# +# Config files +[[REST OF DOINST.SH]]="config etc/feast.conf.new" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source +off: configure + on: make_package + on: install_package +off: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files + on: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +feast: feast (silc to irc translator) +feast: +feast: SILC stands for Secure Internet Live Conferencing. +feast: Far East Trader (feast) is meant to open up the world of SILC to +feast: IRC users who are to lazy to download a SILC client. +feast: +feast: +feast: +feast: +feast: +feast: +#make_package +# Compile +if [ "$ARC" == "x86_64" ]; then + sed -e 's/\/usr\/lib/\/usr\/lib64/' Makefile > Makefile.tmp + mv Makefile.tmp Makefile +fi +make $NUMJOBS || exit $ERROR_MAKE +#install_package +# Install +strip feast +mkdir -p usr/bin +cp $CWD/feast usr/bin + +mkdir -p etc/feast +cp $CWD/feast.conf etc/feast.conf.new +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +pidgin: pidgin by Slack.Sarava +pidgin: +pidgin: Pidgin is a multi-protocol Instant Messaging client that +pidgin: allows you to use all of your IM accounts at once. +pidgin: +pidgin: Pidgin is free software. It is licensed under the GNU +pidgin: General Public License (GPL) version 2. +pidgin: +pidgin: +pidgin: +pidgin: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +opal: opal by Slack.Sarava +opal: +opal: +opal: +opal: +opal: +opal: +opal: +opal: +opal: +opal: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: svn_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +bogofilter: bogofilter (bayesian spam filter) +bogofilter: +bogofilter: Bogofilter is a mail filter that classifies mail as spam or ham +bogofilter: (nom-spam) by a statistical analysis of the message's header and +bogofilter: content body. The program is able to learn from the user's +bogofilter: classifications and corrections. +bogofilter: +bogofilter: +bogofilter: +bogofilter: +bogofilter: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +mairix: mairix (index and search engine for mail folders) +mairix: +mairix: Mairix is a program for indexing and searching email messages stored +mairix: in Maildir, MH or mbox folders. +mairix: +mairix: +mairix: +mairix: +mairix: +mairix: +mairix: +#configure +# Configure +CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + ./configure \ + --prefix="$PREFIX" $CONF_OPTIONS || exit $ERROR_CONF +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source +off: configure + on: make_package +off: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +offlineimap: offlineimap +offlineimap: +offlineimap: OfflineIMAP is a tool to simplify your e-mail reading. +offlineimap: With OfflineIMAP, you can read the same mailbox from multiple +offlineimap: computers. You get a current copy of your messages on each computer, +offlineimap: and changes you make one place will be visible on all other systems. +offlineimap: For instance, you can delete a message on your home computer, and it +offlineimap: will appear deleted on your work computer as well. OfflineIMAP is +offlineimap: also useful if you want to use a mail reader that does not have IMAP +offlineimap: support, has poor IMAP support, or does not provide disconnected +offlineimap: operation. +#make_package +# Build and install package +python setup.py build install --root=$PKG +# /dev/null & +echo "$!" > $TOR_PID + diff --git a/net/misc/tor/slack-required b/net/misc/tor/slack-required new file mode 100644 index 0000000..a5db2a0 --- /dev/null +++ b/net/misc/tor/slack-required @@ -0,0 +1,4 @@ +# Dependency list to tor +# +# dependency [condition] [version]] +libevent diff --git a/net/misc/tor/tor.mkbuild b/net/misc/tor/tor.mkbuild new file mode 100644 index 0000000..c0af364 --- /dev/null +++ b/net/misc/tor/tor.mkbuild @@ -0,0 +1,109 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://www.torproject.org/dist/tor-0.2.0.30.tar.gz" + +# +# Dependency list input +[[SLACK REQUIRED]]="libevent" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +[[DOCUMENTATION FILES]]="AUTHORS ChangeLog LICENSE README" + +# +# ./configure options +[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="net/misc/tor" + +# Install script +[[REST OF DOINST.SH]]="config etc/rc.d/rc.tor.new ; config etc/tor/torrc.sample ; config etc/tor/tor-tsocks.conf.new" + +# Signing keys +[[SIGNING KEY ID]]="0x28988BF5 0x165733EA" + +# Config files +[[CONFIG FILES]]="etc/tor/tor-tsocks.conf" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 + on: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: copy_init_scripts + on: install_documentation + on: slackdesc + on: move_config_files + on: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +tor: tor (An anonymous Internet communication system) +tor: +tor: Tor is a toolset for a wide range of organizations and people that +tor: want to improve their safety and security on the Internet. Using Tor +tor: can help you anonymize web browsing and publishing, instant +tor: messaging, IRC, SSH, and other applications that use the TCP +tor: protocol. Tor also provides a platform on which software developers +tor: can build new applications with built-in anonymity, safety, and +tor: privacy features. +tor: +tor: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source +off: configure + on: make_package +off: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +nicotine+: nicotine+ (soulseek client clone) +nicotine+: +nicotine+: Nicotine is a SoulSeek client written in Python, based on the +nicotine+: PySoulSeek project by Alexander Kanavin. It features, among other +nicotine+: things, a completely rewritten graphical user interface which uses +nicotine+: the PyGTK-2 toolkit and a less strict user request policy. +nicotine+: +nicotine+: This version is the forked one distributed at +nicotine+: http://nicotine-plus.sourceforge.net +nicotine+: +nicotine+: +#make_package +# Build and install package +python setup.py build install --root=$PKG +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source +off: configure + on: make_package +off: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +nicotine: nicotine (soulseek client clone) +nicotine: +nicotine: Nicotine is a SoulSeek client written in Python, based on the +nicotine: PySoulSeek project by Alexander Kanavin. It features, among other +nicotine: things, a completely rewritten graphical user interface which uses +nicotine: the PyGTK-2 toolkit and a less strict user request policy. +nicotine: +nicotine: +nicotine: +nicotine: +nicotine: +#make_package +# Build and install package +python setup.py build install --root=$PKG +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure + on: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: copy_init_scripts + on: install_documentation + on: slackdesc + on: move_config_files + on: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +privoxy: privoxy (A Web proxy with advanced filtering capabilities) +privoxy: +privoxy: Privoxy is a Web proxy based on Internet Junkbuster with advanced +privoxy: filtering capabilities for protecting privacy, filtering Web page +privoxy: content, managing cookies, controlling access, and removing ads, +privoxy: banners, pop-ups, and other obnoxious Internet junk. Privoxy has a +privoxy: very flexible configuration and can be customized to suit individual +privoxy: needs and tastes. Privoxy is useful for both stand-alone systems and +privoxy: multi-user networks. +privoxy: +privoxy: +# + # Configure ++autoheader || exit $ERROR_CONF ++autoconf || exit $ERROR_CONF +#p< diff --git a/net/proxy/privoxy/rc.privoxy.new b/net/proxy/privoxy/rc.privoxy.new new file mode 100755 index 0000000..932dcc0 --- /dev/null +++ b/net/proxy/privoxy/rc.privoxy.new @@ -0,0 +1,105 @@ +#!/bin/sh +# ******************************************************************** + +RETVAL=1 + +PRIVOXY_PRG="privoxy" +PRIVOXY_BIN="/usr/sbin/$PRIVOXY_PRG" +PRIVOXY_CONF="/etc/privoxy/config" +PRIVOXY_USER="privoxy" +PRIVOXY_GROUP="privoxy" +PRIVOXY_PID="/var/run/$PRIVOXY_PRG/$PRIVOXY_PRG.pid" + +declare -i check +check=(`/bin/ps -e|/bin/grep $PRIVOXY_PRG|/usr/bin/wc -l`) + +# some checks for us +if [ ! -x $PRIVOXY_BIN ] ; then exit 0 ;fi +if [ ! -f $PRIVOXY_CONF ] ; then exit 0 ;fi + +# See how we were called. + +PRIVOXY="$PRIVOXY_BIN $PRIVOXY_CONF" + +start () { + # start daemon + echo -n $"Starting $PRIVOXY_PRG: " + + if [ ! -f $PRIVOXY_PID ]; then + ( $PRIVOXY --user $PRIVOXY_USER.$PRIVOXY_GROUP --pidfile $PRIVOXY_PID -c $PRIVOXY_CONF 2>/dev/tty9 ) \ + && echo " OK" \ + && /bin/touch /var/lock/$PRIVOXY_PRG \ + && RETVAL=0 + elif [ $check -lt 3 ]; then + echo "Zombie lock file found" + /bin/rm -f /var/lock/$PRIVOXY_PRG $PRIVOXY_PID + echo "Retrying..." + start + else + echo "Already running" + fi + echo +} + +stop () { + # stop daemon + echo -n $"Stopping $PRIVOXY_PRG: " + if [ -f $PRIVOXY_PID ]; then + /bin/kill `/bin/cat $PRIVOXY_PID` \ + && /bin/rm -f /var/lock/$PRIVOXY_PRG $PRIVOXY_PID \ + && echo " OK" \ + && RETVAL=0 + echo + else + echo " Not Running" + fi +} + +case "$1" in + start) + start + ;; + stop) + stop + ;; + reload) + if [ -f $PRIVOXY_PID ] ; then + /bin/kill -HUP `cat $PRIVOXY_PID` \ + && RETVAL=0 + fi + ;; + restart) + stop + start + ;; + kill) + echo "Kill all Privoxy" + /bin/rm -f /var/lock/$PRIVOXY_PRG $PRIVOXY_PID + /bin/killall $PRIVOXY + ;; + condrestart) + # restart only if already running + if [ -f $PRIVOXY_PID ] ; then + stop + start + fi + ;; + status) + /bin/ps ax|/bin/grep $PRIVOXY_PRG|/bin/grep -v 'grep\|init\.d\|rc\.d' + RETVAL=0 + ;; + top) + if [ -f $PRIVOXY_PID ]; then + a="" + for i in `/sbin/pidof $PRIVOXY_PRG` ; do + a="$a -p $i" + done + /usr/bin/top $a + fi + ;; + *) + echo $"Usage: $PRIVOXY_PRG {start|stop|reload|restart|condrestart|status|top|kill}" + exit 1 +esac + +exit $RETVAL diff --git a/net/proxy/tsocks/tsocks-1.8beta5-x86_64.diff b/net/proxy/tsocks/tsocks-1.8beta5-x86_64.diff new file mode 100644 index 0000000..53b86af --- /dev/null +++ b/net/proxy/tsocks/tsocks-1.8beta5-x86_64.diff @@ -0,0 +1,36 @@ +diff -Naur tsocks-1.8.orig/tsocks tsocks-1.8/tsocks +--- tsocks-1.8.orig/tsocks 2002-03-16 07:27:18.000000000 -0300 ++++ tsocks-1.8/tsocks 2006-12-06 19:33:31.000000000 -0200 +@@ -46,14 +46,14 @@ + on) + if [ -z "$LD_PRELOAD" ] + then +- export LD_PRELOAD="/usr/lib/libtsocks.so" ++ export LD_PRELOAD="/usr/lib64/libtsocks.so" + else +- echo $LD_PRELOAD | grep -q "/usr/lib/libtsocks\.so" || \ +- export LD_PRELOAD="/usr/lib/libtsocks.so $LD_PRELOAD" ++ echo $LD_PRELOAD | grep -q "/usr/lib64/libtsocks\.so" || \ ++ export LD_PRELOAD="/usr/lib64/libtsocks.so $LD_PRELOAD" + fi + ;; + off) +- export LD_PRELOAD=`echo -n $LD_PRELOAD | sed 's/\/usr\/lib\/libtsocks.so \?//'` ++ export LD_PRELOAD=`echo -n $LD_PRELOAD | sed 's/\/usr\/lib64\/libtsocks.so \?//'` + if [ -z "$LD_PRELOAD" ] + then + unset LD_PRELOAD +@@ -68,10 +68,10 @@ + *) + if [ -z "$LD_PRELOAD" ] + then +- export LD_PRELOAD="/usr/lib/libtsocks.so" ++ export LD_PRELOAD="/usr/lib64/libtsocks.so" + else +- echo $LD_PRELOAD | grep -q "/usr/lib/libtsocks\.so" || \ +- export LD_PRELOAD="/usr/lib/libtsocks.so $LD_PRELOAD" ++ echo $LD_PRELOAD | grep -q "/usr/lib64/libtsocks\.so" || \ ++ export LD_PRELOAD="/usr/lib64/libtsocks.so $LD_PRELOAD" + fi + + if [ $# = 0 ] diff --git a/net/proxy/tsocks/tsocks.mkbuild b/net/proxy/tsocks/tsocks.mkbuild new file mode 100644 index 0000000..74123e8 --- /dev/null +++ b/net/proxy/tsocks/tsocks.mkbuild @@ -0,0 +1,94 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://downloads.sourceforge.net/tsocks/tsocks-1.8beta5.tar.gz" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +[[DOCUMENTATION FILES]]="COPYING ChangeLog FAQ TODO" + +[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="net/proxy/tsocks" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +tsocks: tsocks (a transparent SOCKS proxying library) +tsocks: +tsocks: tsocks' role is to allow these non SOCKS aware applications (e.g +tsocks: telnet, ssh, ftp etc) to use SOCKS without any modification. It does +tsocks: this by intercepting the calls that applications make to establish +tsocks: network connections and negotating them through a SOCKS server as +tsocks: necessary. +tsocks: +tsocks: +tsocks: +tsocks: +#&6 +-else +- +- if test x"${with_nspr_lib}" != x ; then +- { echo "$as_me:$LINENO: checking for libnspr library in specified directory" >&5 +-echo $ECHO_N "checking for libnspr library in specified directory... $ECHO_C" >&6; } +- if test -f ${with_nspr_lib}/lib$name.a -o -f ${with_nspr_lib}/lib$name.${shlibext}; then +- tmp="`(cd ${with_nspr_lib}; pwd)`" +- ac_cv_path_nspr_lib="-L${tmp} -l$name" +- { echo "$as_me:$LINENO: result: yes" >&5 +-echo "${ECHO_T}yes" >&6; } +- else +- { { echo "$as_me:$LINENO: error: ${with_nspr_lib} directory doesn't contain library $name." >&5 +-echo "$as_me: error: ${with_nspr_lib} directory doesn't contain library $name." >&2;} +- { (exit 1); exit 1; }; } +- { echo "$as_me:$LINENO: result: no" >&5 +-echo "${ECHO_T}no" >&6; } +- fi +- fi +- +-fi +- ++#if test "${with_nspr_lib+set}" = set; then ++# withval=$with_nspr_lib; with_nspr_lib=${withval} ++#fi ++# ++# if test "${ac_cv_path_nspr_lib+set}" = set; then ++# echo $ECHO_N "(cached) $ECHO_C" >&6 ++#else ++# ++# if test x"${with_nspr_lib}" != x ; then ++# { echo "$as_me:$LINENO: checking for libnspr library in specified directory" >&5 ++#echo $ECHO_N "checking for libnspr library in specified directory... $ECHO_C" >&6; } ++# if test -f ${with_nspr_lib}/lib$name.a -o -f ${with_nspr_lib}/lib$name.${shlibext}; then ++# tmp="`(cd ${with_nspr_lib}; pwd)`" ++# ++# { echo "$as_me:$LINENO: result: yes" >&5 ++#echo "${ECHO_T}yes" >&6; } ++# else ++# { { echo "$as_me:$LINENO: error: ${with_nspr_lib} directory doesn't contain library $name." >&5 ++#echo "$as_me: error: ${with_nspr_lib} directory doesn't contain library $name." >&2;} ++# { (exit 1); exit 1; }; } ++# { echo "$as_me:$LINENO: result: no" >&5 ++#echo "${ECHO_T}no" >&6; } ++# fi ++# fi# ++# ++#fi ++ ac_cv_path_nspr_lib="-L/usr/lib/seamonkey -lplds4 -lplc4 -lnspr4 -lpthread -ldl" + + if test x$cross_compiling = xno; then + if test x"$PKG_CONFIG" != x -a x"${ac_cv_path_nspr_lib}" = x; then + $PKG_CONFIG --exists libDOWN && ac_cv_path_nspr_lib="`$PKG_CONFIG --libs-only-l libDOWN`" +- $PKG_CONFIG --exists nspr && ac_cv_path_nspr_lib="`$PKG_CONFIG --libs-only-l nspr`" ++ $PKG_CONFIG --exists seamonkey-nspr && ac_cv_path_nspr_lib="`$PKG_CONFIG --libs-only-l seamonkey-nspr`" + $PKG_CONFIG --exists lib$name && ac_cv_path_nspr_lib="`$PKG_CONFIG --libs-only-l lib$name`" + $PKG_CONFIG --exists $name && ac_cv_path_nspr_lib="`$PKG_CONFIG --libs-only-l $name`" + { echo "$as_me:$LINENO: checking for libnspr library" >&5 diff --git a/net/www/mplayerplug-in/mplayerplug-in.mkbuild b/net/www/mplayerplug-in/mplayerplug-in.mkbuild new file mode 100644 index 0000000..ddfdb5a --- /dev/null +++ b/net/www/mplayerplug-in/mplayerplug-in.mkbuild @@ -0,0 +1,96 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://downloads.sourceforge.net/mplayerplug-in/mplayerplug-in-3.55.tar.gz" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +[[DOCUMENTATION FILES]]="ChangeLog DOCS LICENSE README" + +# +# Other configure arguments +[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc --localstatedir=/var --enable-gmp" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="net/www/mplayerplug-in" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +mplayerplug-in: mplayerplug-in (browser plugin to play media from websites) +mplayerplug-in: +mplayerplug-in: This plug-in gives Mozilla the ability to play media from a website +mplayerplug-in: the net without reading the source html and getting the url manually. +mplayerplug-in: Media is played embedded in the page or in a separate window depending +mplayerplug-in: on how the author of the webpage intended the media to be seen. +mplayerplug-in: +mplayerplug-in: +mplayerplug-in: +mplayerplug-in: +mplayerplug-in: +#