Browse Source

try to disable dbus-specific linux part

master
parent
commit
4e109222e8
  1. 29
      acmetool/acmetool.patch
  2. 2
      acmetool/acmetool.spec

29
acmetool/acmetool.patch

@ -1,6 +1,6 @@
Index: src/github.com/hlandau/acmetool/cli/main.go
--- src/github.com/hlandau/acmetool/cli/main.go.orig 2019-10-18 16:36:54.000000000 +0200
+++ src/github.com/hlandau/acmetool/cli/main.go 2019-10-18 16:40:19.486354000 +0200
--- src/github.com/hlandau/acmetool/cli/main.go.orig 2019-12-20 22:11:58.000000000 +0100
+++ src/github.com/hlandau/acmetool/cli/main.go 2019-12-28 12:38:49.218391000 +0100
@@ -47,7 +47,7 @@
stdioFlag = kingpin.Flag("stdio", "Don't attempt to use console dialogs; fall back to stdio prompts").Bool()
@ -24,9 +24,18 @@ Index: src/github.com/hlandau/acmetool/cli/main.go
if *responseFileFlag != "" {
err := loadResponseFile(*responseFileFlag)
log.Errore(err, "cannot load response file, continuing anyway")
Index: src/github.com/hlandau/acmetool/cli/quickstart-linux.go
--- src/github.com/hlandau/acmetool/cli/quickstart-linux.go.orig 2019-12-20 22:11:58.000000000 +0100
+++ src/github.com/hlandau/acmetool/cli/quickstart-linux.go 2019-12-28 12:40:05.291903000 +0100
@@ -1,4 +1,4 @@
-// +build linux
+// +build foo
package cli
Index: src/github.com/hlandau/acmetool/cli/quickstart.go
--- src/github.com/hlandau/acmetool/cli/quickstart.go.orig 2019-10-18 16:36:54.000000000 +0200
+++ src/github.com/hlandau/acmetool/cli/quickstart.go 2019-10-18 16:40:19.486541000 +0200
--- src/github.com/hlandau/acmetool/cli/quickstart.go.orig 2019-12-20 22:11:58.000000000 +0100
+++ src/github.com/hlandau/acmetool/cli/quickstart.go 2019-12-28 12:38:49.218577000 +0100
@@ -84,12 +84,6 @@
promptSystemd()
}
@ -41,8 +50,8 @@ Index: src/github.com/hlandau/acmetool/cli/quickstart.go
}
Index: src/github.com/hlandau/acmetool/hooks/hooks.go
--- src/github.com/hlandau/acmetool/hooks/hooks.go.orig 2019-10-18 16:40:19.486713000 +0200
+++ src/github.com/hlandau/acmetool/hooks/hooks.go 2019-10-18 16:41:21.794026000 +0200
--- src/github.com/hlandau/acmetool/hooks/hooks.go.orig 2019-12-20 22:11:58.000000000 +0100
+++ src/github.com/hlandau/acmetool/hooks/hooks.go 2019-12-28 12:38:49.218719000 +0100
@@ -49,7 +49,7 @@
return
}
@ -53,8 +62,8 @@ Index: src/github.com/hlandau/acmetool/hooks/hooks.go
// Put the preferred directory first.
prefDir, err := preferredHookDir(DefaultPaths)
Index: src/gopkg.in/hlandau/svcutils.v1/caps/caps-linuxc.go
--- src/gopkg.in/hlandau/svcutils.v1/caps/caps-linuxc.go.orig 2019-10-18 16:37:31.000000000 +0200
+++ src/gopkg.in/hlandau/svcutils.v1/caps/caps-linuxc.go 2019-10-18 16:40:19.486925000 +0200
--- src/gopkg.in/hlandau/svcutils.v1/caps/caps-linuxc.go.orig 2019-12-20 22:12:12.000000000 +0100
+++ src/gopkg.in/hlandau/svcutils.v1/caps/caps-linuxc.go 2019-12-28 12:38:49.218843000 +0100
@@ -1,4 +1,4 @@
-// +build linux,cgo
+// +build foo
@ -62,8 +71,8 @@ Index: src/gopkg.in/hlandau/svcutils.v1/caps/caps-linuxc.go
package caps
Index: src/gopkg.in/hlandau/svcutils.v1/caps/caps-other.go
--- src/gopkg.in/hlandau/svcutils.v1/caps/caps-other.go.orig 2019-10-18 16:37:31.000000000 +0200
+++ src/gopkg.in/hlandau/svcutils.v1/caps/caps-other.go 2019-10-18 16:40:19.487026000 +0200
--- src/gopkg.in/hlandau/svcutils.v1/caps/caps-other.go.orig 2019-12-20 22:12:12.000000000 +0100
+++ src/gopkg.in/hlandau/svcutils.v1/caps/caps-other.go 2019-12-28 12:38:49.218946000 +0100
@@ -1,4 +1,4 @@
-// +build !linux linux,!cgo
+// +build !foo

2
acmetool/acmetool.spec

@ -36,7 +36,7 @@ Class: EVAL
Group: Cryptography
License: MIT
Version: %{V_acmetool_base}.%{V_acmetool_snap}
Release: 20191220
Release: 20191228
# list of sources
Source0: http://download.openpkg.org/components/versioned/acmetool/acmetool-%{V_acmetool_snap}.tar.xz

Loading…
Cancel
Save