ports/159995: [NEW PORT] www/hastymail-devel
Aldis Berjoza
aldis at bsdroot.lv
Mon Aug 22 12:00:20 UTC 2011
>Number: 159995
>Category: ports
>Synopsis: [NEW PORT] www/hastymail-devel
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Aug 22 12:00:19 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Aldis Berjoza
>Release:
>Organization:
>Environment:
>Description:
Since hastymail development is pretty slow (new version roll out rarely), I decided to make port that would be more or less up to date with hastymail SVN repository.
I suppose you should recopy www/hastymail2 to www/hastymail2-devel
Attached patch. If you need shar, let me know
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ur hastymail2/Makefile hastymail2-devel/Makefile
--- hastymail2/Makefile 2011-06-22 19:01:24.000000000 +0300
+++ hastymail2-devel/Makefile 2011-08-22 14:55:58.998442032 +0300
@@ -6,32 +6,35 @@
#
PORTNAME= hastymail2
-PORTVERSION= 1.1
-PORTREVISION= 1
+PORTVERSION= 1.1.r${HASTYMAIL_REV}
PORTEPOCH= 1
CATEGORIES= www mail
-MASTER_SITES= SF/hastymail/Hastymail2%20Stable%20Releases/Hastymail2%201.01/
-DISTNAME= hastymail2_${WIKEDVERSION}
+MASTER_SITES= http://files.bsdroot.lv/my/FreeBSD/distfiles/hastymail2-devel/
+PKGNAMESUFFIX= -devel
+DISTNAME= ${PORTNAME}-devel-${HASTYMAIL_REV}
MAINTAINER= aldis at bsdroot.lv
COMMENT= Small, fast and secure yet powerful IMAP webmail
+LICENSE= GPLv2
+
NO_BUILD= yes
SUB_FILES= pkg-message
-LICENSE= GPLv2
-
INSTALL_DIR?= www/${PORTNAME}
PLIST= ${WRKDIR}/pkg-plist
WANT_PHP_WEB= yes
USE_PHP= session imap pcre
-WIKEDVERSION= 1_01
-WRKSRC= ${WRKDIR}/${PORTNAME}_${WIKEDVERSION}
+WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
FIND_SKIP_OPTS= -not -name hastymail2.conf.example -not -name '*.orig'
+CONFLICTS= hastymail2-1.[0-9]*
+
+HASTYMAIL_REV= 2011.08.22
+
OPTIONS= PGSQL "Use PostgreSQL" off \
MYSQL "Use MySQL" off \
DB "Use older pear DB (instead of MDB2)" off
diff -ur hastymail2/distinfo hastymail2-devel/distinfo
--- hastymail2/distinfo 2010-12-17 01:05:48.000000000 +0200
+++ hastymail2-devel/distinfo 2011-08-22 14:49:27.287695732 +0300
@@ -1,2 +1,2 @@
-SHA256 (hastymail2_1_01.tar.gz) = 70e599ed0cae544bb1a2ea064dead7cdb1bb42d8fa7c46e9d2183d6aae7c73f6
-SIZE (hastymail2_1_01.tar.gz) = 1858492
+SHA256 (hastymail2-devel-2011.08.22.tar.gz) = ed0e4f480c2fd4d0bba50009ed70533436628cd8e4e3ed020117e40ef5a9f772
+SIZE (hastymail2-devel-2011.08.22.tar.gz) = 2253582
diff -ur hastymail2/files/pkg-message.in hastymail2-devel/files/pkg-message.in
--- hastymail2/files/pkg-message.in 2010-12-17 01:05:48.000000000 +0200
+++ hastymail2-devel/files/pkg-message.in 2011-08-22 14:11:27.331346042 +0300
@@ -10,4 +10,12 @@
%%PREFIX%%/etc/hastymail2/hastymail2.conf
+after you edit config file run:
+
+ cd %%PREFIX%%/etc/hastymail2/
+ php %%PREFIX%%/www/hastymail2/install_scripts/install_config.php \
+ hastymail2.conf hastymail2.rc
+
+Note: if hastymail2.rc already exists, you must remove it
+
******************************************************
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list