aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2014-03-10 08:32:59 +0800
committerfeld <feld@FreeBSD.org>2014-03-10 08:32:59 +0800
commita7a3e195cd5bcfb2d2cc4d906b5832a57b86819b (patch)
tree90d3aee2dbb7cd42018970954999da8ed0a34fd3 /mail
parent4fb83359f236d771a4c4c89bbb07dd8a03e91332 (diff)
downloadfreebsd-ports-gnome-a7a3e195cd5bcfb2d2cc4d906b5832a57b86819b.tar.gz
freebsd-ports-gnome-a7a3e195cd5bcfb2d2cc4d906b5832a57b86819b.tar.zst
freebsd-ports-gnome-a7a3e195cd5bcfb2d2cc4d906b5832a57b86819b.zip
Fix rc script and ability to do a clean install.
Patch has been submitted upstream.
Diffstat (limited to 'mail')
-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,