Bug 47002 - New port: mail/vodmr - ODMR/ATRN server for vpopmail/qmail
Summary: New port: mail/vodmr - ODMR/ATRN server for vpopmail/qmail
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: Peter Pentchev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-12 20:40 UTC by james
Modified: 2004-01-15 08:53 UTC (History)
0 users

See Also:


Attachments
file.shar (4.61 KB, text/plain)
2003-01-12 20:40 UTC, james
no flags Details
vodmr-0.10-0.12-skeleton.patch (3.28 KB, patch)
2003-11-19 19:51 UTC, james
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description james 2003-01-12 20:40:02 UTC
	New port skeleton for vodmr, an ODMR/ATRN server for 
	vpopmail/qmail servers. It's written by me. I'm happy to
	be its maintainer.

	shar below.

	Thanks,
	james.
Comment 1 Peter Pentchev freebsd_committer freebsd_triage 2003-01-13 09:13:43 UTC
Responsible Changed
From-To: freebsd-ports->roam

I'll take care of this one.
Comment 2 james 2003-01-27 11:29:06 UTC
Hi,

I released vodmr 0.11 over the weekend. Patch against submitted skeleton
is below.

Version 0.11 uses the vpopmail.pm perl module recently commited
(thanks!) so this update replaces the direct dependancy on vpopmail with
vpopmail.pm instead.


Thanks,
james


diff -ruN vodmr.old/Makefile vodmr/Makefile
--- vodmr.old/Makefile	Mon Jan 13 11:29:31 2003
+++ vodmr/Makefile	Mon Jan 27 11:18:42 2003
@@ -9,7 +9,7 @@
 #
 
 PORTNAME=	vodmr
-PORTVERSION=	0.10
+PORTVERSION=	0.11
 CATEGORIES=	mail perl5
 MASTER_SITES=	http://romana.now.ie/software/ \
 		http://www.lecter.phlegethon.org/vodmr/
@@ -18,9 +18,9 @@
 
 RUN_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/CDB_File.pm:${PORTSDIR}/databases/p5-CDB_File \
 		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \
+		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/vpopmail.pm:${PORTSDIR}/mail/p5-vpopmail \
 		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Mail/Header.pm:${PORTSDIR}/mail/p5-Mail-Tools \
-		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Digest/HMAC_MD5.pm:${PORTSDIR}/security/p5-Digest-HMAC \
-		${LOCALBASE}/vpopmail/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail-stable
+		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Digest/HMAC_MD5.pm:${PORTSDIR}/security/p5-Digest-HMAC
 
 .if !defined(WITHOUT_TCPSERVER)
 RUN_DEPENDS+=	tcpserver:${PORTSDIR}/sysutils/ucspi-tcp
diff -ruN vodmr.old/distinfo vodmr/distinfo
--- vodmr.old/distinfo	Mon Jan 13 11:29:31 2003
+++ vodmr/distinfo	Mon Jan 27 11:19:14 2003
@@ -1 +1 @@
-MD5 (vodmr-0.10.tar.gz) = cfc3dfabd43687bd9c1d9a4de094f5ad
+MD5 (vodmr-0.11.tar.gz) = 03827b82659f8d9bbd0ddda24d138a88
Comment 3 Mark Linimon 2003-11-14 05:52:13 UTC
Is this still a current version of this port, or should a
new PR be submitted?
Comment 4 james 2003-11-18 12:31:34 UTC
On Fri, Nov 14, 2003 at 05:52:13AM +0000, Mark Linimon wrote:
> Is this still a current version of this port, or should a
> new PR be submitted?

Hi,

vodmr-0.12 was released on Oct. 13 -- the skeleton for 0.11 in the PR is 
out of date.

Which is preferrable; a new PR for 0.12, or an additional patch for
the skeleton in the PR?

Thanks,
james
-- 
Times flies like an arrow. Fruit flies like bananas.
Comment 5 Peter Pentchev 2003-11-18 13:22:23 UTC
On Tue, Nov 18, 2003 at 04:40:18AM -0800, James Raftery wrote:
>  On Fri, Nov 14, 2003 at 05:52:13AM +0000, Mark Linimon wrote:
>  > Is this still a current version of this port, or should a
>  > new PR be submitted?
>  
>  Hi,
>  
>  vodmr-0.12 was released on Oct. 13 -- the skeleton for 0.11 in the PR is 
>  out of date.
>  
>  Which is preferrable; a new PR for 0.12, or an additional patch for
>  the skeleton in the PR?


A patch submitted as a follow-up to the PR would be preferable.
Sorry for my long delay in handling this port...

G'luck,
Peter

