Bug 57859 - [patch] news/inn (inn-2.4.0_3) does not set inn tmpdir in configure
Summary: [patch] news/inn (inn-2.4.0_3) does not set inn tmpdir in configure
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-11 06:10 UTC by G. Paul Ziemba
Modified: 2003-11-21 16:43 UTC (History)
1 user (show)

See Also:


Attachments
patch-inn-port-031010a (330 bytes, text/plain)
2003-10-11 06:10 UTC, G. Paul Ziemba
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description G. Paul Ziemba 2003-10-11 06:10:11 UTC
    In port Makefile, incorrect argument to configure prevents tmpdir
    from being set to INN_NEWSSPOOL/tmp. This problem manifests itself
    only if INN_NEWSSPOOL is not the default /usr/local/news/spool.

Fix: in news/inn/Makefile, change "--with-tmp-path" to "--with-tmp-dir"
How-To-Repeat: 
    cd /usr/ports/news/inn; make -DINN_NEWSSPOOL=/var/news/spool
    Observe /usr/local/news/etc/inn.conf definition of pathtmp.
Comment 1 Clement Laforet 2003-10-11 15:50:21 UTC
On Fri, 10 Oct 2003 22:09:24 -0700 (PDT)
"G. Paul Ziemba" <p-fbsd-bugs@treehouse.napa.ca.us> wrote:

Hi !

Thanks for the report !
Please next time, instead of filling a PR try to conctact directly the
maintainer (in that case me) :)

Committers:  Here's the patch for inn & inn-stable

Index: inn/Makefile
===================================================================
RCS file: /WORK/REPO/ports/news/inn/Makefile,v
retrieving revision 1.63
diff -u -r1.63 Makefile
--- inn/Makefile	28 Sep 2003 15:30:53 -0000	1.63
+++ inn/Makefile	11 Oct 2003 14:34:26 -0000
@@ -38,7 +38,7 @@
 			--with-spool-dir=${INN_NEWSSPOOL} \
 			--with-log-dir=${INN_NEWSLOG} \
 			--with-perl \
-			--with-tmp-path=${INN_NEWSSPOOL}/tmp \
+			--with-tmp-dir=${INN_NEWSSPOOL}/tmp \
 			--with-openssl=${OPENSSLBASE} \
 			--enable-ipv6
 
Index: inn-stable/Makefile
===================================================================
RCS file: /WORK/REPO/ports/news/inn-stable/Makefile,v
retrieving revision 1.100
diff -u -r1.100 Makefile
--- inn-stable/Makefile	28 Sep 2003 15:31:49 -0000	1.100
+++ inn-stable/Makefile	11 Oct 2003 14:34:50 -0000
@@ -43,7 +43,7 @@
 			--with-spool-dir=${INN_NEWSSPOOL} \
 			--with-log-dir=${INN_NEWSLOG} \
 			--with-perl \
-			--with-tmp-path=${INN_NEWSSPOOL}/tmp \
+			--with-tmp-dir=${INN_NEWSSPOOL}/tmp \
 			--with-openssl=${OPENSSLBASE} \
 			--enable-ipv6
Comment 2 Sergey A. Osokin freebsd_committer freebsd_triage 2003-11-21 16:43:32 UTC
State Changed
From-To: open->closed

Fix was committed with PRs 58394 and 58395.