Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: tuxsoul on December 11, 2010, 05:40:01 AM



Title: not oficial bitcoin apps debian/ubuntu packages ...
Post by: tuxsoul on December 11, 2010, 05:40:01 AM
hi,

i like bitcoin, but i don't like install apps using "make install" in my debian box, in the last weeks, i worked to create debian/ubuntu packages, for easy install and fast update (maybe).

packages:

  • bitcoin-daemon
             
    • web: http://www.bitcoin.org
    • git: https://github.com/tuxsoul/bitcoin
    • debian: lenny-backports, squeeze :: (only i386)
    • ubuntu: lucid, maverick :: (amd64, i386)
    • status: ready for test
    • binary: bitcoind
    • manpage: yes (bitcoind, bitcoin.conf), you can build using "a2x"
    • need:
      • better short and full description
      • check manpage (bitcoind and bitcoin.conf)
    • missing: bitcoin gui, only is the daemon
    • include: bitcoin white paper, example bitcoin.conf file

  • bitcoin-cpuminer
             
    • web: http://bitcointalk.org/index.php?topic=1925.0
    • git: https://github.com/tuxsoul/bitcoin-cpuminer
    • debian: etch, lenny, squeeze, wheezy, sid :: i386 (only)
    • ubuntu: lucid, maverick, natty :: (amd64, i386)
    • status: ready for test
    • binary: minerd
    • manpage: yes, i create this using txt2man
    • need:
      • need better manpage
      • need check (build-depends and depends)
      • need better short description (less 60 chars) - fix, thanks @adv
      • need better full description - fix, thanks @adv
    • missing: none
    • include: none

  • bitcoin-poclm
             
    • web: http://bitcointalk.org/index.php?topic=1334.0
    • git: https://github.com/tuxsoul/bitcoin-poclm
    • debian: none
    • ubuntu: none
    • status: in process ...
    • binary: none
    • manpage: none
    • need: none
    • missing: none
    • include: none

  • bitcoinr-miner
             
    • web: http://bitcointalk.org/index.php?topic=2444.0
    • git: https://github.com/tuxsoul/bitcoinr-miner
    • debian: none
    • ubuntu: none
    • status: in process ...
    • binary: none
    • manpage: none
    • need: none
    • missing: none
    • include: none

  • bitcoin-tools
             
    • web: unknow
    • git: https://github.com/tuxsoul/bitcoin-tools
    • debian: none
    • ubuntu: none
    • status: in process ...
    • binary: none
    • manpage: none
    • need: none
    • missing: none
    • include: none

repository's:

For ubuntu, you can test using my launchpad repository here:
https://launchpad.net/~tuxsoul/+archive/ppa

For debian, only have my own repository (but i need update and fix some errors)

  • Home: http://deb.tuxsoul.com
  • Packages List: http://deb.tuxsoul.com/paquetes.html

example source.list:
Code:
deb http://deb.tuxsoul.com distro main contrib non-free
deb-src http://deb.tuxsoul.com distro main contrib non-free

example backport source.list:
Code:
deb http://deb.tuxsoul.com distro-backports main contrib non-free
deb-src http://deb.tuxsoul.com distro-backports main contrib non-free

*for debian backports, you need add the oficial debian backports repository, please visit:
http://backports.debian.org/Instructions/

where distro is: etch, lenny and squezee (coming soon).

