aboutsummaryrefslogtreecommitdiff
path: root/mail/archiveopteryx
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2014-03-10 00:32:59 +0000
committerMark Felder <feld@FreeBSD.org>2014-03-10 00:32:59 +0000
commit418ced1eda8cbe77c7b32a608273827033c3a543 (patch)
tree90d3aee2dbb7cd42018970954999da8ed0a34fd3 /mail/archiveopteryx
parenta4b64a6d278cd31b121a3421849dfdae95dfb97c (diff)
downloadports-418ced1eda8cbe77c7b32a608273827033c3a543.tar.gz
ports-418ced1eda8cbe77c7b32a608273827033c3a543.zip
Notes
Diffstat (limited to 'mail/archiveopteryx')
-rw-r--r--mail/archiveopteryx/Makefile1
-rw-r--r--mail/archiveopteryx/files/archiveopteryx.in4
-rw-r--r--mail/archiveopteryx/files/patch-schema__schema.pg17
3 files changed, 20 insertions, 2 deletions
diff --git a/mail/archiveopteryx/Makefile b/mail/archiveopteryx/Makefile
index 8533778701da..be467d0fd293 100644
--- a/mail/archiveopteryx/Makefile
+++ b/mail/archiveopteryx/Makefile
@@ -3,6 +3,7 @@
PORTNAME= archiveopteryx
PORTVERSION= 3.2.0
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= GH
diff --git a/mail/archiveopteryx/files/archiveopteryx.in b/mail/archiveopteryx/files/archiveopteryx.in
index 818ed40f4a3b..cd7b8e76ad65 100644
--- a/mail/archiveopteryx/files/archiveopteryx.in
+++ b/mail/archiveopteryx/files/archiveopteryx.in
@@ -27,7 +27,7 @@ required_files=$config_file
command=%%PREFIX%%/bin/aox
extra_commands=status
-status_cmd=${command} show status
+status_cmd="${command} show status"
start_cmd=do_start
start_precmd=do_prestart
stop_cmd=do_stop
@@ -36,7 +36,7 @@ restart_cmd=do_restart
do_prestart()
{
if [ ! -d /var/db/aox/jail ] ; then
- install -d -o root -g wheel -m 700 /var/db/aox/jail
+ install -d -o root -g wheel -m 001 /var/db/aox/jail
fi
for i in /var/run/aox /var/db/aox/messages /var/db/aox/jail/var/run /var/db/aox/jail/messages ; do
diff --git a/mail/archiveopteryx/files/patch-schema__schema.pg b/mail/archiveopteryx/files/patch-schema__schema.pg
new file mode 100644
index 000000000000..1ec90c5b3395
--- /dev/null
+++ b/mail/archiveopteryx/files/patch-schema__schema.pg
@@ -0,0 +1,17 @@
+--- schema/schema.pg.orig 2014-02-21 03:52:31.000000000 -0600
++++ schema/schema.pg 2014-03-09 18:57:22.297497936 -0500
+@@ -14,12 +14,12 @@
+ -- Grant: select, update
+ revision integer not null primary key
+ );
+-insert into mailstore (revision) values (95);
++insert into mailstore (revision) values (97);
+
+
+ -- One entry for each unique address we've encountered.
+
+-create extension citext;
++create extension if not exists citext;
+ create table addresses (
+ -- Grant: select, insert
+ id serial primary key,