Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (f4e41bdb265a7130cb5129888820f9b206af80cf)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Jaka Kranjc <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (f4e41bdb265a7130cb5129888820f9b206af80cf)
  • Date: Wed, 26 Dec 2007 05:27:57 -0600

GIT changes to master grimoire by Jaka Kranjc <lynxlynxlynx AT sourcemage.org>:

ChangeLog | 3 +++
ftp/bnbt/BUILD | 6 ++++++
ftp/bnbt/DEPENDS | 2 ++
ftp/bnbt/DETAILS | 17 +++++++++++++++++
ftp/bnbt/HISTORY | 5 +++++
ftp/bnbt/INSTALL | 4 ++++
ftp/bnbt/init.d/bnbt | 19 +++++++++++++++++++
7 files changed, 56 insertions(+)

New commits:
commit f4e41bdb265a7130cb5129888820f9b206af80cf
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>

ftp/bnbt: added BNBT bittorrent tracker from Chris Dombroski #8633

diff --git a/ChangeLog b/ChangeLog
index 7bf6855..29ad124 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2007-12-26 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * ftp/bnbt: added BNBT bittorrent tracker from Chris Dombroski #8633
+
2007-12-26 Andraž "ruskie" Levstik <ruskie AT mages.ath.cx>
* utils/rssyslog: new spell, remote syslogging daemon

diff --git a/ftp/bnbt/BUILD b/ftp/bnbt/BUILD
new file mode 100755
index 0000000..3f11f49
--- /dev/null
+++ b/ftp/bnbt/BUILD
@@ -0,0 +1,6 @@
+cd src &&
+if is_depends_enabled $SPELL mysql; then
+ make
+else
+ make bnbt
+fi
diff --git a/ftp/bnbt/DEPENDS b/ftp/bnbt/DEPENDS
new file mode 100755
index 0000000..5363f7e
--- /dev/null
+++ b/ftp/bnbt/DEPENDS
@@ -0,0 +1,2 @@
+depends zlib &&
+optional_depends "mysql" '' '' "for mysql tracker data storage"
diff --git a/ftp/bnbt/DETAILS b/ftp/bnbt/DETAILS
new file mode 100755
index 0000000..4e57d1c
--- /dev/null
+++ b/ftp/bnbt/DETAILS
@@ -0,0 +1,17 @@
+ SPELL=bnbt
+ VERSION=81b-3
+ SOURCE=$SPELL$VERSION-sf.zip
+ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL
+ SOURCE_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE
+
SOURCE_HASH=sha512:9014687a7ab0e0536c9d92a7cd9241e3183120966c64dfd3d0c685a6b88d3057e477c74228bae5451bffe7b55df497412ab7abec54d013d36c7b46b5b41a24b0
+ WEB_SITE=http://bnbt.sf.net
+ ENTERED=20030909
+ LICENSE[0]=LGPL
+ SHORT="BNBT is a c++ based bit torrent tracker"
+cat << EOF
+BNBT was written by Trevor Hogan. BNBT is a complete port of the original
+Python BitTorrent tracker to C++ for speed and efficiency. BNBT also offers
+many additional features beyond the original Python BitTorrent tracker,
+plus it's easy to use and customizable. BNBT is covered under the GNU Lesser
+General Public License (LGPL).
+EOF
diff --git a/ftp/bnbt/HISTORY b/ftp/bnbt/HISTORY
new file mode 100644
index 0000000..0c679e1
--- /dev/null
+++ b/ftp/bnbt/HISTORY
@@ -0,0 +1,5 @@
+2007-12-26 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * INSTALL: install rootify and change spell_ok to is_depends_enabled
+ * DETAILS: cleaned up
+ fixed long description wrap
+ * BUILD, DEPENDS, DETAILS, init.d, INSTALL: created #8633
diff --git a/ftp/bnbt/INSTALL b/ftp/bnbt/INSTALL
new file mode 100755
index 0000000..570a053
--- /dev/null
+++ b/ftp/bnbt/INSTALL
@@ -0,0 +1,4 @@
+if is_depends_enabled $SPELL; then
+ cp bnbtmysql "$INSTALL_ROOT"/usr/bin
+fi &&
+cp bnbt "$INSTALL_ROOT"/usr/bin
diff --git a/ftp/bnbt/init.d/bnbt b/ftp/bnbt/init.d/bnbt
new file mode 100644
index 0000000..3c9a6d2
--- /dev/null
+++ b/ftp/bnbt/init.d/bnbt
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+PROGRAM=/usr/bin/bnbt
+RUNLEVEL=3
+NEEDS="+network +remote_fs"
+
+. /etc/init.d/smgl_init
+
+start() {
+ loadproc bnbt
+}
+
+stop() {
+ stopproc bnbt
+}
+
+status() {
+ statusproc bnbt
+}



  • [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (f4e41bdb265a7130cb5129888820f9b206af80cf), Jaka Kranjc, 12/26/2007

Archive powered by MHonArc 2.6.24.

Top of Page