Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 276171 Details for
Bug 255147
dev-libs/geoip request for use="network-cron"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
geoipupdate.sh
geoipupdate.sh (text/plain), 776 bytes, created by
Christian Ruppert (idl0r)
on 2011-06-07 17:46:54 UTC
(
hide
)
Description:
geoipupdate.sh
Filename:
MIME Type:
Creator:
Christian Ruppert (idl0r)
Created:
2011-06-07 17:46:54 UTC
Size:
776 bytes
patch
obsolete
>#!/bin/sh > >GEOIP_MIRROR="http://geolite.maxmind.com/download/geoip/database" >GEOIPDIR=/usr/share/GeoIP >TMPDIR= > >DATABASES="GeoLiteCity GeoLiteCountry/GeoIP asnum/GeoIPASNum GeoIPv6" > >if [ -d "${GEOIPDIR}" ]; then > cd $GEOIPDIR > if [ -n "${DATABASES}" ]; then > TMPDIR=$(mktemp -d geoipupdate.XXXXXXXXXX) > > echo "Updating GeoIP databases..." > > for db in $DATABASES; do > fname=$(basename $db) > > wget --no-verbose -t 3 -T 60 "${GEOIP_MIRROR}/${db}.dat.gz" -O "${TMPDIR}/${fname}.dat.gz" > gunzip -fdc "${TMPDIR}/${fname}.dat.gz" > "${TMPDIR}/${fname}.dat" > mv "${TMPDIR}/${fname}.dat" "${GEOIPDIR}/${fname}.dat" > chmod 0644 "${GEOIPDIR}/${fname}.dat" > done > [ -d "${TMPDIR}" ] && rm -rf $TMPDIR > fi >fi > >if [ -f /etc/init.d/named ]; then > /etc/init.d/named reload >fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 255147
: 276171