Bug 203286 - news/leafnode: don't create unneeded directory
Summary: news/leafnode: don't create unneeded directory
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Matthias Andree
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-23 16:22 UTC by Dmitry Marakasov
Modified: 2015-09-23 22:56 UTC (History)
0 users

See Also:
mandree: maintainer-feedback+


Attachments
Patch (328 bytes, patch)
2015-09-23 16:22 UTC, Dmitry Marakasov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Marakasov freebsd_committer freebsd_triage 2015-09-23 16:22:06 UTC
Created attachment 161308 [details]
Patch

leafnode produces leftovers, creating ${PREFIX}/var/spool from pkg-install:

====>> Checking for extra files and directories
====>> Error: Files or directories left over:
@dir var
@dir var/spool
====>> Cleaning up wrkdir
===>  Cleaning for leafnode-1.11.11
build of news/leafnode ended at Wed Sep 23 18:15:40 MSK 2015
build time: 00:00:36
!!! build failure encountered !!!

This directory doesn't seem to be needed, as the applications uses /var instead, so remove it.
Comment 1 Matthias Andree freebsd_committer freebsd_triage 2015-09-23 22:55:47 UTC
Thanks, approved, I will commit this.
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-09-23 22:56:18 UTC
A commit references this bug:

Author: mandree
Date: Wed Sep 23 22:55:53 UTC 2015
New revision: 397668
URL: https://svnweb.freebsd.org/changeset/ports/397668

Log:
  Fix leftover directory.

  PR:		203286
  Submitted by:	amdmi3

Changes:
  head/news/leafnode/files/pkg-install.in