2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2011 EveryCity Ltd. All rights reserved.
17 # Preserve and allow editing of GeoIP.conf
18 <transform file path=.+/etc/GeoIP.conf$ -> default preserve true>
19 <transform file path=.+/etc/GeoIP.conf$ -> default mode 0644>
20 <transform file path=usr.*/man/.+ -> default mangler.man.stability committed>
23 # We deliver this file in another package
24 <transform file path=.+/share/GeoIP/GeoIP.dat$ -> drop>
26 set name=pkg.fmri value=pkg:/database/geoip@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
27 set name=pkg.summary value="GeoIP IP address lookup database"
28 set name=info.upstream-url value="http://www.maxmind.com/"
29 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
30 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
31 set name=info.classification value="org.opensolaris.category.2008:System/Libraries"
33 license geoip.license license="GPL LGPLv2.1"
35 dir path=usr/share/GeoIP
36 dir path=usr/share/man
37 dir path=usr/share/man/man1
38 file path=usr/bin/$(MACH64)/geoiplookup
39 file path=usr/bin/$(MACH64)/geoiplookup6
40 file path=usr/bin/$(MACH64)/geoipupdate
41 file path=usr/bin/geoiplookup
42 file path=usr/bin/geoiplookup6
43 file path=usr/bin/geoipupdate
44 file path=etc/GeoIP.conf
45 file path=usr/include/GeoIP.h
46 file path=usr/include/GeoIPCity.h
47 file path=usr/include/GeoIPUpdate.h
48 file path=usr/lib/$(MACH64)/libGeoIP.so.$(COMPONENT_VERSION)
49 file path=usr/lib/$(MACH64)/libGeoIPUpdate.so.0.0.0
50 file path=usr/lib/libGeoIP.so.$(COMPONENT_VERSION)
51 file path=usr/lib/libGeoIPUpdate.so.0.0.0
52 file path=usr/share/GeoIP/GeoIP.dat
53 file path=usr/share/man/man1/geoiplookup.1
54 file path=usr/share/man/man1/geoiplookup6.1
55 file path=usr/share/man/man1/geoipupdate.1
56 link path=usr/lib/$(MACH64)/libGeoIP.so \
57 target=libGeoIP.so.$(COMPONENT_VERSION)
58 link path=usr/lib/$(MACH64)/libGeoIP.so.1 \
59 target=libGeoIP.so.$(COMPONENT_VERSION)
60 link path=usr/lib/$(MACH64)/libGeoIPUpdate.so \
61 target=libGeoIPUpdate.so.0.0.0
62 link path=usr/lib/$(MACH64)/libGeoIPUpdate.so.0 \
63 target=libGeoIPUpdate.so.0.0.0
64 link path=usr/lib/libGeoIP.so target=libGeoIP.so.$(COMPONENT_VERSION)
65 link path=usr/lib/libGeoIP.so.1 \
66 target=libGeoIP.so.$(COMPONENT_VERSION)
67 link path=usr/lib/libGeoIPUpdate.so target=libGeoIPUpdate.so.0.0.0
68 link path=usr/lib/libGeoIPUpdate.so.0 target=libGeoIPUpdate.so.0.0.0
70 # Additional Dependencies
71 #depend fmri=pkg:/database/geoip-geolite/country-database type=require
72 #depend fmri=pkg:/database/geoip-geolite/city-database type=require