Bug 254134 - sysutils/bvm: Update to 1.3.0
Summary: sysutils/bvm: Update to 1.3.0
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: Guangyuan Yang
URL:
Keywords: patch-ready
Depends on:
Blocks:
 
Reported: 2021-03-08 14:06 UTC by guoqiang_cn
Modified: 2021-03-13 04:01 UTC (History)
2 users (show)

See Also:


Attachments
git diff for bvm update (2.05 KB, patch)
2021-03-08 14:06 UTC, guoqiang_cn
no flags Details | Diff
git diff for bvm update (2.42 KB, patch)
2021-03-10 06:18 UTC, guoqiang_cn
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description guoqiang_cn 2021-03-08 14:06:00 UTC
Created attachment 223095 [details]
git diff for bvm update
Comment 1 Guangyuan Yang freebsd_committer freebsd_triage 2021-03-10 05:21:12 UTC
I think the plist should be updated. Did you try testing the patch?


====> 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: bin/bvmdhcp
Error: Orphaned: %%ETCDIR%%/dhcp.conf.sample
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.
*** Error code 1
Comment 2 guoqiang_cn 2021-03-10 06:18:01 UTC
Created attachment 223142 [details]
git diff for bvm update

Sorry, I've tested it this time

# portlint -AC
WARN: Makefile: for new port, make $FreeBSD$ tag in comment section empty, to make SVN happy.
WARN: Consider to set DEVELOPER=yes in /etc/make.conf
0 fatal errors and 2 warnings found.


# make install
===>  License BSD2CLAUSE accepted by the user
===>   bvm-1.3.0 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by bvm-1.3.0 for building
===>  Extracting for bvm-1.3.0
=> SHA256 Checksum OK for bigdragonsoft-bvm-1.3.0_GH0.tar.gz.
===>  Patching for bvm-1.3.0
===>  Configuring for bvm-1.3.0
===>  Building for bvm-1.3.0
cc -O -c main.c -o main.o
cc -O -c config.c -o config.o
cc -O -c vnet.c -o vnet.o
cc -O -c vm.c -o vm.o
cc -O -c create.c -o create.o
cc -O -c cdisk.c -o cdisk.o
cc -O -c cnet.c -o cnet.o
cc -O -c zfs.c -o zfs.o
cc -O -c booter.c -o booter.o
cc -O -c dhcp.c -o dhcp.o
cc -O -o bvm main.o config.o vnet.o vm.o create.o cdisk.o cnet.o zfs.o
cc -O -o bvmb  booter.o config.o vnet.o vm.o create.o cdisk.o cnet.o zfs.o
cc -O -o bvmdhcp dhcp.o config.o vnet.o vm.o create.o cdisk.o cnet.o zfs.o -lpcap -lpthread
===>  Staging for bvm-1.3.0
===>   bvm-1.3.0 depends on package: bhyve-firmware>0 - found
===>   bvm-1.3.0 depends on executable: grub-bhyve - found
===>   bvm-1.3.0 depends on executable: tmux - found
===>   Generating temporary packing list
/bin/mkdir -p /root/progs/ports/sysutils/bvm/work/stage/usr/local/etc/bvm
install  -m 0644 /root/progs/ports/sysutils/bvm/work/bvm-1.3.0/conf/bvm.conf /root/progs/ports/sysutils/bvm/work/stage/usr/local/etc/bvm/bvm.conf.sample
install  -m 0644 /root/progs/ports/sysutils/bvm/work/bvm-1.3.0/conf/nat.conf /root/progs/ports/sysutils/bvm/work/stage/usr/local/etc/bvm/nat.conf.sample
install  -m 0644 /root/progs/ports/sysutils/bvm/work/bvm-1.3.0/conf/switch.conf /root/progs/ports/sysutils/bvm/work/stage/usr/local/etc/bvm/switch.conf.sample
install  -m 0644 /root/progs/ports/sysutils/bvm/work/bvm-1.3.0/conf/dhcp.conf /root/progs/ports/sysutils/bvm/work/stage/usr/local/etc/bvm/dhcp.conf.sample
install  -m 555 /root/progs/ports/sysutils/bvm/work/bvm-1.3.0/conf/bvmd /root/progs/ports/sysutils/bvm/work/stage/usr/local/etc/rc.d/
install  -s -m 555 /root/progs/ports/sysutils/bvm/work/bvm-1.3.0/src/bvm /root/progs/ports/sysutils/bvm/work/stage/usr/local/bin/
install  -s -m 555 /root/progs/ports/sysutils/bvm/work/bvm-1.3.0/src/bvmb /root/progs/ports/sysutils/bvm/work/stage/usr/local/bin/
install  -s -m 555 /root/progs/ports/sysutils/bvm/work/bvm-1.3.0/src/bvmdhcp /root/progs/ports/sysutils/bvm/work/stage/usr/local/bin/
install  -m 444 /root/progs/ports/sysutils/bvm/work/bvm-1.3.0/bvm.8 /root/progs/ports/sysutils/bvm/work/stage/usr/local/man/man8
====> Compressing man pages (compress-man)
===>  Installing for bvm-1.3.0
===>  Checking if bvm is already installed
===>   Registering installation for bvm-1.3.0
Installing bvm-1.3.0...
===> SECURITY REPORT: 
      This port has installed the following files which may act as network
      servers and may therefore pose a remote security risk to the system.
