1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Fixed checksum. Author repackaged, now using memcpy to copy data

instead of snprintf in mreport.c.

Patches -> regex while I'm here.
This commit is contained in:
Mark Pulford 2001-06-17 04:44:37 +00:00
parent 8a075f3fcf
commit 60196f9f02
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44085
4 changed files with 7 additions and 24 deletions

View File

@ -15,6 +15,12 @@ MAINTAINER= ports@FreeBSD.org
ALL_TARGET= ALL
MAN8= mreport.8
post-patch:
${PERL} -pi -e "s/^.TH mreport 1/.TH mreport 8/g; s/^.LO 1/.LO 8/g;" \
${WRKSRC}/mreport.1
${PERL} -pi -e "s/^CC.+//g; s/-Wall -c -O2/${CFLAGS} -c/g;" \
${WRKSRC}/Makefile
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/mreport ${PREFIX}/sbin
@${INSTALL_MAN} ${WRKSRC}/mreport.1 ${PREFIX}/man/man8/mreport.8

View File

@ -1 +1 @@
MD5 (mreport-0.9.tar.gz) = 1bb1dd84c1eff1dd62a54baa7580911b
MD5 (mreport-0.9.tar.gz) = 1bbdd7053900a1720f22c9fb7b9df911

View File

@ -1,10 +0,0 @@
--- Makefile Tue Jan 25 07:20:33 2000
+++ Makefile.new Sat Jan 29 20:04:56 2000
@@ -1,5 +1,5 @@
-CC=gcc
-COPT=-Wall -c -O2
+CC?=gcc
+COPT=${CFLAGS} -Wall -c
INSTDIR=/usr/local/bin
MANDIR=/usr/local/man/man1

View File

@ -1,13 +0,0 @@
--- mreport.1 Thu Jan 20 09:51:15 2000
+++ mreport.1.new Sat Jan 29 20:06:13 2000
@@ -13,8 +13,8 @@
.ft
.fi
..
-.TH mreport 1 "January 18, 2000"
-.LO 1
+.TH mreport 8 "January 18, 2000"
+.LO 8
.SH NAME
mreport \- Maillog Report Generation Utility
.SH SYNOPSIS