aboutsummaryrefslogtreecommitdiff
path: root/network/quagga
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2022-02-25 13:08:43 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-27 01:09:51 +0700
commit10eaded8f7e18b66b7cd17a9f0cef583f4ea84f6 (patch)
tree31fd93939c0a136adcfee19672f51bdb9638014a /network/quagga
parentabf12ae35b91daddf67bf5c438d91a8ac8ec04af (diff)
network/quagga: Add autoreconf + -fcommon.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/quagga')
-rw-r--r--network/quagga/quagga.SlackBuild5
-rw-r--r--network/quagga/vtysh_user.c.diff7
-rw-r--r--network/quagga/vtysh_user.c.diff.gzbin264 -> 0 bytes
3 files changed, 10 insertions, 2 deletions
diff --git a/network/quagga/quagga.SlackBuild b/network/quagga/quagga.SlackBuild
index 1053596a2d0e1..d67f88e61a2db 100644
--- a/network/quagga/quagga.SlackBuild
+++ b/network/quagga/quagga.SlackBuild
@@ -98,7 +98,7 @@ USE_PAM=${USE_PAM:-NO}
if [ "$USE_PAM" == 'YES' ]; then
DO_PAM="--with-libpam"
- zcat $CWD/vtysh_user.c.diff.gz | patch -p1
+ cat $CWD/vtysh_user.c.diff.gz | patch -p1
mkdir -p $PKG/etc/pam.d
cat $CWD/quagga.pam > $PKG/etc/pam.d/quagga
else
@@ -106,8 +106,9 @@ else
fi
#./bootstrap.sh
+autoreconf -fi
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fcommon" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
diff --git a/network/quagga/vtysh_user.c.diff b/network/quagga/vtysh_user.c.diff
new file mode 100644
index 0000000000000..7dfad308616d5
--- /dev/null
+++ b/network/quagga/vtysh_user.c.diff
@@ -0,0 +1,7 @@
+--- old/vtysh/vtysh_user.c.orig 2006-11-03 01:53:58.000000000 +0100
++++ new/vtysh/vtysh_user.c 2006-11-03 01:59:02.000000000 +0100
+@@ -60,2 +60,4 @@ vtysh_pam (const char *user)
+ ret = pam_authenticate (pamh, 0);
++ if (ret != PAM_SUCCESS)
++ printf("Not authenticated. Check /etc/pam.d/quagga.\n");
+ /* printf ("ret %d\n", ret); */
diff --git a/network/quagga/vtysh_user.c.diff.gz b/network/quagga/vtysh_user.c.diff.gz
deleted file mode 100644
index 4bdc3d84552f4..0000000000000
--- a/network/quagga/vtysh_user.c.diff.gz
+++ /dev/null
Binary files differ