]> git.ipfire.org Git - pakfire.git/log
pakfire.git
8 years agoui: Format bytes with proper whitespace and decimal points
Michael Tremer [Wed, 7 Dec 2016 21:11:16 +0000 (22:11 +0100)] 
ui: Format bytes with proper whitespace and decimal points

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agohttp: Reset only when necessary
Michael Tremer [Wed, 7 Dec 2016 20:58:43 +0000 (21:58 +0100)] 
http: Reset only when necessary

This is when an error occoured and it will also
remove any partially downloaded content.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agocli: Fix dist command
Michael Tremer [Wed, 7 Dec 2016 20:48:21 +0000 (21:48 +0100)] 
cli: Fix dist command

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agopackages: Replace old downloader code with new one
Michael Tremer [Wed, 7 Dec 2016 20:42:25 +0000 (21:42 +0100)] 
packages: Replace old downloader code with new one

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agohttp: Truncate the downloaded file instead re-opening it
Michael Tremer [Wed, 7 Dec 2016 20:27:37 +0000 (21:27 +0100)] 
http: Truncate the downloaded file instead re-opening it

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoprogressbar: Only reset when progress is larger than zero
Michael Tremer [Wed, 7 Dec 2016 20:23:14 +0000 (21:23 +0100)] 
progressbar: Only reset when progress is larger than zero

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agohttp: Reset the progressbar when download restarts
Michael Tremer [Wed, 7 Dec 2016 20:21:44 +0000 (21:21 +0100)] 
http: Reset the progressbar when download restarts

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agohttp: Only initialize the progress bar once
Michael Tremer [Wed, 7 Dec 2016 20:11:34 +0000 (21:11 +0100)] 
http: Only initialize the progress bar once

When a request fails and we move to the next mirror
we do not want to show an other progressbar.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agohttp: Catch all download errors and move on to the next mirror
Michael Tremer [Wed, 7 Dec 2016 20:10:44 +0000 (21:10 +0100)] 
http: Catch all download errors and move on to the next mirror

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agohttp: Use error widget to show any download errors
Michael Tremer [Wed, 7 Dec 2016 20:08:28 +0000 (21:08 +0100)] 
http: Use error widget to show any download errors

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoprogressbar: Add widget to show any errors
Michael Tremer [Wed, 7 Dec 2016 20:07:46 +0000 (21:07 +0100)] 
progressbar: Add widget to show any errors

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agohttp: Make filename argument optional
Michael Tremer [Wed, 7 Dec 2016 00:19:51 +0000 (01:19 +0100)] 
http: Make filename argument optional

Use the basename of the URL if omitted

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agohttp: Pick mirror when downloading
Michael Tremer [Wed, 7 Dec 2016 00:14:54 +0000 (01:14 +0100)] 
http: Pick mirror when downloading

This avoids some unnecessary work when mirrors are added
(because mirror lists can be large) and unnecessary log
messages.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agohttp: Exclusively lock download files
Michael Tremer [Tue, 6 Dec 2016 23:57:29 +0000 (00:57 +0100)] 
http: Exclusively lock download files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agohttp: Use buffer size value from constants
Michael Tremer [Tue, 6 Dec 2016 23:51:09 +0000 (00:51 +0100)] 
http: Use buffer size value from constants

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoconstants: Remove unused setting
Michael Tremer [Tue, 6 Dec 2016 23:41:53 +0000 (00:41 +0100)] 
constants: Remove unused setting

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoUse new HTTP client to make source packages
Michael Tremer [Tue, 6 Dec 2016 23:41:16 +0000 (00:41 +0100)] 
Use new HTTP client to make source packages

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agohttp: Add support for mirrors
Michael Tremer [Tue, 6 Dec 2016 23:38:55 +0000 (00:38 +0100)] 
http: Add support for mirrors

This patch add support for mirrors to the downloader. If a list
of mirrors is given, it will try to retrieve files from a mirror
and fall back to the next one on the list in case the request
was not successful.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agohttp: Actually write downloaded files to the filesystem
Michael Tremer [Sun, 4 Dec 2016 22:56:51 +0000 (23:56 +0100)] 
http: Actually write downloaded files to the filesystem

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agosystem: Add host distro
Michael Tremer [Sat, 3 Dec 2016 19:16:17 +0000 (20:16 +0100)] 
system: Add host distro

The system module loads details about the host's distribution
which will be used by Pakfire if nothing else is configured.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agobase: Move architecture to Pakfire class
Michael Tremer [Sat, 3 Dec 2016 18:10:14 +0000 (19:10 +0100)] 
base: Move architecture to Pakfire class

