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

(-)perdition/Makefile (-23 / +16 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	perdition
8
PORTNAME=	perdition
9
PORTVERSION=	1.15
9
PORTVERSION=	1.17
10
CATEGORIES=	mail net security
10
CATEGORIES=	mail net security
11
MASTER_SITES=	http://www.vergenet.net/linux/perdition/download/${PORTVERSION}/
11
MASTER_SITES=	http://www.vergenet.net/linux/perdition/download/${PORTVERSION}/
12
12
Lines 28-51 Link Here
28
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" BDB_LIB=db3
28
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" BDB_LIB=db3
29
LDFLAGS+=	-L${LOCALBASE}/lib
29
LDFLAGS+=	-L${LOCALBASE}/lib
30
MAKE_ENV+=	DOCSDIR=${DOCSDIR}
30
MAKE_ENV+=	DOCSDIR=${DOCSDIR}
31
CONFIGURE_ARGS+=	--disable-daemon-map
32
31
33
INSTALLS_SHLIB=	yes
32
INSTALLS_SHLIB=	yes
34
33
35
##
34
OPTIONS = \
36
## Available knobs:
35
	BDB		"Berkerley database backend" Off \
37
##   WITH_BDB: Enable Berkerley database backend
36
	DAEMON_MAP	"Daemon Map support" Off \
38
##   WITH_DAEMON_MAP: Enable Daemon Map support
37
	GDBM	 	"gdbm database backend" Off \
39
##   WITH_GDBM: Enable gdbm database backend
38
	MYSQL	 	"MySQL database backend" Off \
40
##   WITH_MYSQL: Enable MySQL database backend
39
	NIS	 	"NIS database backend" Off \
41
##   WITH_NIS: Enable NIS database backend
40
	PGSQL	 	"PostgreSQL database backend" Off \
42
##   WITH_PGSQL: Enable PostgreSQL database backend
41
	ODBC	 	"ODBC database backend" Off \
43
##   WITH_ODBC: Enable ODBC database backend
42
	OPENLDAP	"OpenLDAP database backend" Off \
44
##   WITH_OPENLDAP: Enable OpenLDAP database backend
43
	SSL		"OpenSSL support" On \
45
##
44
	POSIX_REGEX	"native regex support" On \
46
##   WITHOUT_SSL: Disable OpenSSL support
45
47
##   WITHOUT_POSIX_REGEX: Disable native regex support
46
.include <bsd.port.pre.mk>
48
##
49
47
50
.if !defined(WITHOUT_SSL)
48
.if !defined(WITHOUT_SSL)
51
CONFIGURE_ARGS+=	--enable-ssl
49
CONFIGURE_ARGS+=	--enable-ssl
Lines 121-127 Link Here
121
119
122
.if defined(WITH_OPENLDAP)
120
.if defined(WITH_OPENLDAP)
123
USE_OPENLDAP=		YES
121
USE_OPENLDAP=		YES
124
CONFIGURE_ARGS+=	--enable-ldap --with-ldap-schema-directory=${LOCALBASE}/etc/openldap/schema/
122
CONFIGURE_ARGS+=	--enable-ldap --with-ldap-schema-directory=${LOCALBASE}/etc/openldap/schema/ --disable-ldap-doc
125
PLIST_SUB+=		OPENLDAP=""
123
PLIST_SUB+=		OPENLDAP=""
126
MAN8+=			perditiondb_ldap_makedb.8
124
MAN8+=			perditiondb_ldap_makedb.8
127
.else
125
.else
Lines 139-149 Link Here
139
PLIST_SUB+=		ODBC="@comment "
137
PLIST_SUB+=		ODBC="@comment "
140
.endif
138
.endif
141
139
142
pre-everything:: show-options
143
144
show-options:
145
	@${SED} -ne 's/^##//p' ${.CURDIR}/Makefile
146
147
post-install:
140
post-install:
148
.if !defined(NOPORTDOCS)
141
.if !defined(NOPORTDOCS)
149
	@${MKDIR} ${DOCSDIR}
142
	@${MKDIR} ${DOCSDIR}
Lines 156-159 Link Here
156
	@${ECHO_MSG} ""
149
	@${ECHO_MSG} ""
157
.endif
150
.endif
158
151
159
.include <bsd.port.mk>
152
.include <bsd.port.post.mk>
(-)perdition/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (perdition-1.15.tar.gz) = 7c3aaf30198cf73191a984a76637a940
1
MD5 (perdition-1.17.tar.gz) = 6cef90e55bde9eb2d0a17acccb3516f3
2
SIZE (perdition-1.15.tar.gz) = 551692
2
SIZE (perdition-1.17.tar.gz) = 552149
(-)perdition/files/patch-etc-Makefile.in (-6 / +6 lines)
Lines 1-10 Link Here
1
--- etc/Makefile.in.orig	Sun Jun 15 21:50:02 2003
1
--- etc/Makefile.in.orig	Wed Jun 22 15:32:39 2005
2
+++ etc/Makefile.in	Sun Jun 15 21:50:18 2003
2
+++ etc/Makefile.in	Sat Jul  2 01:11:26 2005
3
@@ -136,7 +136,7 @@
3
@@ -137,7 +137,7 @@
4
 ssl_includes = @ssl_includes@
5
 ssl_lib = @ssl_lib@
6
 
4
 
7
-SUBDIRS = perdition @pam_dir@ rc.d sysconfig
5
 @PAM_BUILD_TRUE@PAM_DIR = pam.d
6
 
7
-SUBDIRS = perdition $(PAM_DIR) rc.d sysconfig
8
+SUBDIRS = perdition
8
+SUBDIRS = perdition
9
 
9
 
10
 EXTRA_DIST = 
10
 EXTRA_DIST = 
(-)perdition/files/patch-perdition-db-postgresql-Makefile.in (+13 lines)
Line 0 Link Here
1
--- perdition/db/postgresql/Makefile.in.orig	Tue Jul 12 03:43:29 2005
2
+++ perdition/db/postgresql/Makefile.in	Tue Jul 12 03:43:53 2005
3
@@ -148,8 +148,8 @@
4
 
5
 libperditiondb_postgresql_la_LDFLAGS = -version-info 0:0:0
6
 
7
-PG_LIBPATH := $(shell pg_config --libdir)
8
-PG_INCLUDEPATH := $(shell pg_config --includedir)
9
+PG_LIBPATH := `pg_config --libdir`
10
+PG_INCLUDEPATH := `pg_config --includedir`
11
 
12
 libperditiondb_postgresql_la_LIBADD = @ssl_lib@ @socket_lib@ @nsl_lib@ @crypt_lib@ -lvanessa_logger -lvanessa_adt -L$(PG_LIBPATH) -lpq
13
 
(-)perdition/files/patch-perdition::db::daemon::Makefile.in (-6 / +6 lines)
Lines 1-11 Link Here
1
--- perdition/db/daemon/Makefile.in.orig	Mon Dec 15 12:24:51 2003
1
--- perdition/db/daemon/Makefile.in.orig	Wed Jun 22 15:32:38 2005
2
+++ perdition/db/daemon/Makefile.in	Mon Dec 15 12:27:20 2003
2
+++ perdition/db/daemon/Makefile.in	Sat Jul  2 01:15:08 2005
3
@@ -155,7 +155,7 @@
3
@@ -144,7 +144,7 @@
4
 libperditiondb_daemon_la_SOURCES =  perditiondb_daemon.c perditiondb_daemon.h unix_socket.c unix_socket.h
4
 
5
 
5
 libperditiondb_daemon_la_LDFLAGS = -version-info 0:0:0
6
 libperditiondb_daemon_la_LDFLAGS = -version-info 0:0:0
6
 
7
-libperditiondb_daemon_la_LIBADD = -ldb -L. -lperditiondb_daemon_packet
7
-libperditiondb_daemon_la_LIBADD = -ldb
8
+libperditiondb_daemon_la_LIBADD = -lgdbm -L. -lperditiondb_daemon_packet
8
+libperditiondb_daemon_la_LIBADD = -lgdbm
9
 
9
 
10
 noinst_PROGRAMS = client server
10
 noinst_PROGRAMS = client server

Return to bug 83305