[client]
# The URL of the server to connect to.
-# server = https://pakfire.ipfire.org/
+# server = https://pakfirehub.ipfire.org/
# Your credentials to log in on the hub.
# username = ipfire
[daemon]
# The URL of the server to connect to.
-# server = https://pakfire.ipfire.org/
+# server = https://pakfirehub.ipfire.org/
# The hostname of this machine.
# hostname = <automatically detected>
ret += "%s:%s@" % (username, password)
# Add host and path components.
- ret += "%s/pakfirehub/%s" % (url.netloc, self.type)
+ ret += "/".join((url.netloc, self.type))
return ret
"client" : {
# The default server is the official Pakfire
# server.
- "server" : "https://pakfire.ipfire.org",
+ "server" : PAKFIRE_HUB,
},
}
"daemon" : {
# The default server is the official Pakfire
# server.
- "server" : "https://pakfire.ipfire.org",
+ "server" : PAKFIRE_HUB,
# The default hostname is the host name of this
# machine.
PAKFIRE_LEAST_COMPATIBLE_VERSION = PAKFIRE_VERSION
+# The default hub to connect to.
+PAKFIRE_HUB = "https://pakfirehub.ipfire.org/"
+
SYSCONFDIR = "/etc"
SCRIPT_DIR = "/usr/lib/pakfire"