This used to be located in Distribution but is actually
not that closely tied with that.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoarch: Rename arch variable to name
Michael Tremer [Sat, 3 Dec 2016 18:00:49 +0000 (19:00 +0100)] 
arch: Rename arch variable to name

Both don't sound right, but it makes more sense to use
arch.name than arch.arch.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agosystem: Move architecture-dependent things into an own module
Michael Tremer [Sat, 3 Dec 2016 17:36:44 +0000 (18:36 +0100)] 
system: Move architecture-dependent things into an own module

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoconfig: Remove unnecessary import of system module
Michael Tremer [Sat, 3 Dec 2016 17:33:13 +0000 (18:33 +0100)] 
config: Remove unnecessary import of system module

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agobase: Drop unused function check_host_arch()
Michael Tremer [Sat, 3 Dec 2016 17:22:41 +0000 (18:22 +0100)] 
base: Drop unused function check_host_arch()

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years ago.gitignore: Also ignore vim read-only swap files
Michael Tremer [Sat, 3 Dec 2016 16:45:47 +0000 (17:45 +0100)] 
.gitignore: Also ignore vim read-only swap files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoRename "clean all" to clean
Michael Tremer [Sat, 3 Dec 2016 16:23:14 +0000 (17:23 +0100)] 
Rename "clean all" to clean

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agocli: Rename distro-sync to sync
Michael Tremer [Sat, 3 Dec 2016 16:16:22 +0000 (17:16 +0100)] 
cli: Rename distro-sync to sync

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agocli: Use new Pakfire context mechanism
Michael Tremer [Sat, 3 Dec 2016 16:14:34 +0000 (17:14 +0100)] 
cli: Use new Pakfire context mechanism

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agobase: Turn Pakfire initialization into a context
Michael Tremer [Sat, 3 Dec 2016 16:13:25 +0000 (17:13 +0100)] 
base: Turn Pakfire initialization into a context

This makes code smaller and easier to read and users
of the Pakfire class do not have to take care of any
initialization and cleanup.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agocli: Convert pakfire to new format
Michael Tremer [Sat, 3 Dec 2016 16:12:07 +0000 (17:12 +0100)] 
cli: Convert pakfire to new format

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agobase: Remove unused PakfireClient class
Michael Tremer [Sat, 3 Dec 2016 14:16:19 +0000 (15:16 +0100)] 
base: Remove unused PakfireClient class

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agobuilder: Remove unused kernel_version
Michael Tremer [Sat, 3 Dec 2016 14:15:15 +0000 (15:15 +0100)] 
builder: Remove unused kernel_version

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agobase: No need to reset the logger after Pakfire is deleted
Michael Tremer [Sat, 3 Dec 2016 14:13:04 +0000 (15:13 +0100)] 
base: No need to reset the logger after Pakfire is deleted

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agocli: Convert pakfire-builder to new format
Michael Tremer [Sat, 3 Dec 2016 14:10:46 +0000 (15:10 +0100)] 
cli: Convert pakfire-builder to new format

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoconfig: Drop old Config class with was replaced
Michael Tremer [Sat, 3 Dec 2016 14:03:36 +0000 (15:03 +0100)] 
config: Drop old Config class with was replaced

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoconfig: Add get_repos() to get all repository definitions
Michael Tremer [Sat, 3 Dec 2016 14:01:59 +0000 (15:01 +0100)] 
config: Add get_repos() to get all repository definitions

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoconfig: Allow fetching an entire section with get()
Michael Tremer [Sat, 3 Dec 2016 14:01:27 +0000 (15:01 +0100)] 
config: Allow fetching an entire section with get()

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoconfig: Drop unused ConfigDaemon class
Michael Tremer [Sat, 3 Dec 2016 13:44:13 +0000 (14:44 +0100)] 
config: Drop unused ConfigDaemon class

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoconfig: Use correct function to read from file
Michael Tremer [Sat, 3 Dec 2016 10:48:33 +0000 (11:48 +0100)] 
config: Use correct function to read from file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoconfig: Add function to read configuration from string
Michael Tremer [Sat, 3 Dec 2016 10:45:27 +0000 (11:45 +0100)] 
config: Add function to read configuration from string

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoDrop unused ConfigClient class
Michael Tremer [Sat, 3 Dec 2016 10:42:08 +0000 (11:42 +0100)] 
Drop unused ConfigClient class

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agohttp: Move support for decoding strings into HTTP client
Michael Tremer [Fri, 2 Dec 2016 13:06:15 +0000 (14:06 +0100)] 
http: Move support for decoding strings into HTTP client

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoDrop old transport module which is replaced by the hub module
Michael Tremer [Fri, 2 Dec 2016 12:55:43 +0000 (13:55 +0100)] 
Drop old transport module which is replaced by the hub module

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agodaemon: Adopt new internal modules to implement the daemon
Michael Tremer [Fri, 2 Dec 2016 12:54:42 +0000 (13:54 +0100)] 
daemon: Adopt new internal modules to implement the daemon

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agohttp: Allow setting a timeout for a request
Michael Tremer [Fri, 2 Dec 2016 12:54:16 +0000 (13:54 +0100)] 
http: Allow setting a timeout for a request

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoclient: Actually refresh data when watching builds/jobs
Michael Tremer [Fri, 2 Dec 2016 10:45:14 +0000 (11:45 +0100)] 
client: Actually refresh data when watching builds/jobs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoclient: Allow watching jobs
Michael Tremer [Fri, 2 Dec 2016 10:38:11 +0000 (11:38 +0100)] 
client: Allow watching jobs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoclient: Add CLI to watch a build
Michael Tremer [Fri, 2 Dec 2016 00:37:48 +0000 (01:37 +0100)] 
client: Add CLI to watch a build

