From owner-svn-ports-head@freebsd.org Sat Jul 18 17:06:11 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 699B09A4DDA; Sat, 18 Jul 2015 17:06:11 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4812C109C; Sat, 18 Jul 2015 17:06:11 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t6IH6Brv076240; Sat, 18 Jul 2015 17:06:11 GMT (envelope-from hrs@FreeBSD.org) Received: (from hrs@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t6IH6AqT076237; Sat, 18 Jul 2015 17:06:10 GMT (envelope-from hrs@FreeBSD.org) Message-Id: <201507181706.t6IH6AqT076237@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: hrs set sender to hrs@FreeBSD.org using -f From: Hiroki Sato Date: Sat, 18 Jul 2015 17:06:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r392434 - in head/mail/mailest: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Jul 2015 17:06:11 -0000 Author: hrs Date: Sat Jul 18 17:06:09 2015 New Revision: 392434 URL: https://svnweb.freebsd.org/changeset/ports/392434 Log: - Correct LICENSE. - Regenerate patch files to make portlint happy. Modified: head/mail/mailest/Makefile head/mail/mailest/files/patch-mailestd-Makefile head/mail/mailest/files/patch-mailestd.c Modified: head/mail/mailest/Makefile ============================================================================== --- head/mail/mailest/Makefile Sat Jul 18 16:51:10 2015 (r392433) +++ head/mail/mailest/Makefile Sat Jul 18 17:06:09 2015 (r392434) @@ -2,16 +2,17 @@ PORTNAME= mailest PORTVERSION= 0.9.20 +PORTREVISION= 1 CATEGORIES= mail MAINTAINER= hrs@FreeBSD.org COMMENT= Hyper Estraier backend for Mew -LICENSE= BSD2CLAUSE ISCL LGPL21 +LICENSE= BSD2CLAUSE BSD3CLAUSE ISCL LGPL21 LICENSE_COMB= multi -LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/LICENSE.BSD2CLAUSE -LICENSE_FILE_ISCL= ${WRKSRC}/LICENSE.ISCL -LICENSE_FILE_LGPL21= ${WRKSRC}/LICENSE.LGPL21 +.for L in ${LICENSE} +LICENSE_FILE_${L}= ${WRKSRC}/LICENSE.${L} +.endfor LIB_DEPENDS= libevent.so:${PORTSDIR}/devel/libevent2 \ libqdbm.so:${PORTSDIR}/databases/qdbm \ @@ -25,10 +26,26 @@ GH_ACCOUNT= yasuoka GH_TAGNAME= ${PORTNAME}-${PORTVERSION} MAKE_ENV= USE_BSDMAKE=true WITH_INSTALL_AS_USER=true +LICENSE_BSD2CLAUSE_SRC= bytebuf.c replace/sys/tree.h +LICENSE_BSD3CLAUSE_SRC= replace/sys/queue.h +LICENSE_ISCL_SRC= mailestctl.c parser.c parser.h \ + replace/open_memstream.c \ + replace/reallocarray.c \ + replace/replace.h \ + replace/strlcat.c \ + replace/strtonum.c +LICENSE_LGPL21_SRC= estdraft.c +LICENSE_BSD2CLAUSE_REGEX="/ \* [Cc]opyright/,/ \*\//!d;s,^ \*,,;s,^/,," +LICENSE_BSD3CLAUSE_REGEX=${LICENSE_BSD2CLAUSE_REGEX} +LICENSE_ISCL_REGEX= ${LICENSE_BSD2CLAUSE_REGEX} +LICENSE_LGPL21_REGEX= "/^\/\*\*/,/\*\*\//!d;s,^ \*,,;s,^/,," + post-extract: - ${SED} "/\*-/,/*\//!d" ${WRKSRC}/bytebuf.c > ${LICENSE_FILE_BSD2CLAUSE} - ${SED} "/^\/\*/,/ *\//!d" ${WRKSRC}/mailestctl.c > ${LICENSE_FILE_ISCL} - ${SED} "/^\/\*\*/,/\*\*\//!d" ${WRKSRC}/estdraft.c \ - > ${LICENSE_FILE_LGPL21} +.for L in ${LICENSE} +.for F in ${LICENSE_${L}_SRC} + cd ${WRKSRC} && ${SED} -e ${LICENSE_${L}_REGEX} ${F} \ + >> ${LICENSE_FILE_${L}} +.endfor +.endfor .include Modified: head/mail/mailest/files/patch-mailestd-Makefile ============================================================================== --- head/mail/mailest/files/patch-mailestd-Makefile Sat Jul 18 16:51:10 2015 (r392433) +++ head/mail/mailest/files/patch-mailestd-Makefile Sat Jul 18 17:06:09 2015 (r392434) @@ -1,6 +1,6 @@ ---- mailestd/Makefile.orig 2015-05-27 12:18:27.000000000 +0900 -+++ mailestd/Makefile 2015-06-05 16:09:10.228594000 +0900 -@@ -2,9 +2,9 @@ +--- mailestd/Makefile.orig 2015-06-06 10:45:32 UTC ++++ mailestd/Makefile +@@ -2,9 +2,9 @@ MAILESTD_MT= # PROG= mailestd SRCS= bytebuf.c mailestd.c mailestctl.c parse.y parser.c @@ -12,7 +12,7 @@ LDFLAGS= -L${LOCALBASE}/lib LDADD= -lestraier -levent -lqdbm DPADD= ${LIBESTRAIER} ${LIBEVENT} ${LIBQDBM} -@@ -21,13 +21,7 @@ +@@ -21,13 +21,7 @@ LDADD+= -lpthread DPADD+= ${LIBPTHREAD} .endif Modified: head/mail/mailest/files/patch-mailestd.c ============================================================================== --- head/mail/mailest/files/patch-mailestd.c Sat Jul 18 16:51:10 2015 (r392433) +++ head/mail/mailest/files/patch-mailestd.c Sat Jul 18 17:06:09 2015 (r392434) @@ -1,6 +1,6 @@ ---- mailestd.c.orig 2015-05-27 12:18:27.000000000 +0900 -+++ mailestd.c 2015-06-05 16:21:58.350309000 +0900 -@@ -809,8 +809,6 @@ +--- mailestd.c.orig 2015-06-06 10:45:32 UTC ++++ mailestd.c +@@ -809,8 +809,6 @@ mailestd_gather(struct mailestd *_this, RB_INIT(&folders); ctx = mailestd_get_gather(_this, task->gather_id); @@ -9,7 +9,7 @@ if (folder[0] == '/') strlcpy(rdir, folder, sizeof(rdir)); else { -@@ -818,6 +816,8 @@ +@@ -818,6 +816,8 @@ mailestd_gather(struct mailestd *_this, strlcat(rdir, "/", sizeof(rdir)); strlcat(rdir, folder, sizeof(rdir)); } @@ -18,7 +18,7 @@ paths[0] = rdir; paths[1] = NULL; lrdir = strlen(rdir); -@@ -853,7 +853,7 @@ +@@ -853,7 +853,7 @@ mailestd_gather(struct mailestd *_this, } mailestd_log(LOG_DEBUG, "Gathered %s (Total: %d Remove: %d Update: %d)", @@ -27,7 +27,7 @@ total, delete, update); out: if (ctx != NULL) { -@@ -2638,6 +2638,7 @@ +@@ -2647,6 +2647,7 @@ static void mailestd_monitor_folder(struct mailestd *_this, const char *dirpath) { int fd = -1; @@ -35,7 +35,7 @@ struct folder *fld, fld0; MAILESTD_ASSERT(_thread_self() == _this->monitorworker.thread); -@@ -2659,7 +2660,8 @@ +@@ -2668,7 +2669,8 @@ mailestd_monitor_folder(struct mailestd fld->fd = fd; fld->path = xstrdup(dirpath); RB_INSERT(folder_tree, &_this->monitors, fld);