1*4882a593SmuzhiyunSUMMARY = "Simple Go-based setuid+setgid+setgroups+exec" 2*4882a593SmuzhiyunHOMEPAGE = "https://github.com/tianon/gosu" 3*4882a593SmuzhiyunDESCRIPTION = "This is a simple tool grown out of the simple fact that su and sudo have very strange and often annoying TTY and signal-forwarding behavior." 4*4882a593SmuzhiyunLICENSE = "Apache-2.0 " 5*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunGO_IMPORT = "github.com/tianon/gosu" 8*4882a593SmuzhiyunSRC_URI = "git://${GO_IMPORT}.git;branch=master;protocol=https \ 9*4882a593Smuzhiyun git://github.com/opencontainers/runc;name=runc;destsuffix=${S}/src/github.com/opencontainers/runc;branch=main;protocol=https \ 10*4882a593Smuzhiyun" 11*4882a593SmuzhiyunSRCREV = "9f7cd138a1ebc0684d43ef6046bf723978e8741f" 12*4882a593SmuzhiyunSRCREV_runc = "d7f7b22a85a2387557bdcda125710c2506f8d5c5" 13*4882a593Smuzhiyuninherit go 14*4882a593Smuzhiyun 15*4882a593Smuzhiyundo_compile:prepend() { 16*4882a593Smuzhiyun # New Go versions has Go modules support enabled by default 17*4882a593Smuzhiyun export GO111MODULE=off 18*4882a593Smuzhiyun} 19*4882a593Smuzhiyun 20*4882a593SmuzhiyunRDEPENDS:${PN}-dev += "bash" 21