This will follow a build and print live status on the console

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agocli: Cleanup function hell for creating the parser
Michael Tremer [Fri, 2 Dec 2016 00:22:36 +0000 (01:22 +0100)] 
cli: Cleanup function hell for creating the parser

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoclient: Remove any commands that don't work any more
Michael Tremer [Fri, 2 Dec 2016 00:04:44 +0000 (01:04 +0100)] 
client: Remove any commands that don't work any more

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoclient: Rewrite connection check
Michael Tremer [Thu, 1 Dec 2016 23:59:36 +0000 (00:59 +0100)] 
client: Rewrite connection check

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoclient: Use new client in CLI
Michael Tremer [Thu, 1 Dec 2016 23:49:30 +0000 (00:49 +0100)] 
client: Use new client in CLI

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agocli: Rewrite function handling of handlers
Michael Tremer [Thu, 1 Dec 2016 23:48:16 +0000 (00:48 +0100)] 
cli: Rewrite function handling of handlers

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoclient: Rewrite of the client that interacts with the hub
Michael Tremer [Thu, 1 Dec 2016 23:46:38 +0000 (00:46 +0100)] 
client: Rewrite of the client that interacts with the hub

This is a rewrite of the client that interacts with the Pakfire Hub
to upload scratch builds and retrieve the status of builds and jobs.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agohttp: Automatically configure client
Michael Tremer [Thu, 1 Dec 2016 18:52:37 +0000 (19:52 +0100)] 
http: Automatically configure client

This patch makes the HTTP client read some basic
settings from the configuration file.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agohub: Decode returned build IDs to string
Michael Tremer [Thu, 1 Dec 2016 18:51:35 +0000 (19:51 +0100)] 
hub: Decode returned build IDs to string

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years ago.gitignore: Ignore VIM swap files
Michael Tremer [Thu, 1 Dec 2016 17:49:18 +0000 (18:49 +0100)] 
.gitignore: Ignore VIM swap files

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agodaemon: Use the new HTTP client to download source packages
Michael Tremer [Thu, 1 Dec 2016 17:48:38 +0000 (18:48 +0100)] 
daemon: Use the new HTTP client to download source packages

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoLogging is now initialised on a module level
Michael Tremer [Thu, 1 Dec 2016 16:26:57 +0000 (17:26 +0100)] 
Logging is now initialised on a module level

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agohub: Remove debugging line
Michael Tremer [Thu, 1 Dec 2016 15:51:22 +0000 (16:51 +0100)] 
hub: Remove debugging line

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agocli: Fix Python 3 syntax
Michael Tremer [Thu, 1 Dec 2016 15:50:53 +0000 (16:50 +0100)] 
cli: Fix Python 3 syntax

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoconfig: Remove old logging options and add a new debugging option
Michael Tremer [Thu, 1 Dec 2016 15:46:38 +0000 (16:46 +0100)] 
config: Remove old logging options and add a new debugging option

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoconfig: Write a new configuration parser
Michael Tremer [Thu, 1 Dec 2016 15:45:28 +0000 (16:45 +0100)] 
config: Write a new configuration parser

This is always initialised when the new module is loaded
and things like logging use it to set themselves up.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoClean up import of version number of the module
Michael Tremer [Thu, 1 Dec 2016 13:55:26 +0000 (14:55 +0100)] 
Clean up import of version number of the module

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoRewrite module logging
Michael Tremer [Thu, 1 Dec 2016 13:51:56 +0000 (14:51 +0100)] 
Rewrite module logging

