Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - miac60

#1
Thank you!
#2
Hi! I need some help.
I want preload distfiles before build, I type:
    # make distfiles
And got error:
>>> Setting up stage in /usr/obj/usr/tools/config/16.1/OpenSSL
>>> Setting up world in /usr/obj/usr/tools/config/16.1/OpenSSL
tar: Option -f requires an argument
Usage:
  List:    tar -tf <archive-filename>
  Extract: tar -xf <archive-filename>
  Create:  tar -cf <archive-filename> [filenames...]
  Help:    tar --help
*** Error code 1

Stop.
make: stopped in /usr/tools

#3
Development and Code Review / Re: OpenSSL ciphers
February 18, 2016, 12:13:53 PM
We make some kind of custom build, just replace openssl lib with another one.
And now "openssl ciphers" show GOST. And we want add this ciphers in WebUI.
Unfortunately GOST ciphers does not work without RFC3779 and Zlib.
#4
Development and Code Review / Re: OpenSSL ciphers
February 17, 2016, 02:02:29 PM
Also information about using GOST engine in OpenSSL
http://www.cryptocom.ru/products/openssl-1-config-en.html
#5
Development and Code Review / OpenSSL ciphers
February 17, 2016, 01:15:18 PM
Hi.
OPNsense with OpenSSL have preinstalled GOST engine.
It can be enabled in openssl.cnf.
My question: how to extend list of "Encryption algorithms" in Web UI when configuring OpenVPN server?
#6
Development and Code Review / Re: Release build
February 17, 2016, 09:35:24 AM
Thank you for answer! I gonna try this!
#7
Development and Code Review / Release build
February 17, 2016, 08:22:31 AM
Hi.
I try to build release version of OPNsense from sources.
Are this steps correct?

cd /usr
rm -rf src ports plugins tools core
git clone https://github.com/opnsense/plugins
git clone https://github.com/opnsense/ports
git clone https://github.com/opnsense/tools
git clone https://github.com/opnsense/core
git clone https://github.com/opnsense/src

cd /usr/plugins && git checkout -f 16.1.1
cd /usr/core && git checkout -f 16.1.1
cd /usr/src && git checkout -f 16.1.1
cd /usr/ports && git checkout -f 16.1.1
cd /usr/tools && git checkout -f 16.1.1
make release VERSION=16.1.1
#8
Development and Code Review / Re: Build help
September 14, 2015, 01:51:22 PM
I try to change /usr/tools/build/iso.sh
setup_packages ${STAGEDIR} opnsense
to
setup_packages ${STAGEDIR} opnsense-devel

Than I do: make iso
And iso succesfuly created in /tmp/images/ dir
#9
Development and Code Review / Re: Build help
September 14, 2015, 12:03:26 PM
make iso DEBUG=1

>>> Installing packages in /usr/local/stage...
+ BASEDIR=/usr/local/stage
+ shift
+ PKGLIST=opnsense
+ pkg -c /usr/local/stage remove -fya
pkg: No packages installed.  Nothing to do!
+ [ -z opnsense ]
+ PKGFOUND=''
+ cd /usr/local/stage
+ find ./.pkg/All -name 'pkg-*.txz'
+ pkg -c /usr/local/stage info -F ./.pkg/All/pkg-1.5.6.txz
+ grep ^Name
+ awk '{ print $3; }'
+ PKGINFO=pkg
+ [ pkg = pkg ]
+ PKGFOUND=./.pkg/All/pkg-1.5.6.txz
+ pkg -c /usr/local/stage add ./.pkg/All/pkg-1.5.6.txz
Installing pkg-1.5.6...
Extracting pkg-1.5.6: 100%
Message for pkg-1.5.6:
If you are upgrading from the old package format, first run:

  # pkg2ng
+ PKGFOUND=''
+ cd /usr/local/stage
+ find ./.pkg/All -name 'opnsense-*.txz'
+ pkg -c /usr/local/stage info -F ./.pkg/All/opnsense-update-15.7.10.txz
+ grep ^Name
+ awk '{ print $3; }'
+ PKGINFO=opnsense-update
+ [ opnsense = opnsense-update ]
+ pkg -c /usr/local/stage info -F ./.pkg/All/opnsense-devel-15.7_934.txz
+ grep ^Name
+ awk '{ print $3; }'
+ PKGINFO=opnsense-devel
+ [ opnsense = opnsense-devel ]
+ pkg -c /usr/local/stage add
Usage: pkg add [-IAfqM] <pkg-name> ...
       pkg add [-IAfqM] <protocol>://<path>/<pkg-name> ...

