Bug 184378 - update port: mail/fdm
Summary: update port: mail/fdm
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pawel Pekala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-30 00:40 UTC by Timothy Beyer
Modified: 2014-02-03 19:20 UTC (History)
1 user (show)

See Also:


Attachments
fdm.diff (1.50 KB, patch)
2013-11-30 00:40 UTC, Timothy Beyer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Beyer 2013-11-30 00:40:01 UTC
- update port to 1.7

- add support for LICENSE

Fix: The included patch
How-To-Repeat: 
    Apply patch and build port
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-11-30 00:40:09 UTC
Maintainer of mail/fdm,

Please note that PR ports/184378 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/184378

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-11-30 00:40:10 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Pawel Pekala freebsd_committer freebsd_triage 2014-02-03 18:29:28 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

I'll take it.
Comment 4 dfilter service freebsd_committer freebsd_triage 2014-02-03 19:15:46 UTC
Author: pawel
Date: Mon Feb  3 19:15:38 2014
New Revision: 342466
URL: http://svnweb.freebsd.org/changeset/ports/342466
QAT: https://qat.redports.org/buildarchive/r342466/

Log:
  - Update to version 1.7, add LICENSE [1]
  - Convert to new LIB_DEPENDS format
  - Respect CFLAGS by disabling FDEBUG var in Makefile
  - Support stage, unmute install commands
  - Remove Author tag from pkg-descr
  
  PR:		ports/184378 [1]
  Submitted by:	Timothy Beyer <beyert@cs.ucr.edu>
  Approved by:	maintainer timeout

Modified:
  head/mail/fdm/Makefile
  head/mail/fdm/distinfo
  head/mail/fdm/pkg-descr

Modified: head/mail/fdm/Makefile
==============================================================================
--- head/mail/fdm/Makefile	Mon Feb  3 18:24:44 2014	(r342465)
+++ head/mail/fdm/Makefile	Mon Feb  3 19:15:38 2014	(r342466)
@@ -2,42 +2,36 @@
 # $FreeBSD$
 
 PORTNAME=	fdm
-PORTVERSION=	1.6
-PORTREVISION=	2
+PORTVERSION=	1.7
 CATEGORIES=	mail
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	chifeng@gmail.com
 COMMENT=	Fetches and delivers mail
 
-LIB_DEPENDS=	pcre.3:${PORTSDIR}/devel/pcre \
-		tdb.1:${PORTSDIR}/databases/tdb
+LICENSE=	ISCL
 
-PLIST_FILES=	bin/fdm
+LIB_DEPENDS=	libpcre.so:${PORTSDIR}/devel/pcre \
+		libtdb.so:${PORTSDIR}/databases/tdb
+
+PLIST_FILES=	bin/fdm man/man1/fdm.1.gz man/man5/fdm.conf.5.gz
 PORTDOCS=	CHANGES README MANUAL
 PORTEXAMPLES=	n-marriott.conf f-terbeck.conf t-ulmer.conf w-maier.conf g-lando.conf
 MAKE_ARGS=	-DPCRE -DDB
-
-MAN1=	fdm.1
-MAN5=	fdm.conf.5
-
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+HAS_CONFIGURE=	yes
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/*.[ch15]
 	@${REINPLACE_CMD} -e 's|/usr/local/include/openssl|/usr/include/openssl|;\
-		s|-I-||g;\
+		s|-I-||g; s|-g bin -o root||g; s|^FDEBUG|#&|;\
 		s|/usr/local|${LOCALBASE}|g' ${WRKSRC}/${MAKEFILE}
+	cd ${WRKSRC} && ${AWK} -f tools/makemanual.awk MANUAL.in > MANUAL
 
 post-install:
-.if ${PORT_OPTIONS:MEXAMPLES}
-	@${INSTALL} -d ${EXAMPLESDIR}/
-	@${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${EXAMPLESDIR}/
-.endif
-.if ${PORT_OPTIONS:MDOCS}
-	@${INSTALL} -d ${DOCSDIR}/
-	@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}/
-.endif
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} \
+		${STAGEDIR}${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/mail/fdm/distinfo
==============================================================================
--- head/mail/fdm/distinfo	Mon Feb  3 18:24:44 2014	(r342465)
+++ head/mail/fdm/distinfo	Mon Feb  3 19:15:38 2014	(r342466)
@@ -1,2 +1,2 @@
-SHA256 (fdm-1.6.tar.gz) = 7269a40a27378f49c0d3cc92b4229d1e066bba486ef9ff85caa2ec4cbcea3706
-SIZE (fdm-1.6.tar.gz) = 192159
+SHA256 (fdm-1.7.tar.gz) = 484474094f124ce438c89dfab05519fe7b3aa8c8346d00f790a512ab950cef2a
+SIZE (fdm-1.7.tar.gz) = 199808

Modified: head/mail/fdm/pkg-descr
==============================================================================
--- head/mail/fdm/pkg-descr	Mon Feb  3 18:24:44 2014	(r342465)
+++ head/mail/fdm/pkg-descr	Mon Feb  3 19:15:38 2014	(r342466)
@@ -3,5 +3,4 @@ delivery programs such as fetchmail and 
 fetch using POP3, POP3S, IMAP or from stdin, and deliver to a pipe,
 file, maildir, mbox or SMTP server, based on regexps.
 
-Author: Nicholas Marriott <nicm@users.sourceforge.net>
 WWW: http://fdm.sourceforge.net/
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 Pawel Pekala freebsd_committer freebsd_triage 2014-02-03 19:15:52 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!