summaryrefslogtreecommitdiff
path: root/mbone
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2000-12-17 09:46:00 +0000
committerhubertf <hubertf@pkgsrc.org>2000-12-17 09:46:00 +0000
commit9f1a537c6405df73ba57ff17128e485bd8c14a93 (patch)
tree907bfef8035826314226b81e09bc913fcbaf9168 /mbone
parent80386e6127f31cee7a2f57519a73b70a7e9e0a91 (diff)
downloadpkgsrc-9f1a537c6405df73ba57ff17128e485bd8c14a93.tar.gz
Import common-mml-1.2.0:
The UCL common multimedia library implements a number of algorithms and protocols needed by a number of our applications. It compiles standalone on a range of Unix systems (Solaris, Linux, Irix, FreeBSD) and on Windows 95/98/NT. The following protocols/algorithms are included in the library: * Base64 encoding/decoding * Binary tree * Random number * HMAC authentication * MD5 * DES * RTP * Mbus
Diffstat (limited to 'mbone')
-rw-r--r--mbone/common-mml/Makefile27
-rw-r--r--mbone/common-mml/files/md53
-rw-r--r--mbone/common-mml/files/patch-sum4
-rw-r--r--mbone/common-mml/patches/patch-aa22
-rw-r--r--mbone/common-mml/patches/patch-ab35
-rw-r--r--mbone/common-mml/pkg/COMMENT1
-rw-r--r--mbone/common-mml/pkg/DESCR15
-rw-r--r--mbone/common-mml/pkg/PLIST43
8 files changed, 150 insertions, 0 deletions
diff --git a/mbone/common-mml/Makefile b/mbone/common-mml/Makefile
new file mode 100644
index 00000000000..79d2798dca0
--- /dev/null
+++ b/mbone/common-mml/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/17 09:46:00 hubertf Exp $
+#
+
+DISTNAME= common-1.2.0
+PKGNAME= common-mml-1.2.0
+CATEGORIES= mbone
+MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/common/
+
+MAINTAINER= hubertf@netbsd.org
+HOMEPAGE= http://www-mice.cs.ucl.ac.uk/multimedia/software/common/index.html
+
+.include "../../mk/bsd.prefs.mk"
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+WRKSRC= ${WRKDIR}/common
+
+# this does ipv6 ONLY ;(
+# .if ${USE_INET6} == "YES"
+# CONFIGURE_ARGS+= --enable-ipv6
+# .endif
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/include/common-mml
+ ${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/common-mml
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mbone/common-mml/files/md5 b/mbone/common-mml/files/md5
new file mode 100644
index 00000000000..0b3becf4775
--- /dev/null
+++ b/mbone/common-mml/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/17 09:46:00 hubertf Exp $
+
+MD5 (common-1.2.0.tar.gz) = 9d813322a04d84b315b23bb881282742
diff --git a/mbone/common-mml/files/patch-sum b/mbone/common-mml/files/patch-sum
new file mode 100644
index 00000000000..ac09a633f00
--- /dev/null
+++ b/mbone/common-mml/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/17 09:46:00 hubertf Exp $
+
+MD5 (patch-aa) = 7d9bd413bf88e7a0816125360476f35f
+MD5 (patch-ab) = fffe3e06935d82953c43e94d872eb9cb
diff --git a/mbone/common-mml/patches/patch-aa b/mbone/common-mml/patches/patch-aa
new file mode 100644
index 00000000000..96b13cbc176
--- /dev/null
+++ b/mbone/common-mml/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/17 09:46:00 hubertf Exp $
+
+--- config_unix.h.orig Sat Dec 16 07:55:38 2000
++++ config_unix.h
+@@ -41,8 +41,6 @@
+ #ifndef _CONFIG_UNIX_H
+ #define _CONFIG_UNIX_H
+
+-#include "uclconf.h"
+-
+ #include <limits.h>
+ #include <sys/types.h>
+ #include <sys/time.h>
+@@ -71,6 +69,8 @@
+ #include <sys/ioctl.h>
+ #include <netdb.h>
+ #include <arpa/inet.h>
++
++#include "uclconf.h"
+
+ #ifdef HAVE_SYS_WAIT_H
+ #include <sys/wait.h>
diff --git a/mbone/common-mml/patches/patch-ab b/mbone/common-mml/patches/patch-ab
new file mode 100644
index 00000000000..395cf37c5ed
--- /dev/null
+++ b/mbone/common-mml/patches/patch-ab
@@ -0,0 +1,35 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/12/17 09:46:00 hubertf Exp $
+
+--- Makefile.in.orig Tue May 16 19:02:48 2000
++++ Makefile.in
+@@ -6,11 +6,11 @@
+ DEFS = @DEFS@
+ CFLAGS = @CFLAGS@ $(DEFS)
+ LIBS = @LIBS@
+-CC = @CC@
++CC = ${LIBTOOL} @CC@
+ AR = ar
+ RANLIB = @RANLIB@
+ HOST = @host@
+-TARGET = libuclmmbase.a
++TARGET = libuclmmbase.la
+
+ exec_prefix=@exec_prefix@
+
+@@ -30,8 +30,8 @@
+ $(CC) $(TEST_OBJS) $(CFLAGS) $(TARGET) $(LIBS) -o test-libcommon
+
+ $(TARGET): $(OBJS)
+- $(AR) r $(TARGET) $(OBJS)
+- $(RANLIB) $(TARGET)
++ $(CC) $(OBJS:S/.o/.lo/) -o $(TARGET) \
++ -rpath ${PREFIX}/lib -version-info 1:2:0
+
+ version.h: VERSION
+ sed -e 's/.*/#define CCL_VERSION "v&"/' VERSION > version.h
+@@ -57,3 +57,5 @@
+ depend: $(SRCS)
+ makedepend $(DEFS) $(INC) $(SRCS)
+
++install:
++ ${LIBTOOL} install -c ${TARGET} ${PREFIX}/lib
diff --git a/mbone/common-mml/pkg/COMMENT b/mbone/common-mml/pkg/COMMENT
new file mode 100644
index 00000000000..eb33146845a
--- /dev/null
+++ b/mbone/common-mml/pkg/COMMENT
@@ -0,0 +1 @@
+Common multimedia library required by mbone tools
diff --git a/mbone/common-mml/pkg/DESCR b/mbone/common-mml/pkg/DESCR
new file mode 100644
index 00000000000..ec50437fa2d
--- /dev/null
+++ b/mbone/common-mml/pkg/DESCR
@@ -0,0 +1,15 @@
+The UCL common multimedia library implements a number of algorithms and
+protocols needed by a number of our applications. It compiles standalone
+on a range of Unix systems (Solaris, Linux, Irix, FreeBSD) and on Windows
+95/98/NT.
+
+The following protocols/algorithms are included in the library:
+
+ * Base64 encoding/decoding
+ * Binary tree
+ * Random number
+ * HMAC authentication
+ * MD5
+ * DES
+ * RTP
+ * Mbus
diff --git a/mbone/common-mml/pkg/PLIST b/mbone/common-mml/pkg/PLIST
new file mode 100644
index 00000000000..ed02bd87b9c
--- /dev/null
+++ b/mbone/common-mml/pkg/PLIST
@@ -0,0 +1,43 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/17 09:46:00 hubertf Exp $
+lib/libuclmmbase.a
+lib/libuclmmbase.la
+lib/libuclmmbase.so.1.2
+include/common-mml/acconfig.h
+include/common-mml/addrinfo.h
+include/common-mml/addrsize.h
+include/common-mml/asarray.h
+include/common-mml/base64.h
+include/common-mml/bittypes.h
+include/common-mml/btree.h
+include/common-mml/cdecl_ext.h
+include/common-mml/config_unix.h
+include/common-mml/config_win32.h
+include/common-mml/crypt_random.h
+include/common-mml/debug.h
+include/common-mml/drand48.h
+include/common-mml/gettimeofday.h
+include/common-mml/hmac.h
+include/common-mml/inet_ntop.h
+include/common-mml/inet_pton.h
+include/common-mml/mbus.h
+include/common-mml/mbus_addr.h
+include/common-mml/mbus_config.h
+include/common-mml/mbus_parser.h
+include/common-mml/md5.h
+include/common-mml/memory.h
+include/common-mml/net_udp.h
+include/common-mml/ntp.h
+include/common-mml/qfDES.h
+include/common-mml/rtp.h
+include/common-mml/sockstorage.h
+include/common-mml/test_base64.h
+include/common-mml/test_des.h
+include/common-mml/test_mbus_addr.h
+include/common-mml/test_mbus_parser.h
+include/common-mml/test_md5.h
+include/common-mml/test_memory.h
+include/common-mml/test_net_udp.h
+include/common-mml/uclconf.h
+include/common-mml/util.h
+include/common-mml/version.h
+@dirrm include/common-mml