View | Details | Raw Unified | Return to bug 196866 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-9 / +26 lines)
Lines 2-8 Link Here
2
2
3
PORTNAME=	ccnet
3
PORTNAME=	ccnet
4
PORTVERSION=	3.1.4
4
PORTVERSION=	3.1.4
5
PORTREVISION=	3
5
PORTREVISION=	4
6
CATEGORIES=	net-mgmt devel
6
CATEGORIES=	net-mgmt devel
7
7
8
MAINTAINER=	yan_jingfeng@yahoo.com
8
MAINTAINER=	yan_jingfeng@yahoo.com
Lines 12-18 Link Here
12
12
13
BUILD_DEPENDS=	valac:${PORTSDIR}/lang/vala
13
BUILD_DEPENDS=	valac:${PORTSDIR}/lang/vala
14
LIB_DEPENDS=	libsearpc.so:${PORTSDIR}/devel/libsearpc \
14
LIB_DEPENDS=	libsearpc.so:${PORTSDIR}/devel/libsearpc \
15
		libcrypto.so:${PORTSDIR}/security/openssl \
16
		libglib-2.0.so:${PORTSDIR}/devel/glib20 \
15
		libglib-2.0.so:${PORTSDIR}/devel/glib20 \
17
		libgobject-2.0.so:${PORTSDIR}/devel/glib20 \
16
		libgobject-2.0.so:${PORTSDIR}/devel/glib20 \
18
		libsqlite3.so:${PORTSDIR}/databases/sqlite3 \
17
		libsqlite3.so:${PORTSDIR}/databases/sqlite3 \
Lines 19-25 Link Here
19
		libzdb.so:${PORTSDIR}/databases/libzdb \
18
		libzdb.so:${PORTSDIR}/databases/libzdb \
20
		libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid \
19
		libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid \
21
		libevent.so:${PORTSDIR}/devel/libevent2 \
20
		libevent.so:${PORTSDIR}/devel/libevent2 \
22
		libjansson.so:${PORTSDIR}/devel/jansson
21
		libjansson.so:${PORTSDIR}/devel/jansson \
22
		libldap.so:${PORTSDIR}/net/openldap24-client
23
23
24
USE_GITHUB=	yes
24
USE_GITHUB=	yes
25
GH_ACCOUNT=	haiwen
25
GH_ACCOUNT=	haiwen
Lines 33-50 Link Here
33
CPPFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/event2
33
CPPFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/event2
34
LDFLAGS+=	-L${LOCALBASE}/lib -L${LOCALBASE}/lib/event2
34
LDFLAGS+=	-L${LOCALBASE}/lib -L${LOCALBASE}/lib/event2
35
GNU_CONFIGURE=	yes
35
GNU_CONFIGURE=	yes
36
CONFIGURE_ARGS+=--enable-server
36
CONFIGURE_ARGS+=--enable-server --enable-ldap
37
INSTALL_TARGET=	install-strip
37
INSTALL_TARGET=	install-strip
38
38
39
WITH_OPENSSL_PORT=	yes
39
WITH_OPENSSL_PORT=	yes
40
USE_OPENSSL=	yes
40
USE_OPENSSL=	yes
41
41
42
WWWDIR=		${PREFIX}/www/haiwen/seafile-server
42
HAIWENDIR=	www/haiwen
43
SEABIN=		${STAGEDIR}${WWWDIR}/seafile/bin
43
SEAFILE_SERVER=	${HAIWENDIR}/seafile-server
44
SEABIN=		${SEAFILE_SERVER}/seafile/bin
45
SEALIB=		${SEAFILE_SERVER}/seafile/lib
44
46
47
SEAFILE_USERNAME?=	www
48
SEAFILE_GROUPNAME?=	${SEAFILE_USERNAME}
49
50
PLIST_SUB=	SEAFILE_USERNAME=${SEAFILE_USERNAME} \
51
		SEAFILE_GROUPNAME=${SEAFILE_GROUPNAME} \
52
		SEAFILE_SERVER=${SEAFILE_SERVER} \
53
		HAIWENDIR=${HAIWENDIR}
54
45
post-install:
55
post-install:
46
	@${MKDIR} ${SEABIN}
56
	@${MKDIR} ${STAGEDIR}${PREFIX}/${SEABIN} ${STAGEDIR}${PREFIX}/${SEALIB}
