Add cronolog-devel, an advanced version of cronolog with more useful
authorJuraj Lutter <juraj@lutter.sk>
Thu, 22 Dec 2016 11:44:48 +0000 (11:44 +0000)
committerJuraj Lutter <juraj@lutter.sk>
Thu, 22 Dec 2016 11:44:48 +0000 (11:44 +0000)
features.

cronolog-devel/DESCR [new file with mode: 0644]
cronolog-devel/Makefile [new file with mode: 0644]
cronolog-devel/PLIST [new file with mode: 0644]
cronolog-devel/distinfo [new file with mode: 0644]

diff --git a/cronolog-devel/DESCR b/cronolog-devel/DESCR
new file mode 100644 (file)
index 0000000..6d90653
--- /dev/null
@@ -0,0 +1,8 @@
+"cronolog" is a simple program that reads log messages from its input
+and writes them to a set of output files, the names of which are
+constructed using template and the current date and time.  The
+template uses the same format specifiers as the Unix date command
+(which are the same as the standard C strftime library function).
+
+"cronolog" is intended to be used in conjunction with a Web server, such
+as Apache to split the access log into daily or monthly logs.
diff --git a/cronolog-devel/Makefile b/cronolog-devel/Makefile
new file mode 100644 (file)
index 0000000..bd6c76b
--- /dev/null
@@ -0,0 +1,30 @@
+# $NetBSD$
+#
+
+PKGNAME=       cronolog-devel-1.7.1
+DISTNAME=      cronolog-1.7.1-beta
+CATEGORIES=    www
+MASTER_SITES=  http://BSDforge.com/projects/source/sysutils/cronolog-devel/
+EXTRACT_SUFX=  .tar.xz
+WRKSRC=                ${WRKDIR}/cronolog-1.7.1
+
+MAINTAINER=    otis@sk.FreeBSD.org
+HOMEPAGE=      http://www.freshports.org/sysutils/cronolog-devel/
+COMMENT=       Web log rotation utility that provides datestamp filenames
+LICENSE=       gnu-gpl-v2
+
+GNU_CONFIGURE= YES
+INFO_FILES=    yes
+USE_TOOLS+=    perl:run
+INSTALLATION_DIRS=     ${PKGMANDIR}/man1 ${PKGMANDIR}/man8
+
+SUBST_CLASSES+=        cl
+SUBST_STAGE.cl=        pre-configure
+SUBST_FILES.cl=        doc/cronolog.1m
+SUBST_SED.cl=  -e "s,/www/sbin/cronolog,${PREFIX}/sbin/cronolog,g"
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/${PKGMANDIR} && mv man1/cronolog.1m man8/cronolog.8
+       cd ${DESTDIR}${PREFIX}/${PKGMANDIR} && mv man1/cronosplit.1m man8/cronosplit.8
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/cronolog-devel/PLIST b/cronolog-devel/PLIST
new file mode 100644 (file)
index 0000000..f0162c1
--- /dev/null
@@ -0,0 +1,6 @@
+@comment $NetBSD$
+info/cronolog.info
+man/man8/cronolog.8
+man/man8/cronosplit.8
+sbin/cronolog
+sbin/cronosplit
diff --git a/cronolog-devel/distinfo b/cronolog-devel/distinfo
new file mode 100644 (file)
index 0000000..6043f9e
--- /dev/null
@@ -0,0 +1,6 @@
+# $NetBSD$
+
+SHA1 (cronolog-1.7.1-beta.tar.xz) = f8142290a343e5b3e0fd1bf53b265e78be668cac
+RMD160 (cronolog-1.7.1-beta.tar.xz) = 85e14a8cc62f969562efb665f22236f86eca6b54
+SHA512 (cronolog-1.7.1-beta.tar.xz) = 506e45e1f3d1a45aa10ad15636f522d6ed8f8a94ba45298c58b405cdff4317bbde523687a1c5b324f29e90dbf2e85383c37bc3d34021e88ea96fa4a45610eb37
+Size (cronolog-1.7.1-beta.tar.xz) = 128596 bytes