pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Add cronolog-devel, an advanced version of cronolog with more useful features.



Module Name:	pkgsrc-wip
Committed By:	Juraj Lutter <juraj%lutter.sk@localhost>
Pushed By:	otis
Date:		Thu Dec 22 11:44:48 2016 +0000
Changeset:	54dca6728f45a3a4183a57bf06c0fb3cfafdc62f

Added Files:
	cronolog-devel/DESCR
	cronolog-devel/Makefile
	cronolog-devel/PLIST
	cronolog-devel/distinfo

Log Message:
Add cronolog-devel, an advanced version of cronolog with more useful
features.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=54dca6728f45a3a4183a57bf06c0fb3cfafdc62f

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 cronolog-devel/DESCR    |  8 ++++++++
 cronolog-devel/Makefile | 30 ++++++++++++++++++++++++++++++
 cronolog-devel/PLIST    |  6 ++++++
 cronolog-devel/distinfo |  6 ++++++
 4 files changed, 50 insertions(+)

diffs:
diff --git a/cronolog-devel/DESCR b/cronolog-devel/DESCR
new file mode 100644
index 0000000..6d90653
--- /dev/null
+++ b/cronolog-devel/DESCR
@@ -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
index 0000000..bd6c76b
--- /dev/null
+++ b/cronolog-devel/Makefile
@@ -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@localhost
+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
index 0000000..f0162c1
--- /dev/null
+++ b/cronolog-devel/PLIST
@@ -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
index 0000000..6043f9e
--- /dev/null
+++ b/cronolog-devel/distinfo
@@ -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


Home | Main Index | Thread Index | Old Index