For more information see 'pkg help add'.
*** Error code 64

Stop.
make: stopped in /usr/tools

-------

Should there be a package of "opnsense"?
#10
Development and Code Review / Re: Build help
September 14, 2015, 11:50:22 AM
Without DEBUG=1

USER=root
VENDOR=amd
VGAIMG=/tmp/images/OPNsense-201509141134-OpenSSL-vga-amd64.img
>>> Setting up stage in /usr/local/stage
>>> Setting up world in /usr/local/stage
>>> Setting up kernel in /usr/local/stage
>>> Extracting packages in /usr/local/stage
>>> Installing packages in /usr/local/stage...
pkg: No packages installed.  Nothing to do!
Installing pkg-1.5.6...
Extracting pkg-1.5.6: .......... done
Message for pkg-1.5.6:
If you are upgrading from the old package format, first run:

  # pkg2ng
Usage: pkg add [-IAfqM] <pkg-name> ...
       pkg add [-IAfqM] <protocol>://<path>/<pkg-name> ...

For more information see 'pkg help add'.
*** Error code 64

Stop.
make: stopped in /usr/tools
#11
Development and Code Review / Re: Build help
September 14, 2015, 08:38:20 AM
make everything DEBUG=1

--- genassym.o ---
cc  -c -O2 -pipe -DDIS_MEM -DSMP -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/src/sys/modules/dtrace/dtrace/../../../cddl/contrib/opensolaris/uts/intel -I/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/x86 -I/usr/src/sys/modules/dtrace/dtrace/../../../cddl/compat/opensolaris -I/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace -I/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64 -I/usr/src/sys/modules/dtrace/dtrace/../../../cddl/contrib/opensolaris/uts/common -I/usr/src/sys/modules/dtrace/dtrace/../../../../cddl/contrib/opensolaris/common/util -I/usr/src/sys/modules/dtrace/dtrace/../../.. -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/SMP/opt_global.h -I. -I@ -I@/contrib/altq 1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/obj/usr/src/sys/SMP -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-unknown-pragmas -Wno-parentheses -Wno-uninitialized -Wno-cast-qual -Wno-unused -include /usr/src/sys/modules/dtrace/dtrace/../../../cddl/compat/opensolaris/sys/debug_compat.h  @/amd64/amd64/genassym.c
cc: error: no such file or directory: '1'
*** [genassym.o] Error code 1

make[6]: stopped in /usr/src/sys/modules/dtrace/dtrace
1 error

make[6]: stopped in /usr/src/sys/modules/dtrace/dtrace
*** [_sub.depend] Error code 2

make[5]: stopped in /usr/src/sys/modules/dtrace
1 error
#12
Development and Code Review / Re: Build help
September 10, 2015, 03:19:25 PM
Thank you.
I try to build iso image for x64 version of opnSense.
I also try to make regress
and this is result:
>>> Installing packages in /usr/local/stage...
+ BASEDIR=/usr/local/stage
+ shift
+ PKGLIST='opnsense pear-PHP_CodeSniffer'
+ pkg -c /usr/local/stage remove -fya
pkg: No packages installed.  Nothing to do!
+ [ -z 'opnsense pear-PHP_CodeSniffer' ]
+ PKGFOUND=''
+ cd /usr/local/stage
+ find ./.pkg/All -name 'pkg-*.txz'
+ pkg -c /usr/local/stage info -F ./.pkg/All/pkg-1.5.6.txz
+ grep ^Name
+ awk '{ print $3; }'
+ PKGINFO=pkg
+ [ pkg = pkg ]
+ PKGFOUND=./.pkg/All/pkg-1.5.6.txz
+ pkg -c /usr/local/stage add ./.pkg/All/pkg-1.5.6.txz
Installing pkg-1.5.6...
Extracting pkg-1.5.6: .......... done
Message for pkg-1.5.6:
If you are upgrading from the old package format, first run:

  # pkg2ng
