Date: Fri, 30 Aug 2013 01:47:21 +0000 (UTC) From: Mark Felder <feld@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r325650 - head/mail/archiveopteryx Message-ID: <201308300147.r7U1lLEG054069@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: feld Date: Fri Aug 30 01:47:21 2013 New Revision: 325650 URL: http://svnweb.freebsd.org/changeset/ports/325650 Log: - Cleanup - Passes rclint / portlint - Fix permissions at install Approved by: swills (mentor) Deleted: head/mail/archiveopteryx/pkg-deinstall Modified: head/mail/archiveopteryx/Makefile head/mail/archiveopteryx/pkg-install head/mail/archiveopteryx/pkg-plist Modified: head/mail/archiveopteryx/Makefile ============================================================================== --- head/mail/archiveopteryx/Makefile Fri Aug 30 01:41:31 2013 (r325649) +++ head/mail/archiveopteryx/Makefile Fri Aug 30 01:47:21 2013 (r325650) @@ -1,16 +1,11 @@ -# New ports collection makefile for: archiveopteryx -# Date created: 2010-09-15 -# Whom: Ashish SHUKLA <ashish@FreeBSD.org> -# +# Created by: Ashish SHUKLA <ashish@FreeBSD.org> # $FreeBSD$ -# PORTNAME= archiveopteryx PORTVERSION= 3.1.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail -MASTER_SITES= http://archiveopteryx.org/%SUBDIR%/ -MASTER_SITE_SUBDIR= download +MASTER_SITES= http://archiveopteryx.org/download/ MAINTAINER= feld@FreeBSD.org COMMENT= An advanced PostgreSQL-based IMAP/POP server @@ -22,7 +17,7 @@ BUILD_DEPENDS= jam:${PORTSDIR}/devel/jam USE_BZIP2= yes USE_PERL5_BUILD= yes - +USE_PGSQL= yes MAN5= aoxsuper.conf.5 archiveopteryx.conf.5 MAN8= aox.8 aoximport.8 archiveopteryx.8 deliver.8 installer.8 logd.8 \ @@ -46,7 +41,7 @@ post-patch: -e 's,%%PREFIX%%,${PREFIX},g' do-build: - @cd ${WRKSRC} && ${JAM} -j${MAKE_JOBS_NUMBER} + @cd ${WRKSRC} && ${JAM} do-install: @cd ${WRKSRC} && ${JAM} install Modified: head/mail/archiveopteryx/pkg-install ============================================================================== --- head/mail/archiveopteryx/pkg-install Fri Aug 30 01:41:31 2013 (r325649) +++ head/mail/archiveopteryx/pkg-install Fri Aug 30 01:47:21 2013 (r325650) @@ -1,18 +1,11 @@ #!/bin/sh -MKDIR=/bin/mkdir -CHOWN=/usr/sbin/chown -CHMOD=/bin/chmod - +INSTALL=/usr/bin/install AOXGROUP=aox AOXUSER=aox if [ "$2" = POST-INSTALL ]; then - for i in /var/db/aox/jail /var/db/aox/messages; do - ${MKDIR} -m 700 -p ${i} - done - ${CHOWN} root:wheel /var/db/aox/jail - ${CHMOD} 700 /var/db/aox - ${MKDIR} /var/run/aox - ${CHOWN} ${AOXUSER}:${AOXGROUP} /var/db/aox /var/run/aox /var/db/aox/messages + ${INSTALL} -d -o root -g wheel -m 700 /var/db/aox/jail + ${INSTALL} -d -o ${AOXUSER} -g ${AOXGROUP} /var/db/aox/messages + ${INSTALL} -d -o ${AOXUSER} -g ${AOXGROUP} /var/run/aox fi Modified: head/mail/archiveopteryx/pkg-plist ============================================================================== --- head/mail/archiveopteryx/pkg-plist Fri Aug 30 01:41:31 2013 (r325649) +++ head/mail/archiveopteryx/pkg-plist Fri Aug 30 01:47:21 2013 (r325650) @@ -16,3 +16,10 @@ sbin/recorder @dirrm libexec/aox @dirrm libdata/aox @dirrm %%ETCDIR%% +@dirrmtry /var/db/aox/jail/messages +@dirrmtry /var/db/aox/jail/var/run +@dirrmtry /var/db/aox/jail/var +@dirrmtry /var/db/aox/jail +@dirrmtry /var/db/aox/messages +@dirrmtry /var/db/aox +@dirrmtry /var/run/aox
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308300147.r7U1lLEG054069>