🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #76219

Re: Installing INN 2.5

#76219
From: Julien ÉLIE
Date: Wed, 04 Jul 2007 12:40
90 lines
4006 bytes
En réponse à Iulius :
> I also have a problem with « make cert »: the SSL path is not defined
> so the command « /openssl » cannot be executed.
> Perhaps it is a problem of my own server but it should be better if
> the correct path was put in « make cert ».

I do not know whether to use:

INN_PATH_PROG_ENSURE([SSLBIN], [openssl])

or:

AC_PATH_PROGS([SSLBIN], [openssl], [openssl])


Here is a patch for the second option.


Index: Makefile.global.in
===================================================================
--- Makefile.global.in  (révision 7607)
+++ Makefile.global.in  (copie de travail)
@@ -185,6 +185,7 @@
 LN_S		= @LN_S@
 PERL		= @PERL@
 RANLIB		= @RANLIB@
+SSLBIN		= @SSLBIN@
 YACC		= @YACC@
 UNCOMPRESS		= @UNCOMPRESS@

Index: configure.ac
===================================================================
--- configure.ac        (révision 7607)
+++ configure.ac        (copie de travail)
@@ -247,11 +247,13 @@
 AC_ARG_VAR([EGREP], [Location of egrep])
 AC_ARG_VAR([SED], [Location of sed])
 AC_ARG_VAR([SORT], [Location of sort])
+AC_ARG_VAR([SSLBIN], [Location of openssl])
 AC_ARG_VAR([UUX], [Location of uux])
 INN_PATH_PROG_ENSURE([AWK], [awk])
 INN_PATH_PROG_ENSURE([EGREP], [egrep])
 INN_PATH_PROG_ENSURE([SED], [sed])
 INN_PATH_PROG_ENSURE([SORT], [sort])
+AC_PATH_PROGS([SSLBIN], [openssl], [openssl])
 AC_PATH_PROGS([UUX], [uux], [uux])
 INN_PATH_COMPRESS
 INN_PATH_SENDMAIL

Index: Makefile
===================================================================
--- Makefile    (révision 7607)
+++ Makefile    (copie de travail)
@@ -116,7 +116,7 @@

 ##  Install a certificate for TLS/SSL support.
 cert:
- 	$(SSLBIN)/openssl req -new -x509 -nodes \
+ 	$(SSLBIN) req -new -x509 -nodes \
	    -out $(PATHLIB)/cert.pem -days 366 \
	    -keyout $(PATHLIB)/key.pem
	chown $(NEWSUSER) $(PATHLIB)/cert.pem



> Regarding samples, shouldn't their paths also be modified?
> For instance, in « buffindexed.conf », it would be better if it has
> the right overview path, and not the default one in /var.

samples/buffindexed.conf -> samples/buffindexed.conf.in
and adapt the Makefile.

Index: samples/buffindexed.conf
===================================================================
--- samples/buffindexed.conf    (révision 7607)
+++ samples/buffindexed.conf    (copie de travail)
@@ -7,5 +7,5 @@
 # index(0-65535) : path to buffer file :
 #       length of buffer in kilobytes in decimal (1KB = 1024 bytes)

-0:/var/news/spool/overview/OV1:1536000
-1:/var/news/spool/overview/OV2:1536000
+0:@PATHOVERVIEW@/OV1:1536000
+1:@PATHOVERVIEW@/OV2:1536000

-- 
Julien ÉLIE

« Le cercle n'est qu'une ligne droite revenue à
  son point de départ. » (San-Antonio)
Technical Details
Message-ID: <f6g4fb$k7f$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!130.59.10.21.MISMATCH!kanaga.switch.ch!switch.ch!news.in2p3.fr!in2p3.fr!news.ecp.fr!news.trigofacile.com!not-for-mail
References: <f0ffde$n61$1@guepard.ecp.fr>

Show Full Headers
Complete Article Headers
Message-ID: <f6g4fb$k7f$1@news.trigofacile.com>
Subject: Re: Installing INN 2.5
Date: Wed, 04 Jul 2007 14:40:09 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <f0ffde$n61$1@guepard.ecp.fr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!130.59.10.21.MISMATCH!kanaga.switch.ch!switch.ch!news.in2p3.fr!in2p3.fr!news.ecp.fr!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: Gens Iulia -- http://www.trigofacile.com/
Lines: 90
NNTP-Posting-Host: amontpellier-157-1-187-91.w90-27.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1183552812 20719 90.27.162.91 (4 Jul 2007
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Wed, 4 Jul 2007 12:40:12 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.4 (Windows/20070604)
In-Reply-To: <f0ffde$n61$1@guepard.ecp.fr>