diff options
author | rhatto <rhatto@18ef50b8-d735-4ccd-97c1-689132df3dd9> | 2008-09-03 03:48:23 +0000 |
---|---|---|
committer | rhatto <rhatto@18ef50b8-d735-4ccd-97c1-689132df3dd9> | 2008-09-03 03:48:23 +0000 |
commit | f067192c38e4af6208b1f35a76f0c952266869f8 (patch) | |
tree | d9c6bd428c3bb07de33ec0679d9b25d26d7fd202 /net | |
parent | 36765ff8fda0ca2f697346e2df6992cd418a1638 (diff) | |
download | mkbuilds-f067192c38e4af6208b1f35a76f0c952266869f8.tar.gz mkbuilds-f067192c38e4af6208b1f35a76f0c952266869f8.tar.bz2 |
merging with changes made since 21th May
git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@233 18ef50b8-d735-4ccd-97c1-689132df3dd9
Diffstat (limited to 'net')
-rw-r--r-- | net/im/bitlbee/bitlbee-1.2.1-x86_64.diff | 12 | ||||
-rw-r--r-- | net/im/feast/feast.mkbuild | 142 | ||||
-rw-r--r-- | net/im/pidgin/pidgin.mkbuild | 160 | ||||
-rw-r--r-- | net/libs/opal/opal.mkbuild | 160 | ||||
-rw-r--r-- | net/mail-filter/bogofilter/bogofilter.mkbuild | 169 | ||||
-rw-r--r-- | net/mail/mairix/mairix.mkbuild | 108 | ||||
-rw-r--r-- | net/mail/offlineimap/offlineimap.mkbuild | 119 | ||||
-rwxr-xr-x | net/misc/tor/rc.tor.new | 20 | ||||
-rw-r--r-- | net/misc/tor/slack-required | 4 | ||||
-rw-r--r-- | net/misc/tor/tor.mkbuild | 109 | ||||
-rw-r--r-- | net/p2p/nicotine+/nicotine+.mkbuild | 90 | ||||
-rw-r--r-- | net/p2p/nicotine/nicotine.mkbuild | 90 | ||||
-rw-r--r-- | net/proxy/privoxy/privoxy.mkbuild | 122 | ||||
-rwxr-xr-x | net/proxy/privoxy/rc.privoxy.new | 105 | ||||
-rw-r--r-- | net/proxy/tsocks/tsocks-1.8beta5-x86_64.diff | 36 | ||||
-rw-r--r-- | net/proxy/tsocks/tsocks.mkbuild | 94 | ||||
-rw-r--r-- | net/www/gnash/gnash-0.8.3.diff | 69 | ||||
-rw-r--r-- | net/www/mplayerplug-in/mplayerplug-in.mkbuild | 96 |
18 files changed, 1705 insertions, 0 deletions
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: +#<slackdesc + +#>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 +#<make_package + +#>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 +#<install_package diff --git a/net/im/pidgin/pidgin.mkbuild b/net/im/pidgin/pidgin.mkbuild new file mode 100644 index 0000000..4842bbc --- /dev/null +++ b/net/im/pidgin/pidgin.mkbuild @@ -0,0 +1,160 @@ +################################################################# +## Generic template for Mkbuild +## +## Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br ) +################################################################# +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Rudson R. Alves" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rra" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://downloads.sourceforge.net/pidgin/pidgin-2.4.3.tar.bz2" + +# Source base name. if different from package name. Null ("") to default value. +# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[SOURCE NAME]]="" + +# Package name. Null ("") to auto-set +# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[PACKAGE NAME]]="" + +# +# Package default ARCH +# Default set is i486 +[[ARCH]]="" + +# +# Package version. Null ("") to auto-set. +# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[VERSION]]="" + +# +# Package extension. Null ("") to auto-set +# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[EXTENSION]]="" + +# +# Build number. +# Auto-set to default 1 +[[BUILD NUMBER]]="" + +# +# Source Name construction string +# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION +[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION" + +# +# Unpacker programa ("") to auto-set. Default "tar" +# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf" +[[UNPACKER]]="" +[[UNPACKER FLAGS]]="" + +# +# Dependency list input +# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]" +# Example: +[[SLACK REQUIRED]]="" + +# +# Decompress program +# gz, tgz, bz2, set null ("") to auto-set +# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[DECOMPRESSOR]]="" + +# +# Decompress check flag +# gz, tgz, bz2, set null ("") to auto-set +[[DECOMPRESSOR TEST FLAG]]="" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.* +[[DOCUMENTATION FILES]]="AUTHORS COPYING COPYRIGHT ChangeLog ChangeLog.API ChangeLog.win32 HACKING INSTALL PLUGIN_HOWTO README README.MTN README.mingw NEWS" + +# +# ./configure options +[[OTHER CONFIGURE ARGS]]="--disable-gtkspell --disable-gstreamer --disable-meanwhile --disable-avahi" + +# +# PREFIX. Default /usr +[[PREFIX]]="/usr" + +# +# Number of jobs +[[NUMBER OF JOBS]]="-j4" + +#--------------------- +# Others changes +#--------------------- +#[[MD5SUM CODE]]="" +#[[MD5SUM EXTENSION]]="" +#[[SIGNING KEY]]="" +#[[SIGNING KEY URL]]="" +[[PATCH FILES]]="" +[[NUMBER OF PREFIX SLASHES TO STRIP]]="1" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +#[[SLACKBUILD PATH]]="others/unclassified/[[NAME]]" +[[SLACKBUILD PATH]]="net/im/pidgin" + +#--------------------- +# 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 + 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: +#<slackdesc diff --git a/net/libs/opal/opal.mkbuild b/net/libs/opal/opal.mkbuild new file mode 100644 index 0000000..5fc614b --- /dev/null +++ b/net/libs/opal/opal.mkbuild @@ -0,0 +1,160 @@ +################################################################# +## Generic template for Mkbuild +## +## Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br ) +################################################################# +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Rudson R. Alves" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rra" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://www.ekiga.org/admin/downloads/latest/sources/sources/opal-2.2.11.tar.gz" + +# Source base name. if different from package name. Null ("") to default value. +# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[SOURCE NAME]]="" + +# Package name. Null ("") to auto-set +# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[PACKAGE NAME]]="" + +# +# Package default ARCH +# Default set is i486 +[[ARCH]]="" + +# +# Package version. Null ("") to auto-set. +# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[VERSION]]="" + +# +# Package extension. Null ("") to auto-set +# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[EXTENSION]]="" + +# +# Build number. +# Auto-set to default 1 +[[BUILD NUMBER]]="" + +# +# Source Name construction string +# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION +[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION" + +# +# Unpacker programa ("") to auto-set. Default "tar" +# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf" +[[UNPACKER]]="" +[[UNPACKER FLAGS]]="" + +# +# Dependency list input +# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]" +# Example: +[[SLACK REQUIRED]]="pwlib" + +# +# Decompress program +# gz, tgz, bz2, set null ("") to auto-set +# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[DECOMPRESSOR]]="" + +# +# Decompress check flag +# gz, tgz, bz2, set null ("") to auto-set +[[DECOMPRESSOR TEST FLAG]]="" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.* +[[DOCUMENTATION FILES]]="" + +# +# ./configure options +[[OTHER CONFIGURE ARGS]]="" + +# +# PREFIX. Default /usr +[[PREFIX]]="/usr" + +# +# Number of jobs +[[NUMBER OF JOBS]]="-j4" + +#--------------------- +# Others changes +#--------------------- +#[[MD5SUM CODE]]="" +#[[MD5SUM EXTENSION]]="" +#[[SIGNING KEY]]="" +#[[SIGNING KEY URL]]="" +[[PATCH FILES]]="" +[[NUMBER OF PREFIX SLASHES TO STRIP]]="1" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +#[[SLACKBUILD PATH]]="others/unclassified/opal" +[[SLACKBUILD PATH]]="" + +#--------------------- +# 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 + 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: +#<slackdesc diff --git a/net/mail-filter/bogofilter/bogofilter.mkbuild b/net/mail-filter/bogofilter/bogofilter.mkbuild new file mode 100644 index 0000000..749683d --- /dev/null +++ b/net/mail-filter/bogofilter/bogofilter.mkbuild @@ -0,0 +1,169 @@ +################################################################# +## Generic template for Mkbuild +## +## Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br ) +################################################################# +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Rudson R. Alves" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="srv" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://downloads.sourceforge.net/bogofilter/bogofilter-1.1.7.tar.bz2" + +# Source base name. if different from package name. Null ("") to default value. +# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[SOURCE NAME]]="" + +# Package name. Null ("") to auto-set +# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[PACKAGE NAME]]="" + +# +# Package default ARCH +# Default set is i486 +[[ARCH]]="" + +# +# Package version. Null ("") to auto-set. +# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[VERSION]]="" + +# +# Package extension. Null ("") to auto-set +# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[EXTENSION]]="" + +# +# Build number. +# Auto-set to default 1 +[[BUILD NUMBER]]="" + +# +# Source Name construction string +# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION +[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION" + +# +# Unpacker programa ("") to auto-set. Default "tar" +# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf" +[[UNPACKER]]="" +[[UNPACKER FLAGS]]="" + +# +# Dependency list input +# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]" +# Example: +[[SLACK REQUIRED]]="sqlite" + +# +# Decompress program +# gz, tgz, bz2, set null ("") to auto-set +# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[DECOMPRESSOR]]="" + +# +# Decompress check flag +# gz, tgz, bz2, set null ("") to auto-set +[[DECOMPRESSOR TEST FLAG]]="" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.* +[[DOCUMENTATION FILES]]="AUTHORS COPYING GETTING.STARTED INSTALL NEWS NEWS.0 README README.svn RELEASE.NOTES TODO" + +# +# ./configure options +[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc" + +# +# PREFIX. Default /usr +[[PREFIX]]="/usr" + +# +# Number of jobs +[[NUMBER OF JOBS]]="-j4" + +#--------------------- +# Others changes +#--------------------- +#[[MD5SUM CODE]]="" +#[[MD5SUM EXTENSION]]="" +#[[SIGNING KEY]]="" +#[[SIGNING KEY URL]]="" +#[[SIGNING KEY ID]]="" +#[[SIGNING URL]]="" +#[[CONFIG FILES]]="" +#[[PATCH URLS]]="" +[[PATCH FILES]]="" +[[NUMBER OF PREFIX SLASHES TO STRIP]]="1" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +#[[SLACKBUILD PATH]]="others/unclassified/bogofilter" +[[SLACKBUILD PATH]]="net/mail-filter/bogofilter" + +#--------------------- +# 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: 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: +#<slackdesc diff --git a/net/mail/mairix/mairix.mkbuild b/net/mail/mairix/mairix.mkbuild new file mode 100644 index 0000000..a470c01 --- /dev/null +++ b/net/mail/mairix/mairix.mkbuild @@ -0,0 +1,108 @@ +# +# 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/mairix/mairix-0.21.tar.gz" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +[[DOCUMENTATION FILES]]="ACKNOWLEDGEMENTS COPYING NEWS README" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="net/mail/mairix" + +# Source signature key +[[SIGNING KEY URL]]="http://www.rpcurnow.force9.co.uk/keys/richard_gpg.asc" + +# TODO: signature +# Source signature is missing from the download place, please check that and +# enable gpg_signature_check when fixed +#[[SIGNING URL]]="http://www.rpcurnow.force9.co.uk/mairix/mairix-0.21-tar-gz-asc.txt" + +#--------------------- +# 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 +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: +#<slackdesc + +#>configure +# Configure +CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + ./configure \ + --prefix="$PREFIX" $CONF_OPTIONS || exit $ERROR_CONF +#<configure diff --git a/net/mail/offlineimap/offlineimap.mkbuild b/net/mail/offlineimap/offlineimap.mkbuild new file mode 100644 index 0000000..680b2c8 --- /dev/null +++ b/net/mail/offlineimap/offlineimap.mkbuild @@ -0,0 +1,119 @@ +# +# 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://software.complete.org/software/versions/download" + +# Source base name +[[SOURCE NAME]]="offlineimap" + +# Package name +[[PACKAGE NAME]]="offlineimap" + +# +# Package version +[[VERSION]]="6.0.2" + +# +# Source Name construction string +[[SOURCE NAME CONSTRUCTION STRING]]="241?attachment_id=332" + +# +# Decompress program +[[DECOMPRESSOR]]="gunzip" + +# +# Decompress check flag +[[DECOMPRESSOR TEST FLAG]]="-t" + +# +# Documentation files +[[DOCUMENTATION FILES]]="COPYING COPYRIGHT FAQ.html README UPGRADING" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="net/mail/offlineimap" + +#--------------------- +# 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 +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. +#<slackdesc + +#>make_package +# Build and install package +python setup.py build install --root=$PKG +#<make_package diff --git a/net/misc/tor/rc.tor.new b/net/misc/tor/rc.tor.new new file mode 100755 index 0000000..f90b6d3 --- /dev/null +++ b/net/misc/tor/rc.tor.new @@ -0,0 +1,20 @@ +#!/bin/sh +# +# init script for tor +# + +PID="/var/run" +PRIVOXY_PID="$PID/privoxy.pid" +TOR_PID="$PID/tor.pid" +USER="privoxy" + +if [ -f $TOR_PID ]; then + if ps `cat $TOR_PID` | grep -q tor; then + kill `cat $TOR_PID` + fi + rm $TOR_PID +fi + +sudo -u $USER /usr/bin/tor &> /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: +#<slackdesc diff --git a/net/p2p/nicotine+/nicotine+.mkbuild b/net/p2p/nicotine+/nicotine+.mkbuild new file mode 100644 index 0000000..ca1ac92 --- /dev/null +++ b/net/p2p/nicotine+/nicotine+.mkbuild @@ -0,0 +1,90 @@ +# +# 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/nicotine-plus/nicotine+-1.2.9.tar.bz2" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="net/p2p/nicotine+" + +# Documentation files +[[DOCUMENTATION FILES]]="COPYING MANIFEST" + +#--------------------- +# 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 + 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+: +#<slackdesc + +#>make_package +# Build and install package +python setup.py build install --root=$PKG +#<make_package diff --git a/net/p2p/nicotine/nicotine.mkbuild b/net/p2p/nicotine/nicotine.mkbuild new file mode 100644 index 0000000..b29f2fa --- /dev/null +++ b/net/p2p/nicotine/nicotine.mkbuild @@ -0,0 +1,90 @@ +# +# 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://nicotine.thegraveyard.org/nicotine-1.0.8.tar.bz2" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="net/p2p/nicotine" + +# Documentation files +[[DOCUMENTATION FILES]]="CHANGELOG COPYING KNOWN_BUGS MAINTAINERS MANIFEST PKG-INFO README README.import-winconfig TODO TRANSLATORS" + +#--------------------- +# 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 + 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: +#<slackdesc + +#>make_package +# Build and install package +python setup.py build install --root=$PKG +#<make_package diff --git a/net/proxy/privoxy/privoxy.mkbuild b/net/proxy/privoxy/privoxy.mkbuild new file mode 100644 index 0000000..bd1c85e --- /dev/null +++ b/net/proxy/privoxy/privoxy.mkbuild @@ -0,0 +1,122 @@ +# +# 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/ijbswa/privoxy-3.0.9-beta-src.tar.gz" + +# Source base name. if different from package name. Null ("") to default value. +# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[SOURCE NAME]]="privoxy" + +# +# Package version. Null ("") to auto-set. +# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[VERSION]]="3.0.9-beta" + +# +# Source Name construction string +# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION +[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION-src.tar.$EXTENSION" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +[[DOCUMENTATION FILES]]="AUTHORS ChangeLog LICENSE Makefile README" + +# +# ./configure options +[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc/privoxy" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="net/proxy/privoxy" + +# Install script +[[REST OF DOINST.SH]]="mkgroup privoxy ; mkuser privoxy ; config etc/privoxy/config.new ; config etc/privoxy/trust.new" + +# Config files +[[CONFIG FILES]]="etc/privoxy/config etc/privoxy/trust" + +#--------------------- +# 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 + 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: +#<slackdesc + +#p> + # 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: +#<slackdesc diff --git a/net/www/gnash/gnash-0.8.3.diff b/net/www/gnash/gnash-0.8.3.diff new file mode 100644 index 0000000..7e9eb16 --- /dev/null +++ b/net/www/gnash/gnash-0.8.3.diff @@ -0,0 +1,69 @@ +--- configure.old 2008-07-01 00:28:27.000000000 -0300 ++++ configure 2008-07-01 00:34:13.000000000 -0300 +@@ -36489,38 +36489,38 @@ + if test x"${nspr}" = x"yes"; then + + # Check whether --with-nspr_lib was given. +-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)`" +- 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: +#<slackdesc |