mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2002-10-23, 10:23   #1
lapo
 
Oct 2002

5 Posts
Default PrimeNet as a FreeBSD "port"

Would be great to have the client software available in /usr/ports just like dnetc and others.. much easier to install.
For people that doesn't know freebsd "ports" they're a collection of Makefiles that do fetching, configuring, compiling and installing of software (and all of this with a simple "make install clean" in the correct subdirectory).

It's quite easy to put a software in the "ports collection" (I could help if needed).
lapo is offline   Reply With Quote
Old 2002-10-23, 20:59   #2
QuintLeo
 
QuintLeo's Avatar
 
Oct 2002
Lost in the hills of Iowa

26·7 Posts
Default

Odd, I always ran my LINUX RC5/OGR cracker boxen with the client in /rc5 or /dnetc.

I don't understand the relevence of this /usr/ports question?
QuintLeo is offline   Reply With Quote
Old 2002-10-23, 21:57   #3
lapo
 
Oct 2002

5 Posts
Default

It has nothing to do with the install point, as I said in the forst message "ports" are a method to port software on the FreeBSD architecture needing no binary precompiled distributions (more or less, much more actually).
lapo is offline   Reply With Quote
Old 2002-10-23, 23:03   #4
gowen72
 
Aug 2002

72 Posts
Default

The only problem with doing this is that you would have to distribute the security.c and security.h files. Which would leave PrimeNet open to attack, ie you could fool the server into saying you've completed a test when you haven't.
gowen72 is offline   Reply With Quote
Old 2002-10-24, 06:21   #5
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

2·2,417 Posts
Default

Quote:
Originally Posted by gowen72
The only problem with doing this is that you would have to distribute the security.c and security.h files. Which would leave PrimeNet open to attack, ie you could fool the server into saying you've completed a test when you haven't.
When I worked on programming, there were nice object modules that you could link to your executable, acting like a black box in hiding library calls.
Maybe something has changed since then, so I naively ask: wouldn't it be possible to link a (say) "security.o" to the project?

Luigi
ET_ is offline   Reply With Quote
Old 2002-10-24, 16:42   #6
lapo
 
Oct 2002

5 Posts
Default

Of course.
Ther Makefile can download sources + patches (if needed) and, why not, even a .o... of course you need to create it each time if it changes (but I doubt it).
lapo is offline   Reply With Quote
Old 2002-10-28, 01:56   #7
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

769110 Posts
Default

FreeBSD port of 22.10 is now available
Prime95 is offline   Reply With Quote
Old 2002-10-28, 12:24   #8
lapo
 
Oct 2002

516 Posts
Default

What about having it in the "ports"?

e.g. http://www.sm.freebsd.org/cgi/cvsweb.cgi/ports/misc/dnetc/
lapo is offline   Reply With Quote
Old 2003-02-02, 22:24   #9
lapo
 
Oct 2002

5 Posts
Default

Hey.. I'm still interested in this...
if it's not possible to do a "clean" port using sources (or "most of them") I guess I'll have to prepaer a port using the pre-compiled binaries?
lapo is offline   Reply With Quote
Old 2003-02-04, 01:09   #10
ebx
 
ebx's Avatar
 
Aug 2002

101 Posts
Default

It is not hard to make the port giving that the source is 'mostly' available. I guess what George meant was a freebsd version of prime95.

FreeBSD 'port' defines a clean way of porting applications to FreeBSD. (Similar to source rpm in linux. Binary rpm is called package by FreeBSD which are pre-build ports). Basically, patch and file list and ftp sites and dependencies etc. are included in a port. A simple make install will get you going. By having the file list, it is easy to remove a prot. Upgrade later is easy too.

Some ports are completely binary only. The port only does some configuration job. A good example is netscape - the source was never made available.
ebx is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Patch] "Test/Primenet" prompts improvements on console version Explorer09 Software 2 2017-03-09 04:14
mprime ETA and primenet "days to go" do not match blip Software 1 2015-11-20 16:43
Primenet doesn't believe that "I fixed the hardware..." Syntony PrimeNet 6 2014-10-23 00:23
FreeBSD port - version 25.10 Prime95 Software 4 2009-05-27 19:25
Primenet individual account report "current iteration" Peter Nelson PrimeNet 7 2005-02-15 00:12

All times are UTC. The time now is 05:09.


Thu Dec 9 05:09:52 UTC 2021 up 138 days, 23:38, 0 users, load averages: 1.34, 1.72, 1.69

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.