Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2000 08:23:00 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/21617: Update port: sysutils/logrotate
Message-ID:  <20000928152300.BEE5B37B692@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         21617
>Category:       ports
>Synopsis:       Update port: sysutils/logrotate
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 28 08:30:02 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.1.1-RELEASE i386
>Organization:
>Environment:
>Description:
- Support PREFIX properly
- Support install macros
- Update WWW: line of pkg/DESCR

No response from maintainer.

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/sysutils/logrotate/Makefile sysutils/logrotate/Makefile
--- /usr/ports/sysutils/logrotate/Makefile	Mon May 15 19:04:32 2000
+++ sysutils/logrotate/Makefile	Sat Aug 12 01:43:48 2000
@@ -25,7 +25,7 @@
 	@${RM} -rf ${WRKDIR}
 	@${MKDIR} ${WRKDIR}
 	@rpm2cpio ${_DISTDIR}${DISTFILES} | (cd ${WRKDIR}; cpio -i)
-	@tar -xzf ${WRKDIR}/${DISTNAME}.tar.gz -C ${WRKDIR}
+	@${TAR} -xzf ${WRKDIR}/${DISTNAME}.tar.gz -C ${WRKDIR}
 
 post-install:
 	@${MKDIR} ${PREFIX}/etc/logrotate.d
diff -urN /usr/ports/sysutils/logrotate/patches/patch-ab sysutils/logrotate/patches/patch-ab
--- /usr/ports/sysutils/logrotate/patches/patch-ab	Thu Dec 30 21:35:51 1999
+++ sysutils/logrotate/patches/patch-ab	Sat Aug 12 01:45:07 2000
@@ -11,8 +11,8 @@
  MAN = logrotate.8
  LOADLIBES = -lpopt
  
-+LOADLIBES += -L/usr/local/lib
-+CFLAGS += -I/usr/local/include
++LOADLIBES += -L${LOCALBASE}/lib
++CFLAGS += -I${LOCALBASE}/include
  #--------------------------------------------------------------------------
  
  OBJS = logrotate.o log.o config.o basenames.o
@@ -22,8 +22,8 @@
  
 -	install -s -m 755 $(PROG) $(PREFIX)/$(BINDIR)
 -	install -m 644 $(MAN) $(PREFIX)/$(MANDIR)/man`echo $(MAN) | sed "s/.*\.//"`/$(MAN)
-+	install -c -s -m 755 $(PROG) $(PREFIX)/$(BINDIR)
-+	install -c -m 644 $(MAN) $(PREFIX)/$(MANDIR)/man`echo $(MAN) | sed "s/.*\.//"`/$(MAN)
++	${BSD_INSTALL_PROGRAM} $(PROG) $(PREFIX)/$(BINDIR)
++	${BSD_INSTALL_MAN} $(MAN) $(PREFIX)/$(MANDIR)/man`echo $(MAN) | sed "s/.*\.//"`/$(MAN)
  
  co:
  	co RCS/*,v


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000928152300.BEE5B37B692>