The module now starts logging as soon as it is initialized
which makes the base classes slinker.

Logging is also only supported to syslog and not to a file
any more.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoui: Import CLI abstraction
Michael Tremer [Wed, 30 Nov 2016 18:48:46 +0000 (19:48 +0100)] 
ui: Import CLI abstraction

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoui.progressbar: Rename update_increment method to increment
Michael Tremer [Wed, 30 Nov 2016 17:38:54 +0000 (18:38 +0100)] 
ui.progressbar: Rename update_increment method to increment

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agohttp: Don't retry on Internet Server Error
Michael Tremer [Wed, 30 Nov 2016 17:37:53 +0000 (18:37 +0100)] 
http: Don't retry on Internet Server Error

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agohub: Import a new Pakfire Hub client implementation
Michael Tremer [Wed, 30 Nov 2016 17:36:24 +0000 (18:36 +0100)] 
hub: Import a new Pakfire Hub client implementation

This is a refactored implementation of the hub client. It
is based on the new HTTP client.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agohttp: Convert data argument according to method
Michael Tremer [Wed, 30 Nov 2016 17:09:48 +0000 (18:09 +0100)] 
http: Convert data argument according to method

data is a dict() with various arguments that are either
posted in the body of the request (POST) or added to the
URL (GET).

For a simple way to send requests, the HTTP client takes
care of building a correct request.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agohttp: Add missing import of time module
Michael Tremer [Wed, 30 Nov 2016 16:50:24 +0000 (17:50 +0100)] 
http: Add missing import of time module

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoui.progressbar: Support python context
Michael Tremer [Wed, 30 Nov 2016 16:38:52 +0000 (17:38 +0100)] 
ui.progressbar: Support python context

This patch allows us to use the progressbar inside a with
statement which makes code shorter and sweeter and we need
to take care less about the progressbar implementation where
ever we are using it.

e.g.:
p = ProgressBar()
...

with p:
do something
p.update(i)

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agohttp: Allow decoding of received content
Michael Tremer [Wed, 30 Nov 2016 10:43:23 +0000 (11:43 +0100)] 
http: Allow decoding of received content

This allows to let the module decode JSON content right
away so that this doesn't have to be handled in the module
that is using the HTTP client.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agohttp: Support HTTP Basic authentication
Michael Tremer [Wed, 30 Nov 2016 10:17:04 +0000 (11:17 +0100)] 
http: Support HTTP Basic authentication

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agohttp: Fix wrong baseurl variable assignment
Michael Tremer [Wed, 30 Nov 2016 10:16:35 +0000 (11:16 +0100)] 
http: Fix wrong baseurl variable assignment

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoRemove some lines of dead code
Michael Tremer [Tue, 29 Nov 2016 16:20:17 +0000 (17:20 +0100)] 
Remove some lines of dead code

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoAdd a basic HTTP client
Michael Tremer [Tue, 29 Nov 2016 16:17:37 +0000 (17:17 +0100)] 
Add a basic HTTP client

In Python3, urlgrabber is no longer available.

This patch adds a component which will replace urlgrabber
by an own custom implementation that only relies on
Python3-internal modules (i.e. urllib).

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoCreate UI submodule
Michael Tremer [Tue, 29 Nov 2016 16:13:53 +0000 (17:13 +0100)] 
Create UI submodule

This patch moves things like the progressbar module
and functions that format bytes into a human-readable format
into a seperate ui module.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoMigrate to Python 3
Michael Tremer [Sat, 26 Nov 2016 21:38:30 +0000 (22:38 +0100)] 
Migrate to Python 3

This will totally not run since some dependencies are missing
(e.g. urlgrabber, gpgme).

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoPerformance check: Count iterations as unsigned long
Arne Fitzenreiter [Thu, 24 Nov 2016 20:41:23 +0000 (21:41 +0100)] 
Performance check: Count iterations as unsigned long

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
8 years agoReplace bogomips by fibonnacci benchmark
Michael Tremer [Wed, 23 Nov 2016 22:36:52 +0000 (23:36 +0100)] 
Replace bogomips by fibonnacci benchmark

BogoMIPS cannot be used as an easy way to determine how fast
a system is any more since there is only dummy values available
in newer kernels.

We use a simple fibonnacci function now which is executed for
a set amount of time (defaults to one second) and count the
number of iterations performed. This is then multiplied by the
number of CPU cores.

Fibonnacci is a very simple test that relies on the integer
unit (no FPU involved) and is not depending on anything else.

This will also allow us to quantitatively determine the
difference in speed between processors.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoRevert "Enable aarch64 systems to build armv7hl and armv5tel as well"
Michael Tremer [Tue, 22 Nov 2016 00:13:40 +0000 (01:13 +0100)] 
Revert "Enable aarch64 systems to build armv7hl and armv5tel as well"

