diff options
Diffstat (limited to 'system/runc')
-rw-r--r-- | system/runc/runc.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/system/runc/runc.SlackBuild b/system/runc/runc.SlackBuild index 47f3fc8d29bd..3cfd1f3e52eb 100644 --- a/system/runc/runc.SlackBuild +++ b/system/runc/runc.SlackBuild @@ -23,12 +23,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220415 bkw: Modified by SlackBuilds.org, BUILD=2: strip binary. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=runc VERSION=${VERSION:-1.0.2} GITHASH=${GITHASH:-12644e614e25b05da6fd08a38ffa0cfe1903fdec} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -42,9 +44,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -65,9 +64,9 @@ cd $PRGNAM-$SRCVER chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ # Do not try to get git commit hash, we're not inside git repository. sed -i '/^COMMIT/d' Makefile @@ -77,6 +76,7 @@ make \ COMMIT=$GITHASH make install BINDIR=$PKG/usr/bin make install-bash PREFIX=$PKG/usr +strip $PKG/usr/bin/$PRGNAM mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a LICENSE MAINTAINERS NOTICE README.md $PKG/usr/doc/$PRGNAM-$VERSION |