Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Nov 2016 14:45:54 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r426930 - in head/sysutils/isc-cron: . files
Message-ID:  <201611231445.uANEjsZM084939@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Nov 23 14:45:54 2016
New Revision: 426930
URL: https://svnweb.freebsd.org/changeset/ports/426930

Log:
  - Add LICENSE
  - Cosmetic fixes
  - handle SUID bit properly
  - Respect CC and CFLAGS

Modified:
  head/sysutils/isc-cron/Makefile
  head/sysutils/isc-cron/files/patch-Makefile

Modified: head/sysutils/isc-cron/Makefile
==============================================================================
--- head/sysutils/isc-cron/Makefile	Wed Nov 23 14:43:09 2016	(r426929)
+++ head/sysutils/isc-cron/Makefile	Wed Nov 23 14:45:54 2016	(r426930)
@@ -3,29 +3,32 @@
 
 PORTNAME=	isc-cron
 PORTVERSION=	4.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils
 MASTER_SITES=	ISC/cron
 DISTNAME=	cron_${PORTVERSION}.shar
-EXTRACT_SUFX=
+EXTRACT_SUFX=	# none
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	ISC Cron, former Vixie Cron
 
+LICENSE=	ISCL
+
 WRKSRC=		${WRKDIR}
 SUB_FILES=	pkg-message
-PLIST_FILES=	sbin/cron bin/crontab man/man1/crontab.1.gz \
-		man/man5/crontab.5.gz man/man8/cron.8.gz
-PKGMESSAGE=	${WRKDIR}/pkg-message
+PLIST_FILES=	sbin/cron \
+		"@(root,wheel,4755) bin/crontab" \
+		man/man1/crontab.1.gz \
+		man/man5/crontab.5.gz \
+		man/man8/cron.8.gz
 
 do-extract:
-	${MKDIR} ${WRKSRC}
+	@${MKDIR} ${WRKSRC}
 	cd ${WRKSRC} && ${SH} ${DISTDIR}/${DISTNAME}
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/cron ${STAGEDIR}${PREFIX}/sbin
 	${INSTALL_PROGRAM} ${WRKSRC}/crontab ${STAGEDIR}${PREFIX}/bin
-	${CHMOD} 4555 ${STAGEDIR}${PREFIX}/bin/crontab
 	${INSTALL_MAN} ${WRKSRC}/crontab.1 ${STAGEDIR}${MANPREFIX}/man/man1
 	${INSTALL_MAN} ${WRKSRC}/crontab.5 ${STAGEDIR}${MANPREFIX}/man/man5
 	${INSTALL_MAN} ${WRKSRC}/cron.8 ${STAGEDIR}${MANPREFIX}/man/man8

Modified: head/sysutils/isc-cron/files/patch-Makefile
==============================================================================
--- head/sysutils/isc-cron/files/patch-Makefile	Wed Nov 23 14:43:09 2016	(r426929)
+++ head/sysutils/isc-cron/files/patch-Makefile	Wed Nov 23 14:45:54 2016	(r426930)
@@ -1,11 +1,20 @@
---- Makefile.orig	2013-10-18 04:21:17.000000000 +1100
-+++ Makefile	2013-10-18 04:21:22.000000000 +1100
-@@ -66,7 +66,7 @@
+--- Makefile.orig	2016-11-23 12:27:46 UTC
++++ Makefile
+@@ -66,7 +66,7 @@ CDEBUG		=	-g
  #<<lint flags of choice?>>
  LINTFLAGS	=	-hbxa $(INCLUDE) $(DEBUGGING)
  #<<want to use a nonstandard CC?>>
 -CC		=	gcc -Wall -Wno-unused -Wno-comment
-+CC		=	cc -Wall -Wno-unused -Wno-comment
++CC		+=	-Wall -Wno-unused -Wno-comment
  #<<manifest defines>>
  DEFS		=
  #(SGI IRIX systems need this)
+@@ -79,7 +79,7 @@ LDFLAGS		=
+ #################################### end configurable stuff
+ 
+ SHELL		=	/bin/sh
+-CFLAGS		=	$(CDEBUG) $(INCLUDE) $(DEFS)
++CFLAGS		+=	$(INCLUDE) $(DEFS)
+ 
+ INFOS		=	README CHANGES FEATURES INSTALL CONVERSION THANKS MAIL
+ MANPAGES	=	bitstring.3 crontab.5 crontab.1 cron.8 putman.sh



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