Lines 5-11
Link Here
|
5 |
PORTVERSION= 1.6.2 |
5 |
PORTVERSION= 1.6.2 |
6 |
PORTREVISION= 4 |
6 |
PORTREVISION= 4 |
7 |
CATEGORIES= sysutils |
7 |
CATEGORIES= sysutils |
8 |
MASTER_SITES= http://cronolog.org/download/ |
8 |
MASTER_SITES= http://fossies.org/linux/www/ \ |
|
|
9 |
https://vps.googlecode.com/files/ |
9 |
|
10 |
|
10 |
MAINTAINER= bdrewery@FreeBSD.org |
11 |
MAINTAINER= bdrewery@FreeBSD.org |
11 |
COMMENT= Web log rotation utility that provides datestamp filenames |
12 |
COMMENT= Web log rotation utility that provides datestamp filenames |
Lines 16-22
Link Here
|
16 |
|
17 |
|
17 |
INFO= cronolog |
18 |
INFO= cronolog |
18 |
|
19 |
|
|
|
20 |
USES= shebangfix |
19 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
|
|
22 |
CONFIGURE_ENV+= ac_cv_path_PERL="${perl_CMD}" |
20 |
|
23 |
|
21 |
OPTIONS_DEFINE= SETUID_PATCH |
24 |
OPTIONS_DEFINE= SETUID_PATCH |
22 |
OPTIONS_DEFAULT= SETUID_PATCH |
25 |
OPTIONS_DEFAULT= SETUID_PATCH |
Lines 28-43
Link Here
|
28 |
.include <bsd.port.options.mk> |
31 |
.include <bsd.port.options.mk> |
29 |
|
32 |
|
30 |
.if ${PORT_OPTIONS:MSETUID_PATCH} |
33 |
.if ${PORT_OPTIONS:MSETUID_PATCH} |
31 |
MASTER_SITES+= http://cronolog.org/patches/:patches |
34 |
PATCHSITES= https://raw.githubusercontent.com/kiorky/cryptelium-overlay/cdbbe47/app-admin/cronolog/files/1.6.2-patches/ |
32 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} cronolog-setugid-patch.txt:patches |
35 |
PATCH_DIST_STRIP=-p1 |
33 |
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} |
36 |
PATCHFILES+= cronolog-setugid-patch.txt |
34 |
EXTRA_PATCHES+= ${WRKDIR}/cronolog-setugid-patch.txt |
|
|
35 |
USES+= dos2unix |
36 |
DOS2UNIX_FILES= ../cronolog-setugid-patch.txt |
37 |
|
38 |
post-extract: |
39 |
@${CP} ${DISTDIR}/cronolog-setugid-patch.txt ${WRKDIR}/ |
40 |
@cd ${WRKSRC} && ${TOUCH} aclocal.m4 Makefile.in */Makefile.in |
41 |
.endif |
37 |
.endif |
42 |
|
38 |
|
43 |
.include <bsd.port.mk> |
39 |
.include <bsd.port.mk> |