Bug 192631 - dns/idnkit check-plist error
Summary: dns/idnkit check-plist error
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-13 02:34 UTC by Michelle Sullivan
Modified: 2014-08-13 20:21 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michelle Sullivan 2014-08-13 02:34:34 UTC
====> Running Q/A tests (stage-qa)
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: etc/idn.conf
Error: Orphaned: etc/idnalias.conf
===> Checking for directories owned by MTREEs
===> Checking for directories handled by dependencies
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.
*** Error code 1

Patch to fix:

diff -Nru idnkit.orig/pkg-plist idnkit/pkg-plist
--- idnkit.orig/pkg-plist	2014-07-02 18:07:48.000000000 -0500
+++ idnkit/pkg-plist	2014-08-12 21:31:10.000000000 -0500
@@ -1,11 +1,7 @@
 bin/idnconv
 bin/runidn
-@unexec if cmp -s %D/etc/idn.conf %D/etc/idn.conf.sample; then rm -f %D/etc/idn.conf; fi
-etc/idn.conf.sample
-@exec [ ! -f %B/idn.conf ] && cp %B/%f %B/idn.conf
-@unexec if cmp -s %D/etc/idnalias.conf %D/etc/idnalias.conf.sample; then rm -f %D/etc/idnalias.conf; fi
-etc/idnalias.conf.sample
-@exec [ ! -f %B/idnalias.conf ] && cp %B/%f %B/idnalias.conf
+@sample etc/idn.conf.sample
+@sample etc/idnalias.conf.sample
 include/idn/api.h
 include/idn/assert.h
 include/idn/checker.h
Comment 1 Michelle Sullivan 2014-08-13 02:35:15 UTC
(credit to 'Zi' for that)
Comment 2 John Marino freebsd_committer freebsd_triage 2014-08-13 05:55:44 UTC
port has no maintainer, moving to patch-ready.
An actual patch would be more friendly to the committers though.
Comment 3 commit-hook freebsd_committer freebsd_triage 2014-08-13 20:17:06 UTC
A commit references this bug:

Author: marino
Date: Wed Aug 13 20:16:15 UTC 2014
New revision: 364806
URL: http://svnweb.freebsd.org/changeset/ports/364806

Log:
  dns/idnkit: Fix sample files in pkg-plist

  PR:		192631
  Submitted by:	michelle

Changes:
  head/dns/idnkit/Makefile
  head/dns/idnkit/pkg-plist