upgrade to libevent 0.3d

This commit is contained in:
brad 2001-07-08 02:59:48 +00:00
parent 81fb0d5991
commit 4e2558be14
5 changed files with 35 additions and 101 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2001/04/07 04:42:21 brad Exp $
# $OpenBSD: Makefile,v 1.3 2001/07/08 02:59:48 brad Exp $
COMMENT= "asynchronous event library"
DISTNAME= libevent-0.3c
DISTNAME= libevent-0.3d
CATEGORIES= devel
NEED_VERSION= 1.384
NEED_VERSION= 1.413
MASTER_SITES= http://www.monkey.org/~provos/
HOMEPAGE= http://www.monkey.org/~provos/libevent/
@ -16,8 +16,10 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
FAKE_FLAGS= install_prefix="${WRKINST}"
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= autoconf
CONFIGURE_STYLE= gnu
WRKDIST= ${WRKDIR}/libevent

View File

@ -1,3 +1,3 @@
MD5 (libevent-0.3c.tar.gz) = 5555b1ba9ee924575b17284807f54d72
RMD160 (libevent-0.3c.tar.gz) = 6ea08eef7887ea1e53337763fef30ccad5c28a1d
SHA1 (libevent-0.3c.tar.gz) = 5026828158861bc4482ce1e2a1b218df2eaa8572
MD5 (libevent-0.3d.tar.gz) = e7b2660b0d55446ce6446d1f811e23af
RMD160 (libevent-0.3d.tar.gz) = 6b40fbe3cfd96c1264dbadcecf6a35b497c18b93
SHA1 (libevent-0.3d.tar.gz) = e69505b960016b19dac05ff5c1fb665530c7a59b

View File

