Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jan 2011 21:27:15 GMT
From:      "Mikhail T." <michael@fun-box.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/154383: [PATCH] mail/spamass-milter: take mainteinership
Message-ID:  <201101292127.p0TLRF7p084206@red.freebsd.org>
Resent-Message-ID: <201101292130.p0TLUBUe003180@freefall.freebsd.org>

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

>Number:         154383
>Category:       ports
>Synopsis:       [PATCH] mail/spamass-milter: take mainteinership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 29 21:30:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Mikhail T.
>Release:        8.2-RC2
>Organization:
FunBox
>Environment:
FreeBSD fob 8.2-RC2 FreeBSD 8.2-RC2 #0 r217476: Sun Jan 16 22:22:41 MSK 2011     root@fob:/usr/obj/usr/src/sys/DM  i386

>Description:
- Claim mainteinership
- Add LICENSE
- Drop MD5 sum
- Make use of mail/sendmail/bsd.milter.mk
- Clean up Makefile
>How-To-Repeat:

>Fix:
diff -uNr /tmp/spamass-milter/Makefile spamass-milter/Makefile
--- /tmp/spamass-milter/Makefile	2011-01-29 23:38:48.000000000 +0300
+++ spamass-milter/Makefile	2011-01-30 00:20:08.000000000 +0300
@@ -12,12 +12,14 @@
 MASTER_SITES=	${MASTER_SITE_SAVANNAH}
 MASTER_SITE_SUBDIR=	spamass-milt
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	michael@fun-box.ru
 COMMENT=	Sendmail Milter (mail filter) plugin for SpamAssassin
 
 BUILD_DEPENDS=	spamc:${PORTSDIR}/mail/p5-Mail-SpamAssassin
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
+LICENSE=	GPLv2
+
 MAKE_JOBS_SAFE=	yes
 
 OPTIONS=	ADDAUTH_PATCH "Bypass checks for SMTP AUTH connections" off \
@@ -56,33 +58,10 @@
 LDFLAGS+=	-L${LOCALBASE}/lib
 .endif
 
-.if !defined(WITH_SENDMAIL_BASE) && !defined(WITH_SENDMAIL_PORT)
-WITH_SENDMAIL_BASE=yes
-.endif
-
-.if defined(WITH_SENDMAIL_BASE)
-.if exists(/usr/lib/libmilter.a)
-MILTERBASE=	/usr
-.else
-IGNORE=	base system sendmail not found or too old, rebuild with WITH_SENDMAIL_PORT=yes
-.endif
-.endif
-
-.if defined(WITH_SENDMAIL_PORT)
-BUILD_DEPENDS+=	${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/sendmail
-MILTERBASE?=	${LOCALBASE}
-.endif
-
 .if !defined(NOPORTDOCS)
 PORTDOCS=	AUTHORS ChangeLog NEWS README TODO
 .endif
 
-MILTERINC=	${MILTERBASE}/include
-MILTERLIB=	${MILTERBASE}/lib
-
-CPPFLAGS+=	-I${MILTERINC}
-LDFLAGS+=	-L${MILTERLIB}
-
 USE_RC_SUBR=	spamass-milter
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
@@ -113,4 +92,6 @@
 .endif
 	@${CAT} ${PKGMESSAGE}
 
+.include "${PORTSDIR}/mail/sendmail/bsd.milter.mk"
+
 .include <bsd.port.post.mk>
diff -uNr /tmp/spamass-milter/distinfo spamass-milter/distinfo
--- /tmp/spamass-milter/distinfo	2011-01-29 23:38:48.000000000 +0300
+++ spamass-milter/distinfo	2011-01-29 23:46:52.000000000 +0300
@@ -1,3 +1,2 @@
-MD5 (spamass-milter-0.3.1.tar.gz) = ca6bf6a9c88db74a6bfea41f499c0ba6
 SHA256 (spamass-milter-0.3.1.tar.gz) = 4222b21d098f292b4899a84caf56458c876c6774fd14132fbd4c31f6190b27e5
 SIZE (spamass-milter-0.3.1.tar.gz) = 141144


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



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