TODO:

  • create packages [ubuntu (lucid, maverick), debian]
  • create git repositorys (http://github.com/tuxsoul)
  • create debian amd64 packages


You can:

  • test the packages
  • submit your feedbacks
  • spread the voice
  • tell me what other app do you like to package

Support:

  • Youtipit: http://www.youtipit.org/en/tip?junketId=J2617-2 (http://www.youtipit.org/en/tip?junketId=J2617-2)
  • Flattr: http://flattr.com/thing/126829/not-oficial-bitcoin-apps-debianubuntu-packages (http://flattr.com/thing/126829/not-oficial-bitcoin-apps-debianubuntu-packages)

i'm a newbie, but, i like learn  ;)
sorry my english is bad  :(.

saludos.


Title: Re: bitcoin apps debian/ubuntu packages ...
Post by: grondilu on December 11, 2010, 05:47:37 AM
Hi,

I like bitcoin, but i don't like install apps using "make install" in my debian box, in the last weeks, i worked to create debian/ubuntu packages, for easy install and fast update (maybe).


Good.  There is a official packaging in progress for debian :  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=578157

But it's progressing very slowly.  Hopefully you could help.


Title: Re: bitcoin apps debian/ubuntu packages ...
Post by: adv on December 12, 2010, 10:04:35 PM
Quote
Err http://deb.tuxsoul.com testing/main Sources
  404  Not Found [IP: 199.27.135.101 80]
Hit http://localhost unstable/contrib i386 Packages
Err http://deb.tuxsoul.com testing/contrib Sources
  404  Not Found [IP: 199.27.135.101 80]
Err http://deb.tuxsoul.com testing/non-free Sources
  404  Not Found [IP: 199.27.135.101 80]
Hit http://localhost experimental/main i386 Packages
Err http://deb.tuxsoul.com testing/main i386 Packages
  404  Not Found [IP: 199.27.135.101 80]
Err http://deb.tuxsoul.com testing/contrib i386 Packages
  404  Not Found [IP: 199.27.135.101 80]
Err http://deb.tuxsoul.com testing/non-free i386 Packages
  404  Not Found [IP: 199.27.135.101 80]
Hit http://deb.tuxsoul.com stable/main Sources
Hit http://deb.tuxsoul.com stable/contrib Sources
Hit http://deb.tuxsoul.com stable/non-free Sources
Hit http://deb.tuxsoul.com stable/main i386 Packages
Hit http://deb.tuxsoul.com stable/contrib i386 Packages
Hit http://deb.tuxsoul.com stable/non-free i386 Packages
And from stable repo come only php4-eaccelerator.


Title: Re: bitcoin apps debian/ubuntu packages ...
Post by: grondilu on December 12, 2010, 10:34:06 PM
Err http://deb.tuxsoul.com testing/main Sources
  404  Not Found [IP: 199.27.135.101 80]
Hit http://localhost unstable/contrib i386 Packages
Err http://deb.tuxsoul.com testing/contrib Sources
  404  Not Found [IP: 199.27.135.101 80]
Err http://deb.tuxsoul.com testing/non-free Sources
  404  Not Found [IP: 199.27.135.101 80]
Hit http://localhost experimental/main i386 Packages
Err http://deb.tuxsoul.com testing/main i386 Packages
  404  Not Found [IP: 199.27.135.101 80]
Err http://deb.tuxsoul.com testing/contrib i386 Packages
  404  Not Found [IP: 199.27.135.101 80]
Err http://deb.tuxsoul.com testing/non-free i386 Packages
  404  Not Found [IP: 199.27.135.101 80]
Hit http://deb.tuxsoul.com stable/main Sources
Hit http://deb.tuxsoul.com stable/contrib Sources
Hit http://deb.tuxsoul.com stable/non-free Sources
Hit http://deb.tuxsoul.com stable/main i386 Packages
Hit http://deb.tuxsoul.com stable/contrib i386 Packages
Hit http://deb.tuxsoul.com stable/non-free i386 Packages
And from stable repo come only php4-eaccelerator.
[/quote]

hum, I'm sorry but what is this the output of ?


Title: Re: bitcoin apps debian/ubuntu packages ...
Post by: adv on December 12, 2010, 10:41:15 PM
hum, I'm sorry but what is this the output of ?
aptitude update


Title: Re: bitcoin apps debian/ubuntu packages ...
Post by: grondilu on December 12, 2010, 10:53:06 PM
hum, I'm sorry but what is this the output of ?
aptitude update

yeah that's what I thought.

You have a pb with your repository.  Anyway it's not related to bitcoin at all.


Title: Re: bitcoin apps debian/ubuntu packages ...
Post by: adv on December 12, 2010, 11:10:08 PM
hum, I'm sorry but what is this the output of ?
aptitude update
yeah that's what I thought.
You have a pb with your repository.  Anyway it's not related to bitcoin at all.
I think problem with repo files or some ACL's on Tuxsoul server. Maybe information about this error useful for him.

P.S.
You think is offtopic?


Title: Re: bitcoin apps debian/ubuntu packages ...
Post by: grondilu on December 12, 2010, 11:15:08 PM
I think problem with repo files or some ACL's on Tuxsoul server. Maybe information about this error useful for him.

P.S.
You think is offtopic?

Oh sorry I hadn't pay enough attention.  Indeed deb.tuxsoul.com is the repo from the author of the first post of this thread.  My bad.


Title: Re: bitcoin apps debian/ubuntu packages ...
Post by: adv on December 12, 2010, 11:25:10 PM
I think problem with repo files or some ACL's on Tuxsoul server. Maybe information about this error useful for him.
P.S.
You think is offtopic?
Oh sorry I hadn't pay enough attention.  Indeed deb.tuxsoul.com is the repo from the author of the first post of this thread.  My bad.
My mistake too. I should express the thought more precisely... :^)


Title: Re: bitcoin apps debian/ubuntu packages ...
Post by: tuxsoul on December 17, 2010, 07:04:08 AM

Hi,

Thank's @adv, can you test again ?, i think this is fixed :).

source.list
Code:
Debian Lenny:

deb http://deb.tuxsoul.com lenny main contrib non-free
deb-src http://deb.tuxsoul.com lenny main contrib non-free

Sorry my english is bad.
Greeting's.


Title: Re: bitcoin apps debian/ubuntu packages ...
Post by: adv on December 17, 2010, 11:13:24 PM
Thank's @adv, can you test again ?, i think this is fixed :).
source.list
Code:
Debian Lenny:

deb http://deb.tuxsoul.com lenny main contrib non-free
deb-src http://deb.tuxsoul.com lenny main contrib non-free
Great! Its works.
I get "lenny" and "etch" lists and package bitcoin-cpuminer 0.2.1-1+lenny1.
Thank for your job! :^)

"Squeeze" and "sid" is not created yet? Repos for arch amd64? Its planned?

I think is a good idea -- add symlinks "stable" to "lenny" tree, and "testing->squeeze", "unstable->sid". Its useful sometime. But remember: that symlinks must be renewed when Debian change releases.

About add keys:
On your site write:
Code:
$ gpg --armor --export 0x287111EE | apt-key add -
I think must be:
Code:
$ gpg --armor --export 0x287111EE | sudo apt-key add -
And when refresh keys on "gpg: requesting key 287111EE from hkp server keys.gnupg.net" i sometime get key-server error.

Sorry my english is bad.
My too. :^)


Title: Re: bitcoin apps debian/ubuntu packages ...
Post by: adv on December 17, 2010, 11:46:25 PM
I think short-description already good, only dont need "This is" in begining: "Multi-threaded CPU miner for bitcoin".

For long description may be some like this:
Quote
Bitcoin is a peer-to-peer digital currency. Peer-to-peer (P2P) means that there is no central authority to issue new money or keep track of transactions. Instead, these tasks are managed collectively by the nodes of the network. More information about bitcoin: http://http://www.bitcoin.org

This package contain miner that contribute your idle CPU time to the bitcoin network and may generate some coins for you.
This miner works on CPU and communicates with bitcoin or bitcoind via JSON-RPC interface.
Miner have few sha256 implementation:
* Linux kernel sha256, implemented in C
* tcatm's 4-way SSE2 implementation
* VIA padlock implementation (EXPERIMENTAL)
* Crypto++ library implementation (EXPERIMENTAL)
This compiled from bitcoin.org site and bitcoin-cpuminer man.

P.S.
Yes, my English is terrible and i use google translate to fight it! :^)


Title: Re: bitcoin apps debian/ubuntu packages ...
Post by: adv on December 18, 2010, 02:10:03 AM
I created a binary amd64 package from Tuxsoul's source-deb.
May get it here: http://home.agalakov.spb.ru/Shared/Deb/bitcoin-cpuminer_0.2.1-1+lenny1_amd64.deb
It's just a first test attempt.


Title: Re: bitcoin apps debian/ubuntu packages ...
Post by: adv on December 24, 2010, 03:59:56 AM
New 0.3.2 version amd64-deb aviable: http://home.agalakov.spb.ru/Shared/Deb/bitcoin-cpuminer_0.3.2-1_amd64.deb
Compiled with -O3 (since the speed - one of the most important properties of this program). And I know that this can not work on some hosts. Please send bug reports and I disable it.

At the moment this deb - dirty hack: I copied the "debian" directory from the previous release. The building process needs to be automated.


Title: Re: bitcoin apps debian/ubuntu packages ...
Post by: adv on December 27, 2010, 02:23:05 PM
yesterday, I also created two .deb packages of Bitcoin 0.3.19 (i386 (http://ubuntu-blog.at/uploads/deb/bitcoin-0.3.19_i386.deb) | amd64 (http://ubuntu-blog.at/uploads/deb/bitcoin-0.3.19_amd64.deb))
Good job!
(I don't test, want wait for official debian package, that already developing: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=578157 )

Does the minerd application only use my CPU, if it's not needed or is it always mining?

It just start with hardcoded niceness "19" (lower priority):
cpu-miner.c
Code:
 /* set our priority to the highest (aka "nicest, least intrusive") */
        if (setpriority(PRIO_PROCESS, 0, 19))
                perror("setpriority");
So the answer is "yes" on both sides of the issue. :^)


Title: Re: bitcoin apps debian/ubuntu packages ...
Post by: adv on January 05, 2011, 09:53:47 AM
Created new packages:
http://home.agalakov.spb.ru/Shared/Deb/btc-cpuminer_0.3.3-2_amd64.deb
http://home.agalakov.spb.ru/Shared/Deb/btc-cpuminer_0.3.3-2_i386.deb
http://home.agalakov.spb.ru/Shared/Deb/btc-cpuminer_0.5-1_amd64.deb
http://home.agalakov.spb.ru/Shared/Deb/btc-cpuminer_0.5-1_i386.deb

Package and binary renamed from original Tuxsoul's "bitcoin-cpuminer" in "btc-cpuminer" to avoid conflicts when install both versions.
Compilation with -O3.
Please test and send here the bugs and suggestions.
  ...and of course donations too! :^)


Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: tuxsoul on January 07, 2011, 09:23:49 AM
Hi sorry, christmas and new year gave me few time to work.

"Squeeze" and "sid" is not created yet? Repos for arch amd64? Its planned?

At this moment, i can compile only to "squeeze". I try using cross compile to get amd64 packages, but don't work, i need one computer  where i can run for amd64 apps, i'm working to buy one.

I think is a good idea -- add symlinks "stable" to "lenny" tree, and "testing->squeeze", "unstable->sid". Its useful sometime. But remember: that symlinks must be renewed when Debian change releases.

I think this is fixed.

And when refresh keys on "gpg: requesting key 287111EE from hkp server keys.gnupg.net" i sometime get key-server error.

I do not know "gnupg.net", but in the last week sent my gpg key, i hope the error does not happen again.


Title: Re: bitcoin apps debian/ubuntu packages ...
Post by: tuxsoul on January 07, 2011, 09:30:35 AM
I think short-description already good, only dont need "This is" in begining: "Multi-threaded CPU miner for bitcoin".

For long description may be some like this:
...
This compiled from bitcoin.org site and bitcoin-cpuminer man.

P.S.
Yes, my English is terrible and i use google translate to fight it! :^)

Thanks @adv.


Title: Re: bitcoin apps debian/ubuntu packages ...
Post by: tuxsoul on January 07, 2011, 09:33:31 AM
I created a binary amd64 package from Tuxsoul's source-deb.
...
It's just a first test attempt.

Great, i can't test it, but you can run "lintian" to check your package.


Title: Re: bitcoin apps debian/ubuntu packages ...
Post by: tuxsoul on January 07, 2011, 09:37:45 AM
At the moment this deb - dirty hack: I copied the "debian" directory from the previous release. The building process needs to be automated.

In the last packages, i added a "watch" file, you can test it with "uscan", to get more quickly updates.

"watch" file:
https://github.com/tuxsoul/bitcoin-cpuminer/blob/debian/debian/watch


Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: tuxsoul on January 07, 2011, 09:54:21 AM
What is new ?

In this days, i have worked to package bitcoin, i know about the oficial package.

I have updated the first post in this thread, where can find, more info about the packages i'm creating.

For example, in the bitcoin (not oficial) package, i include some files: bitcoin.conf (example file), manpage for bitcoind and bitcoin.conf, and for last the white paper of bitcoin.

manpages (to build please use a2x command):
https://github.com/tuxsoul/bitcoin/tree/debian/debian/manpages

examples:
https://github.com/tuxsoul/bitcoin/tree/debian/debian/examples

white paper:
https://github.com/tuxsoul/bitcoin/tree/debian/debian/bitcoin.pdf

At this moment i'm working to can compile packages for amd64 and packages updates more quickly.

Sorry my english is bad :).
Greetings.


Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: Gavin Andresen on January 07, 2011, 05:23:14 PM
Great!  I'd like to see this good work make it back into mainline bitcoin; please talk with the other improve-the-build-process efforts and submit some patches.


Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: srf21c on January 08, 2011, 06:49:22 AM
Just installed added the launchpad repository to my 10.10 Ubuntu Maverick install and had the bitcoin-minerd package installed and generating in under 10 minutes.

Thanks for putting this together tuxsoul, you're making it much easier for people to get involved with bitcoin.


Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: adv on January 09, 2011, 06:53:26 AM
You did a great job and going to do even more! :^)

I try using cross compile to get amd64 packages, but don't work, i need one computer  where i can run for amd64 apps, i'm working to buy one.
AFAIK there is currently no way to create a amd64 package on i386 architecture.
If you have serious problems with the amd64 machine, maybe I can do ssh-access to the one for you. But this possibly not be soon.

I think is a good idea -- add symlinks "stable" to "lenny" tree, and "testing->squeeze", "unstable->sid". Its useful sometime. But remember: that symlinks must be renewed when Debian change releases.
I think this is fixed.
Hmm, i keep getting errors:
Code:
$ sudo LC_ALL=C aptitude update | grep -A1 "^Err .*tuxsoul"
Err http://deb.tuxsoul.com testing/main Sources
  404  Not Found [IP: 199.27.134.100 80]
Err http://deb.tuxsoul.com testing/contrib Sources
  404  Not Found [IP: 199.27.134.100 80]
Err http://deb.tuxsoul.com testing/non-free Sources
  404  Not Found [IP: 199.27.134.100 80]
Err http://deb.tuxsoul.com testing/main i386 Packages
  404  Not Found [IP: 199.27.134.100 80]
Err http://deb.tuxsoul.com testing/contrib i386 Packages
  404  Not Found [IP: 199.27.134.100 80]
Err http://deb.tuxsoul.com testing/non-free i386 Packages
  404  Not Found [IP: 199.27.134.100 80]
Err http://deb.tuxsoul.com unstable/main Sources
  404  Not Found [IP: 199.27.134.100 80]
Err http://deb.tuxsoul.com unstable/contrib Sources
  404  Not Found [IP: 199.27.134.100 80]
Err http://deb.tuxsoul.com unstable/non-free Sources
  404  Not Found [IP: 199.27.134.100 80]
Err http://deb.tuxsoul.com unstable/main i386 Packages
  404  Not Found [IP: 199.27.134.100 80]
Err http://deb.tuxsoul.com unstable/contrib i386 Packages
  404  Not Found [IP: 199.27.134.100 80]
Err http://deb.tuxsoul.com unstable/non-free i386 Packages
  404  Not Found [IP: 199.27.134.100 80]
Err http://deb.tuxsoul.com stable/main Sources
  404  Not Found [IP: 199.27.134.100 80]
Err http://deb.tuxsoul.com stable/contrib Sources
  404  Not Found [IP: 199.27.134.100 80]
Err http://deb.tuxsoul.com stable/non-free Sources
  404  Not Found [IP: 199.27.134.100 80]
Err http://deb.tuxsoul.com stable/main i386 Packages
  404  Not Found [IP: 199.27.134.100 80]
Err http://deb.tuxsoul.com stable/contrib i386 Packages
  404  Not Found [IP: 199.27.134.100 80]
Err http://deb.tuxsoul.com stable/non-free i386 Packages
  404  Not Found [IP: 199.27.134.100 80]
My sources:
Code:
$ cat /etc/apt/sources.list.d/bitcoin.list
deb http://deb.tuxsoul.com stable main contrib non-free
deb-src http://deb.tuxsoul.com stable main contrib non-free
deb http://deb.tuxsoul.com testing main contrib non-free
deb-src http://deb.tuxsoul.com testing main contrib non-free
deb http://deb.tuxsoul.com unstable main contrib non-free
deb-src http://deb.tuxsoul.com unstable main contrib non-free

deb http://deb.tuxsoul.com etch main contrib non-free
deb-src http://deb.tuxsoul.com etch main contrib non-free
deb http://deb.tuxsoul.com etch-backports main contrib non-free
deb-src http://deb.tuxsoul.com etch-backports main contrib non-free
deb http://deb.tuxsoul.com lenny main contrib non-free
deb-src http://deb.tuxsoul.com lenny main contrib non-free
deb http://deb.tuxsoul.com lenny-backports main contrib non-free
deb-src http://deb.tuxsoul.com lenny-backports main contrib non-free
deb http://deb.tuxsoul.com squeeze main contrib non-free
deb-src http://deb.tuxsoul.com squeeze main contrib non-free
(I know this list excessive.)

In the last packages, i added a "watch" file, you can test it with "uscan", to get more quickly updates.
Excellent!

For example, in the bitcoin (not oficial) package, i include some files: bitcoin.conf (example file), manpage for bitcoind and bitcoin.conf, and for last the white paper of bitcoin.
Jonas Smedegaard <dr@jones.dk> maintainer of official debian package built bitcoin-cli, which does the same thing as your bitcoin-daemon. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=578157#77 He is currently exploring the possibility of assembling a package libdb4.8++ (See also topic http://bitcointalk.org/index.php?topic=2667.0). In his package no mans no examples, so I think you should contact Jonas Smedegaard and to merge in order to prevent the execution of double work.
I use this lines for his repo:
Code:
deb http://debian.jones.dk/ testing freedombox
deb-src http://debian.jones.dk/ testing freedombox
deb http://debian.jones.dk/ unstable freedombox
deb-src http://debian.jones.dk/ unstable freedombox

I read your man pages and have some thoughts:
In bitcoind.1.gz section EXAMPLE:
Code:
 Now run:

               $ ./bitcoind
               bitcoin server starting
               $ ./bitcoind help

       A list of RPC calls will be shown:

               $ ./bitcoind getbalance
               2000.00000
I think you want to remove. "./" at the beginning of commands, as they run from /usr/bin. ("$ ./bitcoind" --> "$ bitcoind").

In COMMAND sections need add brackets to some parameters. Like: "backupwallet destination" --> "backupwallet <destination>" and "getbalance account" --> "getbalance [account]".
Also:
"getbalance" have optional parameter "[minconf=1]";
"setgenerate" lost "<generate>" parameter description. Like: "<generate> is true or false to turn generation on or off";

In bitcoin.conf.5.gz i think better move sections HISTORY and RESOURCES to bitcoind.1.gz and leave only "SEE ALSO bitcoind(1)".


Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: hacim on January 13, 2011, 10:34:33 PM
Have you considered working on the official debian package? Its maintained in the collab-maint project (http://wiki.debian.org/CollaborativeMaintenance) which would make it easy for you to participate and put your improvements in those packages, and get a much wider audience!


Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: hacim on January 17, 2011, 05:09:48 AM
In the last packages, i added a "watch" file, you can test it with "uscan", to get more quickly updates.
hmm, except the watch file is just watching the github repository, it should be watching sourceforge

Jonas Smedegaard <dr@jones.dk> maintainer of official debian package built bitcoin-cli, which does the same thing as your bitcoin-daemon. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=578157#77 He is currently exploring the possibility of assembling a package libdb4.8++ (See also topic http://bitcointalk.org/index.php?topic=2667.0). In his package no mans no examples, so I think you should contact Jonas Smedegaard and to merge in order to prevent the execution of double work.

I just committed examples and man pages to the debian package. Writing man pages is super boring!

I agree that working together makes sense!

donation address: 16bX3ZMwsuvcfzzuQ4WV4vriGKPFGZsTqC


Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: bitcoinex on January 17, 2011, 05:41:19 PM
I am added to source.list texsoul.com repo:

$ cat /etc/apt/sources.list.d/bitcoin.list
deb http://deb.tuxsoul.com lenny main contrib non-free
deb-src http://deb.tuxsoul.com lenny main contrib non-free

# aptitude update

but if I trying to search bitcoin I see only one package:

# apt-cache search bitcoin
bitcoin-cpuminer - Multi-threaded CPU miner for bitcoin

What I do wrong?


Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: tuxsoul on January 17, 2011, 07:49:23 PM
Just installed added the launchpad repository to my 10.10 Ubuntu Maverick install and had the bitcoin-minerd package installed and generating in under 10 minutes.

Thanks for putting this together tuxsoul, you're making it much easier for people to get involved with bitcoin.

That is great, if something is wrong in my repository or debian/ubuntu packaging please tell me.  ;D


Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: tuxsoul on January 17, 2011, 08:18:06 PM
AFAIK there is currently no way to create a amd64 package on i386 architecture.

Gcc can do it, but don't work for me  :)

Hmm, i keep getting errors:
....

Something weird, i think this is fixed can you please test again  ;)

Jonas Smedegaard <dr@jones.dk> maintainer of official debian package built bitcoin-cli, which does the same thing as your bitcoin-daemon. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=578157#77 He is currently exploring the possibility of assembling a package libdb4.8++ (See also topic http://bitcointalk.org/index.php?topic=2667.0). In his package no mans no examples, so I think you should contact Jonas Smedegaard and to merge in order to prevent the execution of double work.

Thanks, but my package is one alternative to debian package, this is my TODO to bitcoind:

  • Add init script
  • use "/var" to save wallet file how root (optional)
  • use "/var/log" to save debug.log file (optional)

If someone have ideas or suggestions, please tell me.
In this moment lenny-backport (bitcoind) use "libdb4.8".

I read your man pages and have some thoughts:
...

Thanks. i will commit your suggestions in the git repository  :D


Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: tuxsoul on January 17, 2011, 08:31:27 PM
hmm, except the watch file is just watching the github repository, it should be watching sourceforge

Sorry for that, i can't use sourceforge why my sources tree files are different, i will like use the gavinandresen github repository, but that repository don't have tags, uscan need use tags from git repository to know last version of source code.

If you can test change the watch file to sourceforge, and force "uscan" to update the source file, please tell me what happen ;).


Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: tuxsoul on January 17, 2011, 08:35:47 PM
I am added to source.list tuxsoul.com repo:
...
What I do wrong?

Hi,

for lenny you need use backports, ex:

Code:
deb http://deb.tuxsoul.com lenny-backports main contrib non-free
deb-src http://deb.tuxsoul.com lenny-backports main contrib non-free

