Skip site navigation (1)Skip section navigation (2)
Date:      30 Aug 2002 14:35:32 -0000
From:      Sergei Kolobov <sergei@kolobov.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/42215: [PATCH] Update mail/anubis to 3.4.2
Message-ID:  <20020830143532.77853.qmail@outpost.globcon.net>

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

>Number:         42215
>Category:       ports
>Synopsis:       [PATCH] Update mail/anubis to 3.4.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 30 07:40:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Sergei Kolobov
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD outpost.globcon.net 4.6-STABLE FreeBSD 4.6-STABLE #0: Thu Aug 1 02:44:26 MSD 2002 sgk@outpost.globcon.net:/data/FreeBSD/obj/data/FreeBSD/src/sys/OUTPOST i386
>Description:
- Update anubis to 3.4.2
- Install .info and addition documentation
- Fix Makefile to install the startup script and examples even if
  NOPORTDOCS is defined (those items are NOT documentation)

>How-To-Repeat:
Patch included.
>Fix:

--- anubis-3.4.2-update.patch begins here ---
diff -urN /usr/ports/mail/anubis/Makefile anubis/Makefile
--- /usr/ports/mail/anubis/Makefile	Tue Aug 20 04:08:51 2002
+++ anubis/Makefile	Fri Aug 30 18:07:05 2002
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	anubis
-PORTVERSION=	3.4.1
+PORTVERSION=	3.4.2
 CATEGORIES=	mail
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -25,19 +25,23 @@
 		LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
 
 MAN1=	anubis.1
+DOCS=	AUTHORS COPYING INSTALL NEWS README THANKS TODO
 
 post-patch:
 	@${REINPLACE_CMD} -e "s|/etc|${PREFIX}/etc|g" ${WRKSRC}/src/headers.h
 	@${SED} -e "s|%%PREFIX%%|${PREFIX}|g" ${FILESDIR}/anubis.sh > \
 		${WRKSRC}/anubis.sh
 
-.if !defined(NOPORTDOCS)
 post-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/anubis.sh ${PREFIX}/etc/rc.d
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/TUTORIAL ${DOCSDIR}
 	@${MKDIR} ${EXAMPLESDIR}
 	${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/TUTORIAL ${DOCSDIR}
+.for file in ${DOCS} 
+	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
 .endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/mail/anubis/distinfo anubis/distinfo
--- /usr/ports/mail/anubis/distinfo	Tue Aug 20 04:08:51 2002
+++ anubis/distinfo	Fri Aug 30 17:11:50 2002
@@ -1 +1 @@
-MD5 (anubis-3.4.1.tar.gz) = 2fdd615ff731f3fb6cb8b1a95db03361
+MD5 (anubis-3.4.2.tar.gz) = e761ab843eeddaf4bbe5899312c93bf3
diff -urN /usr/ports/mail/anubis/pkg-plist anubis/pkg-plist
--- /usr/ports/mail/anubis/pkg-plist	Wed Jul 31 22:52:14 2002
+++ anubis/pkg-plist	Fri Aug 30 18:12:03 2002
@@ -1,8 +1,18 @@
 sbin/anubis
 etc/rc.d/anubis.sh
+info/anubis.info
+@exec install-info %D/info/anubis.info %D/info/dir
+@unexec install-info --delete %D/info/anubis.info %D/info/dir
+%%PORTDOCS%%share/doc/anubis/AUTHORS
+%%PORTDOCS%%share/doc/anubis/COPYING
+%%PORTDOCS%%share/doc/anubis/INSTALL
+%%PORTDOCS%%share/doc/anubis/NEWS
+%%PORTDOCS%%share/doc/anubis/README
+%%PORTDOCS%%share/doc/anubis/THANKS
+%%PORTDOCS%%share/doc/anubis/TODO
 %%PORTDOCS%%share/doc/anubis/TUTORIAL
 %%PORTDOCS%%@dirrm share/doc/anubis
-%%PORTDOCS%%share/examples/anubis/1anubisrc
-%%PORTDOCS%%share/examples/anubis/2anubisrc
-%%PORTDOCS%%share/examples/anubis/defaultrc
-%%PORTDOCS%%@dirrm share/examples/anubis
+share/examples/anubis/1anubisrc
+share/examples/anubis/2anubisrc
+share/examples/anubis/defaultrc
+@dirrm share/examples/anubis
--- anubis-3.4.2-update.patch ends here ---

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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