Univention Bugzilla – Bug 22498
Automatisch generierte Dateien werden auf Copyright geprüft
Last modified: 2012-12-12 21:08:52 CET
Beispielsweise beim Paket univention-debug wird aclocal && automake verwendet. ucslint prüft auch die automagisch erzeugten Dateien auf den Copyright Eintrag, der dort natürlich nicht vorhanden ist. E:0010-2: file ./configure contains no copyright text block E:0010-2: file ./libtool contains no copyright text block E:0010-2: file ./config.guess contains no copyright text block E:0010-2: file ./depcomp contains no copyright text block E:0010-2: file ./install-sh contains no copyright text block E:0010-2: file ./config.status contains no copyright text block E:0010-2: file ./config.sub contains no copyright text block E:0010-2: file ./missing contains no copyright text block Entweder wird das nur als Warnung angezeigt oder die Prüfung muss diese Dateien ignorieren. So baut univention-debug jetzt nicht ucslint 2.0.6-3.22.201105110853
Created attachment 3262 [details] ignore auto-generated files
Der Patch alleine reicht noch nicht, den ucslint prüft auch die von libtool generierten Wrapper-Skripte für C-Programme: E:0010-2: file ./tools/univention_policy_result contains no copyright text block head tools/univention_policy_result #! /bin/bash # univention_policy_result - temporary wrapper script for .libs/univention_policy_result # Generated by ltmain.sh (GNU libtool) 2.2.6b Debian-2.2.6b-2
*** Bug 24815 has been marked as a duplicate of this bug. ***
Die auto*-tools werden durch die Umstellung an Bug #22482 bereits ignoriert. Für die libtool-Wrapper wurde eine Sonderbehandlung ergänzt. svn34335, ucslint_3.0.0-1
Dateien die auf "~" oder ".bak" enden und von libtool generierte Dateien ('config.guess', 'configure', 'libtool', 'depcomp', 'install-sh', 'config.sub', 'missing', 'config.status' sowie Dateien die sowohl 'temporary wrapper script for' als auch 'Generated by ltmain.sh' enthalten) werden jetzt ignoriert. Changelogeintrag ist in Ordnung, Verified.
UCS 3.1-0 has been released: http://forum.univention.de/viewtopic.php?f=54&t=2125 If this error occurs again, please use "Clone This Bug".