Skip to content

Commit

Permalink
sysutils/beadm: sync with upstream
Browse files Browse the repository at this point in the history
Taken from: HardenedBSD
  • Loading branch information
fichtner committed Jul 11, 2017
1 parent f828e60 commit b43c0d1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion sysutils/beadm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

PORTNAME= beadm
PORTVERSION= 1.2.7
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= GH \
http://mirror.shatow.net/freebsd/${PORTNAME}/ \
Expand Down
15 changes: 11 additions & 4 deletions sysutils/beadm/files/patch-beadm
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
diff --git beadm beadm
index 6a0e397..f817e40 100755
--- beadm
+++ beadm
--- beadm.orig 2017-01-13 15:25:44.000000000 -0800
+++ beadm 2017-07-08 09:45:40.962588000 -0700
@@ -128,6 +128,24 @@ __be_new() { # 1=SOURCE 2=TARGET
unset NAME_NEW
unset NAME_SANITY
Expand Down Expand Up @@ -81,3 +79,12 @@ index 6a0e397..f817e40 100755
# clone properties of source boot environment
zfs list -H -o name -r ${SOURCE} \
| grep -v '@' \
@@ -303,7 +351,7 @@ case ${1} in
while(CMD_ZFS_LIST BENAME_BEGINS_WITH | getline) {
if($1 != BENAME_BEGINS_WITH) {
FSNAME = $1
- FSNAMES[length(FSNAME) + 1] = FSNAME
+ FSNAMES[length(FSNAMES) + 1] = FSNAME
USED = __normalize($2)
USEDBYDATASET = __normalize($3)
USEDBYSNAPSHOTS = __normalize($4)

0 comments on commit b43c0d1

Please sign in to comment.