Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 May 2004 15:19:38 +0300 (EEST)
From:      Lefteris Chatzibarbas <lefcha@hellug.gr>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        lefcha@hellug.gr
Subject:   ports/67076: Update port: mail/imapfilter
Message-ID:  <200405231219.i4NCJcbR015207@localhost.my.domain>
Resent-Message-ID: <200405231230.i4NCUL4P084829@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         67076
>Category:       ports
>Synopsis:       Update port: mail/imapfilter
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 23 05:30:21 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Lefteris Chatzibarbas
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD bsd 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Sun May 16 13:09:26 EEST 2004 root@bsd:/usr/obj/usr/src/sys/CUSTOM i386

>Description:
Port mail/imapfilter update to version 1.0.

>How-To-Repeat:

>Fix:

--- imapfilter-1.0.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	imapfilter
#	imapfilter/files
#	imapfilter/files/patch-aa
#	imapfilter/Makefile
#	imapfilter/distinfo
#	imapfilter/pkg-descr
#
echo c - imapfilter
mkdir -p imapfilter > /dev/null 2>&1
echo c - imapfilter/files
mkdir -p imapfilter/files > /dev/null 2>&1
echo x - imapfilter/files/patch-aa
sed 's/^X//' >imapfilter/files/patch-aa << 'END-of-imapfilter/files/patch-aa'
X--- configure.orig	Sun May 23 15:03:23 2004
X+++ configure	Sun May 23 15:08:27 2004
X@@ -143,16 +143,16 @@
X SHAREDIR = $sharedir
X MANDIR = $mandir
X 
X+INST_BIN = \$(BSD_INSTALL_PROGRAM)
X+INST_DOC = \$(BSD_INSTALL_MAN)
X+
X INCDIRS = $incdirs
X LIBDIRS = $libdirs
X 
X-MYCFLAGS = $mycflags
X-MYLDFLAGS = $myldflags
X-
X DEFS = $defs
X 
X-CFLAGS = \$(MYCFLAGS) \$(DEFS) \$(INCDIRS)
X-LDFLAGS = \$(MYLDFLAGS) \$(LIBDIRS)
X+CFLAGS += \$(DEFS) \$(INCDIRS)
X+LDFLAGS += \$(LIBDIRS)
X 
X LIBS = $libs
X 
X@@ -181,17 +181,9 @@
X imapfilter.o: version.h
X 
X install: \$(BIN)
X-	if test ! -d \$(BINDIR); then mkdir -p \$(BINDIR); fi
X-	cp -f \$(BIN) \$(BINDIR) && chmod 0755 \$(BINDIR)/\$(BIN)
X-	if test ! -d \$(SHAREDIR); then mkdir -p \$(SHAREDIR); fi
X-	cp -f \$(INTERFACE_LUA) \$(SHAREDIR) && \\
X-		chmod 0644 \$(SHAREDIR)/\$(INTERFACE_LUA)
X-	cp -f \$(AUXILIARY_LUA) \$(SHAREDIR) && \\
X-		chmod 0644 \$(SHAREDIR)/\$(AUXILIARY_LUA)
X-	if test ! -d \$(MANDIR)/man1; then mkdir -p \$(MANDIR)/man1; fi
X-	cp -f \$(MAN_BIN) \$(MANDIR)/man1 && chmod 0644 \$(MANDIR)/man1/\$(MAN_BIN)
X-	if test ! -d \$(MANDIR)/man5; then mkdir -p \$(MANDIR)/man5; fi
X-	cp -f \$(MAN_CONFIG) \$(MANDIR)/man5 && chmod 0644 \$(MANDIR)/man5/\$(MAN_CONFIG)
X+	\$(INST_BIN) \$(BIN) \$(BINDIR)
X+	\$(INST_DOC) \$(MAN_BIN) \$(MANDIR)/man1
X+	\$(INST_DOC) \$(MAN_CONFIG) \$(MANDIR)/man5
X 
X deinstall:
X 	rm -f \$(BINDIR)/\$(BIN) \$(SHAREDIR)/\$(INTERFACE_LUA) \\
END-of-imapfilter/files/patch-aa
echo x - imapfilter/Makefile
sed 's/^X//' >imapfilter/Makefile << 'END-of-imapfilter/Makefile'
X# New ports collection makefile for:	imapfilter
X# Date created:        28 July 2002
X# Whom:                Lefteris Chatzibarbas <lefcha@hellug.gr>
X#
X# $FreeBSD: ports/mail/imapfilter/Makefile,v 1.14 2004/02/10 14:58:30 leeym Exp $
X#
X
XPORTNAME=	imapfilter
XPORTVERSION=	1.0
XCATEGORIES=	mail
XMASTER_SITES=	http://imapfilter.hellug.gr/source/
X
XMAINTAINER=	lefcha@hellug.gr
XCOMMENT=	IMAP mail filtering utility
X
XLIB_DEPENDS=	lua.5:${PORTSDIR}/lang/lua
X
XUSE_BZIP2=	yes
XUSE_OPENSSL=	yes
XHAS_CONFIGURE=	yes
XCONFIGURE_ARGS= -d ${PREFIX} -s ${DATADIR}
X
XMAN1=		imapfilter.1
XMAN5=		imapfilter_config.5
XPORTDOCS=	LICENSE NEWS README
XPLIST_FILES=	bin/imapfilter \
X		${DATADIR:S%${PREFIX}/%%}/interface.lua \
X		${DATADIR:S%${PREFIX}/%%}/auxiliary.lua \
X		${EXAMPLESDIR:S%${PREFIX}/%%}/sample.config.lua \
X		${EXAMPLESDIR:S%${PREFIX}/%%}/sample.extend.lua
XPLIST_DIRS=	${DATADIR:S%${PREFIX}/%%} ${EXAMPLESDIR:S%${PREFIX}/%%}
X
X
Xpost-install:
X	${STRIP_CMD} ${PREFIX}/bin/imapfilter
X	@${MKDIR} ${DATADIR}
X	cd ${WRKSRC} && ${INSTALL_DATA} interface.lua \
X		auxiliary.lua ${DATADIR}
X	@${MKDIR} ${EXAMPLESDIR}
X	cd ${WRKSRC} && ${INSTALL_DATA} sample.config.lua \
X		sample.extend.lua ${EXAMPLESDIR}
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-imapfilter/Makefile
echo x - imapfilter/distinfo
sed 's/^X//' >imapfilter/distinfo << 'END-of-imapfilter/distinfo'
XMD5 (imapfilter-1.0.tar.bz2) = 417cc5a8b92cb0004946a1e6da381f66
XSIZE (imapfilter-1.0.tar.bz2) = 27816
END-of-imapfilter/distinfo
echo x - imapfilter/pkg-descr
sed 's/^X//' >imapfilter/pkg-descr << 'END-of-imapfilter/pkg-descr'
XIMAPFilter is a mail filtering utility. It connects to remote mail servers
Xusing the Internet Message Access Protocol (IMAP), sends searching queries to
Xthe server and processes mailboxes based on the results. It can be used to
Xdelete, copy, move, flag, etc. messages residing in mailboxes at the same or
Xdifferent mail servers.
X
XIMAPFilter uses the Lua programming language as a configuration and extension
Xlanguage.
X
XWWW: http://imapfilter.hellug.gr
X
X- Lefteris Chatzibarbas
Xlefcha@hellug.gr
END-of-imapfilter/pkg-descr
exit
--- imapfilter-1.0.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405231219.i4NCJcbR015207>