[arch-commits] Commit in geoclue2/repos (8 files)
Jan Steffens
heftig at nymeria.archlinux.org
Sun Feb 16 16:10:59 UTC 2014
Date: Sunday, February 16, 2014 @ 17:10:59
Author: heftig
Revision: 206065
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
geoclue2/repos/extra-i686/PKGBUILD
(from rev 206064, geoclue2/trunk/PKGBUILD)
geoclue2/repos/extra-i686/https.patch
(from rev 206064, geoclue2/trunk/https.patch)
geoclue2/repos/extra-x86_64/PKGBUILD
(from rev 206064, geoclue2/trunk/PKGBUILD)
geoclue2/repos/extra-x86_64/https.patch
(from rev 206064, geoclue2/trunk/https.patch)
Deleted:
geoclue2/repos/extra-i686/PKGBUILD
geoclue2/repos/extra-i686/geoclue.install
geoclue2/repos/extra-x86_64/PKGBUILD
geoclue2/repos/extra-x86_64/geoclue.install
------------------------------+
/PKGBUILD | 70 +++++++++++++++++++++++++++++++++++++++++
extra-i686/PKGBUILD | 29 ----------------
extra-i686/geoclue.install | 11 ------
extra-i686/https.patch | 25 ++++++++++++++
extra-x86_64/PKGBUILD | 29 ----------------
extra-x86_64/geoclue.install | 11 ------
extra-x86_64/https.patch | 25 ++++++++++++++
7 files changed, 120 insertions(+), 80 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2014-02-16 16:10:31 UTC (rev 206064)
+++ extra-i686/PKGBUILD 2014-02-16 16:10:59 UTC (rev 206065)
@@ -1,29 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: György Balló <ballogy at freestart.hu>
-
-pkgname=geoclue2
-pkgver=1.99.4
-pkgrel=1
-pkgdesc="Modular geoinformation service built on the D-Bus messaging system."
-arch=(i686 x86_64)
-url="http://geoclue.freedesktop.org/"
-license=(LGPL)
-depends=(libsoup json-glib)
-makedepends=(intltool geoip)
-optdepends=('geoip: geoip-lookup server binary')
-install=geoclue.install
-source=(http://freedesktop.org/software/geoclue/releases/1.99/geoclue-$pkgver.tar.xz)
-md5sums=('b991f4a409b492996a38627ee18fa76e')
-
-build() {
- cd geoclue-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --libexecdir=/usr/lib/$pkgname --disable-static
- make
-}
-
-package() {
- cd geoclue-$pkgver
- make DESTDIR="$pkgdir" install
-}
Copied: geoclue2/repos/extra-i686/PKGBUILD (from rev 206064, geoclue2/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2014-02-16 16:10:59 UTC (rev 206065)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: György Balló <ballogy at freestart.hu>
+
+pkgname=geoclue2
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="Modular geoinformation service built on the D-Bus messaging system"
+arch=(i686 x86_64)
+url="http://geoclue.freedesktop.org/"
+license=(LGPL)
+depends=(libsoup json-glib)
+makedepends=(intltool geoip)
+optdepends=('geoip: geoip-lookup server binary')
+source=(http://freedesktop.org/software/geoclue/releases/2.0/geoclue-$pkgver.tar.xz
+ https.patch)
+md5sums=('401ff99d530b177c62afacef0a33efd9'
+ '20da579a0f1f6476a9c2ba9adebec32c')
+
+prepare() {
+ cd geoclue-$pkgver
+ patch -Np1 -i ../https.patch
+}
+
+build() {
+ cd geoclue-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --libexecdir=/usr/lib/$pkgname --disable-static
+ make
+}
+
+package() {
+ cd geoclue-$pkgver
+ make DESTDIR="$pkgdir" install
+}
Deleted: extra-i686/geoclue.install
===================================================================
--- extra-i686/geoclue.install 2014-02-16 16:10:31 UTC (rev 206064)
+++ extra-i686/geoclue.install 2014-02-16 16:10:59 UTC (rev 206065)
@@ -1,11 +0,0 @@
-post_install() {
- glib-compile-schemas /usr/share/glib-2.0/schemas
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
Copied: geoclue2/repos/extra-i686/https.patch (from rev 206064, geoclue2/trunk/https.patch)
===================================================================
--- extra-i686/https.patch (rev 0)
+++ extra-i686/https.patch 2014-02-16 16:10:59 UTC (rev 206065)
@@ -0,0 +1,25 @@
+From 12804f7e2e569f7f3a0879d740a62b3e34ae6e36 Mon Sep 17 00:00:00 2001
+From: Stefan Bernhardsgrütter <s.bernhardsgruetter at gmail.com>
+Date: Thu, 02 Jan 2014 13:01:25 +0000
+Subject: ipclient: Use HTTPS to connect to geoip.fedoraproject.org
+
+The actual resource is behind HTTPS so using HTTP leads to
+redirections and thefore redundant TCP packets.
+---
+(limited to 'src/gclue-ipclient.c')
+
+diff --git a/src/gclue-ipclient.c b/src/gclue-ipclient.c
+index 492aa83..6f681f8 100644
+--- a/src/gclue-ipclient.c
++++ b/src/gclue-ipclient.c
+@@ -31,7 +31,7 @@
+ #include "geoip-server/geoip-server.h"
+ #include "geocode-location.h"
+
+-#define GEOIP_SERVER "http://geoip.fedoraproject.org/city"
++#define GEOIP_SERVER "https://geoip.fedoraproject.org/city"
+
+ /**
+ * SECTION:gclue-ipclient
+--
+cgit v0.9.0.2-2-gbebe
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2014-02-16 16:10:31 UTC (rev 206064)
+++ extra-x86_64/PKGBUILD 2014-02-16 16:10:59 UTC (rev 206065)
@@ -1,29 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: György Balló <ballogy at freestart.hu>
-
-pkgname=geoclue2
-pkgver=1.99.4
-pkgrel=1
-pkgdesc="Modular geoinformation service built on the D-Bus messaging system."
-arch=(i686 x86_64)
-url="http://geoclue.freedesktop.org/"
-license=(LGPL)
-depends=(libsoup json-glib)
-makedepends=(intltool geoip)
-optdepends=('geoip: geoip-lookup server binary')
-install=geoclue.install
-source=(http://freedesktop.org/software/geoclue/releases/1.99/geoclue-$pkgver.tar.xz)
-md5sums=('b991f4a409b492996a38627ee18fa76e')
-
-build() {
- cd geoclue-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --libexecdir=/usr/lib/$pkgname --disable-static
- make
-}
-
-package() {
- cd geoclue-$pkgver
- make DESTDIR="$pkgdir" install
-}
Copied: geoclue2/repos/extra-x86_64/PKGBUILD (from rev 206064, geoclue2/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2014-02-16 16:10:59 UTC (rev 206065)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: György Balló <ballogy at freestart.hu>
+
+pkgname=geoclue2
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="Modular geoinformation service built on the D-Bus messaging system"
+arch=(i686 x86_64)
+url="http://geoclue.freedesktop.org/"
+license=(LGPL)
+depends=(libsoup json-glib)
+makedepends=(intltool geoip)
+optdepends=('geoip: geoip-lookup server binary')
+source=(http://freedesktop.org/software/geoclue/releases/2.0/geoclue-$pkgver.tar.xz
+ https.patch)
+md5sums=('401ff99d530b177c62afacef0a33efd9'
+ '20da579a0f1f6476a9c2ba9adebec32c')
+
+prepare() {
+ cd geoclue-$pkgver
+ patch -Np1 -i ../https.patch
+}
+
+build() {
+ cd geoclue-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --libexecdir=/usr/lib/$pkgname --disable-static
+ make
+}
+
+package() {
+ cd geoclue-$pkgver
+ make DESTDIR="$pkgdir" install
+}
Deleted: extra-x86_64/geoclue.install
===================================================================
--- extra-x86_64/geoclue.install 2014-02-16 16:10:31 UTC (rev 206064)
+++ extra-x86_64/geoclue.install 2014-02-16 16:10:59 UTC (rev 206065)
@@ -1,11 +0,0 @@
-post_install() {
- glib-compile-schemas /usr/share/glib-2.0/schemas
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
Copied: geoclue2/repos/extra-x86_64/https.patch (from rev 206064, geoclue2/trunk/https.patch)
===================================================================
--- extra-x86_64/https.patch (rev 0)
+++ extra-x86_64/https.patch 2014-02-16 16:10:59 UTC (rev 206065)
@@ -0,0 +1,25 @@
+From 12804f7e2e569f7f3a0879d740a62b3e34ae6e36 Mon Sep 17 00:00:00 2001
+From: Stefan Bernhardsgrütter <s.bernhardsgruetter at gmail.com>
+Date: Thu, 02 Jan 2014 13:01:25 +0000
+Subject: ipclient: Use HTTPS to connect to geoip.fedoraproject.org
+
+The actual resource is behind HTTPS so using HTTP leads to
+redirections and thefore redundant TCP packets.
+---
+(limited to 'src/gclue-ipclient.c')
+
+diff --git a/src/gclue-ipclient.c b/src/gclue-ipclient.c
+index 492aa83..6f681f8 100644
+--- a/src/gclue-ipclient.c
++++ b/src/gclue-ipclient.c
+@@ -31,7 +31,7 @@
+ #include "geoip-server/geoip-server.h"
+ #include "geocode-location.h"
+
+-#define GEOIP_SERVER "http://geoip.fedoraproject.org/city"
++#define GEOIP_SERVER "https://geoip.fedoraproject.org/city"
+
+ /**
+ * SECTION:gclue-ipclient
+--
+cgit v0.9.0.2-2-gbebe
More information about the arch-commits
mailing list