This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree".
The branch, next has been updated via 25fadf991c85ced2b12b5b7a7dea83915d0436ca (commit) via 9e6810e8c663f02c68ebbc2f572e8eca5871f71a (commit) from cd0c0a0de72e975c87426642d09897aaf3d293e9 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 25fadf991c85ced2b12b5b7a7dea83915d0436ca Author: Michael Tremer michael.tremer@ipfire.org Date: Sun Sep 18 13:34:47 2011 +0200
transmission: New package.
commit 9e6810e8c663f02c68ebbc2f572e8eca5871f71a Author: Michael Tremer michael.tremer@ipfire.org Date: Sun Sep 18 13:32:30 2011 +0200
libevent2: New package.
Needs to be added to core update 54.
-----------------------------------------------------------------------
Summary of changes: config/rootfiles/common/initscripts | 1 + config/rootfiles/common/libevent2 | 45 ++++++++++++++ config/rootfiles/packages/transmission | 66 +++++++++++++++++++++ config/transmission/settings.json | 62 +++++++++++++++++++ lfs/{libevent => libevent2} | 4 +- lfs/{rtorrent => transmission} | 23 ++++--- make.sh | 2 + src/initscripts/init.d/{template => transmission} | 17 ++---- src/paks/{motion => transmission}/install.sh | 18 +++++- src/paks/{nut => transmission}/uninstall.sh | 7 +- src/paks/{asterisk => transmission}/update.sh | 1 + 11 files changed, 217 insertions(+), 29 deletions(-) create mode 100644 config/rootfiles/common/libevent2 create mode 100644 config/rootfiles/packages/transmission create mode 100644 config/transmission/settings.json copy lfs/{libevent => libevent2} (97%) copy lfs/{rtorrent => transmission} (86%) copy src/initscripts/init.d/{template => transmission} (64%) copy src/paks/{motion => transmission}/install.sh (79%) copy src/paks/{nut => transmission}/uninstall.sh (95%) copy src/paks/{asterisk => transmission}/update.sh (99%)
Difference in files: diff --git a/config/rootfiles/common/initscripts b/config/rootfiles/common/initscripts index 9393aec..fe9cc31 100644 --- a/config/rootfiles/common/initscripts +++ b/config/rootfiles/common/initscripts @@ -118,6 +118,7 @@ etc/rc.d/init.d/teamspeak etc/rc.d/init.d/template #etc/rc.d/init.d/tftpd etc/rc.d/init.d/tmpfs +#etc/rc.d/init.d/transmission etc/rc.d/init.d/udev etc/rc.d/init.d/udev_retry etc/rc.d/init.d/upnpd diff --git a/config/rootfiles/common/libevent2 b/config/rootfiles/common/libevent2 new file mode 100644 index 0000000..fb3d8bd --- /dev/null +++ b/config/rootfiles/common/libevent2 @@ -0,0 +1,45 @@ +#usr/include/event2 +#usr/include/event2/buffer.h +#usr/include/event2/buffer_compat.h +#usr/include/event2/bufferevent.h +#usr/include/event2/bufferevent_compat.h +#usr/include/event2/bufferevent_ssl.h +#usr/include/event2/bufferevent_struct.h +#usr/include/event2/dns.h +#usr/include/event2/dns_compat.h +#usr/include/event2/dns_struct.h +#usr/include/event2/event-config.h +#usr/include/event2/event.h +#usr/include/event2/event_compat.h +#usr/include/event2/event_struct.h +#usr/include/event2/http.h +#usr/include/event2/http_compat.h +#usr/include/event2/http_struct.h +#usr/include/event2/keyvalq_struct.h +#usr/include/event2/listener.h +#usr/include/event2/rpc.h +#usr/include/event2/rpc_compat.h +#usr/include/event2/rpc_struct.h +#usr/include/event2/tag.h +#usr/include/event2/tag_compat.h +#usr/include/event2/thread.h +#usr/include/event2/util.h +usr/lib/libevent-2.0.so.5 +usr/lib/libevent-2.0.so.5.1.2 +usr/lib/libevent_core-2.0.so.5 +usr/lib/libevent_core-2.0.so.5.1.2 +usr/lib/libevent_extra-2.0.so.5 +usr/lib/libevent_extra-2.0.so.5.1.2 +usr/lib/libevent_openssl-2.0.so.5 +usr/lib/libevent_openssl-2.0.so.5.1.2 +#usr/lib/libevent_openssl.a +#usr/lib/libevent_openssl.la +#usr/lib/libevent_openssl.so +usr/lib/libevent_pthreads-2.0.so.5 +usr/lib/libevent_pthreads-2.0.so.5.1.2 +#usr/lib/libevent_pthreads.a +#usr/lib/libevent_pthreads.la +#usr/lib/libevent_pthreads.so +#usr/lib/pkgconfig/libevent.pc +#usr/lib/pkgconfig/libevent_openssl.pc +#usr/lib/pkgconfig/libevent_pthreads.pc diff --git a/config/rootfiles/packages/transmission b/config/rootfiles/packages/transmission new file mode 100644 index 0000000..a784341 --- /dev/null +++ b/config/rootfiles/packages/transmission @@ -0,0 +1,66 @@ +#etc/transmission +etc/transmission/settings.json +usr/bin/transmission-cli +usr/bin/transmission-create +usr/bin/transmission-daemon +usr/bin/transmission-edit +usr/bin/transmission-remote +usr/bin/transmission-show +#usr/share/man/man1/transmission-cli.1 +#usr/share/man/man1/transmission-create.1 +#usr/share/man/man1/transmission-daemon.1 +#usr/share/man/man1/transmission-edit.1 +#usr/share/man/man1/transmission-remote.1 +#usr/share/man/man1/transmission-show.1 +usr/share/transmission +#usr/share/transmission/web +#usr/share/transmission/web/LICENSE +#usr/share/transmission/web/images +#usr/share/transmission/web/images/buttons +#usr/share/transmission/web/images/buttons/cancel.png +#usr/share/transmission/web/images/buttons/file_priority_buttons.png +#usr/share/transmission/web/images/buttons/file_wanted_buttons.png +#usr/share/transmission/web/images/buttons/info_activity.png +#usr/share/transmission/web/images/buttons/info_files.png +#usr/share/transmission/web/images/buttons/info_general.png +#usr/share/transmission/web/images/buttons/info_peers.png +#usr/share/transmission/web/images/buttons/info_trackers.png +#usr/share/transmission/web/images/buttons/tab_backgrounds.png +#usr/share/transmission/web/images/buttons/tab_backgrounds_highlight.png +#usr/share/transmission/web/images/buttons/toolbar_buttons.png +#usr/share/transmission/web/images/buttons/torrent_buttons.png +#usr/share/transmission/web/images/favicon.ico +#usr/share/transmission/web/images/favicon.png +#usr/share/transmission/web/images/graphics +#usr/share/transmission/web/images/graphics/chrome.png +#usr/share/transmission/web/images/graphics/filter_bar.png +#usr/share/transmission/web/images/graphics/filter_icon.png +#usr/share/transmission/web/images/graphics/iphone_chrome.png +#usr/share/transmission/web/images/graphics/lock_icon.png +#usr/share/transmission/web/images/graphics/logo.png +#usr/share/transmission/web/images/graphics/transfer_arrows.png +#usr/share/transmission/web/images/graphics/wait20.gif +#usr/share/transmission/web/images/progress +#usr/share/transmission/web/images/progress/progress.png +#usr/share/transmission/web/images/webclip-icon.png +#usr/share/transmission/web/index.html +#usr/share/transmission/web/javascript +#usr/share/transmission/web/javascript/common.js +#usr/share/transmission/web/javascript/dialog.js +#usr/share/transmission/web/javascript/formatter.js +#usr/share/transmission/web/javascript/jquery +#usr/share/transmission/web/javascript/jquery/jquery.contextmenu.min.js +#usr/share/transmission/web/javascript/jquery/jquery.form.js +#usr/share/transmission/web/javascript/jquery/jquery.form.min.js +#usr/share/transmission/web/javascript/jquery/jquery.min.js +#usr/share/transmission/web/javascript/jquery/jquery.transmenu.min.js +#usr/share/transmission/web/javascript/jquery/json.min.js +#usr/share/transmission/web/javascript/menu.js +#usr/share/transmission/web/javascript/torrent.js +#usr/share/transmission/web/javascript/transmission.js +#usr/share/transmission/web/javascript/transmission.remote.js +#usr/share/transmission/web/stylesheets +#usr/share/transmission/web/stylesheets/common.css +#usr/share/transmission/web/stylesheets/ie6.css +#usr/share/transmission/web/stylesheets/ie7.css +#usr/share/transmission/web/stylesheets/iphone.css diff --git a/config/transmission/settings.json b/config/transmission/settings.json new file mode 100644 index 0000000..a5dbdaf --- /dev/null +++ b/config/transmission/settings.json @@ -0,0 +1,62 @@ +{ + "alt-speed-down": 512, + "alt-speed-enabled": true, + "alt-speed-time-begin": 540, + "alt-speed-time-day": 127, + "alt-speed-time-enabled": false, + "alt-speed-time-end": 1020, + "alt-speed-up": 10, + "bind-address-ipv4": "0.0.0.0", + "bind-address-ipv6": "::", + "blocklist-enabled": false, + "cache-size-mb": 2, + "dht-enabled": true, + "download-dir": "/var/transmission/downloads", + "encryption": 1, + "idle-seeding-limit": 30, + "idle-seeding-limit-enabled": false, + "incomplete-dir": "/var/transmission/incomplete", + "incomplete-dir-enabled": true, + "lazy-bitfield-enabled": true, + "lpd-enabled": false, + "message-level": 2, + "open-file-limit": 32, + "peer-limit-global": 240, + "peer-limit-per-torrent": 60, + "peer-port": 6969, + "peer-port-random-high": 65535, + "peer-port-random-low": 49152, + "peer-port-random-on-start": false, + "peer-socket-tos": 0, + "pex-enabled": true, + "port-forwarding-enabled": true, + "preallocation": 1, + "proxy": "", + "proxy-auth-enabled": false, + "proxy-auth-password": "", + "proxy-auth-username": "", + "proxy-enabled": false, + "proxy-port": 80, + "proxy-type": 0, + "ratio-limit": 2, + "ratio-limit-enabled": false, + "rename-partial-files": true, + "rpc-authentication-required": false, + "rpc-bind-address": "0.0.0.0", + "rpc-enabled": true, + "rpc-password": "{b518093d8e833b34c139cea744e335ab70d827dcQSnFbsNU", + "rpc-port": 9091, + "rpc-username": "", + "rpc-whitelist": "127.0.0.1", + "rpc-whitelist-enabled": false, + "script-torrent-done-enabled": false, + "script-torrent-done-filename": "", + "speed-limit-down": 768, + "speed-limit-down-enabled": true, + "speed-limit-up": 20, + "speed-limit-up-enabled": true, + "start-added-torrents": true, + "trash-original-torrent-files": false, + "umask": 18, + "upload-slots-per-torrent": 14 +} diff --git a/lfs/libevent2 b/lfs/libevent2 new file mode 100644 index 0000000..1fbc7db --- /dev/null +++ b/lfs/libevent2 @@ -0,0 +1,77 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# # +# This program 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 3 of the License, or # +# (at your option) any later version. # +# # +# This program 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, see http://www.gnu.org/licenses/. # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 2.0.13-stable + +THISAPP = libevent-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = af786b4b3f790c9d3279792edf7867fc + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +############################################################################### +# Downloading, checking, md5sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_MD5,$(objects)) : + @$(MD5) + +############################################################################### +# Installation Details +############################################################################### + +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && ./configure --prefix=/usr + cd $(DIR_APP) && make $(MAKETUNING) + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/lfs/transmission b/lfs/transmission new file mode 100644 index 0000000..7ce4b83 --- /dev/null +++ b/lfs/transmission @@ -0,0 +1,89 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2009 Michael Tremer & Christian Schmidt # +# # +# This program 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 3 of the License, or # +# (at your option) any later version. # +# # +# This program 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, see http://www.gnu.org/licenses/. # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 2.33 + +THISAPP = transmission-$(VER) +DL_FILE = $(THISAPP).tar.xz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) +PROG = transmission +PAK_VER = 1 + +DEPS = "" + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = 76df2b002e9e243f2e4607b40c019974 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +dist: + @$(PAK) + +############################################################################### +# Downloading, checking, md5sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_MD5,$(objects)) : + @$(MD5) + +############################################################################### +# Installation Details +############################################################################### + +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && ./configure --prefix=/usr --disable-static + cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE) + cd $(DIR_APP) && make install + + # Install configuration files. + -mkdir -pv /etc/transmission + cp -vf $(DIR_SRC)/config/transmission/* /etc/transmission/ + chown -Rv nobody.nobody /etc/transmission + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index 99fc86f..4fbbf0c 100755 --- a/make.sh +++ b/make.sh @@ -585,6 +585,7 @@ buildipfire() { ipfiremake rsync ipfiremake tcpwrapper ipfiremake libevent + ipfiremake libevent2 ipfiremake portmap ipfiremake nfs ipfiremake nmap @@ -700,6 +701,7 @@ buildipfire() { ipfiremake python-xattr ipfiremake intltool ipfiremake pakfire3-deps + ipfiremake transmission echo Build on $HOSTNAME > $BASEDIR/build/var/ipfire/firebuild cat /proc/version >> $BASEDIR/build/var/ipfire/firebuild echo >> $BASEDIR/build/var/ipfire/firebuild diff --git a/src/initscripts/init.d/transmission b/src/initscripts/init.d/transmission new file mode 100644 index 0000000..2ad7d48 --- /dev/null +++ b/src/initscripts/init.d/transmission @@ -0,0 +1,45 @@ +#!/bin/sh +######################################################################## +# Begin $rc_base/init.d/ +# +# Description : +# +# Authors : +# +# Version : 00.00 +# +# Notes : +# +######################################################################## + +. /etc/sysconfig/rc +. ${rc_functions} + +case "${1}" in + start) + boot_mesg "Starting transmission daemon..." + transmission-daemon -g /etc/transmission + ;; + + stop) + boot_mesg "Stopping transmission daemon..." + killall transmission-daemon + ;; + + restart) + ${0} stop + sleep 1 + ${0} start + ;; + + status) + statusproc transmission-daemon + ;; + + *) + echo "Usage: ${0} {start|stop|restart|status}" + exit 1 + ;; +esac + +# End $rc_base/init.d/ diff --git a/src/paks/transmission/install.sh b/src/paks/transmission/install.sh new file mode 100644 index 0000000..c5907d4 --- /dev/null +++ b/src/paks/transmission/install.sh @@ -0,0 +1,41 @@ +#!/bin/bash +############################################################################ +# # +# This file is part of the IPFire Firewall. # +# # +# IPFire 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 # +# (at your option) any later version. # +# # +# IPFire 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 IPFire; if not, write to the Free Software # +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +# # +# Copyright (C) 2007 IPFire-Team info@ipfire.org. # +# # +############################################################################ +# +. /opt/pakfire/lib/functions.sh + +extract_files + +# Create download directories if they do not yet exist. +mkdir -p /var/transmission/{downloads,incomplete} 2>/dev/null + +# Adjust permissions. +chown nobody.nobody /etc/transmission /var/transmission + +# Start the service. +/etc/init.d/transmission start + +ln -sf ../init.d/transmission /etc/rc.d/rc0.d/K20transmission +ln -sf ../init.d/transmission /etc/rc.d/rc3.d/S99transmission +ln -sf ../init.d/transmission /etc/rc.d/rc6.d/K20transmission + +exit 0 diff --git a/src/paks/transmission/uninstall.sh b/src/paks/transmission/uninstall.sh new file mode 100644 index 0000000..5a2e708 --- /dev/null +++ b/src/paks/transmission/uninstall.sh @@ -0,0 +1,30 @@ +#!/bin/bash +############################################################################ +# # +# This file is part of the IPFire Firewall. # +# # +# IPFire 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 # +# (at your option) any later version. # +# # +# IPFire 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 IPFire; if not, write to the Free Software # +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +# # +# Copyright (C) 2007 IPFire-Team info@ipfire.org. # +# # +############################################################################ +# +. /opt/pakfire/lib/functions.sh +remove_files + +# Remove all start links. +rm -rf /etc/rc.d/rc*.d/*transmission + +exit 0 diff --git a/src/paks/transmission/update.sh b/src/paks/transmission/update.sh new file mode 100644 index 0000000..c6485bf --- /dev/null +++ b/src/paks/transmission/update.sh @@ -0,0 +1,27 @@ +#!/bin/bash +############################################################################ +# # +# This file is part of the IPFire Firewall. # +# # +# IPFire 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 # +# (at your option) any later version. # +# # +# IPFire 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 IPFire; if not, write to the Free Software # +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +# # +# Copyright (C) 2007 IPFire-Team info@ipfire.org. # +# # +############################################################################ +# +. /opt/pakfire/lib/functions.sh + +./uninstall.sh +./install.sh
hooks/post-receive -- IPFire 2.x development tree