[Bug 250008] net-mgmt/ocsinventory-server: update to 2.8
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Oct 1 09:43:41 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250008
--- Comment #3 from Fernando Apesteguía <fernape at FreeBSD.org> ---
patch -p3 -E < ../../250008.patch
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: net-mgmt/ocsinventory-server/Makefile
|===================================================================
|--- net-mgmt/ocsinventory-server/Makefile (revision 550687)
|+++ net-mgmt/ocsinventory-server/Makefile (working copy)
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 1 with fuzz 1.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: net-mgmt/ocsinventory-server/distinfo
|===================================================================
|--- net-mgmt/ocsinventory-server/distinfo (revision 550687)
|+++ net-mgmt/ocsinventory-server/distinfo (working copy)
--------------------------
Patching file distinfo using Plan A...
Hunk #1 succeeded at 1.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: net-mgmt/ocsinventory-server/pkg-plist
|===================================================================
|--- net-mgmt/ocsinventory-server/pkg-plist (revision 550687)
|+++ net-mgmt/ocsinventory-server/pkg-plist (working copy)
--------------------------
Patching file pkg-plist using Plan A...
Hunk #1 succeeded at 21.
Hunk #2 succeeded at 46.
Hunk #3 succeeded at 63.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: net-mgmt/ocsinventory-ocsreports/Makefile
|===================================================================
|--- net-mgmt/ocsinventory-ocsreports/Makefile (revision 550687)
|+++ net-mgmt/ocsinventory-ocsreports/Makefile (working copy)
--------------------------
Patching file Makefile using Plan A...
Hunk #1 failed at 1.
Hunk #2 failed at 32.
2 out of 2 hunks failed--saving rejects to Makefile.rej
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: net-mgmt/ocsinventory-ocsreports/distinfo
|===================================================================
|--- net-mgmt/ocsinventory-ocsreports/distinfo (revision 550687)
|+++ net-mgmt/ocsinventory-ocsreports/distinfo (working copy)
--------------------------
Patching file distinfo using Plan A...
Hunk #1 failed at 1.
1 out of 1 hunks failed--saving rejects to distinfo.rej
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: net-mgmt/ocsinventory-ocsreports/files/dbconfig.inc.php.sample
|===================================================================
|--- net-mgmt/ocsinventory-ocsreports/files/dbconfig.inc.php.sample
(nonexistent)
|+++ net-mgmt/ocsinventory-ocsreports/files/dbconfig.inc.php.sample
(working copy)
--------------------------
(Creating file dbconfig.inc.php.sample...)
Patching file dbconfig.inc.php.sample using Plan A...
Empty context always matches.
Hunk #1 succeeded at 1.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|
|Property changes on:
net-mgmt/ocsinventory-ocsreports/files/dbconfig.inc.php.sample
|___________________________________________________________________
|Added: svn:eol-style
|## -0,0 +1 ##
|+native
|\ No newline at end of property
|Added: svn:mime-type
|## -0,0 +1 ##
|+text/plain
|\ No newline at end of property
|Index: net-mgmt/ocsinventory-ocsreports/pkg-plist
|===================================================================
|--- net-mgmt/ocsinventory-ocsreports/pkg-plist (revision 550687)
|+++ net-mgmt/ocsinventory-ocsreports/pkg-plist (working copy)
--------------------------
Patching file pkg-plist using Plan A...
Hunk #1 failed at 15.
Hunk #2 failed at 30.
Hunk #3 failed at 46.
Hunk #4 failed at 72.
No such line 276 in input file, ignoring
Hunk #5 failed at 288.
Hunk #6 failed at 357.
Hunk #7 failed at 399.
Hunk #8 failed at 416.
Hunk #9 failed at 462.
Hunk #10 failed at 507.
Hunk #11 failed at 529.
Hunk #12 failed at 632.
Hunk #13 failed at 655.
13 out of 13 hunks failed--saving rejects to pkg-plist.rej
done
See this. I just updated my tree. In the Makefile, only this two lines use
INSTALL_DATA:
fernape at beastie:~/FreeBSD-repos/ports/head/net-mgmt/ocsinventory-server$ grep
INSTALL_DATA Makefile
${INSTALL_DATA} ${WRKSRC}/etc/ocsinventory/ocsinventory-${F}.conf
${STAGEDIR}${ETCDIR}/ocsinventory-${F}.conf.sample
${INSTALL_DATA} ${WRKSRC}/README.md ${WRKSRC}/INSTALL
${STAGEDIR}${DOCSDIR}/
fernape at beastie:~/FreeBSD-repos/ports/head/net-mgmt/ocsinventory-server$ grep
INSTALL_DATA /tmp/250008/250008.patch
- ${INSTALL_DATA} ${WRKSRC}/dbconfig.inc.php
${STAGEDIR}${WWWDIR}/dbconfig.inc.php.sample
+ ${INSTALL_DATA} ${FILESDIR}/dbconfig.inc.php.sample
${STAGEDIR}${WWWDIR}/dbconfig.inc.php.sample
${INSTALL_DATA} ${WRKSRC}/backend/require/cas.config.php
${STAGEDIR}${WWWDIR}/backend/require/cas.config.php.sample
${INSTALL_DATA} ${WRKDIR}/apache.conf
${STAGEDIR}${ETCDIR}/ocsreports.inc.sample
yet the patch is trying to delete a line like this one:
- ${INSTALL_DATA} ${WRKSRC}/dbconfig.inc.php
${STAGEDIR}${WWWDIR}/dbconfig.inc.php.sample
that I don't see anywhere...
I can only see references to that here:
fernape at beastie:~/FreeBSD-repos/ports/head/net-mgmt$ grep -R dbconfig.inc.php *
ocsinventory-ocsreports/files/pkg-message.in:* edit %%WWWDIR%%/dbconfig.inc.php
ocsinventory-ocsreports/Makefile: (cd ${WRKSRC} && ${COPYTREE_SHARE} .
${STAGEDIR}${WWWDIR} "! -name dbconfig.inc.php ! -name cas.config.php")
ocsinventory-ocsreports/Makefile: ${INSTALL_DATA}
${WRKSRC}/dbconfig.inc.php ${STAGEDIR}${WWWDIR}/dbconfig.inc.php.sample
ocsinventory-ocsreports/pkg-plist:@sample %%WWWDIR%%/dbconfig.inc.php.sample
not in ocsinventory-server.
What am I missing?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list