DownloadDaemon 1.1

Make a PKGBUILD? Submit it here for user review and possible placement into the repository.

DownloadDaemon 1.1

Postby dan64 » Mon Jan 31, 2011 9:04 pm

I have built a package for DownloadDaemon (http://downloaddaemon.sourceforge.net/) a full featured download-manager with many features like one-click-hoster support (rapidshare.com/uploaded.to/netload.in/megaupload.com/youtube.com/...). It can be remote-controlled in several ways (web/gui/console clients), which makes it perfect for file- and root-servers, as well as for local use.

The package doesn't include the gui, but from sourceforge it's possible download a windows/linux gui client and/or a php client.

The package can be found here:

File name: downloaddaemon-1.1-1-arm.pkg.tar.xz File size: 431.32 KB

$this->bbcode_second_pass_code('', '
To install:
pacman -U downloaddaemon-1.1-1-arm.pkg.tar.xz
')

Edit: Now the package is in AUR (https://aur.archlinux.org/packages.php?ID=46103)

$this->bbcode_second_pass_code('', '
To install you need yaourt (pacman -S yaourt) and then:
yaourt -AS downloaddaemon
')

For users that have trouble to build from SVN, the last build can be found here:

File name: downloaddaemon-1284-1-arm.pkg.tar.xz File size: 385.62 KB (Megaupload plugin removed)

File name: downloaddaemon-1279-1-arm.pkg.tar.xz File size: 497.73 KB (with the Megaupload plugin)

The last build of gui client can be found here:

File name: ddclient-gui-1227_win32.zip File size: 5.37 MB

Regards

NOTE:
1) The service file is installed in the "/etc/init.d" directory
2) To enable gocr you need to change the configuration file: /etc/downloaddaemon/downloaddaemon.conf
3) You have to add a user and a group called "downloadd" to restrict permissions
4) You need to set the permissions to the conf dir. : chown -R downloadd:downloadd /etc/downloaddaemon
Last edited by dan64 on Sun Jul 21, 2013 7:58 am, edited 9 times in total.
dan64
 
Posts: 75
Joined: Mon Jan 31, 2011 8:52 pm

Re: DownloadDaemon 1.1

Postby DePingus » Thu Feb 10, 2011 8:34 pm

Thanks! This looks mighty interesting...
DePingus
 
Posts: 22
Joined: Sat Jul 03, 2010 9:41 pm

Re: DownloadDaemon 1.1

Postby dan64 » Fri Feb 11, 2011 6:34 pm

I'm unable to compile again using yaourt. I receive the following messages:

$this->bbcode_second_pass_code('', '
root@Arch Linux ARM install ddtest $ yaourt -AS downloaddaemon
curl error: Peer certificate cannot be authenticated with known CA certificates
error: 'downloaddaemon': could not find or read package
')
but if I download the PKGBUILD into a directory and run:
$this->bbcode_second_pass_code('', '
makepkg -f --asroot
')
It works fine !

Do you know what the problem could be ?

Edit: problem solved !
I have put a comma in arch() -> arch=('i686' 'x86_64', 'arm')
It's just a workaround to put 'arm' package in AUR ! ;)

P.S.
Now I have understood why you added a "-A" to the command yaourt, but using this trick is able to download & compile using the "-S" flag only.
dan64
 
Posts: 75
Joined: Mon Jan 31, 2011 8:52 pm

Re: DownloadDaemon 1.1

Postby farsheedj » Wed Feb 16, 2011 3:41 am

Hey Dan64.
The downloaddaemon is working very good.Thanks to you. The only little issue I noted is with trying to download from megaupload website. It usually gives errors most of the time and sometimes crashes downloaddaemon. There are no problem downloading from other websites. I do not know if this is problem with my installation or some issue with megaupload plugin with this version dd that I have installed. I was looking at this forum and they were suggesting installing a nightly version of dd. What do you suggest how should I compile this package to install on Arch Linux ARM install.
http://sourceforge.net/projects/downloa ... ic/4034595
Thanks.
farsheedj
 
Posts: 49
Joined: Wed Feb 09, 2011 6:07 pm

Re: DownloadDaemon 1.1

Postby dan64 » Wed Feb 16, 2011 12:56 pm

I have downloaded some file from megaupload with no problems: just check if you have write permission on the download folder and to past the right link.

The package that I have posted in AUR, actually build the installation from the SVN repository so if you install it you should have the last version available !

To install run: yaourt -S downloaddaemon
Last edited by dan64 on Tue Feb 22, 2011 1:38 pm, edited 1 time in total.
dan64
 
Posts: 75
Joined: Mon Jan 31, 2011 8:52 pm

Re: DownloadDaemon 1.1

Postby farsheedj » Wed Feb 16, 2011 2:26 pm

I installed the dd from the first link that you posted because the yourt svn package kept giving me errors during package build/installation. Maybe I am not running the proper commands to build the package/install the package properly. Would you be kind enough to give me step by step commands on how to build a package from yaourt and then install it.
Thanks.
farsheedj
 
Posts: 49
Joined: Wed Feb 09, 2011 6:07 pm

Re: DownloadDaemon 1.1

Postby dan64 » Wed Feb 16, 2011 3:05 pm

The following commands should works

You need to have installed all the modules that are needed to compile:

pacman -S kernel26-headers file base-devel abs cmake subversion

First method (using yaourt)

$this->bbcode_second_pass_code('', '
cd /tmp
yaourt -S downloaddaemon
')

Second method (using makepkg)

$this->bbcode_second_pass_code('', '
mkdir -p /tmp/dd
cd /tmp/dd
wget https://aur.archlinux.org/packages/downloaddaemon/downloaddaemon/PKGBUILD
makepkg --asroot
pacman -U downloaddaemon-<build_version>.arm.pkg.tar.xz
')
dan64
 
Posts: 75
Joined: Mon Jan 31, 2011 8:52 pm

Re: DownloadDaemon 1.1

Postby farsheedj » Wed Feb 16, 2011 3:27 pm

I have installed the necessary package to build it. Both method keep giving me errors. This is the error I get with second method. What am I doing wrong.
CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1123 (message):
Unable to find the requested Boost libraries.

Unable to find the Boost header files. Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost's headers.
Call Stack (most recent call first):
CMakeLists.txt:122 (find_package)


CMake Error at CMakeLists.txt:136 (install):
install TARGETS given target "DownloadDaemon" which does not exist in this
directory.


CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Boost_INCLUDE_DIR (ADVANCED)
used as include directory in directory /tmp/dd/src/dd/src/daemon/plugins

-- Configuring incomplete
farsheedj
 
Posts: 49
Joined: Wed Feb 09, 2011 6:07 pm

Re: DownloadDaemon 1.1

Postby dan64 » Wed Feb 16, 2011 3:35 pm

It looks like that you don't have an update installation, run: pacman -Syu to synchronize the repository databases and update the system's packages.
dan64
 
Posts: 75
Joined: Mon Jan 31, 2011 8:52 pm

Re: DownloadDaemon 1.1

Postby farsheedj » Wed Feb 16, 2011 3:57 pm

$this->bbcode_second_pass_quote('dan64', 'I')t looks like that you don't have an update installation, run: pacman -Syu to synchronize the repository databases and update the system's packages.

The system update gives me message that everything is uptodate and did not update anything.
farsheedj
 
Posts: 49
Joined: Wed Feb 09, 2011 6:07 pm

Next

Return to User-Submitted Packages

Who is online

Users browsing this forum: No registered users and 9 guests