File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed
Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ set name=pkg.description value="Tools required to build OmniOS extra"
44
55depend fmri=ooce/omnios-build-tools type=require
66
7+ depend fmri=compress/7zip type=require
78depend fmri=compress/lz4 type=require
89depend fmri=driver/tuntap type=require
910depend fmri=library/unixodbc type=require
Original file line number Diff line number Diff line change 142142fi
143143BRAICH_REPO=https://pkg.omnios.org/bloody/braich
144144
145- ARCHIVE_TYPES=" tar.zst tar.xz tar.bz2 tar.lz tar.gz tgz tar zip"
145+ ARCHIVE_TYPES=" tar.zst tar.xz tar.bz2 tar.lz tar.gz tgz tar zip 7z "
146146
147147# Default prefix for packages (may be overridden)
148148PREFIX=/opt/ooce
@@ -232,6 +232,7 @@ GIT=$USRBIN/git
232232LZIP=$USRBIN /lzip
233233NAWK=$USRBIN /awk
234234RSYNC=$USRBIN /rsync
235+ SEVENZ=$USRBIN /7zz
235236UNZIP=$USRBIN /unzip
236237WGET=$USRBIN /wget
237238XZCAT=$USRBIN /xzcat
Original file line number Diff line number Diff line change @@ -1559,6 +1559,7 @@ extract_archive() {
15591559 * .tar.bz2) $BUNZIP2 -dc $file | $TAR -xvf - $* ;;
15601560 * .tar.lz) $LZIP -dc $file | $TAR -xvf - $* ;;
15611561 * .tar.gz|* .tgz) $GZIP -dc $file | $TAR -xvf - $* ;;
1562+ * .7z) $SEVENZ x $file $* ;;
15621563 * .zip) $UNZIP $file $* ;;
15631564 * .tar) $TAR -xvf $file $* ;;
15641565 # May as well try tar. It's GNU tar which does a fair job at detecting
You can’t perform that action at this time.
0 commit comments