Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 2017 02:31:40 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r456774 - head/sysutils/logrotate
Message-ID:  <201712200231.vBK2Veon062112@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Wed Dec 20 02:31:40 2017
New Revision: 456774
URL: https://svnweb.freebsd.org/changeset/ports/456774

Log:
  sysutils/logrotate: fix paths after upate to 3.13.0
  
  While here add USES=localbase and unmute post-install tasks
  
  PR:		223227
  Submitted by:	a.ulasov@gmail.com (inspired by)
  Approved by:	js@iksz.hu (maintainer)

Modified:
  head/sysutils/logrotate/Makefile

Modified: head/sysutils/logrotate/Makefile
==============================================================================
--- head/sysutils/logrotate/Makefile	Wed Dec 20 02:27:53 2017	(r456773)
+++ head/sysutils/logrotate/Makefile	Wed Dec 20 02:31:40 2017	(r456774)
@@ -3,6 +3,7 @@
 
 PORTNAME=	logrotate
 PORTVERSION=	3.13.0
+PORTREVISION=	1
 CATEGORIES=	sysutils
 
 MAINTAINER=	js@iksz.hu
@@ -15,15 +16,18 @@ LIB_DEPENDS=	libpopt.so:devel/popt
 USE_GITHUB=	yes
 
 PATCH_STRIP=		-p1
-USES=		gmake autoreconf
+USES=		autoreconf gmake localbase
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib
+CONFIGURE_ARGS=	--with-default-mail-command=/usr/bin/mailx \
+		--with-compress-command=/usr/bin/gzip \
+		--with-uncompress-command=/usr/bin/gunzip \
+		--with-state-file-path=/var/run/logrotate.status
 
 post-install:
-	@${SED} -e 's|__PREFIX__|${PREFIX}|' \
+	${SED} -e 's|__PREFIX__|${PREFIX}|' \
 		< ${FILESDIR}/logrotate.conf.sample > ${STAGEDIR}${PREFIX}/etc/logrotate.conf.sample
-	@${MKDIR} ${STAGEDIR}${ETCDIR}.d
-	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${MKDIR} ${STAGEDIR}${ETCDIR}.d
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${FILESDIR}/syslog.sample ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>



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