1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Add LICENSE.

- Strip binaries.
- Regenerate patch files by make makepatch.
This commit is contained in:
Hiroki Sato 2017-01-02 21:07:34 +00:00
parent 4652b1b6d0
commit 72dcac03b7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=430410
5 changed files with 35 additions and 11 deletions

View File

@ -3,12 +3,15 @@
PORTNAME= arpalert
PORTVERSION= 2.0.12
PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= http://www.arpalert.org/src/
MAINTAINER= ports@FreeBSD.org
MAINTAINER= hrs@FreeBSD.org
COMMENT= ARP traffic monitoring
LICENSE= GPLv2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var
ALL_TARGET= ${PORTNAME}

View File

@ -1,6 +1,6 @@
--- arpalert.c.orig 2008-04-01 03:36:42.000000000 +0900
+++ arpalert.c 2009-10-21 19:45:53.000000000 +0900
@@ -179,6 +179,12 @@
--- arpalert.c.orig 2011-11-08 19:36:51 UTC
+++ arpalert.c
@@ -179,6 +179,12 @@ int main(int argc, char **argv){
if(cur_timeout.tv_sec != -1){
time_sous(&cur_timeout, &current_t, &timeout);
@ -13,7 +13,7 @@
// prevent negative timeout
if(timeout.tv_sec < 0){
timeout.tv_usec = 0;
@@ -188,6 +194,12 @@
@@ -188,6 +194,12 @@ int main(int argc, char **argv){
timeout.tv_usec += 10000;
tmout = &timeout;
@ -26,5 +26,3 @@
// if no timeout
} else {
tmout = NULL;

View File

@ -0,0 +1,23 @@
--- install.sh.in.orig 2011-11-08 19:36:51 UTC
+++ install.sh.in
@@ -33,16 +33,16 @@ mkdir -p ${DESTDIR}${includedir}
mkdir -p ${DESTDIR}${mandir}/man8
# install man
-cp -f doc/arpalert.8 ${DESTDIR}${mandir}/man8
+install -m 0444 doc/arpalert.8 ${DESTDIR}${mandir}/man8
# copy oui list
-cp -f etc/oui.txt ${DESTDIR}${config_dir}
+install -m 0444 etc/oui.txt ${DESTDIR}${config_dir}
# copy API
-cp -f api/arpalert.h ${DESTDIR}${includedir}
+install -m 0444 api/arpalert.h ${DESTDIR}${includedir}
# insall binary
-cp -f arpalert ${DESTDIR}${sbindir}
+install -s -m 0555 arpalert ${DESTDIR}${sbindir}
# if doesn't exist conf
if [ ! -f ${DESTDIR}${config_dir}/arpalert.conf ]; then

View File

@ -1,5 +1,5 @@
--- macname.h.orig Sun Dec 10 22:52:45 2006
+++ macname.h Sun Dec 10 22:53:04 2006
--- macname.h.orig 2011-11-08 19:36:51 UTC
+++ macname.h
@@ -7,6 +7,7 @@
#ifndef __MACNAME_H__
#define __MACNAME_H__

View File

@ -1,5 +1,5 @@
--- module_example/Makefile.orig 2008-04-01 02:36:42.000000000 +0800
+++ module_example/Makefile 2011-09-05 16:49:33.000000000 +0800
--- module_example/Makefile.orig 2011-11-08 19:36:51 UTC
+++ module_example/Makefile
@@ -1,8 +1,8 @@
# Copyright (c) 2005-2010 Thierry FOURNIER
# $Id: Makefile 690 2008-03-31 18:36:43Z $