diff options
author | Jamie Lenehan <lenehan@twibble.org> | 2006-11-22 05:01:49 +0000 |
---|---|---|
committer | Jamie Lenehan <lenehan@twibble.org> | 2006-11-22 05:01:49 +0000 |
commit | 07681c5716cf14e5b05ec0d0262705c2a61246fd (patch) | |
tree | b989b823394a74ade5cbdb42a2532df05a02571f /packages/arpwatch/arpwatch_2.1a15.bb | |
parent | a2faa3e2f446d160592ad34f1d96d07649cd1e6e (diff) |
arpwatch 2.1a15: Add the latest version, 2.1a15. No source for older
versions is carried on the distribution site.
Diffstat (limited to 'packages/arpwatch/arpwatch_2.1a15.bb')
-rw-r--r-- | packages/arpwatch/arpwatch_2.1a15.bb | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/packages/arpwatch/arpwatch_2.1a15.bb b/packages/arpwatch/arpwatch_2.1a15.bb new file mode 100644 index 0000000000..446dddc16a --- /dev/null +++ b/packages/arpwatch/arpwatch_2.1a15.bb @@ -0,0 +1,43 @@ +DESCRIPTION = "Ethernet/FDDI station activity monitor" +HOMEPAGE = "http://www-nrg.ee.lbl.gov/" +SECTION = "network" +LICENSE = "BSD" +RRECOMMENDS = "arpwatch-data" +PR = "r0" + +SRC_URI = "ftp://ftp.ee.lbl.gov/arpwatch-${PV}.tar.gz \ + file://05debian_fhs.patch;patch=1 \ + file://06debian_manpages.patch;patch=1 \ + file://init.d \ + file://arpwatch.default \ + file://arpwatch.conf \ + file://ethercodes.dat \ + file://make.patch;patch=1" + +inherit autotools + +EXTRA_OEMAKE = "LDFLAGS=-L${STAGING_LIBDIR}" + +PACKAGES =+ "arpwatch-data" + +FILES_arpwatch-data = "${datadir}/arpwatch/ethercodes.dat" + +do_install() { + install -d ${D}${bindir} ${D}${sbindir} ${D}${mandir}/man8 \ + ${D}${sysconfdir}/default \ + ${D}${sysconfdir}/init.d \ + ${D}${datadir}/arpwatch + oe_runmake install DESTDIR=${D} + oe_runmake install-man DESTDIR=${D} + for i in arp2ethers arpfetch massagevendor; do + install -m 0755 ${S}/$i ${D}${sbindir} + done + install -m 0755 ${S}/bihourly.sh ${D}${sbindir}/bihourly + for i in arp2ethers arpfetch bihourly massagevendor; do + install -m 0644 ${S}/$i.8 ${D}${mandir}/man8 + done + install -m 0755 ${WORKDIR}/init.d ${D}${sysconfdir}/init.d/arpwatch + install -m 0644 ${WORKDIR}/arpwatch.default ${D}${sysconfdir}/default/arpwatch + install -m 0644 ${WORKDIR}/arpwatch.conf ${D}${sysconfdir} + install -m 0644 ${WORKDIR}/ethercodes.dat ${D}${datadir}/arpwatch +} |