+ PKGFOUND=''
+ cd /usr/local/stage
+ find ./.pkg/All -name 'opnsense-*.txz'
+ pkg -c /usr/local/stage info -F ./.pkg/All/opnsense-update-15.7.10.txz
+ grep ^Name
+ awk '{ print $3; }'
+ PKGINFO=opnsense-update
+ [ opnsense = opnsense-update ]
+ pkg -c /usr/local/stage info -F ./.pkg/All/opnsense-devel-15.7_934.txz
+ grep ^Name
+ awk '{ print $3; }'
+ PKGINFO=opnsense-devel
+ [ opnsense = opnsense-devel ]
+ pkg -c /usr/local/stage add
Usage: pkg add [-IAfqM] <pkg-name> ...
       pkg add [-IAfqM] <protocol>://<path>/<pkg-name> ...

For more information see 'pkg help add'.
*** Error code 64

Stop.
make: stopped in /usr/tools


No package opnsense was found during install
#13
Development and Code Review / Re: Build help
September 04, 2015, 07:03:43 PM
Found problem: when I do make everything DEBUG=1
cc: error: no such file or directory: '1'

when I try make everything DEBUG=7
cc: error: no such file or directory: '7'

"DEBUG=1" cause of the error.

Without "DEBUG=1" got error like in first post.
#14
Development and Code Review / Re: Build help
September 04, 2015, 11:26:44 AM
===> ata/atapci/chipsets/atavia (depend)
--- depend_subdir_dtrace ---
cc  -c -O2 -pipe -DDIS_MEM -DSMP -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/src/sys/modules/dtrace/dtrace/../../../cddl/contrib/opensolaris/uts/intel -I/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/x86 -I/usr/src/sys/modules/dtrace/dtrace/../../../cddl/compat/opensolaris -I/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace -I/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64 -I/usr/src/sys/modules/dtrace/dtrace/../../../cddl/contrib/opensolaris/uts/common -I/usr/src/sys/modules/dtrace/dtrace/../../../../cddl/contrib/opensolaris/common/util -I/usr/src/sys/modules/dtrace/dtrace/../../.. -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/SMP/opt_global.h -I. -I@ -I@/contrib/altq 1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/obj/usr/src/sys/SMP -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-unknown-pragmas -Wno-parentheses -Wno-uninitialized -Wno-cast-qual -Wno-unused -include /usr/src/sys/modules/dtrace/dtrace/../../../cddl/compat/opensolaris/sys/debug_compat.h  @/amd64/amd64/genassym.c
cc: error: no such file or directory: '1'
*** [genassym.o] Error code 1

make[6]: stopped in /usr/src/sys/modules/dtrace/dtrace
1 error

make[6]: stopped in /usr/src/sys/modules/dtrace/dtrace
--- depend_subdir_drm2 ---
A failure has been detected in another branch of the parallel make
--- depend_subdir_dtrace ---
*** [_sub.depend] Error code 2

make[5]: stopped in /usr/src/sys/modules/dtrace
1 error

make[5]: stopped in /usr/src/sys/modules/dtrace


Full build log:
http://s000.tinyupload.com/index.php?file_id=55666358271737935014
#15
Development and Code Review / Re: Build help
September 02, 2015, 05:07:55 PM
Got this:
===> libexec/rpc.rusersd (all)
===> libexec/rpc.rwalld (all)
===> libexec/rpc.sprayd (all)
===> libexec/rtld-elf (all)
cc  -O2 -pipe   -Wall -DFREEBSD_ELF -DIN_RTLD -I/usr/src/libexec/rtld-elf/../../lib/csu/common -I/usr/src/libexec/rtld-elf/amd64 -I/usr/src/libexec/rtld-elf -fpic -DPIC 1 -fvisibility=hidden -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float -DNDEBUG -std=gnu99 -Qunused-arguments  -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wformat=2 -Wno-format-extra-args -Wno-format-nonliteral  -c /usr/src/libexec/rtld-elf/amd64/rtld_start.S -o rtld_start.o
cc: error: no such file or directory: '1'
*** [rtld_start.o] Error code 1

make[5]: stopped in /usr/src/libexec/rtld-elf
1 error

make[5]: stopped in /usr/src/libexec/rtld-elf
*** [_sub.all] Error code 2

make[4]: stopped in /usr/src/libexec
1 error

make[4]: stopped in /usr/src/libexec
*** [libexec.all__D] Error code 2

make[3]: stopped in /usr/src
1 error