🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #10991

NN 6.7.3 Updates (Hostname problem fixed)

#10991
From: Aaron W. Hsu
Date: Wed, 11 Nov 2009 22:13
35 lines
2930 bytes
Hello everyone!

A while back I brought NN back into the realm of the working in
Slackware, but I never fixed the hostname issue on Slackware. Additional
problems also remained in the package until now. :-)

I've taken a moment and fixed some problems in the NN package for 
Slackware. The hostname.c fix should also be sent upstream, but since 
upstream isn't very responsive on this issue, I've decided to make this 
available to the public through the appropriate newsgroups.

	<gopher://gopher.sacrideo.us/9nn/nn_slack.tar.xz>
	
You will find the above package contains the updated SlackBuild, 
and also has the hostname.c diff in nn.diff.gz, for those who 
wish to apply it to a generic and vanilla installation. 

The following issues have been resolved:

	1) NN now grabs the hostname from /etc/HOSTNAME.
	    This fixes an issue where nn would quite because
	    gethostname(3) would not return the FQDN.
	2) NN is set to use gpg for signing now instead of pgp.
	3) The appropriate machine headers are included for i386 and
	x86_64 now. 
	    Previously they included m-sparc.h. Now, i386 gets the right
	    one, and a new m-x86_64.h file has been added that sets the
	    right sizes.
	4) hostname.c did not include "global.h" correctly, meaning that
	    compiling with HOSTNAME_FILE support instead of
	    gethostname() would fail. This has been fixed.

Hope you like it! Let me know what you think.

	Aaron W. Hsu
Technical Details
Message-ID: <bLydnWDAAoOBqmbXnZ2dnUVZ_j-dnZ2d@giganews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.20140326.mbox.gz!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!proxad.net!feeder2-2.proxad.net!nx02.iad01.newshosting.com!newshosting.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <bLydnWDAAoOBqmbXnZ2dnUVZ_j-dnZ2d@giganews.com>
Subject: NN 6.7.3 Updates (Hostname problem fixed)
Date: Wed, 11 Nov 2009 16:13:48 -0600
From: Aaron W. Hsu <arcfide@local>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.20140326.mbox.gz!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!proxad.net!feeder2-2.proxad.net!nx02.iad01.newshosting.com!newshosting.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 11 Nov 2009 16:13:48 -0600
Newsgroups: alt.os.linux.slackware,news.software.nn
Summary: Updates to the Slackware NN package to fix numerous issues.
Keywords: nn,slackware,bugfixes
User-Agent: nn/6.7.3
Lines: 35
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-KMI0DVl8o7oTmAhCXFGp4Mw50hW+BFbkUkV39BEqM1TDxnDvn87yGoERehie5qp5NkJjnJtG84VLSpS!og9VDmAGwvf4wE7sXicrYYQqM01+FYZDv4RrWp0bc5ItvmK5O82ImcbUvjGOg9ppTfMTY96ksZSI
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint
 properly
X-Postfilter: 1.3.40
X-Original-Bytes: 2650