summaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
Diffstat (limited to 'ftp')
-rw-r--r--ftp/proftpd-devel/Makefile9
-rw-r--r--ftp/proftpd-devel/distinfo2
-rw-r--r--ftp/proftpd/Makefile9
-rw-r--r--ftp/proftpd/distinfo2
4 files changed, 18 insertions, 4 deletions
diff --git a/ftp/proftpd-devel/Makefile b/ftp/proftpd-devel/Makefile
index aead5ddece39..c2c1f2aa12c1 100644
--- a/ftp/proftpd-devel/Makefile
+++ b/ftp/proftpd-devel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= proftpd
-PORTVERSION= 1.2.2rc3
+PORTVERSION= 1.2.2
CATEGORIES= ftp
MASTER_SITES= ftp://ftp.proftpd.net/distrib/source/ \
ftp://ftp.stikman.com/pub/proftpd/source/ \
@@ -50,6 +50,13 @@ INCLUDEDIRS:=${INCLUDEDIRS}:${PREFIX}/include
LIBDIRS:=${LIBDIRS}:${PREFIX}/lib/mysql
.endif
+.if defined(WITH_POSTGRES)
+MODULES:=${MODULES}:mod_sql:mod_sql_postgres
+LIB_DEPENDS+= pq.2:\${PORTSDIR}/databases/postgresql7
+INCLUDEDIRS:=${INCLUDEDIRS}:${PREFIX}/include/pgsql
+LIBDIRS:=${LIBDIRS}:${PREFIX}/lib
+.endif
+
.if !empty(MODULES)
CONFIGURE_ARGS+= --with-modules=${MODULES}
.endif
diff --git a/ftp/proftpd-devel/distinfo b/ftp/proftpd-devel/distinfo
index 02b272ce47ff..3009aa69ccb6 100644
--- a/ftp/proftpd-devel/distinfo
+++ b/ftp/proftpd-devel/distinfo
@@ -1 +1 @@
-MD5 (proftpd-1.2.2rc3.tar.bz2) = 4c40f7fb9efa2886c0b5b82c972eed37
+MD5 (proftpd-1.2.2.tar.bz2) = 598735da589cffce5009473639abbef8
diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile
index aead5ddece39..c2c1f2aa12c1 100644
--- a/ftp/proftpd/Makefile
+++ b/ftp/proftpd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= proftpd
-PORTVERSION= 1.2.2rc3
+PORTVERSION= 1.2.2
CATEGORIES= ftp
MASTER_SITES= ftp://ftp.proftpd.net/distrib/source/ \
ftp://ftp.stikman.com/pub/proftpd/source/ \
@@ -50,6 +50,13 @@ INCLUDEDIRS:=${INCLUDEDIRS}:${PREFIX}/include
LIBDIRS:=${LIBDIRS}:${PREFIX}/lib/mysql
.endif
+.if defined(WITH_POSTGRES)
+MODULES:=${MODULES}:mod_sql:mod_sql_postgres
+LIB_DEPENDS+= pq.2:\${PORTSDIR}/databases/postgresql7
+INCLUDEDIRS:=${INCLUDEDIRS}:${PREFIX}/include/pgsql
+LIBDIRS:=${LIBDIRS}:${PREFIX}/lib
+.endif
+
.if !empty(MODULES)
CONFIGURE_ARGS+= --with-modules=${MODULES}
.endif
diff --git a/ftp/proftpd/distinfo b/ftp/proftpd/distinfo
index 02b272ce47ff..3009aa69ccb6 100644
--- a/ftp/proftpd/distinfo
+++ b/ftp/proftpd/distinfo
@@ -1 +1 @@
-MD5 (proftpd-1.2.2rc3.tar.bz2) = 4c40f7fb9efa2886c0b5b82c972eed37
+MD5 (proftpd-1.2.2.tar.bz2) = 598735da589cffce5009473639abbef8