This reverts commit 3a38a9f6db09b7b54b4f3a7dad2187b7981dcb66.

Not all kernels support executing this, even if the hardware supports
it. We will need to come up with a way how to determine this at runtime.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoEnable aarch64 systems to build armv7hl and armv5tel as well
Arne Fitzenreiter [Mon, 21 Nov 2016 19:50:05 +0000 (20:50 +0100)] 
Enable aarch64 systems to build armv7hl and armv5tel as well

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
8 years agoExplicetly set libsolv disttype
Arne Fitzenreiter [Mon, 21 Nov 2016 19:28:03 +0000 (20:28 +0100)] 
Explicetly set libsolv disttype

This will define what is assumed to be "noarch"
and on Debian/Ubuntu-based systems this will default
to something else.

If MULTI_SEMANTICS is enabled in libsolv, this will
allow us to use "noarch" as independent architecture.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
8 years agoRemove shipped version of debugedit
Michael Tremer [Wed, 26 Oct 2016 22:42:57 +0000 (23:42 +0100)] 
Remove shipped version of debugedit

We are now shipping this as a seperate package so that
we can update it easier.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoBump version to 0.9.27 0.9.27
Michael Tremer [Sun, 16 Oct 2016 19:52:38 +0000 (15:52 -0400)] 
Bump version to 0.9.27

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoperl.macro: Add "perl_version"
Stefan Schantl [Sun, 16 Oct 2016 19:58:11 +0000 (15:58 -0400)] 
perl.macro: Add "perl_version"

This variable is used to store the current used perl version, which
will be used in various external perl modules to track API dependencies.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoExplicitely add hardening to the LDFLAGS
Michael Tremer [Sun, 3 May 2015 15:29:54 +0000 (11:29 -0400)] 
Explicitely add hardening to the LDFLAGS

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoAutomatically update autotools for aarch64 compatibility
Michael Tremer [Sun, 16 Oct 2016 18:21:20 +0000 (14:21 -0400)] 
Automatically update autotools for aarch64 compatibility

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoquality-agent: Remove any absolute path arguments from env interpreter
Michael Tremer [Sun, 16 Oct 2016 18:20:24 +0000 (14:20 -0400)] 
quality-agent: Remove any absolute path arguments from env interpreter

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoINSTALL: Update build instructions
Michael Tremer [Fri, 29 Apr 2016 12:54:21 +0000 (08:54 -0400)] 
INSTALL: Update build instructions

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoINSTALL: The OBS service is not maintained any more
Michael Tremer [Fri, 29 Apr 2016 12:53:25 +0000 (08:53 -0400)] 
INSTALL: The OBS service is not maintained any more

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoCFLAGS: Explicitely add RELRO and BIND_NOW options
Michael Tremer [Fri, 29 Apr 2016 12:31:00 +0000 (08:31 -0400)] 
CFLAGS: Explicitely add RELRO and BIND_NOW options

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoUpdate translations
Michael Tremer [Wed, 18 Nov 2015 11:11:23 +0000 (11:11 +0000)] 
Update translations

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
9 years agoFix execution of scriptlets in a dirty environment
Michael Tremer [Thu, 10 Sep 2015 17:00:09 +0000 (18:00 +0100)] 
Fix execution of scriptlets in a dirty environment

The environment will be populated with a basic set of
variables and cleared from the rest.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
10 years agoMerge branch 'master' of git://git.ipfire.org/pakfire
Michael Tremer [Sun, 3 May 2015 15:32:17 +0000 (11:32 -0400)] 
Merge branch 'master' of git://git.ipfire.org/pakfire

10 years agoExplicitely add hardening flags
Michael Tremer [Sun, 3 May 2015 15:29:54 +0000 (11:29 -0400)] 
Explicitely add hardening flags

Add -z relro to the linker command line and -D_FORTIFY_SOURCE=2
for the preprocessor.

10 years agoAlways set the 64-bit mark as it is only applied when needed
Michael Tremer [Sun, 3 May 2015 15:27:26 +0000 (11:27 -0400)] 
Always set the 64-bit mark as it is only applied when needed

10 years agoPerform less parallelism
Michael Tremer [Mon, 20 Apr 2015 21:37:58 +0000 (23:37 +0200)] 
Perform less parallelism

Sometimes we have trouble with latest versions of g++
that requires too much RAM so that the OOM killer kills
all the compiler processes. Hence we will start less processes
at once for now.

This may to be increased even more in the future as it
seems that g++ requires much more memory with every release.