diff --git a/_service b/_service
index 1a0c0c2..ff74425 100644
--- a/_service
+++ b/_service
@@ -2,8 +2,8 @@
git
git://git.osmocom.org/osmo-ggsn
- 1.3.0
- 1.3.0
+ 1.4.0
+ 1.4.0
*.tar
diff --git a/osmo-ggsn-1.3.0.tar.xz b/osmo-ggsn-1.3.0.tar.xz
deleted file mode 100644
index e38ca04..0000000
--- a/osmo-ggsn-1.3.0.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:d7cd195de3296af88efe581283613a901d7328581c1d24a29ef5fcbb79345af2
-size 164988
diff --git a/osmo-ggsn-1.4.0.tar.xz b/osmo-ggsn-1.4.0.tar.xz
new file mode 100644
index 0000000..111a2f9
--- /dev/null
+++ b/osmo-ggsn-1.4.0.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5658aee8b4a956303ee2242b17da36e12fda5fdda0f5f420d53fc03c082c0341
+size 170912
diff --git a/osmo-ggsn.changes b/osmo-ggsn.changes
index 41218f5..1c554cf 100644
--- a/osmo-ggsn.changes
+++ b/osmo-ggsn.changes
@@ -1,3 +1,19 @@
+-------------------------------------------------------------------
+Wed Aug 14 17:16:25 UTC 2019 - Jan Engelhardt
+
+- Update to new upstream release 1.4.0
+ * ggsn: Add minimalistic PAP support
+ * ggsn: More logging from PCO handling (e.g. in case of malconfiguration)
+ * osmo-ggsn: fix VTY command for getting PDP contexts by APN
+ * osmo-ggsn: add VTY command to show PDP context by IPv4
+ * gtp: Introduce new pdp APIs (and deprecate old ones) to support multiple GSN
+
+-------------------------------------------------------------------
+Sat Jul 27 20:03:48 UTC 2019 - Martin Hauke
+
+- Disable LTO for now since it breaks compilation of the tests
+ See: https://osmocom.org/issues/4114
+
-------------------------------------------------------------------
Tue Feb 5 21:33:10 UTC 2019 - mardnh@gmx.de
diff --git a/osmo-ggsn.spec b/osmo-ggsn.spec
index 33e6aa3..45809db 100644
--- a/osmo-ggsn.spec
+++ b/osmo-ggsn.spec
@@ -16,9 +16,11 @@
#
+%define _lto_cflags %nil
+
Name: osmo-ggsn
-%define lname libgtp4
-Version: 1.3.0
+%define lname libgtp5
+Version: 1.4.0
Release: 0
Summary: GPRS Support Node
License: GPL-2.0-only AND LGPL-2.1-or-later
@@ -32,12 +34,11 @@ BuildRequires: systemd-rpm-macros
BuildRequires: xz
BuildRequires: pkgconfig(libgtpnl) >= 1.2.0
BuildRequires: pkgconfig(libmnl) >= 1.0.3
-BuildRequires: pkgconfig(libosmocore) >= 0.11.0
-BuildRequires: pkgconfig(libosmoctrl) >= 0.11.0
+BuildRequires: pkgconfig(libosmocore) >= 1.1.0
+BuildRequires: pkgconfig(libosmoctrl) >= 1.1.0
BuildRequires: pkgconfig(libosmogsm)
-BuildRequires: pkgconfig(libosmovty) >= 0.11.0
+BuildRequires: pkgconfig(libosmovty) >= 1.1.0
Obsoletes: openggsn
-%{?systemd_requires}
%description
Osmo-GGSN is a C-language implementation of a GGSN (Gateway GPRS
@@ -77,7 +78,7 @@ make %{?_smp_mflags} V=1
%install
b="%buildroot"
%make_install
-find $b -type f -name "*.la" -delete -print
+find "$b" -type f -name "*.la" -delete -print
install -d "$b/%_sbindir"
ln -s "%_sbindir/service" "$b/%_sbindir/rc%name"
install -d "$b/%_sysconfdir/osmocom"
@@ -115,7 +116,7 @@ install -m 0644 doc/examples/sgsnemu.conf "$b/%_sysconfdir/osmocom/sgsnemu.conf"
%config(noreplace) %_sysconfdir/osmocom/sgsnemu.conf
%files -n %lname
-%_libdir/libgtp.so.4*
+%_libdir/libgtp.so.5*
%files -n libgtp-devel
%_includedir/%name/