mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Software (https://www.mersenneforum.org/forumdisplay.php?f=10)
-   -   PrimeNet as a FreeBSD "port" (https://www.mersenneforum.org/showthread.php?t=176)

lapo 2002-10-23 10:23

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).

QuintLeo 2002-10-23 20:59

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?

lapo 2002-10-23 21:57

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).

gowen72 2002-10-23 23:03

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.

ET_ 2002-10-24 06:21

[quote="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.[/quote]

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

lapo 2002-10-24 16:42

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).

Prime95 2002-10-28 01:56

FreeBSD port of 22.10 is now available

lapo 2002-10-28 12:24

What about having it in the "ports"?

e.g. http://www.sm.freebsd.org/cgi/cvsweb.cgi/ports/misc/dnetc/

lapo 2003-02-02 22:24

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? :question:

ebx 2003-02-04 01:09

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.


All times are UTC. The time now is 14:41.

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