View | Details | Raw Unified | Return to bug 176561
Collapse All | Expand All

(-)net/serveez/Makefile (-14 / +12 lines)
Lines 1-37 Link Here
1
# ex:ts=8
1
# Created by: ijliao
2
# Ports collection makefile for:	serveez
3
# Date created:			May 16, 2002
4
# Whom:				ijliao
5
#
6
# $FreeBSD: head/net/serveez/Makefile 300897 2012-07-14 14:29:18Z beat $
2
# $FreeBSD: head/net/serveez/Makefile 300897 2012-07-14 14:29:18Z beat $
7
#
8
3
9
PORTNAME=	serveez
4
PORTNAME=	serveez
10
PORTVERSION=	0.1.7
5
PORTVERSION=	0.2.0
11
CATEGORIES=	net devel
6
CATEGORIES=	net devel
12
MASTER_SITES=	GNU
7
MASTER_SITES=	GNU
13
8
14
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	A server framework
10
COMMENT=	Server framework
16
11
17
LICENSE=	GPLv2 # (or later)
12
LICENSE=	GPLv3 # (or later)
18
LICENSE_FILE=	${WRKSRC}/COPYING
19
13
20
LIB_DEPENDS=	guile.21:${PORTSDIR}/lang/guile
14
LIB_DEPENDS=	guile:${PORTSDIR}/lang/guile
21
15
22
USE_GMAKE=	yes
16
USE_XZ=		yes
23
USE_AUTOTOOLS=	libtool
17
USE_AUTOTOOLS=	libtool
24
CONFIGURE_ARGS=	--with-guile=${LOCALBASE}
18
CONFIGURE_ARGS=	--enable-libserveez-install
25
USE_LDCONFIG=	yes
19
USE_LDCONFIG=	yes
26
MAKE_JOBS_SAFE=	yes
20
MAKE_JOBS_SAFE=	yes
27
21
28
MAN1=		serveez.1 serveez-config.1
22
MAN1=		serveez.1 serveez-config.1
29
INFO=		serveez serveez-api
23
INFO=		serveez
30
24
31
post-patch:
25
post-patch:
32
	@${REINPLACE_CMD} -e \
26
	@${REINPLACE_CMD} -e \
33
		'/^SUBDIRS/s|test||' ${WRKSRC}/Makefile.in
27
		'/^SUBDIRS/s|test||' ${WRKSRC}/Makefile.in
34
	@${REINPLACE_CMD} -e \
28
	@${REINPLACE_CMD} -e \
35
		's| -release .*||' ${WRKSRC}/src/libserveez/Makefile.in
29
		's| -release .*||' ${WRKSRC}/src/libserveez/Makefile.in
30
	@${REINPLACE_CMD} -e \
31
		'/date -r/s|^|#|' ${WRKSRC}/src/irc-server/Makefile.in
32
	@${ECHO_CMD} 'static char created[] = "2013-01-29 15:17 UTC";' \
33
		> ${WRKSRC}/src/irc-server/timestamp.c
36
34
37
.include <bsd.port.mk>
35
.include <bsd.port.mk>
(-)net/serveez/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (serveez-0.1.7.tar.gz) = 7272b29c731790160d2b3174be1529bc145f7d5557554e4add01e5820750c694
1
SHA256 (serveez-0.2.0.tar.xz) = 0508ddc828e0b13e4ce2a646f05e573313a917010cbcfa1f3c132fea6520b05c
2
SIZE (serveez-0.1.7.tar.gz) = 896966
2
SIZE (serveez-0.2.0.tar.xz) = 812360
(-)net/serveez/files/patch-src__libserveez__defines.h (+17 lines)
Line 0 Link Here
1
--- src/libserveez/defines.h.orig	2013-01-20 23:49:50.000000000 +0900
2
+++ src/libserveez/defines.h	2013-02-25 14:11:54.000000000 +0900
3
@@ -34,6 +34,14 @@
4
 #include <winsock2.h>
5
 #endif
6
 
7
+#ifdef HAVE_SYS_TYPES_H
8
+#include <sys/types.h>
9
+#endif
10
+
11
+#ifdef HAVE_SYS_SOCKET_INET_H
12
+#include <sys/socket.h>
13
+#endif
14
+
15
 #ifdef HAVE_ARPA_INET_H
16
 #include <arpa/inet.h>
17
 #endif
(-)net/serveez/files/patch-src__networking-headers.h (+11 lines)
Line 0 Link Here
1
--- src/networking-headers.h.orig
2
+++ src/networking-headers.h
3
@@ -25,6 +25,8 @@
4
  */
5
 # define IPV6_OK  0
6
 #else