-- 
Peter Pentchev	roam@ringlet.net    roam@sbnd.net    roam@FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
If the meanings of 'true' and 'false' were switched, then this sentence wouldn't be false.
Comment 6 james 2003-11-19 19:51:49 UTC
On Tue, Nov 18, 2003 at 03:22:23PM +0200, Peter Pentchev wrote:
> A patch submitted as a follow-up to the PR would be preferable.
> Sorry for my long delay in handling this port...

Hi,

No problem. Patch attached to bring the 0.10 skeleton (included as a shar
in the PR) up to 0.12. Therefore you can disregard the 0.10 to 0.11
patch that was previously added to the PR.

Thanks,
james
-- 
Times flies like an arrow. Fruit flies like bananas.
Comment 7 Peter Pentchev 2003-12-12 12:04:02 UTC
On Wed, Nov 19, 2003 at 07:51:49PM +0000, James Raftery wrote:
> On Tue, Nov 18, 2003 at 03:22:23PM +0200, Peter Pentchev wrote:
> > A patch submitted as a follow-up to the PR would be preferable.
> > Sorry for my long delay in handling this port...
>=20
> Hi,
>=20
> No problem. Patch attached to bring the 0.10 skeleton (included as a shar
> in the PR) up to 0.12. Therefore you can disregard the 0.10 to 0.11
> patch that was previously added to the PR.

What do you think about the attached patch, which:
- generates the new pkg-message dynamically into the work directory, so
  things don't break on a read-only /usr/ports/ mount;
- uses PORTDOCS to automagically add the docfiles to the packing list;
- uses a single command to install the docs instead of a for loop?

G'luck,
Peter

--=20
Peter Pentchev	roam@ringlet.net    roam@sbnd.net    roam@FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
This sentence contains exactly threee erors.

diff -urN vodmr/Makefile vodmr-roam/Makefile
--- vodmr/Makefile	Fri Dec 12 14:00:57 2003
+++ vodmr-roam/Makefile	Fri Dec 12 13:58:08 2003
@@ -31,6 +31,13 @@
 USE_PERL5_RUN=3D	YES
 USE_REINPLACE=3D	YES
=20
+PKGMESSAGE=3D	${WRKDIR}/pkg-message
+
+post-extract:
+	@${SED} -e 's|DOCSDIR|${PREFIX}/share/doc/vodmr|' \
+		-e 's|SCRIPT|${PREFIX}/sbin/odmrd|' ${MASTERDIR}/pkg-message \
+		> ${WRKDIR}/pkg-message
+
 do-configure:
 	${REINPLACE_CMD} -e 's|^\#!/usr/bin/perl|\#!${PERL}|' ${WRKSRC}/odmrd
=20
@@ -38,14 +45,12 @@
 	${INSTALL_SCRIPT} ${WRKSRC}/odmrd ${PREFIX}/sbin
 	${INSTALL_SCRIPT} ${FILESDIR}/odmrd.sh-sample ${PREFIX}/etc/rc.d
=20
-post-install:
 .if !defined(NOPORTDOCS)
+PORTDOCS=3D	FAQ README INSTALL INTERNALS TODO sample-odmrd.rules
+
+post-install:
 	${MKDIR} ${DOCSDIR}
-.for doc in FAQ README INSTALL INTERNALS TODO sample-odmrd.rules
-	${INSTALL_MAN} ${WRKSRC}/${doc} ${DOCSDIR}
-.endfor
+	${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
 .endif
-	@${REINPLACE_CMD} -e 's|DOCSDIR|${DOCSDIR}|' \
-		-e 's|SCRIPT|${PREFIX}/sbin/odmrd|' ${PKGMESSAGE}
=20
 .include <bsd.port.mk>
diff -urN vodmr/pkg-plist vodmr-roam/pkg-plist
--- vodmr/pkg-plist	Fri Dec 12 14:00:57 2003
+++ vodmr-roam/pkg-plist	Fri Dec 12 13:59:51 2003
@@ -1,9 +1,2 @@
 sbin/odmrd
 etc/rc.d/odmrd.sh-sample
-%%PORTDOCS%%%%DOCSDIR%%/FAQ
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL
-%%PORTDOCS%%%%DOCSDIR%%/INTERNALS
-%%PORTDOCS%%%%DOCSDIR%%/TODO
-%%PORTDOCS%%%%DOCSDIR%%/sample-odmrd.rules
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
Comment 8 Mark Linimon freebsd_committer freebsd_triage 2004-01-10 08:40:52 UTC
State Changed
From-To: open->suspended

Recently I asked about the status of this PR and was told it was 
still pending.  With a little bit of trepidation, mark it as 
suspended to remind myself not to ask any more.
Comment 9 Peter Pentchev freebsd_committer freebsd_triage 2004-01-15 08:53:38 UTC
State Changed
From-To: suspended->closed

Port (finally) committed, thanks for the submission and the patience@