Changeset a87727a for npl/system/libmnl


Ignore:
Timestamp:
06/14/21 10:28:36 (4 years ago)
Author:
Edwin Eefting <edwin@datux.nl>
Branches:
master
Children:
62266ed
Parents:
31fd825
Message:

conntrack_tools and deps

Location:
npl/system/libmnl
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • npl/system/libmnl/libmnl.SlackBuild

    r31fd825 ra87727a  
    22#
    33# Automaticly created by importpackage v1.0
    4 # Imported from: http://mirrors.slackware.com/slackware/slackware-current/source/n/libmnl/
    5 # Created at Thu Jan 19 22:29:07 CET 2017
     4# Imported from: https://mirrors.slackware.com/slackware/slackware-current/source/n/libmnl/
     5# Created at ma 14 jun 2021 10:13:11 CEST
    66
    77
  • npl/system/libmnl/libmnl.SlackBuild.orig

    r31fd825 ra87727a  
    1 #!/bin/sh
     1#!/bin/bash
    22
    33# Slackware build script for libmnl
    44
    5 # Copyright 2013  Patrick J. Volkerding, Sebeka, Minnesota, USA
     5# Copyright 2013, 2018  Patrick J. Volkerding, Sebeka, Minnesota, USA
    66# Copyright 2013  Robby Workman, Northport, Alabama, USA
    77# All rights reserved.
     
    2424#  ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    2525
     26cd $(dirname $0) ; CWD=$(pwd)
     27
    2628PKGNAM=libmnl
    2729VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
    28 BUILD=${BUILD:-1}
     30BUILD=${BUILD:-5}
    2931
    30 NUMJOBS=${NUMJOBS:-" -j7 "}
     32NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
    3133
    3234# Automatically determine the architecture we're building on:
    3335if [ -z "$ARCH" ]; then
    3436  case "$( uname -m )" in
    35     i?86) export ARCH=i486 ;;
     37    i?86) export ARCH=i586 ;;
    3638    arm*) export ARCH=arm ;;
    3739    # Unless $ARCH is already set, use uname -m for all other archs:
     
    4042fi
    4143
    42 if [ "$ARCH" = "i486" ]; then
    43   SLKCFLAGS="-O2 -march=i486 -mtune=i686"
     44# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
     45# the name of the created package would be, and then exit. This information
     46# could be useful to other scripts.
     47if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
     48  echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
     49  exit 0
     50fi
     51
     52if [ "$ARCH" = "i586" ]; then
     53  SLKCFLAGS="-O2 -march=i586 -mtune=i686"
    4454  LIBDIRSUFFIX=""
    4555elif [ "$ARCH" = "s390" ]; then
     
    5464fi
    5565
    56 CWD=$(pwd)
    5766TMP=${TMP:-/tmp}
    5867PKG=$TMP/package-$PKGNAM
     
    6978find . \
    7079  \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
    71   -exec chmod 755 {} \; -o \
     80  -exec chmod 755 {} \+ -o \
    7281  \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
    73   -exec chmod 644 {} \;
     82  -exec chmod 644 {} \+
    7483
    7584CFLAGS="$SLKCFLAGS" \
     
    8998
    9099rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.la
     100
     101# Move the shared library to $PKG/lib${LIBDIRSUFFIX}:
     102mkdir -p $PKG/lib${LIBDIRSUFFIX}
     103( cd $PKG/usr/lib${LIBDIRSUFFIX}
     104  for file in lib*.so.?.* ; do
     105    mv $file ../../lib${LIBDIRSUFFIX}
     106    ln -sf ../../lib${LIBDIRSUFFIX}/$file .
     107  done
     108  cp -a lib*.so.? ../../lib${LIBDIRSUFFIX}
     109)
    91110
    92111find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \
  • npl/system/libmnl/libmnl.arch

    r31fd825 ra87727a  
    1 i486
     1i586
  • npl/system/libmnl/libmnl.build

    r31fd825 ra87727a  
    1 6130
     11
  • npl/system/libmnl/libmnl.md5

    r31fd825 ra87727a  
    117bbeb8cdb3258793bd937887213cf20e  ./libmnl-1.0.4.tar.xz
    2 077cc18972b64a44069e3d9162b4c4dd  ./libmnl_dev.pkg
    3 d4215f63dc264d45da6589f313c8d8d3  ./libmnl.pkg
    4 9b6983326a218565c0697bda6597e841  ./libmnl.SlackBuild
    5 d74e5eb29142d155c7845b6dbaa0b2c7  ./libmnl.SlackBuild.log.gz
    6 85eced3a2d32e12ee7bc8d344a0f9c2a  ./libmnl.SlackBuild.orig
    7 931c8a9169fa3bd3f0d0cf7881dc5e2c  ./slack-desc
     20e4feb61bacd39542f3acc4ce40c2423  ./libmnl_dev.pkg
     3d23e8e230bf579797d46868b60c54c97  ./libmnl.pkg
     47202667646db55bf98e7ac6c15835297  ./libmnl.SlackBuild
     5eb3a92dfb701942b95a4523b5d0eae8e  ./libmnl.SlackBuild.log.gz
     600df8bb2b35f0d4f0fb3ad39bef54bdc  ./libmnl.SlackBuild.orig
     7b7373248c6cf9d6af5802b2939cc5de0  ./slack-desc
  • npl/system/libmnl/libmnl.pkg

    • Property mode changed from 100755 to 100644
  • npl/system/libmnl/libmnl_dev.arch

    r31fd825 ra87727a  
    1 i486
     1i586
  • npl/system/libmnl/libmnl_dev.build

    r31fd825 ra87727a  
    1 2
     11
  • npl/system/libmnl/slack-desc

    r31fd825 ra87727a  
    33# Line up the first '|' above the ':' following the base package name, and
    44# the '|' on the right side marks the last column you can put a character in.
    5 # You must make exactly 11 lines for the formatting to be correct.  It's also
     5# You must make exactly 11 lines for the formatting to be correct. It's also
    66# customary to leave one space after the ':' except on otherwise blank lines.
    77
     
    1010libmnl:
    1111libmnl: libmnl is a minimalistic user-space library oriented to Netlink
    12 libmnl: developers.  There are a lot of common tasks in parsing, validating,
     12libmnl: developers. There are a lot of common tasks in parsing, validating,
    1313libmnl: constructing of both the Netlink header and TLVs that are repetitive
    14 libmnl: and easy to get wrong.  This library aims to provide simple helpers
     14libmnl: and easy to get wrong. This library aims to provide simple helpers
    1515libmnl: that allows you to re-use code and to avoid re-inventing the wheel.
    1616libmnl:
Note: See TracChangeset for help on using the changeset viewer.