7
+# include <sys/types.h>
8
+# include <sys/socket.h>
9
 # include <arpa/inet.h>
10
 # include <netinet/in.h>
11
 /* See:
(-)net/serveez/pkg-descr (-12 / +13 lines)
Lines 1-15 Link Here
1
Serveez is a server framework. It provides routines and help for implementing
1
Serveez is a server framework. It provides routines and help for
2
IP based servers (currently TCP, UDP and ICMP). It is also possible to use
2
implementing IP based servers (currently TCP, UDP and ICMP). It is also
3
named pipes for all connection oriented protocols. We think it is worth the
3
possible to use named pipes for all connection oriented protocols. We
4
effort because many people need server functionality within their applications.
4
think it is worth the effort because many people need server
5
However, many people experience problems with select()- or poll()-loops, and
5
functionality within their applications.  However, many people
6
with non-blocking operations. This application demonstrates various aspects of
6
experience problems with select()- or poll()-loops, and with
7
advanced network programming in a portable manner. You can use it for
7
non-blocking operations. This application demonstrates various aspects
8
of advanced network programming in a portable manner. You can use it for
8
implementing your own servers or for understanding how certain network
9
implementing your own servers or for understanding how certain network
9
services and operations work. The package includes a number of servers that
10
services and operations work. The package includes a number of servers
10
work already: an HTTP server, an IRC server, a Gnutella spider and some others.
11
that work already: an HTTP server, an IRC server, a Gnutella spider and
11
One of the highlights is that you can run all protocols on the same port. The
12
some others.  One of the highlights is that you can run all protocols on
12
application itself is single threaded but it uses helper processes for
13
the same port. The application itself is single threaded but it uses
13
concurrent name resolution and ident lookups.
14
helper processes for concurrent name resolution and ident lookups.
14
15
15
WWW: http://www.gnu.org/software/serveez/
16
WWW: http://www.gnu.org/software/serveez/
(-)net/serveez/pkg-plist (-39 / +1 lines)
Lines 1-43 Link Here
1
bin/mkpassword
2
bin/serveez
1
bin/serveez
3
bin/serveez-config
2
bin/serveez-config
4
include/libserveez.h
3
include/libserveez.h
5
include/libserveez/alloc.h
6
include/libserveez/array.h
7
include/libserveez/asprintf.h
8
include/libserveez/binding.h
9
include/libserveez/boot.h
10
include/libserveez/cfg.h
11
include/libserveez/codec/codec.h
12
include/libserveez/core.h
13
include/libserveez/coserver/coserver.h
14
include/libserveez/defines.h
15
include/libserveez/dynload.h
16
include/libserveez/hash.h
17
include/libserveez/icmp-socket.h
18
include/libserveez/interface.h
19
include/libserveez/mutex.h
20
include/libserveez/passthrough.h
21
include/libserveez/pipe-socket.h
22
include/libserveez/portcfg.h
23
include/libserveez/raw-socket.h
24
include/libserveez/server-core.h
25
include/libserveez/server-loop.h
26
include/libserveez/server-socket.h
27
include/libserveez/server.h
28
include/libserveez/snprintf.h
29
include/libserveez/socket.h
30
include/libserveez/sparsevec.h
31
include/libserveez/tcp-socket.h
32
include/libserveez/udp-socket.h
33
include/libserveez/util.h
34
include/libserveez/vector.h
35
include/libserveez/windoze.h
36
include/svzconfig.h
37
lib/libserveez.a
4
lib/libserveez.a
38
lib/libserveez.la
5
lib/libserveez.la
39
lib/libserveez.so
6
lib/libserveez.so
40
lib/libserveez.so.0
7
lib/libserveez.so.1
41
share/aclocal/serveez.m4
8
share/aclocal/serveez.m4
42
%%DATADIR%%/echo-server.scm
9
%%DATADIR%%/echo-server.scm
43
%%DATADIR%%/eval-server.scm
10
%%DATADIR%%/eval-server.scm
Lines 46-54 Link Here
46
%%DATADIR%%/mandel-client.scm
13
%%DATADIR%%/mandel-client.scm
47
%%DATADIR%%/mandel-server.scm
14
%%DATADIR%%/mandel-server.scm
48
%%DATADIR%%/mandel-shared.scm
15
%%DATADIR%%/mandel-shared.scm
49
%%DATADIR%%/serveez-procedures.txt
50
%%DATADIR%%/serveez.scm
51
@dirrm %%DATADIR%%
16
@dirrm %%DATADIR%%
52
@dirrm include/libserveez/coserver
53
@dirrm include/libserveez/codec
54
@dirrm include/libserveez

Return to bug 176561