/usr/local/bin/bvmdhcp

      This port has installed the following startup scripts which may cause
      these network services to be started at boot time.
/usr/local/etc/rc.d/bvmd

      If there are vulnerabilities in these programs there may be a security
      risk to the system. FreeBSD makes no guarantee about the security of
      ports included in the Ports Collection. Please type 'make deinstall'
      to deinstall the port if this is a concern.

      For more information, and contact details about the security
      status of this software, see the following webpage: 
https://github.com/bigdragonsoft/bvm


# make reinstall
===>  Deinstalling for bvm
===>   Deinstalling bvm-1.3.0
Updating database digests format: 100%
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
        bvm: 1.3.0

Number of packages to be removed: 1
[1/1] Deinstalling bvm-1.3.0...
[1/1] Deleting files for bvm-1.3.0: 100%
===>  Installing for bvm-1.3.0
===>  Checking if bvm is already installed
===>   Registering installation for bvm-1.3.0
Installing bvm-1.3.0...
===> SECURITY REPORT: 
      This port has installed the following files which may act as network
      servers and may therefore pose a remote security risk to the system.
/usr/local/bin/bvmdhcp

      This port has installed the following startup scripts which may cause
      these network services to be started at boot time.
/usr/local/etc/rc.d/bvmd

      If there are vulnerabilities in these programs there may be a security
      risk to the system. FreeBSD makes no guarantee about the security of
      ports included in the Ports Collection. Please type 'make deinstall'
      to deinstall the port if this is a concern.

      For more information, and contact details about the security
      status of this software, see the following webpage: 
https://github.com/bigdragonsoft/bvm


# make clean
===>  Cleaning for bvm-1.3.0
Comment 3 guoqiang_cn 2021-03-10 06:41:28 UTC
(In reply to Guangyuan Yang from comment #1)

I have just uploaded bvm.diff again, I'm so sorry.
Comment 4 commit-hook freebsd_committer freebsd_triage 2021-03-13 04:01:01 UTC
A commit references this bug:

Author: ygy
Date: Sat Mar 13 04:00:55 UTC 2021
New revision: 568226
URL: https://svnweb.freebsd.org/changeset/ports/568226

Log:
  sysutils/bvm: Update to 1.3.0

  PR:		254134
  Submitted by:	Qiang Guo <guoqiang_cn@126.com> (maintainer)
  Approved by:	lwhsu

Changes:
  head/sysutils/bvm/Makefile
  head/sysutils/bvm/distinfo
  head/sysutils/bvm/pkg-plist
Comment 5 Guangyuan Yang freebsd_committer freebsd_triage 2021-03-13 04:01:59 UTC
(In reply to guoqiang_cn from comment #3)

Committed. Thanks!