From 4c8b9e13ba53da6e596afee4111e4ffd5b790fdc Mon Sep 17 00:00:00 2001 From: Wang Xin Date: Mon, 15 Aug 2016 23:30:53 -0400 Subject: geoipupdate: 2.2.1 -> 2.2.2 Upgrade geoipupdate from 2.2.1 to 2.2.2. Signed-off-by: Wang Xin Signed-off-by: Martin Jansa Signed-off-by: Joe MacDonald --- .../geoip/geoipupdate-2.2.1/GeoIP.conf | 11 -------- .../geoip/geoipupdate-2.2.1/geoipupdate.cron | 5 ---- .../geoip/geoipupdate-2.2.2/GeoIP.conf | 11 ++++++++ .../geoip/geoipupdate-2.2.2/geoipupdate.cron | 5 ++++ .../recipes-support/geoip/geoipupdate_2.2.1.bb | 30 ---------------------- .../recipes-support/geoip/geoipupdate_2.2.2.bb | 30 ++++++++++++++++++++++ 6 files changed, 46 insertions(+), 46 deletions(-) delete mode 100644 meta-networking/recipes-support/geoip/geoipupdate-2.2.1/GeoIP.conf delete mode 100644 meta-networking/recipes-support/geoip/geoipupdate-2.2.1/geoipupdate.cron create mode 100644 meta-networking/recipes-support/geoip/geoipupdate-2.2.2/GeoIP.conf create mode 100644 meta-networking/recipes-support/geoip/geoipupdate-2.2.2/geoipupdate.cron delete mode 100644 meta-networking/recipes-support/geoip/geoipupdate_2.2.1.bb create mode 100644 meta-networking/recipes-support/geoip/geoipupdate_2.2.2.bb diff --git a/meta-networking/recipes-support/geoip/geoipupdate-2.2.1/GeoIP.conf b/meta-networking/recipes-support/geoip/geoipupdate-2.2.1/GeoIP.conf deleted file mode 100644 index 134cfed1f5..0000000000 --- a/meta-networking/recipes-support/geoip/geoipupdate-2.2.1/GeoIP.conf +++ /dev/null @@ -1,11 +0,0 @@ -# The following UserId and LicenseKey are required placeholders: -UserId 999999 -LicenseKey 000000000000 - -# Include one or more of the following ProductIds: -# * GeoLite2-City - GeoLite 2 City -# * GeoLite2-Country - GeoLite2 Country -# * 506 - GeoLite Legacy Country -# * 517 - GeoLite Legacy ASN -# * 533 - GeoLite Legacy City -ProductIds GeoLite2-City GeoLite2-Country 506 517 533 diff --git a/meta-networking/recipes-support/geoip/geoipupdate-2.2.1/geoipupdate.cron b/meta-networking/recipes-support/geoip/geoipupdate-2.2.1/geoipupdate.cron deleted file mode 100644 index 40597a856e..0000000000 --- a/meta-networking/recipes-support/geoip/geoipupdate-2.2.1/geoipupdate.cron +++ /dev/null @@ -1,5 +0,0 @@ -# top of crontab -MAILTO=your@email.com - -32 11 * * 4 /usr/local/bin/geoipupdate -# end of crontab diff --git a/meta-networking/recipes-support/geoip/geoipupdate-2.2.2/GeoIP.conf b/meta-networking/recipes-support/geoip/geoipupdate-2.2.2/GeoIP.conf new file mode 100644 index 0000000000..134cfed1f5 --- /dev/null +++ b/meta-networking/recipes-support/geoip/geoipupdate-2.2.2/GeoIP.conf @@ -0,0 +1,11 @@ +# The following UserId and LicenseKey are required placeholders: +UserId 999999 +LicenseKey 000000000000 + +# Include one or more of the following ProductIds: +# * GeoLite2-City - GeoLite 2 City +# * GeoLite2-Country - GeoLite2 Country +# * 506 - GeoLite Legacy Country +# * 517 - GeoLite Legacy ASN +# * 533 - GeoLite Legacy City +ProductIds GeoLite2-City GeoLite2-Country 506 517 533 diff --git a/meta-networking/recipes-support/geoip/geoipupdate-2.2.2/geoipupdate.cron b/meta-networking/recipes-support/geoip/geoipupdate-2.2.2/geoipupdate.cron new file mode 100644 index 0000000000..40597a856e --- /dev/null +++ b/meta-networking/recipes-support/geoip/geoipupdate-2.2.2/geoipupdate.cron @@ -0,0 +1,5 @@ +# top of crontab +MAILTO=your@email.com + +32 11 * * 4 /usr/local/bin/geoipupdate +# end of crontab diff --git a/meta-networking/recipes-support/geoip/geoipupdate_2.2.1.bb b/meta-networking/recipes-support/geoip/geoipupdate_2.2.1.bb deleted file mode 100644 index 7a3a002524..0000000000 --- a/meta-networking/recipes-support/geoip/geoipupdate_2.2.1.bb +++ /dev/null @@ -1,30 +0,0 @@ -SUMMARY = "Crontab entry to provide weekly updates of the GeoIP free databases." -DESCRIPTION = "update databases for GeoIP" - -HOMEPAGE = "http://dev.maxmind.com/geoip/" -SECTION = "net" - -DEPENDS = "zlib curl" - -SRC_URI = "https://github.com/maxmind/geoipupdate/releases/download/v2.2.1/geoipupdate-2.2.1.tar.gz \ - file://GeoIP.conf \ - file://geoipupdate.cron \ - " - -SRC_URI[md5sum] = "abfd4bb9dd7fd489c103888dde5f2a57" -SRC_URI[sha256sum] = "9547c42cc8620b2c3040fd8df95e8ee45c8b6ebcca7737d641f9526104d5f446" - -LICENSE = "GPLv2" - -LIC_FILES_CHKSUM = "\ -file://ChangeLog.md;md5=5ca3d911ed549b0756b03410ff77fa62 \ -" - -inherit autotools - -do_install_append() { - install -d ${D}/${sysconfdir} - install -d ${D}/${sysconfdir}/cron.d - install ${WORKDIR}/GeoIP.conf ${D}/${sysconfdir}/ - install ${WORKDIR}/geoipupdate.cron ${D}/${sysconfdir}/cron.d/ -} diff --git a/meta-networking/recipes-support/geoip/geoipupdate_2.2.2.bb b/meta-networking/recipes-support/geoip/geoipupdate_2.2.2.bb new file mode 100644 index 0000000000..3bc936a0d0 --- /dev/null +++ b/meta-networking/recipes-support/geoip/geoipupdate_2.2.2.bb @@ -0,0 +1,30 @@ +SUMMARY = "Crontab entry to provide weekly updates of the GeoIP free databases." +DESCRIPTION = "update databases for GeoIP" + +HOMEPAGE = "http://dev.maxmind.com/geoip/" +SECTION = "net" + +DEPENDS = "zlib curl" + +SRC_URI = "https://github.com/maxmind/geoipupdate/releases/download/v2.2.2/geoipupdate-2.2.2.tar.gz \ + file://GeoIP.conf \ + file://geoipupdate.cron \ + " + +SRC_URI[md5sum] = "06284bd7bcb298d078d794eb630dae55" +SRC_URI[sha256sum] = "156ab7604255a9c62c4a442c76d48d024ac813c6542639bffa93b28e2a781621" + +LICENSE = "GPLv2" + +LIC_FILES_CHKSUM = "\ +file://ChangeLog.md;md5=8ebf6f27a39125c3d600c90914b4034a \ +" + +inherit autotools + +do_install_append() { + install -d ${D}/${sysconfdir} + install -d ${D}/${sysconfdir}/cron.d + install ${WORKDIR}/GeoIP.conf ${D}/${sysconfdir}/ + install ${WORKDIR}/geoipupdate.cron ${D}/${sysconfdir}/cron.d/ +} -- cgit v1.2.3-54-g00ecf