summaryrefslogtreecommitdiff
path: root/net/libradius
diff options
context:
space:
mode:
authormanu <manu@pkgsrc.org>2004-12-13 08:10:52 +0000
committermanu <manu@pkgsrc.org>2004-12-13 08:10:52 +0000
commit1a05e4b246060040980d31bb95cde0f815c98a96 (patch)
treeb8e1110b7dfb53b5139a84442891fce16d51b60c /net/libradius
parent4cd2c8f0f1d843ad4b6b3ad2b4ecf5ba5a72d39a (diff)
downloadpkgsrc-1a05e4b246060040980d31bb95cde0f815c98a96.tar.gz
Don't build the shared lib, as it breaks on some platforms (think about
libtooliz'ing that package one day)
Diffstat (limited to 'net/libradius')
-rw-r--r--net/libradius/Makefile4
-rw-r--r--net/libradius/distinfo7
-rw-r--r--net/libradius/patches/patch-aa30
3 files changed, 29 insertions, 12 deletions
diff --git a/net/libradius/Makefile b/net/libradius/Makefile
index 82de441b9f1..02e67a08bc5 100644
--- a/net/libradius/Makefile
+++ b/net/libradius/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.4 2004/11/10 09:10:46 xtraeme Exp $
+# $NetBSD: Makefile,v 1.5 2004/12/13 08:10:52 manu Exp $
#
DISTNAME= libradius-linux-20040827
PKGNAME= ${DISTNAME:S/-linux//}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= http://portal-to-web.de/tacacs/
diff --git a/net/libradius/distinfo b/net/libradius/distinfo
index 7c65460f5e5..9c6d35c4a72 100644
--- a/net/libradius/distinfo
+++ b/net/libradius/distinfo
@@ -1,5 +1,8 @@
-$NetBSD: distinfo,v 1.2 2004/11/10 08:46:51 xtraeme Exp $
+$NetBSD: distinfo,v 1.3 2004/12/13 08:10:52 manu Exp $
SHA1 (libradius-linux-20040827.tar.gz) = 27abd1390d16befe290ded70579bfdda8fabe68f
Size (libradius-linux-20040827.tar.gz) = 15791 bytes
-SHA1 (patch-aa) = 8f28804cf1c92ae230663392cd2ad0258404d665
+<<<<<<< distinfo
+=======
+>>>>>>> 1.2
+SHA1 (patch-aa) = 5fdf496cad5f656f8af502533a1a0e4c376783c6
diff --git a/net/libradius/patches/patch-aa b/net/libradius/patches/patch-aa
index f217d04e790..ad86a911015 100644
--- a/net/libradius/patches/patch-aa
+++ b/net/libradius/patches/patch-aa
@@ -1,7 +1,6 @@
-$NetBSD: patch-aa,v 1.3 2004/11/10 08:46:51 xtraeme Exp $
---- Makefile.orig 2004-08-27 07:20:33.000000000 +0000
-+++ Makefile 2004-09-07 18:39:55.000000000 +0000
-@@ -23,20 +23,16 @@
+--- Makefile.orig 2004-08-27 09:20:33.000000000 +0200
++++ Makefile 2004-12-13 09:11:36.000000000 +0100
+@@ -23,17 +23,13 @@
# SUCH DAMAGE.
#
# $FreeBSD: src/lib/libradius/Makefile,v 1.1.1.1 1998/11/13 00:53:01 jdp Exp $
@@ -20,12 +19,27 @@ $NetBSD: patch-aa,v 1.3 2004/11/10 08:46:51 xtraeme Exp $
+#LIBMD= -L$(PREFIX)/lib -lmd
# netbsd - it's in libc
--#LIBMD= -L/usr/lib -lc
-+#LIBMD= -L/usr/lib -lc
+ #LIBMD= -L/usr/lib -lc
+@@ -47,13 +43,13 @@
+ lib$(LIB).a: $(OBJS)
+ ar cru $@ $(OBJS)
+ ranlib $@
+
+-radlib.o: radlib.c
+- $(CC) $(CFLAGS) -c radlib.c -o radlib_r.o
+- ld -r -o radlib.o radlib_r.o -L$(PREFIX)/lib $(LIBMD)
+- $(CC) -shared radlib_r.o -o libradius.so.1.0 -L$(PREFIX)/lib $(LIBMD)
+- $(RM) radlib_r.o
++#radlib.o: radlib.c
++# $(CC) $(CFLAGS) -c radlib.c -o radlib_r.o
++# ld -r -o radlib.o radlib_r.o -L$(PREFIX)/lib $(LIBMD)
++# $(CC) -shared radlib_r.o -o libradius.so.1.0 -L$(PREFIX)/lib $(LIBMD)
++# $(RM) radlib_r.o
+
+ clean:
+ $(RM) *.o
- LIB= radius
- OBJS= radlib.o
@@ -61,9 +57,9 @@
$(RM) lib$(LIB).a