Apply latest patch (logrotate_3.7-2.diff)

Approved by:	maintainer
This commit is contained in:
Sergey Skvortsov 2004-10-20 15:08:32 +00:00
parent d5846b4369
commit ef9240185e
3 changed files with 14 additions and 9 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= logrotate
PORTVERSION= 3.7
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
MASTER_SITE_SUBDIR= l/logrotate
@ -15,7 +15,7 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
PATCH_SITES= ${MASTER_SITES}
PATCH_SITE_SUBDIR= ${MASTER_SITE_SUBDIR}
PATCHFILES= ${PORTNAME}_${PORTVERSION}-1.diff.gz
PATCHFILES= ${PORTNAME}_${PORTVERSION}-2.diff.gz
MAINTAINER= js@iksz.hu
COMMENT= Daemon to rotate, compress, remove and mail system log files

View file

@ -1,4 +1,4 @@
MD5 (logrotate_3.7.orig.tar.gz) = bf0de3a495294300f32e71f136119c41
SIZE (logrotate_3.7.orig.tar.gz) = 35737
MD5 (logrotate_3.7-1.diff.gz) = 3d74ebcb63731d2afa4f97438af5f4bb
SIZE (logrotate_3.7-1.diff.gz) 12739
MD5 (logrotate_3.7-2.diff.gz) = 2d476de60efd31df01d769355cb7b457
SIZE (logrotate_3.7-2.diff.gz) = 13203

View file

@ -1,7 +1,12 @@
diff -ruN logrotate-3.7-orig/Makefile logrotate-3.7/Makefile
--- logrotate-3.7-orig/Makefile Mon Oct 27 10:36:37 2003
+++ logrotate-3.7/Makefile Mon May 24 08:10:46 2004
@@ -50,6 +50,12 @@
--- logrotate-3.7-orig/Makefile Wed Oct 20 19:07:27 2004
+++ logrotate-3.7/Makefile Wed Oct 20 19:07:42 2004
@@ -1,5 +1,4 @@
VERSION = $(shell awk '/Version:/ { print $$2 }' logrotate.spec)
-CVSROOT = $(shell cat CVS/Root)
CVSTAG = r$(subst .,-,$(VERSION))
OS_NAME = $(shell uname -s)
LFS = $(shell echo `getconf LFS_CFLAGS 2>/dev/null`)
@@ -50,6 +49,12 @@
BASEDIR = /usr
endif
@ -14,7 +19,7 @@ diff -ruN logrotate-3.7-orig/Makefile logrotate-3.7/Makefile
ifneq ($(POPT_DIR),)
CFLAGS += -I$(POPT_DIR)
LOADLIBES += -L$(POPT_DIR)
@@ -102,10 +108,13 @@
@@ -102,10 +107,13 @@
if [ "$(OS_NAME)" = HP-UX ]; then \
$(INSTALL) $(PROG) $(PREFIX)/$(BINDIR) 0755 bin bin; \
$(INSTALL) $(MAN) $(PREFIX)/$(MANDIR)/man`echo $(MAN) | sed "s/.*\.//"` 0644 bin bin; \