47
	${LN} ${STAGEDIR}${PREFIX}/bin/ccnet-init ${SEABIN}
57
	${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/ccnet-init ${STAGEDIR}${PREFIX}/${SEABIN}
48
	${LN} ${STAGEDIR}${PREFIX}/bin/ccnet-server ${SEABIN}
58
	${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/ccnet-server ${STAGEDIR}${PREFIX}/${SEABIN}
59
	${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/ccnet-servtool ${STAGEDIR}${PREFIX}/${SEABIN}
60
	${RM} ${STAGEDIR}${PREFIX}/bin/ccnet-init \
61
		${STAGEDIR}${PREFIX}/bin/ccnet-server \
62
		${STAGEDIR}${PREFIX}/bin/ccnet-servtool
63
	(cd ${STAGEDIR}${PREFIX}/lib && \
64
		${COPYTREE_SHARE} ${PYTHON_VERSION} ${STAGEDIR}${PREFIX}/${SEALIB})
65
	@${RM} -rf ${STAGEDIR}${PREFIX}/lib/${PYTHON_VERSION}
49
66
50
.include <bsd.port.mk>
67
.include <bsd.port.mk>
(-)pkg-plist (-56 / +55 lines)
Lines 1-9 Link Here
1
bin/ccnet
1
bin/ccnet
2
bin/ccnet-demo-client
2
bin/ccnet-demo-client
3
bin/ccnet-demo-server
3
bin/ccnet-demo-server
4
bin/ccnet-init
5
bin/ccnet-server
6
bin/ccnet-servtool
7
bin/ccnet-tool
4
bin/ccnet-tool
8
include/ccnet.h
5
include/ccnet.h
9
include/ccnet/async-rpc-proc.h
6
include/ccnet/async-rpc-proc.h
Lines 31-87 Link Here
31
lib/libccnet.so
28
lib/libccnet.so
32
lib/libccnet.so.0
29
lib/libccnet.so.0
33
lib/libccnet.so.0.0.0
30
lib/libccnet.so.0.0.0
34
%%PYTHON_SITELIBDIR%%/ccnet/__init__.py
35
%%PYTHON_SITELIBDIR%%/ccnet/__init__.pyc
36
%%PYTHON_SITELIBDIR%%/ccnet/__init__.pyo
37
%%PYTHON_SITELIBDIR%%/ccnet/async/__init__.py
38
%%PYTHON_SITELIBDIR%%/ccnet/async/__init__.pyc
39
%%PYTHON_SITELIBDIR%%/ccnet/async/__init__.pyo
40
%%PYTHON_SITELIBDIR%%/ccnet/async/async_client.py
41
%%PYTHON_SITELIBDIR%%/ccnet/async/async_client.pyc
42
%%PYTHON_SITELIBDIR%%/ccnet/async/async_client.pyo
43
%%PYTHON_SITELIBDIR%%/ccnet/async/mqclientproc.py
44
%%PYTHON_SITELIBDIR%%/ccnet/async/mqclientproc.pyc
45
%%PYTHON_SITELIBDIR%%/ccnet/async/mqclientproc.pyo
46
%%PYTHON_SITELIBDIR%%/ccnet/async/processor.py
47
%%PYTHON_SITELIBDIR%%/ccnet/async/processor.pyc
48
%%PYTHON_SITELIBDIR%%/ccnet/async/processor.pyo
49
%%PYTHON_SITELIBDIR%%/ccnet/async/rpcserverproc.py
50
%%PYTHON_SITELIBDIR%%/ccnet/async/rpcserverproc.pyc
51
%%PYTHON_SITELIBDIR%%/ccnet/async/rpcserverproc.pyo
52
%%PYTHON_SITELIBDIR%%/ccnet/async/sendcmdproc.py
53
%%PYTHON_SITELIBDIR%%/ccnet/async/sendcmdproc.pyc
54
%%PYTHON_SITELIBDIR%%/ccnet/async/sendcmdproc.pyo
55
%%PYTHON_SITELIBDIR%%/ccnet/async/timer.py
56
%%PYTHON_SITELIBDIR%%/ccnet/async/timer.pyc
57
%%PYTHON_SITELIBDIR%%/ccnet/async/timer.pyo
58
%%PYTHON_SITELIBDIR%%/ccnet/client.py
59
%%PYTHON_SITELIBDIR%%/ccnet/client.pyc
60
%%PYTHON_SITELIBDIR%%/ccnet/client.pyo
61
%%PYTHON_SITELIBDIR%%/ccnet/errors.py
62
%%PYTHON_SITELIBDIR%%/ccnet/errors.pyc
63
%%PYTHON_SITELIBDIR%%/ccnet/errors.pyo
64
%%PYTHON_SITELIBDIR%%/ccnet/message.py
65
%%PYTHON_SITELIBDIR%%/ccnet/message.pyc
66
%%PYTHON_SITELIBDIR%%/ccnet/message.pyo
67
%%PYTHON_SITELIBDIR%%/ccnet/packet.py
68
%%PYTHON_SITELIBDIR%%/ccnet/packet.pyc
69
%%PYTHON_SITELIBDIR%%/ccnet/packet.pyo
70
%%PYTHON_SITELIBDIR%%/ccnet/pool.py
71
%%PYTHON_SITELIBDIR%%/ccnet/pool.pyc
72
%%PYTHON_SITELIBDIR%%/ccnet/pool.pyo
73
%%PYTHON_SITELIBDIR%%/ccnet/rpc.py
74
%%PYTHON_SITELIBDIR%%/ccnet/rpc.pyc
75
%%PYTHON_SITELIBDIR%%/ccnet/rpc.pyo
76
%%PYTHON_SITELIBDIR%%/ccnet/status_code.py
77
%%PYTHON_SITELIBDIR%%/ccnet/status_code.pyc
78
%%PYTHON_SITELIBDIR%%/ccnet/status_code.pyo
79
%%PYTHON_SITELIBDIR%%/ccnet/sync_client.py
80
%%PYTHON_SITELIBDIR%%/ccnet/sync_client.pyc
81
%%PYTHON_SITELIBDIR%%/ccnet/sync_client.pyo
82
%%PYTHON_SITELIBDIR%%/ccnet/utils.py
83
%%PYTHON_SITELIBDIR%%/ccnet/utils.pyc
84
%%PYTHON_SITELIBDIR%%/ccnet/utils.pyo
85
libdata/pkgconfig/libccnet.pc
31
libdata/pkgconfig/libccnet.pc
86
%%WWWDIR%%/seafile/bin/ccnet-init
32
%%SEAFILE_SERVER%%/seafile/bin/ccnet-init
87
%%WWWDIR%%/seafile/bin/ccnet-server
33
%%SEAFILE_SERVER%%/seafile/bin/ccnet-server
34
%%SEAFILE_SERVER%%/seafile/bin/ccnet-servtool
35
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/__init__.py
36
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/__init__.pyc
37
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/__init__.pyo
38
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/__init__.py
39
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/__init__.pyc
40
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/__init__.pyo
41
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/async_client.py
42
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/async_client.pyc
43
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/async_client.pyo
44
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/mqclientproc.py
45
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/mqclientproc.pyc
46
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/mqclientproc.pyo
47
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/processor.py
48
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/processor.pyc
49
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/processor.pyo
50
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/rpcserverproc.py
51
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/rpcserverproc.pyc
52
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/rpcserverproc.pyo
53
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/sendcmdproc.py
54
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/sendcmdproc.pyc
55
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/sendcmdproc.pyo
56
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/timer.py
57
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/timer.pyc
58
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/timer.pyo
59
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/client.py
60
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/client.pyc
61
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/client.pyo
62
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/errors.py
63
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/errors.pyc
64
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/errors.pyo
65
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/message.py
66
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/message.pyc
67
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/message.pyo
68
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/packet.py
69
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/packet.pyc
70
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/packet.pyo
71
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/pool.py
72
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/pool.pyc
73
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/pool.pyo
74
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/rpc.py
75
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/rpc.pyc
76
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/rpc.pyo
77
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/status_code.py
78
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/status_code.pyc
79
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/status_code.pyo
80
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/sync_client.py
81
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/sync_client.pyc
82
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/sync_client.pyo
83
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/utils.py
84
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/utils.pyc
85
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/utils.pyo
86
@exec install -d -o %%SEAFILE_USERNAME%% -g %%SEAFILE_GROUPNAME%% -m 755 %D/%%HAIWENDIR%%

Return to bug 196866