summaryrefslogtreecommitdiff
path: root/contrib
Commit message (Collapse)AuthorAgeFilesLines
* contrib/rpm: prefer keyfile settings plugin from Fedora 33 and newerThomas Haller2020-07-161-0/+4
| | | | | | | | | | | | | | This change is for Fedora 33 and newer. For now, also enable it for RHEL 9 and newer, but it must still be decided whether that will be done there as well. https://mail.gnome.org/archives/networkmanager-list/2020-May/msg00002.html https://fedoraproject.org/wiki/Changes/NetworkManager_keyfile_instead_of_ifcfg_rh https://lists.fedoraproject.org/archives/list/devel-announce@lists.fedoraproject.org/thread/OLOU27DAON2TYGTAVZ35GZE2BEIN42U3/ https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/OLOU27DAON2TYGTAVZ35GZE2BEIN42U3/ https://pagure.io/fesco/issue/2432 https://bugzilla.redhat.com/show_bug.cgi?id=1857391
* contrib: improve code comments to release.sh scriptsThomas Haller2020-07-131-1/+6
|
* contrib: add "major-post" step for release.sh scriptThomas Haller2020-07-131-1/+23
|
* contrib: support "major" release in release.sh scriptThomas Haller2020-07-131-21/+42
|
* contrib: consistency check meson.build in release scriptThomas Haller2020-06-301-6/+10
|
* contrib: improve release script with howto comments and help optionThomas Haller2020-06-301-29/+73
|
* build: for signing use key from git's user.signingkeyThomas Haller2020-06-291-1/+5
|
* release: cleanup temporary release-branch and avoid prompt for ftpadmin installThomas Haller2020-06-281-1/+3
|
* release: fix "rc" release build and add option to suppress check for local ↵Thomas Haller2020-06-281-8/+24
| | | | branches
* release: fix RC_VERSION for release scriptThomas Haller2020-06-281-1/+1
| | | | | The release candidate -rc1 has version "1.y.90", -rc2 has "1.y.91", and so on. Fix the script.
* release: fix release script for "rc"Thomas Haller2020-06-281-1/+2
|
* build: print deleted references in release.sh scriptThomas Haller2020-06-041-3/+10
|
* build: print commands in color for release.sh scriptThomas Haller2020-06-041-17/+27
|
* build: implement release mode "rc" in release.sh scriptThomas Haller2020-06-041-4/+23
| | | | | Still not implemented are the first release candidate (rc1) and the major release.
* build: optionally sign source tarball in build.sh scriptThomas Haller2020-06-041-0/+14
| | | | | | | | | | | This defaults to $DO_RELEASE. In that case, the script will also GPG sign the source tarball. The purpose is that when we do a release we want to ensure that the published tarball is really the one that we generated. In that case, the SHA sum would suffice, however that requires you to manually note it down and compare the result. With the gpg signature, that verification can be better automated.
* build: add "release.sh" scriptThomas Haller2020-06-041-0/+275
| | | | | | | Currently only "minor" and "devel" releases are implement. It's also not yet tested with --no-dry-run, because that would actually create a release. Test it when using it the next time.
* contrib/rpm: remove trailing whitespaces from spec fileThomas Haller2020-05-291-2/+2
|
* platform: add tc testsBeniamino Galvani2020-05-282-0/+5
|
* contrib/rpm: enable the firewalld zone in F32 and RHEL8bg/shared-mode-firewall-rh1829637Beniamino Galvani2020-05-152-0/+28
|
* contrib/rpm: no longer mention that libnm is "new API"Thomas Haller2020-05-141-6/+4
| | | | | libnm was introduced in version 1.0, December 2014. It's no longer new, and libnm-glib is forgotten.
* contrib/rpm: enable undefined-sanitizer libubsan on RHEL-8th/ubsan-fixesThomas Haller2020-05-141-2/+4
|
* gitlab-ci: optionally install libasan,libubsan via REQUIRED_PACKAGES scriptThomas Haller2020-05-141-0/+2
|
* gitlab-ci: accept failure in REQUIRED_PACKAGES script for non-existing qt-develThomas Haller2020-05-141-3/+3
| | | | | | | | | | | | | | | On CentOS 8, many devel packages are not available. Even after # dnf config-manager --set-enabled PowerTools certain devel packages are missing. Some of these (libndp-devel, mobile-broadband-provider-info-devel, teamd-devel) we build in copr ([1]), but libpsl-devel and qt-devel are still missing. Only install them optionally and allow failure for them not being present. [1] https://copr.fedorainfracloud.org/coprs/nmstate/nm-build-deps/repo/epel-8/nmstate-nm-build-deps-epel-8.repo
* contrib/rpm: log MD5/SHA sums of release tarball during build_clean.shThomas Haller2020-05-082-0/+10
| | | | | | When doing a release, we should care about the checksum of the tarball. Log all of them... also, because fedpkg uses sha512, ftpadmin@gnome uses sha256, etc.
* contrib/rpm: fix spec file using bare wordsThomas Haller2020-04-181-2/+2
| | | | | | error: bare words are no longer supported, please use "...": no != "yes" error: ^ error: /builds/NetworkManager/NetworkManager/contrib/fedora/rpm/NetworkManager.20200418-170120.dp5cp5/SPECS/NetworkManager.spec:596: bad %if condition: no != "yes"
* contrib/rpm: fix spec file using bare wordsThomas Haller2020-04-181-1/+1
| | | | | error: bare words are no longer supported, please use "...": no != yes error: /builds/NetworkManager/NetworkManager/contrib/fedora/rpm/NetworkManager.20200418-163008.VM582H/SPECS/NetworkManager.spec:596: bad %if condition: no != yes
* contrib/rpm: avoid bare words in spec fileThomas Haller2020-04-021-2/+2
| | | | | | | error: bare words are no longer supported, please use "...": "x" != x error: ^ error: /root/nm-build/NetworkManager/contrib/fedora/rpm/NetworkManager.20200402-030113.Hk7EGs/SPECS/NetworkManager.spec:32: bad %if condition: "x" != x ERROR: rpmbuild FAILED
* contrib/scripts: add "checkpatch-git-post-commit-hook" script to contrib/Thomas Haller2020-02-211-0/+23
| | | | This can be used as git post-commit hook.
* contrib/REQUIRED_PACKAGES: fix script to work without GNU `which` installedThomas Haller2020-02-101-1/+2
| | | | | `which` is convenient, but not installed in Fedora container images. Fix detection of whether to use `dnf` or `yum`.
* contrib/REQUIRED_PACKAGES: ignore for non-existing packages "dbus-python", ↵Thomas Haller2020-02-101-2/+2
| | | | | | | "pygobject3-base" on Fedora 32 These packages no longer exist on Fedora 32 and dnf fails due to that. Ignore such errors.
* clients: polkit-agent: implement polkit agent without using libpolkitAntonio Cardace2019-12-241-2/+0
|
* checkpatch: catch "gs_free GError *" declationsThomas Haller2019-12-161-0/+1
| | | | (cherry picked from commit ec0adbfaf0175fc7f54b3f4a6035240a837651e6)
* build/meson: allow configuring default for main.auth-polkit settingThomas Haller2019-12-111-0/+1
| | | | | | | | | | | | | | | We always build PolicyKit support, because it merely depends on some D-Bus calls. However, there are two things to configure: - the default value for main.auth-polkit in NetworkManager.conf. This is now called "-Dconfig_auth_polkit_default=$VAL". - whether to install the policy file. This is called "-Dpolkit=$VAL". These settings are mostly independent, so add "config_auth_polkit_default" to make the default explicitly configurable. (cherry picked from commit c21c6bc0be2a4467402bc2d8718859dedb10b676)
* cloud-setup: add comment that the tool is still experimentalThomas Haller2019-12-021-0/+1
| | | | (cherry picked from commit 16223cff9172e8b1ea7974af4d613406b0f56607)
* contrib/rpm: explicitly enable/disable bluetooth supportThomas Haller2019-12-021-0/+10
| | | | | | | | | | | The bluetooth plugin (with BlueZ5/NAP support) always gets build, but DUN support requires a library. When enabling build of the bluetooth subpackage, then always enable DUN support. And enable it explicitly, especially meson would not autodetect support and disable it by default. (cherry picked from commit 30f6a5dd21d4f12d72d85708406fe9a6c76ea4d4)
* cloud-setup: add tool for automatic IP configuration in cloudThomas Haller2019-11-282-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | This is a tool for automatically configuring networking in a cloud environment. Currently it only supports IPv4 on EC2, but it's intended for extending to other cloud providers (Azure). See [1] and [2] for how to configure secondary IP addresses on EC2. This is what the tool currently aims to do (but in the future it might do more). [1] https://aws.amazon.com/premiumsupport/knowledge-center/ec2-ubuntu-secondary-network-interface/ It is inspired by SuSE's cloud-netconfig ([1], [2]) and ec2-net-utils package on Amazon Linux ([3], [4]). [1] https://www.suse.com/c/multi-nic-cloud-netconfig-ec2-azure/ [2] https://github.com/SUSE-Enceladus/cloud-netconfig [3] https://github.com/aws/ec2-net-utils [4] https://github.com/lorengordon/ec2-net-utils.git It is also intended to work without configuration. The main point is that you boot an image with NetworkManager and nm-cloud-setup enabled, and it just works.
* contrib/rpm: fix comment in "NetworkManager.conf" about default [main].pluginsThomas Haller2019-11-281-1/+1
| | | | | | | | | The "ibft" plugin is no more. The default on RHEL/Fedora is now "ifcfg-rh[,keyfile]". Adjust the configuration, because a wrong comment is confusing here. Modifying configuration snippets is potentially annoying, because the user might have edited the file, so on upgrade a "NetworkManager.conf.rpmnew" file will be created. Still do it.
* contrib/rpm: avoid warning in specfile about tokens after %endifThomas Haller2019-11-231-2/+2
| | | | | warning: extra tokens at the end of %endif directive in line 717: %endif # end autotools warning: extra tokens at the end of %endif directive in line 775: %endif # end autotools
* contrib/rpm: use proper check for nmtui conditional buildThomas Haller2019-11-221-1/+11
|
* contrib: fix detection of whether being sourced in NM-log scriptThomas Haller2019-10-261-1/+1
|
* contrib: move scripts from test/ to scripts/Lubomir Rintel2019-10-092-0/+0
| | | | | | | There's no reason to have them separate. Also add the missing executable bit to btmodem.pl. https://github.com/NetworkManager/NetworkManager/pull/355
* checkpatch,gitlab-ci: let checkpatch script compare against latest upstream ↵Thomas Haller2019-10-021-0/+6
| | | | | | | | | | | | | | | master When opening a merge request from a fork of NetworkManager, then the pipeline runs with the a checkout of the fork. That means, checkpatch would compare the branch against "master" (or "nm-x-y" stable branches) of the fork, instead of upstream. That doesn't seem too useful. Instead, also add upstream NetworkManager as git remote, fetch the branches, and use the branches from there as base for checkpatch. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/255
* all: unify format of our Copyright source code commentsThomas Haller2019-10-026-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ```bash readarray -d '' FILES < <( git ls-files -z \ ':(exclude)po' \ ':(exclude)shared/c-rbtree' \ ':(exclude)shared/c-list' \ ':(exclude)shared/c-siphash' \ ':(exclude)shared/c-stdaux' \ ':(exclude)shared/n-acd' \ ':(exclude)shared/n-dhcp4' \ ':(exclude)src/systemd/src' \ ':(exclude)shared/systemd/src' \ ':(exclude)m4' \ ':(exclude)COPYING*' ) sed \ -e 's/^\(--\|#\| \*\) *\(([cC]) *\)\?Copyright \+\(\(([cC])\) \+\)\?\(\(20\|19\)[0-9][0-9]\) *[-–] *\(\(20\|19\)[0-9][0-9]\) \+\([^ ].*\)$/\1 C1pyright#\5 - \7#\9/' \ -e 's/^\(--\|#\| \*\) *\(([cC]) *\)\?Copyright \+\(\(([cC])\) \+\)\?\(\(20\|19\)[0-9][0-9]\) *[,] *\(\(20\|19\)[0-9][0-9]\) \+\([^ ].*\)$/\1 C2pyright#\5, \7#\9/' \ -e 's/^\(--\|#\| \*\) *\(([cC]) *\)\?Copyright \+\(\(([cC])\) \+\)\?\(\(20\|19\)[0-9][0-9]\) \+\([^ ].*\)$/\1 C3pyright#\5#\7/' \ -e 's/^Copyright \(\(20\|19\)[0-9][0-9]\) \+\([^ ].*\)$/C4pyright#\1#\3/' \ -i \ "${FILES[@]}" echo ">>> untouched Copyright lines" git grep Copyright "${FILES[@]}" echo ">>> Copyright lines with unusual extra" git grep '\<C[0-9]pyright#' "${FILES[@]}" | grep -i reserved sed \ -e 's/\<C[0-9]pyright#\([^#]*\)#\(.*\)$/Copyright (C) \1 \2/' \ -i \ "${FILES[@]}" ``` https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/298
* contrib: add a Bluetooth DUN modem emulatorLubomir Rintel2019-10-021-0/+291
| | | | | | | Useful for quickly testing Bluetooth DUN support. Duplicates some modemu.pl logic, but hey... https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/297
* all: manually drop code comments with file descriptionThomas Haller2019-10-015-8/+8
|
* artwork: introduce NetworkManager stickersFrancesco Giudici2019-09-303-0/+540
|
* artwork: fix the reversed NetworkManager logoFrancesco Giudici2019-09-302-53/+73
| | | | Slightly changed the size to have a perfect square.
* artwork: introduce the new NetworkManager logo and logotypefg/nm_logoFrancesco Giudici2019-09-276-0/+666
| | | | | | | | | | | | The preferred logo and logotype are the ones in the main "logo" folder. There are also few variants available in the "alternate" folder that are allowed. Main color for the logo is blue #32557dff. The alternatei logo red is #cc0000ff. The font is Montserrat. Thanks to Máirín Duffy for all the help and support!
* contrib/rpm: drop BuildRequires to deprecated "wireless-tools-devel"Thomas Haller2019-09-252-6/+0
| | | | | | | "wireless-tools-devel" is long depreacted and not used by NetworkManager, not even for WEXT. Drop it from the build dependencies.
* tests: don't install bzip2 as REQUIRED_PACKAGES on Fedora/RHELThomas Haller2019-09-251-1/+0
|