@ -1,42 +1,18 @@
$OpenBSD: patch-Makefile_in,v 1.1 2001/04/07 04:42:21 brad Exp $
--- Makefile.in.orig Tue Mar 6 13:27:36 2001
+++ Makefile.in Sat Apr 7 00:16:24 2001
@@ -8,7 +8,7 @@
srcdir = @srcdir@
VPATH = @srcdir@
-install_prefix =
+DESTDIR =
prefix = @prefix@
exec_prefix = @exec_prefix@
libdir = @libdir@
@@ -16,47 +16,48 @@ mandir = @mandir@
$OpenBSD: patch-Makefile_in,v 1.2 2001/07/08 02:59:49 brad Exp $
--- Makefile.in.orig Sun Jun 3 19:38:00 2001
+++ Makefile.in Sat Jul 7 22:49:39 2001
@@ -16,8 +16,9 @@ mandir = @mandir@
includedir = @includedir@
CC = @CC@
+RANLIB = @RANLIB@
+RANLIB = @RANLIB@
DEFS = @DEFS@
CFLAGS = @CFLAGS@ $(DEFS) -Wall -I.
-CFLAGS = @CFLAGS@ $(DEFS) -Wall -I/usr/include -I$(srcdir) -I$(srcdir)/missing
+CFLAGS = @CFLAGS@ $(DEFS) -Wall -I. -I$(srcdir) -I$(srcdir)/missing
LDFLAGS = @LDFLAGS@
INSTALL = @INSTALL@
-INSTALL_DATA = @INSTALL_DATA@
+INSTALL_DATA = @INSTALL_DATA@
LN_S = @LN_S@
-HDRS = event.h
-SRCS = event.c @EVSRCS@
-OBJS = $(SRCS:.c=.o)
+HDRS = event.h
+SRCS = event.c @EVSRCS@
+OBJS = $(SRCS:.c=.o)
.c.o:
- $(CC) $(CFLAGS) -c $(srcdir)/$*.c
+ $(CC) $(CFLAGS) -c $<
all: libevent.a
@@ -36,27 +37,27 @@ all: libevent.a
libevent.a: $(OBJS)
@echo "building $@"
ar cru $@ $(OBJS)
@ -44,11 +20,13 @@ $OpenBSD: patch-Makefile_in,v 1.1 2001/04/07 04:42:21 brad Exp $
+ $(RANLIB) $@
install:
- $(INSTALL) -d $(install_prefix)$(libdir)
$(INSTALL) -d $(install_prefix)$(libdir)
- $(INSTALL_DATA) libevent.a $(libdir)
- $(INSTALL) -d $(install_prefix)$(mandir)/man3
+ $(INSTALL_DATA) libevent.a $(install_prefix)$(libdir)
$(INSTALL) -d $(install_prefix)$(mandir)/man3
- $(INSTALL_DATA) *.3 $(install_prefix)$(mandir)/man3
- $(INSTALL) -d $(install_prefix)$(includedir)
+ $(INSTALL_DATA) $(srcdir)/*.3 $(install_prefix)$(mandir)/man3
$(INSTALL) -d $(install_prefix)$(includedir)
- $(INSTALL_DATA) *.h $(install_prefix)$(includedir)
- (cd $(install_prefix)$(mandir)/man3 && $(LN_S) event.3 event_init.3)
- (cd $(install_prefix)$(mandir)/man3 && $(LN_S) event.3 event_dispatch.3)
@ -62,24 +40,19 @@ $OpenBSD: patch-Makefile_in,v 1.1 2001/04/07 04:42:21 brad Exp $
- (cd $(install_prefix)$(mandir)/man3 && $(LN_S) event.3 timeout_del.3)
- (cd $(install_prefix)$(mandir)/man3 && $(LN_S) event.3 timeout_pending.3)
- (cd $(install_prefix)$(mandir)/man3 && $(LN_S) event.3 timeout_initalized.3)
+ $(INSTALL) -d $(DESTDIR)$(libdir)
+ $(INSTALL_DATA) libevent.a $(DESTDIR)$(libdir)
+ $(INSTALL) -d $(DESTDIR)$(mandir)/man3
+ $(INSTALL_DATA) $(srcdir)/event.3 $(DESTDIR)$(mandir)/man3
+ $(INSTALL) -d $(DESTDIR)$(includedir)
+ $(INSTALL_DATA) $(srcdir)/event.h $(DESTDIR)$(includedir)
+ @cd $(DESTDIR)$(mandir)/man3 && $(LN_S) event.3 event_init.3
+ @cd $(DESTDIR)$(mandir)/man3 && $(LN_S) event.3 event_dispatch.3
+ @cd $(DESTDIR)$(mandir)/man3 && $(LN_S) event.3 event_set.3
+ @cd $(DESTDIR)$(mandir)/man3 && $(LN_S) event.3 event_add.3
+ @cd $(DESTDIR)$(mandir)/man3 && $(LN_S) event.3 event_del.3
+ @cd $(DESTDIR)$(mandir)/man3 && $(LN_S) event.3 event_pending.3
+ @cd $(DESTDIR)$(mandir)/man3 && $(LN_S) event.3 event_initalized.3
+ @cd $(DESTDIR)$(mandir)/man3 && $(LN_S) event.3 timeout_set.3
+ @cd $(DESTDIR)$(mandir)/man3 && $(LN_S) event.3 timeout_add.3
+ @cd $(DESTDIR)$(mandir)/man3 && $(LN_S) event.3 timeout_del.3
+ @cd $(DESTDIR)$(mandir)/man3 && $(LN_S) event.3 timeout_pending.3
+ @cd $(DESTDIR)$(mandir)/man3 && $(LN_S) event.3 timeout_initalized.3
+ $(INSTALL_DATA) $(srcdir)/event.h $(install_prefix)$(includedir)
+ @cd $(install_prefix)$(mandir)/man3 && $(LN_S) event.3 event_init.3
+ @cd $(install_prefix)$(mandir)/man3 && $(LN_S) event.3 event_dispatch.3
+ @cd $(install_prefix)$(mandir)/man3 && $(LN_S) event.3 event_set.3
+ @cd $(install_prefix)$(mandir)/man3 && $(LN_S) event.3 event_add.3
+ @cd $(install_prefix)$(mandir)/man3 && $(LN_S) event.3 event_del.3
+ @cd $(install_prefix)$(mandir)/man3 && $(LN_S) event.3 event_pending.3
+ @cd $(install_prefix)$(mandir)/man3 && $(LN_S) event.3 event_initalized.3
+ @cd $(install_prefix)$(mandir)/man3 && $(LN_S) event.3 timeout_set.3
+ @cd $(install_prefix)$(mandir)/man3 && $(LN_S) event.3 timeout_add.3
+ @cd $(install_prefix)$(mandir)/man3 && $(LN_S) event.3 timeout_del.3
+ @cd $(install_prefix)$(mandir)/man3 && $(LN_S) event.3 timeout_pending.3
+ @cd $(install_prefix)$(mandir)/man3 && $(LN_S) event.3 timeout_initalized.3
clean:
rm -f *.o *~ libevent.a

View File

@ -1,29 +0,0 @@
$OpenBSD: patch-configure_in,v 1.1 2001/04/07 04:42:21 brad Exp $
--- configure.in.orig Sat Apr 7 00:00:08 2001
+++ configure.in Sat Apr 7 00:01:33 2001
@@ -24,10 +24,10 @@ if test "x$ac_cv_header_sys_queue_h" = "
#endif
], AC_MSG_RESULT(yes),
[ AC_MSG_RESULT(no, using our own)
- CFLAGS="$CFLAGS -Imissing/queue" ]
+ CFLAGS='$CFLAGS -I$(srcdir)/missing/queue' ]
)
else
- CFLAGS="$CFLAGS -Imissing/queue"
+ CFLAGS='$CFLAGS -I$(srcdir)/missing/queue'
fi
if test "x$ac_cv_header_sys_time_h" = "xyes"; then
@@ -40,10 +40,10 @@ if test "x$ac_cv_header_sys_time_h" = "x
#endif
], AC_MSG_RESULT(yes),
[ AC_MSG_RESULT(no, using our own)
- CFLAGS="$CFLAGS -Imissing/time" ]
+ CFLAGS='$CFLAGS -I$(srcdir)/missing/time' ]
)
else
- CFLAGS="$CFLAGS -Imissing/time"
+ CFLAGS='$CFLAGS -I$(srcdir)/missing/time'
fi
dnl Checks for typedefs, structures, and compiler characteristics.

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-event_3,v 1.1 2001/04/07 04:42:21 brad Exp $
--- event.3.orig Sat Apr 7 00:26:57 2001
+++ event.3 Sat Apr 7 00:27:09 2001
@@ -27,7 +27,7 @@
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd June 23, 1996
-.Dt TIMEOUT 9
+.Dt TIMEOUT 3
.Os
.Sh NAME
.Nm event_init ,