Commit graph

114 commits

Author SHA1 Message Date
Thomas Haller
a77550a6c7 contrib/makerepo: add parent commit for NetworkManager-openvpn source package 2015-05-28 11:09:59 +02:00
Thomas Haller
597d2a35fa contrib/makerepo: add parent commit for nm-applet source package 2015-05-21 16:37:03 +02:00
Thomas Haller
311a146daf contrib/makerepo: limit number of patches to revert
On rhel-6 branch, an old patch breaks the script.
Just limit the number of undos to exclude that script.
2015-05-18 18:37:45 +02:00
Thomas Haller
cbeee992e8 contrib/makerepo: use git remote rm instead of "remove"
Older git versions only know the latter.
2015-05-18 18:27:15 +02:00
Thomas Haller
7fce03c35f contrib/makerepo: avoid script error for NetworkManager, rhel-6 2015-03-11 11:58:33 +01:00
Thomas Haller
3c7de1d646 contrib/makerepo: support libibverbs package in makerepo.sh 2015-01-15 16:40:04 +01:00
Thomas Haller
503ebbe9b0 contrib/makerepo: add git tags to created repository
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-09 09:57:41 +02:00
Thomas Haller
afc82337a7 contrib/makerepo: support libqmi package in makerepo.sh
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:58:39 +02:00
Thomas Haller
e49bd006d9 contrib/makerepo: parse the patch -p option from the spec file
This adds support for different -p options the -p1.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
1e4c4d2f11 contrib/makerepo: detect upstream base commit for libnl-3.2.21
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
615543107a contrib/makerepo: support initscripts repository
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
2a3a5a873d contrib/makerepo: add network-manager-applet and NetworkManager-vpnc
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
cd9c7d268b contrib/makerepo: cleanup detection of repository type
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
9ce0f03d99 contrib/makerepo: interpret NO_REMOTE variable to disable fetching from remote
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
6c4b266d0d contrib/makerepo: support mipv6-daemon repository
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
9b34f04e67 contrib/makerepo: update detection of base commit for libnl3
libnl3 now contains the git commit id in ./configure as
LIBNL_GIT_SHA.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
682f26fd2d contrib/makerepo: support wireless-tools repository 2014-10-03 10:40:22 +02:00
Thomas Haller
3db87fee7c contrib/makerepo: add base-commit for libnl3 source
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
dd498c59b7 contrib/makerepo: add --dist argument to set the distribution
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
9e224cf37d contrib/makerepo: fix error parsing command line arguments
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
ed9b758726 contrib/makerepo: create a local mirror of the upstream repository to speedup fetching
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
7e7ed5f015 contrib/makerepo: don't write default pattern to makerepo.gitignore file
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
0f75272136 contrib/makerepo: use the patch backup extentions from specfile for gitignore
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
fa980d800b contrib/makerepo: support branch specific makerepo.gitignore file
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
25baa94b3b contrib/makerepo: improve script to include last commit that modified a patch in created history
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
d18a4ec128 contrib/makerepo: fix error writing makerepo.gitignore
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
4fcc8c8d24 contrib/makerepo: now works with NetworkManager-openswan and libreswan package
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
eadbe0af37 contrib/makerepo: encode the base commits for certain known packages
Makerepo tries to detect the upstream base commit, in order to base
the history on the upstream commit. Hardcode a list of known base commits
and match them depending on the content of the sources file.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
2358aeacb0 contrib/makerepo: add default gitignore pattern to makerepo.gitignore
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
3c7675af14 contrib/makerepo: detects RELEASE_BASE_COMMIT or NetworkManager-openvpn
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
fd5365c4a9 contrib/makerepo: accepts the RELEASE_BASE_COMMIT as environment variable (only detect as fallback)
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
2fbca34dbf contrib/makerepo: now works with NetworkManager-openvpn package
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
2ce4c32195 contrib/makerepo: bases branch on top of commit which created the source tarball
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
cae868f689 contrib/makerepo: check that reapplying patch succeeded in makerepo.sh
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
0cadf0ad44 contrib/makerepo: fix portability issues of makerepo.sh
makerepo.sh failed on RHEL6, because
- realpath was not available
- git-config did not understand the --local option

Fix these issues.

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
665a539f72 contrib/makerepo: fix git-add command invocation in makerepo.sh
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
879810f9d3 contrib/makerepo: takes makerepo.gitignore from .git/
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
1bb8cc8d05 contrib/makerepo: extend makerepo.sh to support libnl3 package
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
7a9a9d84c5 contrib/makerepo: configure git-notes in makerepo.sh and fetch from origin
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
2119432cdd contrib/makerepo: update makerepo.sh to better detect rhpkg/fedpkg
Also, allow makerepo.sh not to be in the root directory of the
dist-git checkout. Instead, your current working directory
must now be inside the git working copy

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
ad848122cf contrib/makerepo: update makerepo.sh to detect NetworkManager source directory
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Thomas Haller
d060be7f07 contrib/makerepo: add makerepo.sh script
This script can be used when backporting patches in dist-git for
Fedora and RHEL. Try `./makerepo.sh -h`

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:19 +02:00
Lubomir Rintel
53b9504544 contrib/rpm: don't hardwire a single ppp version
Build against whatever is actually present.

https://bugzilla.gnome.org/show_bug.cgi?id=736954

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-02 16:31:05 +02:00
Thomas Haller
eabe7d856c auth: rework polkit autorization to use DBUS interface directly
This makes NetworkManager independent of <polkit/polkit.h>
development headers and libpolkit-gobject-1.so library.
Instead communicate directly with polkit using its DBUS
interface.

PolicyKit support is now always compiled in. You can control
polkit authorization with the configuration option
  [main]
  auth-polkit=yes|no

If the configure option is omitted, a build time default
value is used. This default value can be set with the
configure option --enable-polkit.

This commit adds a new class NMAuthManager that reimplements the
relevant DBUS client parts. It takes source code from the polkit
library.

https://bugzilla.gnome.org/show_bug.cgi?id=734146

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-09-29 13:51:11 +02:00
Lubomir Rintel
b769c059f3 contrib/rpm: libnm-vpn is no more
Removed in: [280b1e506] libnm: merge libnm-vpn into libnm

https://bugzilla.gnome.org/show_bug.cgi?id=736954
2014-09-19 08:35:21 -04:00
Jiří Klimeš
aee8eb837b contrib/rpm: use HTTPS for connectivity check URL (rh #1135777)
https://bugzilla.redhat.com/show_bug.cgi?id=1135777
2014-09-05 23:24:08 +02:00
Jiří Klimeš
bc18992dd8 contrib/rpm: add BuildRequires for perl YAML module in spec
The module is used for building man pages by generate-plugin-docs.pl script.
1c2174a libnm-util: generate-plugin-docs.pl script for extracting plugin docs
2014-08-29 14:38:12 +02:00
Thomas Haller
68653de291 contrib/rpm: fix --quick option of build_clean.sh
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-08-14 00:17:07 +02:00
Dan Winship
058915a9ae contrib: update NetworkManager.spec for libnm
Add libnm to NetworkManager.spec, and try to update the descriptions
of NetworkManager-devel, NetworkManager-glib, and
NetworkManager-glib-devel to make sense in the libnm world...
2014-08-01 14:34:05 -04:00
Dan Winship
3d25d70461 clients: reorganize source tree, put all the installed clients together
Create a new clients/ subdirectory at the top level, and move cli/ and
tui/ into it, as well as nm-online.c (which was previously in test/,
which made no sense).

cli/ was split into two subdirectories, src/ and completion/. While
this does simplify things (given that the completion file and the
binary both need to be named "nmcli"), it bloats the source tree, and
we can work around it by just renaming the completion file at install
time. Then we can combine the two directories into one and just have
it all under clients/cli/.
2014-07-30 15:56:19 -04:00