Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
package-helpers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dennis Braun
package-helpers
Commits
db07bb1f
Commit
db07bb1f
authored
5 years ago
by
Ruben Rodriguez
Browse files
Options
Downloads
Patches
Plain Diff
Removed make-network-manager
parent
d4a36d8e
Branches
nabia
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
helpers/make-network-manager
+0
-61
0 additions, 61 deletions
helpers/make-network-manager
with
0 additions
and
61 deletions
helpers/make-network-manager
deleted
100644 → 0
+
0
−
61
View file @
d4a36d8e
#!/bin/sh
#
# Copyright (C) 2019 Ruben Rodriguez <ruben@trisquel.info>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION
=
2
EXTERNAL
=
'deb-src http://archive.ubuntu.com/ubuntu bionic main'
REPOKEY
=
7638D0442B90D010
BACKPORTS
=
true
.
./config
# Build issues
sed
'/debhelper/s/10.3/10.2/'
-i
debian/control
sed
'/server.conf/d'
-i
debian/rules
# Disable sending hostname on DHCP requests
sed
'/DHCP_SEND_HOSTNAME/,+1 s/yes/no/'
-i
libnm-core/nm-setting-ip4-config.c
sed
'/NM_SETTING_IP_CONFIG_DHCP_SEND_HOSTNAME/,+1 s/TRUE/FALSE/'
-i
libnm-core/nm-setting-ip-config.c
sed
'/nm_setting_ip_config_get_dhcp_send_hostname/s/NULL/"yes"/'
-i
src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-writer.c
# Randomize mac addresses
cat
<<
EOF
> debian/NetworkManager.conf
# Note: to enable sending the hostname on DHCP requests, see /etc/dhcp/dhclient.conf
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq
# Use 'dns=none' to disable automated management of /etc/resolv.conf
[ifupdown]
managed=false
[device]
# Enable this feature if your hardware supports it
wifi.scan-rand-mac-address=no
# Uncomment the next 4 lines to enable random mac addresses
#[connection]
#wifi.cloned-mac-address=stable
#ethernet.cloned-mac-address=stable
#connection.stable-id=
\$
{CONNECTION}/
\$
(BOOT)
EOF
changelog
"Backported from bionic, added privacy features"
compile
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment