Pages:
Author

Topic: not oficial bitcoin apps debian/ubuntu packages ... - page 2. (Read 28320 times)

newbie
Activity: 40
Merit: 0
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 Wink.
newbie
Activity: 40
Merit: 0
AFAIK there is currently no way to create a amd64 package on i386 architecture.

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

Hmm, i keep getting errors:
....

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

Jonas Smedegaard <[email protected]> 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 https://bitcointalksearch.org/topic/needed-calling-db48-testers-2667). 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  Cheesy
newbie
Activity: 40
Merit: 0
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.  Grin
sr. member
Activity: 350
Merit: 252
probiwon.com
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?
member
Activity: 64
Merit: 10
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 <[email protected]> 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 https://bitcointalksearch.org/topic/needed-calling-db48-testers-2667). 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
member
Activity: 64
Merit: 10
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!
adv
full member
Activity: 168
Merit: 100
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 <[email protected]> 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 https://bitcointalksearch.org/topic/needed-calling-db48-testers-2667). 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 " and "getbalance account" --> "getbalance [account]".
Also:
"getbalance" have optional parameter "[minconf=1]";
"setgenerate" lost "" parameter description. Like: " 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)".
newbie
Activity: 14
Merit: 0
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.
legendary
Activity: 1652
Merit: 2301
Chief Scientist
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.
newbie
Activity: 40
Merit: 0
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 Smiley.
Greetings.
newbie
Activity: 40
Merit: 0
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
newbie
Activity: 40
Merit: 0
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.
newbie
Activity: 40
Merit: 0
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.
newbie
Activity: 40
Merit: 0
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.
adv
full member
Activity: 168
Merit: 100
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! :^)
adv
full member
Activity: 168
Merit: 100
yesterday, I also created two .deb packages of Bitcoin 0.3.19 (i386 | amd64)
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. :^)
adv
full member
Activity: 168
Merit: 100
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.
adv
full member
Activity: 168
Merit: 100
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.
adv
full member
Activity: 168
Merit: 100
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! :^)
adv
full member
Activity: 168
Merit: 100
Thank's @adv, can you test again ?, i think this is fixed Smiley.
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. :^)
Pages:
Jump to: