summaryrefslogtreecommitdiff
path: root/contrib
Commit message (Collapse)AuthorAgeFilesLines
* contrib/rpm: allow building devel RPMs without debug enabledThomas Haller2017-05-231-1/+10
| | | | | | | | | | | | | | Since commit 1afbf948a0825300ce395adc5706e1ffdca94d24, "build: use different defaults for snapshot builds", configure would enable debugging options if the version number is odd. Hence, on the master branch it was no longer possible to build an RPM without debugging enabled. Especially, ./contrib/fedora/rpm/build_clean.sh -g -W debug would not work as one would expect.
* contrib/rpm: add option to build package with sanitizerThomas Haller2017-05-231-4/+12
|
* contrib/rpm: drop explicit dependency on libnl3 packageThomas Haller2017-05-181-1/+0
| | | | | | | | | | | | We already get a library dependency on libnl-3.so.200()(64bit) libnl-3.so.200(libnl_3)(64bit) Drop the explicit package dependency, leaving only the BuildRequires. Also, all recent versions of libnl3 implement library versioning.
* contrib: update fedora's REQUIRED_PACKAGES listThomas Haller2017-05-151-25/+26
|
* contrib/rpm: fix specifying build with/without libpslThomas Haller2017-05-101-2/+2
| | | | Fixes: faad17f9e8e804e89ffd5a779ed22871a77755e0
* contrib/rpm: reorder variables in spec fileThomas Haller2017-05-101-4/+3
|
* travis: don't check for setting-docs.c fileThomas Haller2017-04-051-0/+4
| | | | Fixes: b3e2808c322c7fcccf16e81baf258febe688c29e
* build: configure explicit paths for dist tarball during "build_clean.sh"Thomas Haller2017-03-241-0/+16
| | | | | | | | | | | | | | "build_clean.sh" is used to generate a distribution tarball. The tarball contains pregenerated man pages with default values for paths, which in turn depend on the configure options when creating the tarball. Previously, the man page would have paths like "usr/local/etc/NetworkManager/...", which doesn't seem the best choice for a default man page. Explicitly set the installation paths. Also, --disable-dependency-tracking in this mode. It may speed up the build.
* contrib/rpm: enable libpsl on Fedora onlyLubomir Rintel2017-03-221-0/+7
|
* udev: drop libgudev in favor of libudevThomas Haller2017-03-223-3/+1
| | | | | | libgudev is just a wrapper around libudev. We can use libudev directly and drop the dependency for libgudev.
* connectivity: switch connectivity checking to libcurllr/fg/libcurl_bgo752642Francesco Giudici2017-03-222-2/+2
| | | | | | | [lkundrak@v3.sk: removed libsoup altogether, implemented TODOs and fixed the poll condition handling] Co-authored-by: Lubomir Rintel <lkundrak@v3.sk>
* dns-manager: use libpsl directlyLubomir Rintel2017-03-222-0/+2
| | | | | ...instead of via libsoup. This makes it possible to do gTLD suffix checking even if we're building without libsoup support.
* contrib/rpm: reorder spec file and move bcond definitions togetherThomas Haller2017-03-061-9/+8
|
* contrib/rpm: remove unused default_with_* variablesThomas Haller2017-03-061-19/+0
| | | | They are unused since commit d2fd1b9fb7ef73f3bdeb5c68f1e382c1244a5012.
* contrib/rpm: add explicit libxslt build dependencyThomas Haller2017-03-061-0/+2
| | | | | | | | We configurably use --enable-gtk-doc/--disable-gtk-doc, but we always require --enable-introspection (due to --enable-vala). Add the missing build requirement to the "xsltproc" binary, which is in libxslt package.
* contrib/rpm: drop EOL versions of FedoraLubomir Rintel2017-03-021-16/+5
| | | | | These are history and noone should be using them; special casing them is essentially line noise.
* contrib/rpm: install D-Bus service files to /usr if we canLubomir Rintel2017-03-021-4/+12
| | | | | This is in fact the correct location, but dbus in RHEL 7 is still too old to be able to use that.
* contrit/rpm: create source tarball from git immidiately in SOURCES directoryThomas Haller2017-02-161-2/+5
| | | | | Instead of first creating it as "$TEMP/NetworkManager-${VERSION}.tar.xz" and then copy it to "$TEMP/SOURCES".
* contrit/rpm: print the used "$SOURCE" tarball in the summary output of build.shThomas Haller2017-02-161-3/+13
|
* contrib/rpm: add explict configure options for building NetworkManager in ↵Thomas Haller2017-02-151-1/+14
| | | | | | | | | | | | | | | | | | "build_clean.sh" When we create a source tarball, documentation and other generated files are disted. Those files depend on the configure options when creating the tarball. For example, the generated man pages contain the compile time configurable default values. For that reason, it is generally better to regenerate the documentation when building NetworkManager. However, let's set explict configure options to have a more reproducible way to generate the tarball. When doing a release, you should not just call `make dist`. Instead, the proper way of creating an official source tarball is: $ ./contrib/fedora/rpm/build_clean.sh --srpm
* contrib/rpm: no longer package the Changelog with the libnm-devel/glib-devel ↵Thomas Haller2017-02-141-2/+2
| | | | packages
* contrib/rpm: don't recreate files that make install installsLubomir Rintel2017-01-291-19/+0
|
* contrib/rpm: don't own the legacy VPN directoryLubomir Rintel2017-01-291-4/+0
| | | | The plugins should own it instead.
* contrib/rpm: let NetworkManager-libnm and NetworkManager-glib of differing ↵Thomas Haller2017-01-201-0/+2
| | | | | | | | | | | | | | | | | | version conflict Since commit "c920909 contrib/rpm: put translations in NetworkManager-libnm and NetworkManager-glib packages", both subpackages install the same translation files without a direct dependency between the two packages. Thus, if a user tries to update only one of the two subpackages, it will fail during the installation due to conflicting files. Fix that by having the subpackages conflict (per version). This way, the conflict is detected before starting the installation. https://bugzilla.redhat.com/show_bug.cgi?id=1406454 (cherry picked from commit b85b8ed6fa6c664fc3cf0472234a5fe9384011e0)
* contrib/rpm: fix code comment in default "NetworkManager.conf"Thomas Haller2017-01-171-2/+3
|
* contrib: add macsec test scriptBeniamino Galvani2017-01-161-0/+102
|
* contrib/rpm: fix obsoletes_ppp_plugin versionThomas Haller2016-12-161-1/+3
| | | | | | | The ppp package split was introduced during 1.5.3 development. Thus, we obsolete packages < 1:1.5.3. Also, add conditionals around ppp-devel build-requirement.
* contrib/rpm: obsolete the pre-ppp-split version from the main packageLubomir Rintel2016-12-151-1/+2
| | | | | To ensure smooth upgrade path. While at it, move the BR to a more usual place.
* contrib/rpm: add note to NetworkManager.conf about rate-limiting in loggingThomas Haller2016-12-141-0/+4
|
* contrib/rpm: split PPP support into a separate packageBeniamino Galvani2016-12-061-4/+25
| | | | This allows to remove from the main package the PPP dependency.
* contrib/travis: the test outputs are now logged more sanelyLubomir Rintel2016-12-051-1/+1
| | | | Adjust the travis script accordingly.
* contrib/rpm: mark the config packages noarchLubomir Rintel2016-12-051-0/+2
|
* build: fix gtk-doc/introspection handling for buildThomas Haller2016-11-281-1/+1
| | | | | | | | | | | | | | | | | - `make dist` requires --enable-gtk-doc --enable-introspection --with-libnm-glib - --enable-gtk-doc requires --enable-introspection - --with-nmcli requires either --enable-introspection or pregenerated settings-docs.c files from the dist tarball. It does not require --enable-gtk-doc. There is a bit of a problem in that --enable-introspection requires now xsltproc. However, gobject-introspection does itself not depend on xsltproc. So, more correct might be a special --enable-doc argument, that combines --enable-introspection --with-xsltproc. Anyway, that seems to make it more complicated then it already is so just implicitly (and surprisingly?) require xsltproc with --enable-introspection. https://bugzilla.gnome.org/show_bug.cgi?id=775003
* contrib/rpm: let RPM package own %{systemd_dir}/network-online.target.wantsThomas Haller2016-11-241-0/+1
| | | | | | | # rpm -qf /usr/lib/systemd/system/network-online.target.wants/NetworkManager-wait-online.service NetworkManager-1.5.2-16352.e0c50a9703.fc24.x86_64 # rpm -qf /usr/lib/systemd/system/network-online.target.wants file /usr/lib/systemd/system/network-online.target.wants is not owned by any package
* build: install the D-Bus introspection datalr/introspection-dataLubomir Rintel2016-11-231-0/+1
| | | | This would make it easier to develop against NetworkManager D-Bus API.
* contrib/rpm: drop XML::Parser BRLubomir Rintel2016-11-211-1/+0
| | | | We don't depend on it already.
* all: drop YAML dependencyLubomir Rintel2016-11-213-4/+0
|
* contrib/rpm: no longer manually pre-build parts for `make dist`Thomas Haller2016-11-201-10/+3
| | | | | `make dist` should have now the proper dependencies to build everything that is needed automatically. No need for manually calling make first.
* nm-import-openvpn: sort the options alphabeticallyJiří Klimeš2016-11-101-14/+14
|
* nm-import-openvpn: remove old code for 'dev' optionJiří Klimeš2016-11-101-9/+0
|
* nm-import-openvpn: parse quoted string as a single wordJiří Klimeš2016-11-101-4/+21
| | | | | It is necessary, for example, for this to work: verify-x509-name "C=US, L=Cambridge, CN=GNOME, emailAddress=networkmanager-list@gnome.org" subject
* nm-import-openvpn: import 'verify-x509-name' optionJiří Klimeš2016-11-101-0/+11
| | | | https://git.gnome.org/browse/network-manager-openvpn/commit/?id=b51b3562ce079cc0be426e968fe1c90faadc0efd
* nm-import-openvpn: improve importing 'comp-lzo' optionJiří Klimeš2016-11-101-1/+11
| | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=769177 https://bugzilla.redhat.com/show_bug.cgi?id=1355688 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833166 https://git.gnome.org/browse/network-manager-openvpn/commit/?id=62bdd278d69cc396479af9d05a0b776d5ad386bf
* nm-import-openvpn: improve parsing and checking 'route' optionJiří Klimeš2016-11-101-7/+49
|
* nm-import-openvpn: import 'ns-cert-type' optionJiří Klimeš2016-11-101-0/+1
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=719430 https://git.gnome.org/browse/network-manager-openvpn/commit/?id=644e55ed404edbc953e323d13c57297b53cc0f8b
* nm-import-openvpn: import 'tls-cipher' optionJiří Klimeš2016-11-101-4/+6
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=763484 https://git.gnome.org/browse/network-manager-openvpn/commit/?id=d7a84afe1d1948c7990a08b18913e65550c222a0
* nm-import-openvpn: import 'max-routes' optionJiří Klimeš2016-11-101-1/+2
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=720097 https://git.gnome.org/browse/network-manager-openvpn/commit/?id=c4d45e51280d5b0cb8c5e8f826d68c3262162080
* nm-import-openvpn: import 'tun-ipv6' optionJiří Klimeš2016-11-101-0/+1
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=761907 https://git.gnome.org/browse/network-manager-openvpn/commit/?id=ffda527d8a932f2e3419d6c64623540e5b190d9e
* contrib/rpm: fix wrong configure options in spec fileThomas Haller2016-11-101-2/+1
|
* contrib/rpm: put translations in NetworkManager-libnm and ↵Thomas Haller2016-11-081-3/+3
| | | | | | | | | | | | | | | | | | | | | NetworkManager-glib packages One can install the libraries without NetworkManager. Thus, the translations should be there. Doing this increases the package size of the libraries significantly. For a user who only has libnm without NetworkManager installed, this is acceptable, because the whole point of the change is to ensure such a user also gets translations. For a user who requires libnm and libnm-glib packages, this unfortunately increases the additional package size as the translations are now present twice. What would be better is if NetworkManager-libnm would only contain translations for libnm/NetworkManager, and NetworkManager-glib only translations for libnm-util/libnm-glib.