pkgsrc-WIP-changes archive

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

removed logrotate-svn : project is now hosted on Github



Module Name:	pkgsrc-wip
Committed By:	Nils Ratusznik <nils%NetBSD.org@localhost>
Pushed By:	nils
Date:		Wed Jan 20 13:51:00 2016 +0100
Changeset:	805f45a573b7735c407cf6e71b2dffef81a0c6da

Removed Files:
	logrotate-svn/DESCR
	logrotate-svn/MESSAGE
	logrotate-svn/Makefile
	logrotate-svn/PLIST
	logrotate-svn/distinfo
	logrotate-svn/patches/patch-Makefile.am
	logrotate-svn/patches/patch-examples_logrotate-default
	logrotate-svn/patches/patch-examples_logrotate.cron
	logrotate-svn/patches/patch-logrotate.8

Log Message:
removed logrotate-svn : project is now hosted on Github

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

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

diffstat:
 logrotate-svn/DESCR                                |  6 --
 logrotate-svn/MESSAGE                              | 13 -----
 logrotate-svn/Makefile                             | 68 ----------------------
 logrotate-svn/PLIST                                | 10 ----
 logrotate-svn/distinfo                             |  6 --
 logrotate-svn/patches/patch-Makefile.am            | 15 -----
 .../patches/patch-examples_logrotate-default       | 29 ---------
 .../patches/patch-examples_logrotate.cron          | 14 -----
 logrotate-svn/patches/patch-logrotate.8            | 28 ---------
 9 files changed, 189 deletions(-)

diffs:
diff --git a/logrotate-svn/DESCR b/logrotate-svn/DESCR
deleted file mode 100644
index b16a265..0000000
--- a/logrotate-svn/DESCR
+++ /dev/null
@@ -1,6 +0,0 @@
-The logrotate utility is designed to simplify the administration of
-log files on a system which generates a lot of log files.  Logrotate
-allows for the automatic rotation compression, removal and mailing of
-log files.  Logrotate can be set to handle a log file daily, weekly,
-monthly or when the log file gets to a certain size.  Normally,
-logrotate runs as a daily cron job.
diff --git a/logrotate-svn/MESSAGE b/logrotate-svn/MESSAGE
deleted file mode 100644
index baa3677..0000000
--- a/logrotate-svn/MESSAGE
+++ /dev/null
@@ -1,13 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.1 2015/02/11 16:23:39 ahp-nils Exp $
-To set up ${PKGNAME}:
-
-1/ modify ${PKG_SYSCONFDIR}/logrotate.conf to your needs,
-or better, add your own configuration files in
-${PKG_SYSCONFDIR}/logrotate.d/
-
-2/ set up a daily cron job for logrotate in ${ROOT_USER}'s crontab;
-this can be done with one of the following line:
-0 0 * * * /bin/sh ${EGDIR}/logrotate.cron
-0 0 * * * ${PREFIX}/sbin/logrotate ${PKG_SYSCONFDIR}/logrotate.conf
-===========================================================================
diff --git a/logrotate-svn/Makefile b/logrotate-svn/Makefile
deleted file mode 100644
index 77942d3..0000000
--- a/logrotate-svn/Makefile
+++ /dev/null
@@ -1,68 +0,0 @@
-# $NetBSD: Makefile,v 1.2 2015/06/25 09:12:04 ahp-nils Exp $
-
-DISTNAME=		logrotate-3.9.1
-CATEGORIES=		sysutils
-
-MAINTAINER=		nils%NetBSD.org@localhost
-HOMEPAGE=		https://fedorahosted.org/logrotate/
-COMMENT=		Daemon to rotate, compress, remove and mail system log files
-LICENSE=		gnu-gpl-v2
-
-SVN_ROOT.logrotate=	http://svn.fedorahosted.org/svn/logrotate/trunk
-SVN_REPOSITORIES=	logrotate
-WRKSRC=			${WRKDIR}/logrotate
-PKGREVISION=		${_SVN_PKGVERSION:S/.//g}
-USE_TOOLS+=		gmake gzip:run gunzip:run mail:run automake autoconf
-
-BUILD_DEPENDS+=		autogen-[0-9]*:../../devel/autogen
-BUILD_DEPENDS+=		autoconf>=2.52:../../devel/autoconf
-BUILD_DEPENDS+=		automake>=1.6.0:../../devel/automake
-BUILD_DEPENDS+=		libtool-base>=1.4.2:../../devel/libtool-base
-
-USE_LIBTOOL=		yes
-GNU_CONFIGURE=		yes
-HAS_CONFIGURE=		yes
-NO_EXPORT_CPP=		yes
-
-CONFIGURE_ENV+=		STATEFILE=\"${VARBASE}/db/logrotate.status\"
-CONFIGURE_ENV+=		DEFAULT_MAIL_COMMAND=\"${MAIL_CMD:Q}\"
-CONFIGURE_ENV+=		COMPRESS_COMMAND=\"${GZIP_CMD:[1]:Q}\"
-CONFIGURE_ENV+=		UNCOMPRESS_COMMAND=\"${GUNZIP_CMD:[1]:Q}\"
-
-BUILD_DEFS+=		VARBASE
-EGDIR=			${PREFIX}/share/examples/logrotate
-CONF_FILES=		${EGDIR}/logrotate.conf ${PKG_SYSCONFDIR}/logrotate.conf
-OWN_DIRS=		${PKG_SYSCONFDIR}/logrotate.d
-MESSAGE_SUBST+=		EGDIR=${EGDIR}
-INSTALLATION_DIRS+=	${EGDIR} ${PKG_SYSCONFDIR} ${OWN_DIRS}
-AUTO_MKDIRS=		yes
-
-SUBST_CLASSES+=		paths
-SUBST_STAGE.paths=	pre-build
-SUBST_MESSAGE.paths=	Substituting paths variables.
-SUBST_FILES.paths=	examples/logrotate-default
-SUBST_FILES.paths+=	examples/logrotate.cron
-SUBST_FILES.paths+=	logrotate.8
-SUBST_VARS.paths=	PREFIX
-SUBST_VARS.paths+=	VARBASE
-SUBST_VARS.paths+=	PKG_SYSCONFDIR
-
-DOCDIR=			share/doc/logrotate
-
-pre-configure:
-	cd ${WRKSRC} && \
-		${SETENV} ${CONFIGURE_ENV} ./autogen.sh
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/logrotate ${DESTDIR}${PREFIX}/sbin
-	${INSTALL_DATA} ${WRKSRC}/examples/logrotate-default ${DESTDIR}${EGDIR}/logrotate.conf
-	${INSTALL_DATA} ${WRKSRC}/examples/logrotate.cron ${DESTDIR}/${EGDIR}
-	${INSTALL_DATA} ${WRKSRC}/README.* ${DESTDIR}${PREFIX}/${DOCDIR}
-	${INSTALL_DATA} ${WRKSRC}/CHANGES ${DESTDIR}${PREFIX}/${DOCDIR}
-	${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${PREFIX}/${DOCDIR}
-	${INSTALL_MAN} ${WRKSRC}/logrotate.conf.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
-	${INSTALL_MAN} ${WRKSRC}/logrotate.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
-
-.include "../../devel/popt/buildlink3.mk"
-.include "../../wip/mk/svn-package.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/logrotate-svn/PLIST b/logrotate-svn/PLIST
deleted file mode 100644
index 7127453..0000000
--- a/logrotate-svn/PLIST
+++ /dev/null
@@ -1,10 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2015/02/11 16:23:40 ahp-nils Exp $
-man/man5/logrotate.conf.5
-man/man8/logrotate.8
-sbin/logrotate
-share/doc/logrotate/CHANGES
-share/doc/logrotate/COPYING
-share/doc/logrotate/README.HPUX
-share/doc/logrotate/README.Solaris
-share/examples/logrotate/logrotate.conf
-share/examples/logrotate/logrotate.cron
diff --git a/logrotate-svn/distinfo b/logrotate-svn/distinfo
deleted file mode 100644
index 8b2294e..0000000
--- a/logrotate-svn/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.2 2015/06/25 09:12:04 ahp-nils Exp $
-
-SHA1 (patch-Makefile.am) = 857e290854f3925e42e85469ac28ea06fad70727
-SHA1 (patch-examples_logrotate-default) = 6e6f1b7e9c7ea038e49f60bfb31ae39d03541eef
-SHA1 (patch-examples_logrotate.cron) = d42a7a84c0ff43799a743598b3b31fac3acc3df1
-SHA1 (patch-logrotate.8) = 68e125d67062777dd6262ae647689569fbae85f6
diff --git a/logrotate-svn/patches/patch-Makefile.am b/logrotate-svn/patches/patch-Makefile.am
deleted file mode 100644
index 246faab..0000000
--- a/logrotate-svn/patches/patch-Makefile.am
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-Makefile.am,v 1.1 2015/06/25 09:12:04 ahp-nils Exp $
-
-Workaround to successfully compile everything
-
---- Makefile.am.orig	2015-04-03 07:39:35.000000000 +0000
-+++ Makefile.am
-@@ -1,7 +1,7 @@
- MAN = logrotate.8
- MAN5 = logrotate.conf.5
- 
--AM_CFLAGS = -Wall -Werror
-+AM_CFLAGS = -Wall
- sbin_PROGRAMS = logrotate
- logrotate_SOURCES = logrotate.c log.c config.c basenames.c
- 
diff --git a/logrotate-svn/patches/patch-examples_logrotate-default b/logrotate-svn/patches/patch-examples_logrotate-default
deleted file mode 100644
index 20fcbf8..0000000
--- a/logrotate-svn/patches/patch-examples_logrotate-default
+++ /dev/null
@@ -1,29 +0,0 @@
-$NetBSD: patch-examples_logrotate-default,v 1.1 2015/02/11 16:23:40 ahp-nils Exp $
-
-Add pkgsrc paths compatibility.
-
---- examples/logrotate-default.orig	2015-02-10 18:18:39.000000000 +0000
-+++ examples/logrotate-default
-@@ -15,21 +15,6 @@ dateext
- #compress
- 
- # RPM packages drop log rotation information into this directory
--include /etc/logrotate.d
--
--# no packages own wtmp and btmp -- we'll rotate them here
--/var/log/wtmp {
--    monthly
--    create 0664 root utmp
--    minsize 1M
--    rotate 1
--}
--
--/var/log/btmp {
--    missingok
--    monthly
--    create 0600 root utmp
--    rotate 1
--}
-+include @PKG_SYSCONFDIR@/logrotate.d
- 
- # system-specific logs may be also be configured here.
diff --git a/logrotate-svn/patches/patch-examples_logrotate.cron b/logrotate-svn/patches/patch-examples_logrotate.cron
deleted file mode 100644
index f6e6551..0000000
--- a/logrotate-svn/patches/patch-examples_logrotate.cron
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-examples_logrotate.cron,v 1.1 2015/02/11 16:23:40 ahp-nils Exp $
-
-Add pkgsrc paths compatibility
-
---- examples/logrotate.cron.orig	2015-02-10 18:18:39.000000000 +0000
-+++ examples/logrotate.cron
-@@ -1,6 +1,6 @@
- #!/bin/sh
- 
--/usr/sbin/logrotate /etc/logrotate.conf
-+@PREFIX@/sbin/logrotate @PKG_SYSCONFDIR@/logrotate.conf
- EXITVALUE=$?
- if [ $EXITVALUE != 0 ]; then
-     /usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]"
diff --git a/logrotate-svn/patches/patch-logrotate.8 b/logrotate-svn/patches/patch-logrotate.8
deleted file mode 100644
index 7377e8e..0000000
--- a/logrotate-svn/patches/patch-logrotate.8
+++ /dev/null
@@ -1,28 +0,0 @@
-$NetBSD: patch-logrotate.8,v 1.1 2015/02/11 16:23:40 ahp-nils Exp $
-
-Add pkgsrc paths compatibility
-
---- logrotate.8.orig	2015-02-10 18:18:39.000000000 +0000
-+++ logrotate.8
-@@ -59,7 +59,7 @@ and mail it to the recipient. The defaul
- \fB\-s\fR, \fB\-\-state <statefile>\fR
- Tells \fBlogrotate\fR to use an alternate state file.  This is useful
- if logrotate is being run as a different user for various sets of
--log files.  The default state file is \fI/var/lib/logrotate.status\fR.
-+log files.  The default state file is \fI@VARBASE@/db/logrotate.status\fR.
- 
- .TP
- \fB\-\-usage\fR
-@@ -550,10 +550,10 @@ Log files are rotated if the current yea
- .SH FILES
- .PD 0
- .TP 27
--\fI/var/lib/logrotate.status\fR
-+\fI@VARBASE@/db/logrotate.status\fR
- Default state file.
- .TP 27
--\fI/etc/logrotate.conf\fR
-+\fI@PKG_SYSCONFDIR@/logrotate.conf\fR
- Configuration options.
- 
- .SH SEE ALSO


Home | Main Index | Thread Index | Old Index