Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340953 - linux-pcnfsd2-1.6.640.1.ebuild (New Package)
Summary: linux-pcnfsd2-1.6.640.1.ebuild (New Package)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-14 11:07 UTC by Konstantin Münning
Modified: 2018-05-28 08:26 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
linux-pcnfsd2-1.6.640.1.ebuild (linux-pcnfsd2-1.6.640.1.ebuild,926 bytes, text/plain)
2010-10-14 11:08 UTC, Konstantin Münning
Details
init script (pcnfsd2.init.d,425 bytes, text/plain)
2010-10-14 11:10 UTC, Konstantin Münning
Details
Ebuild for new version found in OpenSuSE 11.4 (linux-pcnfsd2-1.6.643.1.ebuild,926 bytes, text/plain)
2011-07-08 08:01 UTC, Konstantin Münning
Details
linux-pcnfsd2-1.6.643.1.ebuild (linux-pcnfsd2-1.6.643.1.ebuild,926 bytes, text/plain)
2011-07-08 08:03 UTC, Konstantin Münning
Details
Patch for linux-pcnfsd2-1.6.643.1.ebuild adding support for building with libtirpc (linux-pcnfsd2-ebuild.patch,1.21 KB, patch)
2018-05-28 08:26 UTC, Mads
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Münning 2010-10-14 11:07:46 UTC
Hi!

Please find attached linux-pcnfsd2-1.6.640.1.ebuild. It is Sun's PC-NFS implememntation being around quite a while. It's included in SuSE linux but not yet in Gentoo. It is not widely used but important for some server implementations. I have tested it on x86 and amd64 and ist the latest version I could find.

I would suggest to put it in net-fs.

Konstantin
Comment 1 Konstantin Münning 2010-10-14 11:08:57 UTC
Created attachment 250551 [details]
linux-pcnfsd2-1.6.640.1.ebuild
Comment 2 Konstantin Münning 2010-10-14 11:10:28 UTC
Created attachment 250553 [details]
init script

Init script to be placed into files directory
Comment 3 Konstantin Münning 2011-07-08 08:01:43 UTC
Created attachment 279407 [details]
Ebuild for new version found in OpenSuSE 11.4
Comment 4 Konstantin Münning 2011-07-08 08:03:27 UTC
Created attachment 279409 [details]
linux-pcnfsd2-1.6.643.1.ebuild

Ebuild for new version found in OpenSuSE 11.4
Comment 5 Sergey S. Starikoff 2012-05-11 08:26:12 UTC
Why not to use the upstream?
The package is long ago (more than 10 years) not developed.

pcnfsd.93.02.16.tar.Z

http://www.lprng.com/DISTRIB/UNIXTOOLS/PCNFSD/
http://www.tux.org/pub/net/lprng/TOOLS/PCNFSD/

To my mind 'linux-' prefix in package name isn't needed.
My skills of source reading showed no built system used.
I think, Gentoo customization of Makefile is to be written.

init script should be 'tcpd' use flag depending (and switched off by default, to my mind the daemon should be started not directly but via xinetd).

And the most interesting question is about necessity of this daemon on server side for built-in NFS-client implementation in Windows 7?
Comment 6 Konstantin Münning 2015-03-27 20:45:35 UTC
(In reply to Sergey S. Starikoff from comment #5)
> Why not to use the upstream?
> The package is long ago (more than 10 years) not developed.

Exactly therefore the SuSE linux package is used. There it is maintained a little longer :-).

> 
> pcnfsd.93.02.16.tar.Z
> 
> http://www.lprng.com/DISTRIB/UNIXTOOLS/PCNFSD/
> http://www.tux.org/pub/net/lprng/TOOLS/PCNFSD/

This is the old unmaintained version which does not compile on Linux. The SuSE version provides a diff file and an adapted makefile. To use original version these files would need to be copied into portage tree.

> To my mind 'linux-' prefix in package name isn't needed.

Well, this was a SuSE choice but as it is the linux adapted version (not sunos | sunos.403c | svr4 | bsd | ultrix.4x which are supported originally) the prefix appears reasonable.

> My skills of source reading showed no built system used.
> I think, Gentoo customization of Makefile is to be written.

As said, the customized Makefile is included in SuSE source.

> init script should be 'tcpd' use flag depending (and switched off by
> default, to my mind the daemon should be started not directly but via
> xinetd).

An init script is provided by me. Starting it by xinetd is not the intended way of operation so far I know. I run it as a deamon and this is fine.

> And the most interesting question is about necessity of this daemon on
> server side for built-in NFS-client implementation in Windows 7?

I don't know what Windows 7 needs but PCNFS is used by some DOS client software like Novell LAN Workplace.

As there are not much users of PCNFS it may not be considered worthy to get included in portage but if it is, I am willing to be the proxy maintainer.

By the way, it works also on 64 bit and requires NFS V2 support by the server.
Comment 7 Mads 2018-05-28 08:26:27 UTC
Created attachment 533628 [details, diff]
Patch for linux-pcnfsd2-1.6.643.1.ebuild adding support for building with libtirpc

Run patch in dir with ebuild from Konstantin.

Adds files/build-with-libtirpc.patch and adds a epatch line in the ebuild.

Quick and dirty fix for building linux-pcnfsd2 with libtirpc, since the rpc headers are not included in glibc anymore[1]

[1]: https://wiki.gentoo.org/wiki/Glibc_2.26_porting_notes/RPC_implementation