summaryrefslogtreecommitdiffstats
path: root/source/n
diff options
context:
space:
mode:
Diffstat (limited to 'source/n')
-rwxr-xr-xsource/n/netkit-bootparamd/netkit-bootparamd.SlackBuild11
-rwxr-xr-xsource/n/netkit-rusers/netkit-rusers.SlackBuild9
-rwxr-xr-xsource/n/netkit-rwall/netkit-rwall.SlackBuild9
3 files changed, 23 insertions, 6 deletions
diff --git a/source/n/netkit-bootparamd/netkit-bootparamd.SlackBuild b/source/n/netkit-bootparamd/netkit-bootparamd.SlackBuild
index a5ac3f8bb..bc031d663 100755
--- a/source/n/netkit-bootparamd/netkit-bootparamd.SlackBuild
+++ b/source/n/netkit-bootparamd/netkit-bootparamd.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2007-2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2007-2021 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=netkit-bootparamd
VERSION=0.17
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -55,7 +55,14 @@ rm -rf netkit-bootparamd-$VERSION
tar xzvf $CWD/netkit-bootparamd-$VERSION.tar.gz || exit 1
cd netkit-bootparamd-$VERSION
chown -R root:root .
+
./configure --prefix=/usr
+
+# Fixes for libtirpc:
+sed -i -e 's/Winline/Winline -I\/usr\/include\/tirpc/' MCONFIG
+sed -i -e 's/LDFLAGS=/LDFLAGS=-ltirpc/' MCONFIG
+sed -i -e 's/void get_myaddress/extern int get_myaddress/' rpc.bootparamd/main.c
+
make || exit 1
cd rpc.bootparamd
strip bootparamd callbootd
diff --git a/source/n/netkit-rusers/netkit-rusers.SlackBuild b/source/n/netkit-rusers/netkit-rusers.SlackBuild
index 9a8eb7c3d..fd0908ea0 100755
--- a/source/n/netkit-rusers/netkit-rusers.SlackBuild
+++ b/source/n/netkit-rusers/netkit-rusers.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2007-2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2007-2021 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=netkit-rusers
VERSION=0.17
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -56,6 +56,11 @@ cd netkit-rusers-$VERSION
chown -R root:root .
zcat $CWD/netkit-rusers-0.17.diff.gz | patch -p1 || exit 1
./configure --prefix=/usr
+
+# Fixes for libtirpc:
+sed -i -e 's/Winline/Winline -I\/usr\/include\/tirpc/' MCONFIG
+sed -i -e 's/LDFLAGS=/LDFLAGS=-ltirpc/' MCONFIG
+
make || exit
cd rpc.rusersd
strip rusersd
diff --git a/source/n/netkit-rwall/netkit-rwall.SlackBuild b/source/n/netkit-rwall/netkit-rwall.SlackBuild
index 7a2105698..6a2fae615 100755
--- a/source/n/netkit-rwall/netkit-rwall.SlackBuild
+++ b/source/n/netkit-rwall/netkit-rwall.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2007-2018 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2007-2021 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=netkit-rwall
VERSION=0.17
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -56,6 +56,11 @@ tar xzvf $CWD/netkit-rwall-$VERSION.tar.gz || exit 1
cd netkit-rwall-$VERSION
chown -R root:root .
./configure --prefix=/usr
+
+# Fixes for libtirpc:
+sed -i -e 's/Winline/Winline -I\/usr\/include\/tirpc/' MCONFIG
+sed -i -e 's/LDFLAGS=/LDFLAGS=-ltirpc/' MCONFIG
+
make || exit 1
cd rpc.rwalld
strip rwalld