and append (debian backports (http://backports.debian.org/Instructions/)):

Code:
deb http://backports.debian.org/debian-backports lenny-backports main

Only to bitcoind  ;)



Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: bitcoinex on January 17, 2011, 08:51:07 PM
I am added to source.list tuxsoul.com repo:
...
What I do wrong?

Hi,

for lenny you need use backports, ex:

Code:
deb http://deb.tuxsoul.com lenny-backports main contrib non-free
deb-src http://deb.tuxsoul.com lenny-backports main contrib non-free

and append (debian backports (http://backports.debian.org/Instructions/)):

Code:
deb http://backports.debian.org/debian-backports lenny-backports main

Only to bitcoind  ;)


Ok, thanx!

Offtopic: But why searching on lenny does not shows any bitcoin* packages excluding bitcoin-cpuminer?


Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: tuxsoul on January 17, 2011, 09:13:19 PM
Offtopic: But why searching on lenny does not shows any bitcoin* packages excluding bitcoin-cpuminer?

For lenny in this moment only is possible compile bitcoin-cpuminer, to compile bitcoind is necesary new packages (backports), and for last only  i have two packages in this moment, others bitcoin apps debian packages are in debianize process ...

For example, one friend gift me SAPPHIRE X1550 ATI card, maybe i can use that card for test and packaging gpu miners, but, my pc don't have pci-e, i need work to change my pc  ;D.

Any feedback or comment are welcome ...


Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: adv on January 29, 2011, 01:05:20 PM
cpuminer version 0.6 released (http://bitcointalk.org/index.php?topic=1925.msg42319#msg42319)
And we have btc-cpuminer debs for i386 and amd64. Welcome test.

UPD:
Once a long time no news from Tuxsoul, I'll add a link to my repository in this thread:
Quote
Debian repository use unstructions: http://home.agalakov.spb.ru/debian/use_this_repo.txt
Browesable debian repository: http://home.agalakov.spb.ru/debian/
Quick add repo:
Code:
deb http://home.agalakov.spb.ru/debian unstable main contrib non-free
deb-src http://home.agalakov.spb.ru/debian unstable main contrib non-free


Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: adv on February 05, 2011, 02:13:45 PM
0.6.1 (http://bitcointalk.org/index.php?topic=1925.msg44525#msg44525) done.


Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: adv on February 13, 2011, 05:16:02 AM
0.7 released, update recommend: http://bitcointalk.org/index.php?topic=1925.msg48029#msg48029
Welcome getting debs. :^)


Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: adv on February 13, 2011, 08:48:50 AM
I debianize bc_key program (Hal version) (http://bitcointalk.org/index.php?topic=3290.msg46291#msg46291), that  print interesting information about transactions found in the wallet file.

Package named bc-key, aviable for i386 and amd64. Placed in same repo: http://home.agalakov.spb.ru/debian


Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: tuxsoul on February 14, 2011, 03:38:59 AM
cpuminer version 0.6 released (http://bitcointalk.org/index.php?topic=1925.msg42319#msg42319)
And we have btc-cpuminer debs for i386 and amd64. Welcome test.

Good work @adv


Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: tuxsoul on February 14, 2011, 03:46:11 AM
Hi,

I glad to say, bitcoin-cpuminer 0.7 (by @jgarzik) is ready for debian and ubuntu.

Quote
ubuntu: lucid, maverick, natty. (i386 and amd64)
debian: etch, lenny, squeeze, wheezy, sid. (only i386)

If you are using my repository only use synaptic, apt-get, or aptitude to update  ;).

Greeting's.


Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: adv on March 04, 2011, 11:00:39 AM
0.7.1 (http://bitcointalk.org/index.php?topic=1925.msg58688#msg58688) done.


Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: adv on March 08, 2011, 04:55:54 AM
Now 0.7.1 is also available for SPARC architectures (sparc64).

It's more of a test assembly, as on Sun Enterprise 250 (2 * 400MHz) I managed to achieve maximum performance: ~87Khps with "--algo c" and ~81Kps with "--algo cryptopp". Algorithms foк via, 4waySSE2 and cryptopp_asm32 on this architecture is not available. :^(


Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: adv on March 15, 2011, 11:08:36 PM
0.7.2 (http://bitcointalk.org/index.php?topic=1925.msg65616#msg65616) done.
Archs: i386, amd64, sparc.
Sad, but new "algo sse2_64" feature is not available, because all Debian distribution have yasm version 0.8.0, and the code needed to build >=1.0.1.


Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: adv on March 21, 2011, 04:25:09 PM
0.8 (http://bitcointalk.org/index.php?topic=1925.msg68934#msg68934) done.
Archs: i386, amd64, sparc.
Same problem with "algo sse2_64".


Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: RodeoX on March 24, 2011, 06:53:57 PM
Thanks for this tuxsoul! I'm adding you to my cool book.


Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: adv on April 01, 2011, 02:29:05 AM
0.8.1 (http://bitcointalk.org/index.php?topic=1925.msg69822#msg69822) done.
sse2_64 algorithm now is available for amd64 architecture.


Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: walidzohair on May 10, 2011, 11:40:12 AM
hi,

i like bitcoin, but i don't like install apps using "make install" in my debian box, in the last weeks, i worked to create debian/ubuntu packages, for easy install and fast update (maybe).

packages:

  • bitcoin-daemon
             
    • web: http://www.bitcoin.org
    • git: https://github.com/tuxsoul/bitcoin
    • debian: lenny-backports, squeeze :: (only i386)
    • ubuntu: lucid, maverick :: (amd64, i386)
    • status: ready for test
    • binary: bitcoind
    • manpage: yes (bitcoind, bitcoin.conf), you can build using "a2x"
    • need:
      • better short and full description
      • check manpage (bitcoind and bitcoin.conf)
    • missing: bitcoin gui, only is the daemon
    • include: bitcoin white paper, example bitcoin.conf file

  • bitcoin-cpuminer
             
    • web: http://bitcointalk.org/index.php?topic=1925.0
    • git: https://github.com/tuxsoul/bitcoin-cpuminer
    • debian: etch, lenny, squeeze, wheezy, sid :: i386 (only)
    • ubuntu: lucid, maverick, natty :: (amd64, i386)
    • status: ready for test
    • binary: minerd
    • manpage: yes, i create this using txt2man
    • need:
      • need better manpage
      • need check (build-depends and depends)
      • need better short description (less 60 chars) - fix, thanks @adv
      • need better full description - fix, thanks @adv
    • missing: none
    • include: none

  • bitcoin-poclm
             
    • web: http://bitcointalk.org/index.php?topic=1334.0
    • git: https://github.com/tuxsoul/bitcoin-poclm
    • debian: none
    • ubuntu: none
    • status: in process ...
    • binary: none
    • manpage: none
    • need: none
    • missing: none
    • include: none

  • bitcoinr-miner
             
    • web: http://bitcointalk.org/index.php?topic=2444.0
    • git: https://github.com/tuxsoul/bitcoinr-miner
    • debian: none
    • ubuntu: none
    • status: in process ...
    • binary: none
    • manpage: none
    • need: none
    • missing: none
    • include: none

  • bitcoin-tools
             
    • web: unknow
    • git: https://github.com/tuxsoul/bitcoin-tools
    • debian: none
    • ubuntu: none
    • status: in process ...
    • binary: none
    • manpage: none
    • need: none
    • missing: none
    • include: none

repository's:

For ubuntu, you can test using my launchpad repository here:
https://launchpad.net/~tuxsoul/+archive/ppa

For debian, only have my own repository (but i need update and fix some errors)

  • Home: http://deb.tuxsoul.com
  • Packages List: http://deb.tuxsoul.com/paquetes.html

example source.list:
Code:
deb http://deb.tuxsoul.com distro main contrib non-free
deb-src http://deb.tuxsoul.com distro main contrib non-free

example backport source.list:
Code:
deb http://deb.tuxsoul.com distro-backports main contrib non-free
deb-src http://deb.tuxsoul.com distro-backports main contrib non-free

*for debian backports, you need add the oficial debian backports repository, please visit:
http://backports.debian.org/Instructions/

where distro is: etch, lenny and squezee (coming soon).

TODO:

  • create packages [ubuntu (lucid, maverick), debian]
  • create git repositorys (http://github.com/tuxsoul)
  • create debian amd64 packages


You can:

  • test the packages
  • submit your feedbacks
  • spread the voice
  • tell me what other app do you like to package

Support:

  • Youtipit: http://www.youtipit.org/en/tip?junketId=J2617-2 (http://www.youtipit.org/en/tip?junketId=J2617-2)
  • Flattr: http://flattr.com/thing/126829/not-oficial-bitcoin-apps-debianubuntu-packages (http://flattr.com/thing/126829/not-oficial-bitcoin-apps-debianubuntu-packages)

i'm a newbie, but, i like learn  ;)
sorry my english is bad  :(.

saludos.

anyway to support sse2 on ubuntu ?


Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: stephane-klein on May 10, 2011, 01:08:03 PM
Hi,

I wonder if there are some bitcoind 0.3.21 Debian Lenny package for Arm arch ?

I've a sheevaplug.

This is my CPU information :

Code:
Processor	: Feroceon 88FR131 rev 1 (v5l)
BogoMIPS : 1192.75
Features : swp half thumb fastmult edsp
CPU implementer : 0x56
CPU architecture: 5TE
CPU variant : 0x2
CPU part : 0x131
CPU revision : 1

Hardware : Marvell SheevaPlug Reference Board
Revision : 0000
Serial : 0000000000000000

Thanks for your help.
Regards,
Stephane


Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: tuxsoul on May 11, 2011, 02:09:14 AM
anyway to support sse2 on ubuntu ?

Hi @walidzohair, all packages of bitcoin-cpuminer have 4way SSE2 enable, if you search the last SSE2_64 code from ufasoft enable in bitcoin-cpuminer, only you can find it in ubuntu maverick, natty and oneiric, only in that code names is possible get yasm 1.1.0 to compile SSE2_64.

Greeting's.  ;D


Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: tuxsoul on May 11, 2011, 02:25:01 AM
Hi, I wonder if there are some bitcoind 0.3.21 Debian Lenny package for Arm arch ?

Hi @stephane-klein sorry i don't have access to any arm arch  :(, but you can try compile bitcoind.

First you can try using git-clone to get the oficial bitcoin in debian:
http://git.debian.org/?p=collab-maint/bitcoin.git;a=summary

or you can clone my no oficial code:
https://github.com/tuxsoul/bitcoin

after only do: debuild or git-buildpackage

If that work for you, you need wait or send a msg to the debian maintainer to update the code to 0.3.21, if work with my repository code, only need wait two days more o less to get the last code ;).

Any feedback to my repository you can write here.
Greeting's.


Title: Re: not oficial bitcoin apps debian/ubuntu packages ...
Post by: tuxsoul on May 11, 2011, 03:15:58 AM
Hi, sorry for the delay, i'm working in many things  ;D.

bitcoin-cpuminer
* You can find the version 0.8.1 in ubuntu and debian, only in ubuntu (maverick, natty, oneiric) have SSE2_64 enable.
* If not exist any issue in the last version 1.0, i will create a package in a couple days.
* If possible this package get in the next ubuntu release, please check: https://bugs.launchpad.net/ubuntu/+bug/780258, give you comment's or any feedback.
* @jgarzik: In ubuntu revu get this comment
Quote
I’m not sure about the binary name "minerd". It sounds too generic, not specific to BitCoin. Could it be renamed?
what you think ?

others
* I can't create a package for gpu miners, why i don't have access to one gpu card, the one card i have don't have any support (cuda, opencl).

bitcoind
* The next not oficial package have miniupnpc disable, if you use this feature tell me.

I'm working to package pushpool from @jgarzik
http://bitcointalk.org/index.php?topic=3493.0

* if somebody know how compile it in ubuntu or debian, please comment here.
* can you suggest one short description.
* can you suggest one full description.

For last, don't hesitate in support, give your feedback or send some bitcoins  :P
Greeting's.