This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[pid 2671] munmap(0x7f552cbbc000, 21893) = 0 | |
[pid 2671] set_tid_address(0x7f552c7b5b10) = 2671 | |
[pid 2671] set_robust_list(0x7f552c7b5b20, 24) = 0 | |
[pid 2671] rt_sigaction(SIGRTMIN, {sa_handler=0x7f552c85ac50, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f552c867b20}, NULL, 8) = 0 | |
[pid 2671] rt_sigaction(SIGRT_1, {sa_handler=0x7f552c85acf0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f552c867b20}, NULL, 8) = 0 | |
[pid 2671] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 | |
[pid 2671] prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 | |
[pid 2671] statfs("/sys/fs/selinux", {f_type=SELINUX_MAGIC, f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={val=[0, 0]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_RELATIME}) = 0 | |
[pid 2671] statfs("/sys/fs/selinux", {f_type=SELINUX_MAGIC, f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={val=[0, 0]}, f_namelen=255, f_frsize=4096, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%define _prefix /opt | |
Prefix: %{_prefix} | |
%global debug_package %{nil} | |
%global provider github | |
%global provider_tld com | |
%global project gravitational | |
%global repo teleport | |
%global commit c2c3d20a936206ff1425a481aa3acf6a63374594 | |
%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} | |
%global import_path %{provider_prefix} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Teleport < Formula | |
desc "Modern SSH server for teams managing distributed infrastructure" | |
homepage "https://gravitational.com/teleport" | |
url "https://github.com/gravitational/teleport/archive/v2.0.0-rc.2.tar.gz" | |
version "2.0.0-rc.2" | |
sha256 "83eb7b180c4b861b8fe7a4e7f7a8bcbae9022ed90c1c420cb82550242024d4ac" | |
depends_on "go" => :build | |
depends_on "libu2f-host" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@snoopy-rpm SPECS]# rpmbuild -bb snoopy.spec | |
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cdkV7p | |
+ umask 022 | |
+ cd /root/rpmbuild/BUILD | |
+ LANG=C | |
+ export LANG | |
+ unset DISPLAY | |
+ cd /root/rpmbuild/BUILD | |
+ rm -rf snoopy-51914ec15ec2c6881f52e2a7df94afdf95e3b8c9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> snoopy-rpm: Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.29941 | |
==> snoopy-rpm: + umask 022 | |
==> snoopy-rpm: + cd /usr/src/redhat/BUILD | |
==> snoopy-rpm: + LANG=C | |
==> snoopy-rpm: + export LANG | |
==> snoopy-rpm: + unset DISPLAY | |
==> snoopy-rpm: + cd /usr/src/redhat/BUILD | |
==> snoopy-rpm: + rm -rf snoopy-51914ec15ec2c6881f52e2a7df94afdf95e3b8c9 | |
==> snoopy-rpm: + /bin/gzip -dc /usr/src/redhat/SOURCES/snoopy-51914ec15ec2c6881f52e2a7df94afdf95e3b8c9.tar.gz | |
==> snoopy-rpm: + tar -xf - |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[vagrant@snoopy-rpm ~]$ cat /var/tmp/rpm-tmp.27390 | |
#!/bin/sh | |
RPM_SOURCE_DIR="/usr/src/redhat/SOURCES" | |
RPM_BUILD_DIR="/usr/src/redhat/BUILD" | |
RPM_OPT_FLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic" | |
RPM_ARCH="x86_64" | |
RPM_OS="linux" | |
export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS | |
RPM_DOC_DIR="/usr/share/doc" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> snoopy-rpm: Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.27390 | |
==> snoopy-rpm: + umask 022 | |
==> snoopy-rpm: + cd /usr/src/redhat/BUILD | |
==> snoopy-rpm: + LANG=C | |
==> snoopy-rpm: + export LANG | |
==> snoopy-rpm: + unset DISPLAY | |
==> snoopy-rpm: + cd /usr/src/redhat/BUILD | |
==> snoopy-rpm: + rm -rf snoopy-51914ec15ec2c6881f52e2a7df94afdf95e3b8c9 | |
==> snoopy-rpm: + /bin/gzip -dc /usr/src/redhat/SOURCES/snoopy-51914ec15ec2c6881f52e2a7df94afdf95e3b8c9.tar.gz | |
==> snoopy-rpm: + tar -xf - |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# we need to refresh ohai when adding a user | |
ohai 'passwd' do | |
action :nothing | |
plugin 'etc' | |
end | |
users = data_bag('users') | |
# create users and set up keys |