Bug 243983 - news/fidogate: Configure error during "make package" as user
Summary: news/fidogate: Configure error during "make package" as user
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Alexey Dokuchaev
Depends on:
Reported: 2020-02-08 16:30 UTC by Sergey Anokhin
Modified: 2020-07-03 09:12 UTC (History)
2 users (show)

See Also:

Makefile (4.44 KB, text/plain)
2020-02-08 17:31 UTC, Sergey Anokhin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Anokhin 2020-02-08 16:30:34 UTC
Configure error during "make package" under an user.


Looks like unprivileged user can't check files inside /usr/local/news
because it doesn't have needed permissions. 

Need to consult with the Fidogate developer to have mechanism to turn off inn auto-detection and use option from the port's Makefile
Comment 1 Sergey Anokhin 2020-02-08 17:31:43 UTC
Created attachment 211477 [details]

Added lines:

.include <bsd.port.options.mk>

CONFIGURE_ARGS+=        --with-inndir=${PREFIX}/news --with-innetcdir=${PREFIX}/news/etc --with-inndbdir=${PREFIX}/news/db --with-innspooldir=${PREFIX}/news/spool
Comment 2 commit-hook freebsd_committer 2020-07-03 09:10:01 UTC
A commit references this bug:

Author: danfe
Date: Fri Jul  3 09:09:38 UTC 2020
New revision: 541090
URL: https://svnweb.freebsd.org/changeset/ports/541090

  - Unbreak configuring as unprivileged user
  - Start option descriptions with capital letter

  PR:		243983
  Submitted by:	maintainer

Comment 3 Alexey Dokuchaev freebsd_committer 2020-07-03 09:12:26 UTC
I've committed better and shorter version of the proposed patch, thanks!