From 33da925ba954eecc9ba6ded7eb10257afcd1e94e Mon Sep 17 00:00:00 2001 From: rhatto Date: Tue, 22 Sep 2009 01:12:36 +0000 Subject: azureus: adding azureus (thanks to x-doctor) git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@515 18ef50b8-d735-4ccd-97c1-689132df3dd9 --- net/p2p/azureus/Manifest | 24 +++++ net/p2p/azureus/azureus-3.0.5.2.diff | 12 +++ net/p2p/azureus/azureus.mkbuild | 194 +++++++++++++++++++++++++++++++++++ 3 files changed, 230 insertions(+) create mode 100644 net/p2p/azureus/Manifest create mode 100644 net/p2p/azureus/azureus-3.0.5.2.diff create mode 100644 net/p2p/azureus/azureus.mkbuild diff --git a/net/p2p/azureus/Manifest b/net/p2p/azureus/Manifest new file mode 100644 index 0000000..5693c3c --- /dev/null +++ b/net/p2p/azureus/Manifest @@ -0,0 +1,24 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST Azureus_3.0.5.2_linux.tar.bz2 11583771 MD5 b64cbcc19569f7267ac30db8326832f3 RMD160 d284cc3b0da319b15961d0b3b74f5c918d222ae3 SHA1 2074ebff8f7301327d35eddfe2149359e2a42a29 SHA256 299311d7a3f8109f7d6fc02b0f821b444583b6ba898be6424a0db50aeeb8fe9e SHA512 2e37831b571085cec1d0c0ad349120e9edf345c611d2d815dc4c1b6f6a101c20d751f74f9ba8a7e772c9a1df7c264101af5301aac8823a623f61a68b9a18f7cf +MKBUILD azureus.mkbuild 5286 MD5 f3180b39dcad370f062b5e188ac2b478 RMD160 412380dd80c5456392b7d68b0c982ee378a3ca0c SHA1 c5fe043b15e7c9413443a66c415ebd96ac0a5699 SHA256 5bb2acfcdd22ad59b5fe19d519074cfd67e6909ee9f19f09c619aa0b5d4cc2a4 SHA512 6bd23a10d430ec7a2b5983e876b53ba67756f112a2997f8ec472bd585ec9b1f70eb35f06fb93b7a898e9deb88af8e85beec4c1fe866654e7afac83940a2380d3 +PATCH azureus-3.0.5.2.diff 696 MD5 6df9df469d3626b5f55f0d18f018c475 RMD160 fbafe3547e888d76059077e3c8007d60d91d1f24 SHA1 f4402871c2b31dc3b7d8f86d568fbec2fd6b5de9 SHA256 7b4a7e0f8765ae7a606bfc59dc07a66dc79caeca62ed89c5601d9a5d796d382d SHA512 5eb300bd082999e7f1e28d8696bbf53d2c38b9dbfb82fbe98427708d24e75a08dc4697b97af0a51ec987bc3c86d8d1ded2de9cf40d91e5e08a3c769f1f7ae648 +SLACKBUILD azureus.SlackBuild 7901 MD5 96c2a87dfd9fc79d8528d601b1563ebb RMD160 95befb451c0359ae03fb80dc1d34a714b7aad3f1 SHA1 89a640de196ff6c9c845970d2b78374d628470d9 SHA256 04b63e3e39f25dbc94bf547078f6e11409ddb6bb05298797a63e5429f87b51f5 SHA512 174f08deddb0d2017b16497dc022e90e01db7696a863f15197e5c74b755d233051232b3dff17279c39025d680032478b1e98fbcc613ff6d1043dfabb0318273d +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (GNU/Linux) + +iQIcBAEBCAAGBQJKuCOyAAoJEEHL93ESzgeibFsQAJVChON/jrYbd2LP8Vua3+pU +WU3JqjI3FNNOHH42Zanyrjir+dEWYkWmmFE10x+m7OZUVhUcNZvEhLOB/npR/EI1 +9aWNb3xczMyc+kYU0u9IOSY95XLkAJjYfjidS8o2p5i5c7G+rJ/8lgdIq3M1luSU +5Q5Y9kiERqTg4DwWTcuQ1ta6XHQv8rzryNE8hGoW5iuFx6BFCNDiKBjl/9ukPSSB +6sIPl6LLnTAr0y9rlBI3dbCPlGJEerGwiHRISjdaXnCR8o1piSvwXNH6AMomvgDD +7ONjCoieLSUTRt6TWXQhGuk13MsSoF3cC/pBBFpvLDB2FBqItpuOPXe8d3UBsrnL +UsHaBvFgrb5anwyEByYdWDfaeV8xjTouVt1rpu1Ju/0JaHRhIQFBtX3r2YvmYGKQ +L1oXpsGz4XC426ZCNUiP5SqJq5e8DKIf1RKDgSoki1zVfgRoKmAS+rOPbdKmFqvY +J7qGa3lK0zS8SzK19+cL8KQvy+nR1SYKH7HuNNGkpjTy88I6/IDz60yVk01X8tYK +yqhqd6hznncFL1OTNGPC0mfobKNiTX9Fr2G4KDERN1JYJOQmw1NlG0PwgLqt19GS +OB+jTeTURWFG1haX71dnCGZzGAYkAvxL4yCAUbPvGsPvPwHI5DFwebXTqBw973Go +RNvQXaHgZuiV2gPrTAK5 +=/1DQ +-----END PGP SIGNATURE----- diff --git a/net/p2p/azureus/azureus-3.0.5.2.diff b/net/p2p/azureus/azureus-3.0.5.2.diff new file mode 100644 index 0000000..1968d1f --- /dev/null +++ b/net/p2p/azureus/azureus-3.0.5.2.diff @@ -0,0 +1,12 @@ +diff -Naur azureus.orig/azureus azureus/azureus +--- azureus.orig/azureus 2007-09-20 20:54:27.000000000 -0300 ++++ azureus/azureus 2009-09-21 21:52:33.000000000 -0300 +@@ -3,7 +3,7 @@ + ######## CONFIGURATION OPTIONS ######## + SCRIPT_NOT_CHANGED=0 # change this to 1 if you don't want your script overwritten! + JAVA_PROGRAM_DIR="" # use full path to java bin dir, ex. "/usr/java/j2sdk1.4.2/bin/" +-#PROGRAM_DIR="/home/username/apps/azureus" # use full path to Azureus bin dir ++PROGRAM_DIR="/usr/share/azureus" # use full path to Azureus bin dir + JAVA_ARGS="-Xmx128m" + + #export MOZILLA_FIVE_HOME="/path/to/gre" # Full path to GRE/Mozilla. When commenting out this line, also comment out the next line diff --git a/net/p2p/azureus/azureus.mkbuild b/net/p2p/azureus/azureus.mkbuild new file mode 100644 index 0000000..5a9f782 --- /dev/null +++ b/net/p2p/azureus/azureus.mkbuild @@ -0,0 +1,194 @@ +# +# 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 +# +# Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br ) +# Version $Rev: 803 $ - $Author: rhatto $ + +#-------------------- +# 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/project/azureus/x_obsolete/azureus-3.0.5.2/Azureus_3.0.5.2_linux.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]]="Azureus" + +# Package name. Null ("") to auto-set +# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[PACKAGE NAME]]="azureus" + +# +# 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]]="3.0.5.2" + +# +# 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}_linux.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]]="GPL.txt README.txt TOS.txt" + +# +# ./configure options +[[OTHER CONFIGURE ARGS]]="" + +# +# PREFIX. Default /usr +[[PREFIX]]="/usr" + +# +# Number of jobs +[[NUMBER OF JOBS]]="" + +#--------------------- +# Others changes +#--------------------- +#[[MD5SUM CODE]]="" +#[[MD5SUM EXTENSION]]="" +#[[SIGNING KEY]]="" +#[[SIGNING KEY URL]]="" +#[[SIGNING KEY ID]]="" +#[[SIGNING URL]]="" +#[[CONFIG FILES]]="" +#[[PATCH URLS]]="" +#[[REST OF DOINST.SH]]="" +[[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/$PKG_NAME" +[[SLACKBUILD PATH]]="net/p2p/azureus" + +#--------------------- +# 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: download_patches +off: svn_source +off: git_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: manifest_check + on: untar_source + on: patch_source +off: configure +off: 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 +off: slack_required + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +azureus: azureus (a java BitTorrent client) +azureus: +azureus: Azureus implements the BitTorrent protocol using java language +azureus: and comes bundled with many invaluable features for both beginners +azureus: and advanced users. +azureus: +azureus: +azureus: +azureus: +azureus: +azureus: +#install_package +# Create and directory files +mkdir -p $PKG/usr/{bin,share/azureus} +cp -r plugins $PKG/usr/share/azureus +cp Azureus2.jar $PKG/usr/share/azureus +cp swt.jar $PKG/usr/share/azureus +cp azureus $PKG/usr/bin +#