Created attachment 174132 [details] port_diff 1. Identified problem with "qjail install" command when the RELEASE version running on the host has a patch number greater than 13. Never allowed for patch number greater than 13. Changed logic that checks for condition where the release version has a patch number on it. Now only looking for presence of "-p", ignoring the patch number all together. 2. Add code to "qjail install" logic to check for ALPHA versions. 3. In the qjail.bootime script, the post_msg routine was missing. Changed the 2 places where it was called from to now issue the "echo" command. 4. In the qjail.bootime script, the write-definition routine is not needed any more. Removed the routine and the two commands that called it. Removed the "kill" routine as its not needed any more. 5. In qjail.bootime changed the start routine for non zero return code issued by the jail(8) start command to issue echo error message and them check if jail was an image jail. If so then undo image setup. Followed by a "continue" statement to break loop to process the next jailname in the list. 6. In qjail.bootime changed the stop routine for non zero return code issued by the jail(8) stop command to issue echo error message. Added an "continue" statement to break loop to process the next jailname in the list. 7. In the qjail script, made the same #5 & #6 changes to the start and stop logic. 8. In the qjail script, made massive changes to way vnet/vimage jails are handled in preparation for the new vimage version that is coming out in RELEASE-11.0. 9. Made changes to qjail.8 manual documenting changes made in item # 8. 10. Changed the Makefile so this qjail version will only install on host systems that are running RELEASE-11.0 or newer. 11. Changed the qjail script removing all code dealing with 9.x and 10.x fixes or work arounds caused by internal changes in those OS versions. 12. Changed the qjail-4.9 Makefile to rename qjail to qjail3 and make it installable ONLY on 10.x OS.
A commit references this bug: Author: mat Date: Mon Aug 29 14:53:02 UTC 2016 New revision: 421063 URL: https://svnweb.freebsd.org/changeset/ports/421063 Log: Update sysutils/qjail to 5.0 to handle FreeBSD 11+. Copy it to sysutils/qjail4 for FreeBSD 10 and sync CONFLICTS with the FreeBSD 8/9 version. PR: 212201, 212202 Submitted by: maintainer Sponsored by: Absolight Changes: head/sysutils/Makefile head/sysutils/qjail/Makefile head/sysutils/qjail/distinfo head/sysutils/qjail/pkg-descr head/sysutils/qjail/pkg-message head/sysutils/qjail/pkg-plist head/sysutils/qjail2/Makefile head/sysutils/qjail4/ head/sysutils/qjail4/Makefile head/sysutils/qjail4/pkg-descr