[arch-commits] Commit in arpwatch/repos (20 files)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Fri Jun 6 17:28:50 UTC 2014
Date: Friday, June 6, 2014 @ 19:28:49
Author: spupykin
Revision: 112775
archrelease: copy trunk to community-i686, community-x86_64
Added:
arpwatch/repos/community-i686/LICENSE
(from rev 112774, arpwatch/trunk/LICENSE)
arpwatch/repos/community-i686/PKGBUILD
(from rev 112774, arpwatch/trunk/PKGBUILD)
arpwatch/repos/community-i686/arpwatch.service
(from rev 112774, arpwatch/trunk/arpwatch.service)
arpwatch/repos/community-i686/ethercodes.dat.xz
(from rev 112774, arpwatch/trunk/ethercodes.dat.xz)
arpwatch/repos/community-i686/gen_ethercode.sh
(from rev 112774, arpwatch/trunk/gen_ethercode.sh)
arpwatch/repos/community-x86_64/LICENSE
(from rev 112774, arpwatch/trunk/LICENSE)
arpwatch/repos/community-x86_64/PKGBUILD
(from rev 112774, arpwatch/trunk/PKGBUILD)
arpwatch/repos/community-x86_64/arpwatch.service
(from rev 112774, arpwatch/trunk/arpwatch.service)
arpwatch/repos/community-x86_64/ethercodes.dat.xz
(from rev 112774, arpwatch/trunk/ethercodes.dat.xz)
arpwatch/repos/community-x86_64/gen_ethercode.sh
(from rev 112774, arpwatch/trunk/gen_ethercode.sh)
Deleted:
arpwatch/repos/community-i686/LICENSE
arpwatch/repos/community-i686/PKGBUILD
arpwatch/repos/community-i686/arpwatch.service
arpwatch/repos/community-i686/ethercodes.dat.xz
arpwatch/repos/community-i686/gen_ethercode.sh
arpwatch/repos/community-x86_64/LICENSE
arpwatch/repos/community-x86_64/PKGBUILD
arpwatch/repos/community-x86_64/arpwatch.service
arpwatch/repos/community-x86_64/ethercodes.dat.xz
arpwatch/repos/community-x86_64/gen_ethercode.sh
-----------------------------------+
/LICENSE | 36 ++++++++++++
/PKGBUILD | 108 ++++++++++++++++++++++++++++++++++++
/arpwatch.service | 22 +++++++
/gen_ethercode.sh | 64 +++++++++++++++++++++
community-i686/LICENSE | 18 ------
community-i686/PKGBUILD | 52 -----------------
community-i686/arpwatch.service | 11 ---
community-i686/gen_ethercode.sh | 32 ----------
community-x86_64/LICENSE | 18 ------
community-x86_64/PKGBUILD | 52 -----------------
community-x86_64/arpwatch.service | 11 ---
community-x86_64/gen_ethercode.sh | 32 ----------
12 files changed, 230 insertions(+), 226 deletions(-)
Deleted: community-i686/LICENSE
===================================================================
--- community-i686/LICENSE 2014-06-06 17:28:18 UTC (rev 112774)
+++ community-i686/LICENSE 2014-06-06 17:28:49 UTC (rev 112775)
@@ -1,18 +0,0 @@
-Copyright (c) 1992, 1993, 1994, 1995, 1996, 1998, 2000
- The Regents of the University of California. All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that: (1) source code distributions
-retain the above copyright notice and this paragraph in its entirety, (2)
-distributions including binary code include the above copyright notice and
-this paragraph in its entirety in the documentation or other materials
-provided with the distribution, and (3) all advertising materials mentioning
-features or use of this software display the following acknowledgement:
-``This product includes software developed by the University of California,
-Lawrence Berkeley Laboratory and its contributors.'' Neither the name of
-the University nor the names of its contributors may be used to endorse
-or promote products derived from this software without specific prior
-written permission.
-THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
-WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Copied: arpwatch/repos/community-i686/LICENSE (from rev 112774, arpwatch/trunk/LICENSE)
===================================================================
--- community-i686/LICENSE (rev 0)
+++ community-i686/LICENSE 2014-06-06 17:28:49 UTC (rev 112775)
@@ -0,0 +1,18 @@
+Copyright (c) 1992, 1993, 1994, 1995, 1996, 1998, 2000
+ The Regents of the University of California. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that: (1) source code distributions
+retain the above copyright notice and this paragraph in its entirety, (2)
+distributions including binary code include the above copyright notice and
+this paragraph in its entirety in the documentation or other materials
+provided with the distribution, and (3) all advertising materials mentioning
+features or use of this software display the following acknowledgement:
+``This product includes software developed by the University of California,
+Lawrence Berkeley Laboratory and its contributors.'' Neither the name of
+the University nor the names of its contributors may be used to endorse
+or promote products derived from this software without specific prior
+written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2014-06-06 17:28:18 UTC (rev 112774)
+++ community-i686/PKGBUILD 2014-06-06 17:28:49 UTC (rev 112775)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Sébastien Luttringer
-
-pkgname=arpwatch
-pkgver=2.1a15
-pkgrel=13
-pkgdesc='Ethernet/FDDI station activity monitor'
-arch=('i686' 'x86_64')
-url='ftp://ftp.ee.lbl.gov/'
-license=('BSD')
-depends=('libpcap' 'smtp-forwarder')
-source=("ftp://ftp.ee.lbl.gov/$pkgname-$pkgver.tar.gz"
- 'ethercodes.dat.xz'
- 'LICENSE'
- "$pkgname.service")
-md5sums=('cebfeb99c4a7c2a6cee2564770415fe7'
- 'c5abd91d8852f68bf5bf49ed9e80dba0'
- '9359518c500562281e76cdb0b2fa9062'
- '43e2358ba0532da38e5296250a7fcfd8')
-
-prepare() {
- cd $pkgname-$pkgver
- # move arp database in /var/lib/arpwatch
- # /var is used because arpwatch write its learned mac into this folder
- sed -i 's|ARPDIR = $(prefix)/arpwatch|ARPDIR = /var/lib/arpwatch|' Makefile.in
- # binary ownership to root
- sed -i 's/-\(o\|g\) bin/-\1 root/g' Makefile.in
- # Update ethercodes with recent OUI. See gen_ethercodes.sh
- cp -f "$srcdir/ethercodes.dat" ethercodes.dat
-}
-
-build() {
- cd $pkgname-$pkgver
- ./configure --prefix=/usr --mandir=/usr/share/man --sbindir=/usr/bin
- make SENDMAIL=/usr/bin/sendmail
-}
-
-package() {
- cd $pkgname-$pkgver
- install -d -m 0755 "$pkgdir"/usr/{bin,share/man/man8}
- make DESTDIR="$pkgdir" install install-man
- # install ether prefix database
- install -Dm644 ethercodes.dat "$pkgdir/var/lib/$pkgname/ethercodes.dat"
- cd "$srcdir"
- # license
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- # systemd
- install -Dm644 $pkgname.service "$pkgdir/usr/lib/systemd/system/$pkgname at .service"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: arpwatch/repos/community-i686/PKGBUILD (from rev 112774, arpwatch/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-06-06 17:28:49 UTC (rev 112775)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Sébastien Luttringer
+
+pkgname=arpwatch
+pkgver=2.1a15
+pkgrel=14
+pkgdesc='Ethernet/FDDI station activity monitor'
+arch=('i686' 'x86_64')
+url='ftp://ftp.ee.lbl.gov/'
+license=('BSD')
+depends=('libpcap' 'smtp-forwarder')
+source=("ftp://ftp.ee.lbl.gov/$pkgname-$pkgver.tar.gz"
+ 'ethercodes.dat.xz'
+ 'LICENSE'
+ "$pkgname.service")
+md5sums=('cebfeb99c4a7c2a6cee2564770415fe7'
+ 'c5abd91d8852f68bf5bf49ed9e80dba0'
+ '9359518c500562281e76cdb0b2fa9062'
+ '43e2358ba0532da38e5296250a7fcfd8')
+
+prepare() {
+ cd $pkgname-$pkgver
+ # move arp database in /var/lib/arpwatch
+ # /var is used because arpwatch write its learned mac into this folder
+ sed -i 's|ARPDIR = $(prefix)/arpwatch|ARPDIR = /var/lib/arpwatch|' Makefile.in
+ # binary ownership to root
+ sed -i 's/-\(o\|g\) bin/-\1 root/g' Makefile.in
+ # Update ethercodes with recent OUI. See gen_ethercodes.sh
+ cp -f "$srcdir/ethercodes.dat" ethercodes.dat
+ # Do not spam root user
+ sed -i 's|root|arpwatch|' addresses.h.in
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --mandir=/usr/share/man --sbindir=/usr/bin
+ make SENDMAIL=/usr/bin/sendmail
+}
+
+package() {
+ cd $pkgname-$pkgver
+ install -d -m 0755 "$pkgdir"/usr/{bin,share/man/man8}
+ make DESTDIR="$pkgdir" install install-man
+ # install ether prefix database
+ install -Dm644 ethercodes.dat "$pkgdir/var/lib/$pkgname/ethercodes.dat"
+ cd "$srcdir"
+ # license
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ # systemd
+ install -Dm644 $pkgname.service "$pkgdir/usr/lib/systemd/system/$pkgname at .service"
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: community-i686/arpwatch.service
===================================================================
--- community-i686/arpwatch.service 2014-06-06 17:28:18 UTC (rev 112774)
+++ community-i686/arpwatch.service 2014-06-06 17:28:49 UTC (rev 112775)
@@ -1,11 +0,0 @@
-[Unit]
-Description=Watch ARP on interface %I
-After=network.target
-
-[Service]
-Type=forking
-ExecStartPre=/usr/bin/touch /var/lib/arpwatch/%I.dat
-ExecStart=/usr/bin/arpwatch -f /var/lib/arpwatch/%I.dat -i %I
-
-[Install]
-WantedBy=multi-user.target
Copied: arpwatch/repos/community-i686/arpwatch.service (from rev 112774, arpwatch/trunk/arpwatch.service)
===================================================================
--- community-i686/arpwatch.service (rev 0)
+++ community-i686/arpwatch.service 2014-06-06 17:28:49 UTC (rev 112775)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Watch ARP on interface %I
+After=network.target
+
+[Service]
+Type=forking
+ExecStartPre=/usr/bin/touch /var/lib/arpwatch/%I.dat
+ExecStart=/usr/bin/arpwatch -f /var/lib/arpwatch/%I.dat -i %I
+
+[Install]
+WantedBy=multi-user.target
Deleted: community-i686/ethercodes.dat.xz
===================================================================
(Binary files differ)
Copied: arpwatch/repos/community-i686/ethercodes.dat.xz (from rev 112774, arpwatch/trunk/ethercodes.dat.xz)
===================================================================
(Binary files differ)
Deleted: community-i686/gen_ethercode.sh
===================================================================
--- community-i686/gen_ethercode.sh 2014-06-06 17:28:18 UTC (rev 112774)
+++ community-i686/gen_ethercode.sh 2014-06-06 17:28:49 UTC (rev 112775)
@@ -1,32 +0,0 @@
-#!/bin/bash
-
-# Copyright © 2013 Sébastien Luttringer
-
-# This script is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This script is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this script. If not, see <http://www.gnu.org/licenses/>.
-
-# Get and format official OUI
-wget -O- 'http://standards.ieee.org/regauth/oui/oui.txt' | \
-sed -nr 's/[ \t]+(..)-(..)-(..)[ \t]+\(hex\)[ \t]+(.*)/\L\1:\2:\3\E\t\4/p' > ethercodes.dat
-
-# Add private OUI
-cat >> ethercodes.dat <<EOF
-52:54:00 QEMU Virtual NIC
-b0:c4:20 Bochs Virtual NIC
-de:ad:ca PearPC Virtual NIC
-00:ff:d1 Cooperative Linux virtual NIC
-EOF
-
-# Sort and compress
-sort ethercodes.dat | xz -9 > ethercodes.dat.xz
-rm ethercodes.dat
Copied: arpwatch/repos/community-i686/gen_ethercode.sh (from rev 112774, arpwatch/trunk/gen_ethercode.sh)
===================================================================
--- community-i686/gen_ethercode.sh (rev 0)
+++ community-i686/gen_ethercode.sh 2014-06-06 17:28:49 UTC (rev 112775)
@@ -0,0 +1,32 @@
+#!/bin/bash
+
+# Copyright © 2013 Sébastien Luttringer
+
+# This script is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This script is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this script. If not, see <http://www.gnu.org/licenses/>.
+
+# Get and format official OUI
+wget -O- 'http://standards.ieee.org/regauth/oui/oui.txt' | \
+sed -nr 's/[ \t]+(..)-(..)-(..)[ \t]+\(hex\)[ \t]+(.*)/\L\1:\2:\3\E\t\4/p' > ethercodes.dat
+
+# Add private OUI
+cat >> ethercodes.dat <<EOF
+52:54:00 QEMU Virtual NIC
+b0:c4:20 Bochs Virtual NIC
+de:ad:ca PearPC Virtual NIC
+00:ff:d1 Cooperative Linux virtual NIC
+EOF
+
+# Sort and compress
+sort ethercodes.dat | xz -9 > ethercodes.dat.xz
+rm ethercodes.dat
Deleted: community-x86_64/LICENSE
===================================================================
--- community-x86_64/LICENSE 2014-06-06 17:28:18 UTC (rev 112774)
+++ community-x86_64/LICENSE 2014-06-06 17:28:49 UTC (rev 112775)
@@ -1,18 +0,0 @@
-Copyright (c) 1992, 1993, 1994, 1995, 1996, 1998, 2000
- The Regents of the University of California. All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that: (1) source code distributions
-retain the above copyright notice and this paragraph in its entirety, (2)
-distributions including binary code include the above copyright notice and
-this paragraph in its entirety in the documentation or other materials
-provided with the distribution, and (3) all advertising materials mentioning
-features or use of this software display the following acknowledgement:
-``This product includes software developed by the University of California,
-Lawrence Berkeley Laboratory and its contributors.'' Neither the name of
-the University nor the names of its contributors may be used to endorse
-or promote products derived from this software without specific prior
-written permission.
-THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
-WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Copied: arpwatch/repos/community-x86_64/LICENSE (from rev 112774, arpwatch/trunk/LICENSE)
===================================================================
--- community-x86_64/LICENSE (rev 0)
+++ community-x86_64/LICENSE 2014-06-06 17:28:49 UTC (rev 112775)
@@ -0,0 +1,18 @@
+Copyright (c) 1992, 1993, 1994, 1995, 1996, 1998, 2000
+ The Regents of the University of California. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that: (1) source code distributions
+retain the above copyright notice and this paragraph in its entirety, (2)
+distributions including binary code include the above copyright notice and
+this paragraph in its entirety in the documentation or other materials
+provided with the distribution, and (3) all advertising materials mentioning
+features or use of this software display the following acknowledgement:
+``This product includes software developed by the University of California,
+Lawrence Berkeley Laboratory and its contributors.'' Neither the name of
+the University nor the names of its contributors may be used to endorse
+or promote products derived from this software without specific prior
+written permission.
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2014-06-06 17:28:18 UTC (rev 112774)
+++ community-x86_64/PKGBUILD 2014-06-06 17:28:49 UTC (rev 112775)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Sébastien Luttringer
-
-pkgname=arpwatch
-pkgver=2.1a15
-pkgrel=13
-pkgdesc='Ethernet/FDDI station activity monitor'
-arch=('i686' 'x86_64')
-url='ftp://ftp.ee.lbl.gov/'
-license=('BSD')
-depends=('libpcap' 'smtp-forwarder')
-source=("ftp://ftp.ee.lbl.gov/$pkgname-$pkgver.tar.gz"
- 'ethercodes.dat.xz'
- 'LICENSE'
- "$pkgname.service")
-md5sums=('cebfeb99c4a7c2a6cee2564770415fe7'
- 'c5abd91d8852f68bf5bf49ed9e80dba0'
- '9359518c500562281e76cdb0b2fa9062'
- '43e2358ba0532da38e5296250a7fcfd8')
-
-prepare() {
- cd $pkgname-$pkgver
- # move arp database in /var/lib/arpwatch
- # /var is used because arpwatch write its learned mac into this folder
- sed -i 's|ARPDIR = $(prefix)/arpwatch|ARPDIR = /var/lib/arpwatch|' Makefile.in
- # binary ownership to root
- sed -i 's/-\(o\|g\) bin/-\1 root/g' Makefile.in
- # Update ethercodes with recent OUI. See gen_ethercodes.sh
- cp -f "$srcdir/ethercodes.dat" ethercodes.dat
-}
-
-build() {
- cd $pkgname-$pkgver
- ./configure --prefix=/usr --mandir=/usr/share/man --sbindir=/usr/bin
- make SENDMAIL=/usr/bin/sendmail
-}
-
-package() {
- cd $pkgname-$pkgver
- install -d -m 0755 "$pkgdir"/usr/{bin,share/man/man8}
- make DESTDIR="$pkgdir" install install-man
- # install ether prefix database
- install -Dm644 ethercodes.dat "$pkgdir/var/lib/$pkgname/ethercodes.dat"
- cd "$srcdir"
- # license
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- # systemd
- install -Dm644 $pkgname.service "$pkgdir/usr/lib/systemd/system/$pkgname at .service"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: arpwatch/repos/community-x86_64/PKGBUILD (from rev 112774, arpwatch/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2014-06-06 17:28:49 UTC (rev 112775)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Sébastien Luttringer
+
+pkgname=arpwatch
+pkgver=2.1a15
+pkgrel=14
+pkgdesc='Ethernet/FDDI station activity monitor'
+arch=('i686' 'x86_64')
+url='ftp://ftp.ee.lbl.gov/'
+license=('BSD')
+depends=('libpcap' 'smtp-forwarder')
+source=("ftp://ftp.ee.lbl.gov/$pkgname-$pkgver.tar.gz"
+ 'ethercodes.dat.xz'
+ 'LICENSE'
+ "$pkgname.service")
+md5sums=('cebfeb99c4a7c2a6cee2564770415fe7'
+ 'c5abd91d8852f68bf5bf49ed9e80dba0'
+ '9359518c500562281e76cdb0b2fa9062'
+ '43e2358ba0532da38e5296250a7fcfd8')
+
+prepare() {
+ cd $pkgname-$pkgver
+ # move arp database in /var/lib/arpwatch
+ # /var is used because arpwatch write its learned mac into this folder
+ sed -i 's|ARPDIR = $(prefix)/arpwatch|ARPDIR = /var/lib/arpwatch|' Makefile.in
+ # binary ownership to root
+ sed -i 's/-\(o\|g\) bin/-\1 root/g' Makefile.in
+ # Update ethercodes with recent OUI. See gen_ethercodes.sh
+ cp -f "$srcdir/ethercodes.dat" ethercodes.dat
+ # Do not spam root user
+ sed -i 's|root|arpwatch|' addresses.h.in
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --mandir=/usr/share/man --sbindir=/usr/bin
+ make SENDMAIL=/usr/bin/sendmail
+}
+
+package() {
+ cd $pkgname-$pkgver
+ install -d -m 0755 "$pkgdir"/usr/{bin,share/man/man8}
+ make DESTDIR="$pkgdir" install install-man
+ # install ether prefix database
+ install -Dm644 ethercodes.dat "$pkgdir/var/lib/$pkgname/ethercodes.dat"
+ cd "$srcdir"
+ # license
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ # systemd
+ install -Dm644 $pkgname.service "$pkgdir/usr/lib/systemd/system/$pkgname at .service"
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: community-x86_64/arpwatch.service
===================================================================
--- community-x86_64/arpwatch.service 2014-06-06 17:28:18 UTC (rev 112774)
+++ community-x86_64/arpwatch.service 2014-06-06 17:28:49 UTC (rev 112775)
@@ -1,11 +0,0 @@
-[Unit]
-Description=Watch ARP on interface %I
-After=network.target
-
-[Service]
-Type=forking
-ExecStartPre=/usr/bin/touch /var/lib/arpwatch/%I.dat
-ExecStart=/usr/bin/arpwatch -f /var/lib/arpwatch/%I.dat -i %I
-
-[Install]
-WantedBy=multi-user.target
Copied: arpwatch/repos/community-x86_64/arpwatch.service (from rev 112774, arpwatch/trunk/arpwatch.service)
===================================================================
--- community-x86_64/arpwatch.service (rev 0)
+++ community-x86_64/arpwatch.service 2014-06-06 17:28:49 UTC (rev 112775)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Watch ARP on interface %I
+After=network.target
+
+[Service]
+Type=forking
+ExecStartPre=/usr/bin/touch /var/lib/arpwatch/%I.dat
+ExecStart=/usr/bin/arpwatch -f /var/lib/arpwatch/%I.dat -i %I
+
+[Install]
+WantedBy=multi-user.target
Deleted: community-x86_64/ethercodes.dat.xz
===================================================================
(Binary files differ)
Copied: arpwatch/repos/community-x86_64/ethercodes.dat.xz (from rev 112774, arpwatch/trunk/ethercodes.dat.xz)
===================================================================
(Binary files differ)
Deleted: community-x86_64/gen_ethercode.sh
===================================================================
--- community-x86_64/gen_ethercode.sh 2014-06-06 17:28:18 UTC (rev 112774)
+++ community-x86_64/gen_ethercode.sh 2014-06-06 17:28:49 UTC (rev 112775)
@@ -1,32 +0,0 @@
-#!/bin/bash
-
-# Copyright © 2013 Sébastien Luttringer
-
-# This script is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This script is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this script. If not, see <http://www.gnu.org/licenses/>.
-
-# Get and format official OUI
-wget -O- 'http://standards.ieee.org/regauth/oui/oui.txt' | \
-sed -nr 's/[ \t]+(..)-(..)-(..)[ \t]+\(hex\)[ \t]+(.*)/\L\1:\2:\3\E\t\4/p' > ethercodes.dat
-
-# Add private OUI
-cat >> ethercodes.dat <<EOF
-52:54:00 QEMU Virtual NIC
-b0:c4:20 Bochs Virtual NIC
-de:ad:ca PearPC Virtual NIC
-00:ff:d1 Cooperative Linux virtual NIC
-EOF
-
-# Sort and compress
-sort ethercodes.dat | xz -9 > ethercodes.dat.xz
-rm ethercodes.dat
Copied: arpwatch/repos/community-x86_64/gen_ethercode.sh (from rev 112774, arpwatch/trunk/gen_ethercode.sh)
===================================================================
--- community-x86_64/gen_ethercode.sh (rev 0)
+++ community-x86_64/gen_ethercode.sh 2014-06-06 17:28:49 UTC (rev 112775)
@@ -0,0 +1,32 @@
+#!/bin/bash
+
+# Copyright © 2013 Sébastien Luttringer
+
+# This script is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This script is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this script. If not, see <http://www.gnu.org/licenses/>.
+
+# Get and format official OUI
+wget -O- 'http://standards.ieee.org/regauth/oui/oui.txt' | \
+sed -nr 's/[ \t]+(..)-(..)-(..)[ \t]+\(hex\)[ \t]+(.*)/\L\1:\2:\3\E\t\4/p' > ethercodes.dat
+
+# Add private OUI
+cat >> ethercodes.dat <<EOF
+52:54:00 QEMU Virtual NIC
+b0:c4:20 Bochs Virtual NIC
+de:ad:ca PearPC Virtual NIC
+00:ff:d1 Cooperative Linux virtual NIC
+EOF
+
+# Sort and compress
+sort ethercodes.dat | xz -9 > ethercodes.dat.xz
+rm ethercodes.dat
More information about the arch-commits
mailing list