- Update to version 1.2.0

- Hook the tests to our framework

Found out via:	www.opennet.ru
This commit is contained in:
Alexey Dokuchaev 2020-08-14 11:01:13 +00:00
parent e148c8cab6
commit d384f22560
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=544883
4 changed files with 35 additions and 42 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= mcron
PORTVERSION= 1.0.8
PORTREVISION= 3
PORTVERSION= 1.2.0
CATEGORIES= sysutils
MASTER_SITES= GNU
@ -12,14 +11,13 @@ COMMENT= 100% compatible replacement for Vixie cron
LIB_DEPENDS= libguile-2.2.so:lang/guile2
USES= pkgconfig
USES= gmake pkgconfig
GNU_CONFIGURE= yes
MAKEFILE= makefile
TEST_TARGET= check
INFO= mcron
post-patch:
@${REINPLACE_CMD} -e 's,guile-2\.0,guile-2.2,' \
${WRKSRC}/configure
PLIST_SUB= GUILE_SITE=share/guile/site/2.2 \
GUILE_SITE_CCACHE=lib/guile/2.2/site-ccache
.include <bsd.port.mk>

View File

@ -1,2 +1,3 @@
SHA256 (mcron-1.0.8.tar.gz) = 2b5cf57ec620067d996e444114fe37b8d1a5e00b67c6517aa04f06e01ecfea7e
SIZE (mcron-1.0.8.tar.gz) = 283775
TIMESTAMP = 1597347729
SHA256 (mcron-1.2.0.tar.gz) = 2d934da84db7dcb988778f55f43a74f699d5825c4900d13ef178965682cd2dd6
SIZE (mcron-1.2.0.tar.gz) = 327587

View File

@ -1,25 +0,0 @@
--- makefile.in.orig 2014-05-25 14:09:53 UTC
+++ makefile.in
@@ -1213,15 +1213,15 @@ mcron.c : scm/mcron/main.scm scm/mcron/c
@rm -f mcron.escaped.scm > /dev/null 2>&1
install-exec-hook:
- @if [ "x@NO_VIXIE_CLOBBER@" != "xyes" -a "`id -u`" -eq "0" ]; then \
+ @if [ "x@NO_VIXIE_CLOBBER@" != "xyes" ]; then \
rm -f $(fpp)cron$(EXEEXT) > /dev/null 2>&1; \
- $(INSTALL) --mode='u=rwx' mcron$(EXEEXT) $(fpp)cron$(EXEEXT); \
+ $(INSTALL) -m='u=rwx' mcron$(EXEEXT) $(fpp)cron$(EXEEXT); \
rm -f $(fpp)crontab$(EXEEXT) > /dev/null 2>&1; \
- $(INSTALL) --mode='u=rwxs,og=rx' mcron$(EXEEXT) $(fpp)crontab$(EXEEXT); \
- $(INSTALL) -d --mode='u=rwx' $(DESTDIR)/var/cron; \
- $(INSTALL) -d --mode='u=rwx,og=rx' $(DESTDIR)/var/run; \
- $(INSTALL) -d --mode='u=rwx,og=rx' $(DESTDIR)@GUILE_SITE@; \
- $(INSTALL) -d --mode='u=rwx,og=rx' $(DESTDIR)@GUILE_SITE@/mcron; \
+ $(INSTALL) -m='u=rwxs,og=rx' mcron$(EXEEXT) $(fpp)crontab$(EXEEXT); \
+ $(INSTALL) -d -m='u=rwx' $(DESTDIR)/var/cron; \
+ $(INSTALL) -d -m='u=rwx,og=rx' $(DESTDIR)/var/run; \
+ $(INSTALL) -d -m='u=rwx,og=rx' $(DESTDIR)@GUILE_SITE@; \
+ $(INSTALL) -d -m='u=rwx,og=rx' $(DESTDIR)@GUILE_SITE@/mcron; \
elif [ "x@NO_VIXIE_CLOBBER@" = "xyes" ]; then \
echo "Not installing Vixie-style programs"; \
else \

View File

@ -1,11 +1,30 @@
bin/cron
bin/crontab
bin/mcron
man/man1/crontab.1.gz
man/man1/mcron.1.gz
%%DATADIR%%/config.scm
%%DATADIR%%/core.scm
%%DATADIR%%/environment.scm
%%DATADIR%%/job-specifier.scm
%%DATADIR%%/redirect.scm
%%DATADIR%%/vixie-specification.scm
%%DATADIR%%/vixie-time.scm
man/man8/cron.8.gz
sbin/cron
%%GUILE_SITE%%/mcron/base.scm
%%GUILE_SITE%%/mcron/config.scm
%%GUILE_SITE%%/mcron/core.scm
%%GUILE_SITE%%/mcron/environment.scm
%%GUILE_SITE%%/mcron/job-specifier.scm
%%GUILE_SITE%%/mcron/redirect.scm
%%GUILE_SITE%%/mcron/scripts/cron.scm
%%GUILE_SITE%%/mcron/scripts/crontab.scm
%%GUILE_SITE%%/mcron/scripts/mcron.scm
%%GUILE_SITE%%/mcron/utils.scm
%%GUILE_SITE%%/mcron/vixie-specification.scm
%%GUILE_SITE%%/mcron/vixie-time.scm
%%GUILE_SITE_CCACHE%%/mcron/base.go
%%GUILE_SITE_CCACHE%%/mcron/config.go
%%GUILE_SITE_CCACHE%%/mcron/core.go
%%GUILE_SITE_CCACHE%%/mcron/environment.go
%%GUILE_SITE_CCACHE%%/mcron/job-specifier.go
%%GUILE_SITE_CCACHE%%/mcron/redirect.go
%%GUILE_SITE_CCACHE%%/mcron/scripts/cron.go
%%GUILE_SITE_CCACHE%%/mcron/scripts/crontab.go
%%GUILE_SITE_CCACHE%%/mcron/scripts/mcron.go
%%GUILE_SITE_CCACHE%%/mcron/utils.go
%%GUILE_SITE_CCACHE%%/mcron/vixie-specification.go
%%GUILE_SITE_CCACHE%%/mcron/vixie-time.go