You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.8 KiB
52 lines
1.8 KiB
Index: src/github.com/hlandau/acme/cmd/acmetool/main.go |
|
--- src/github.com/hlandau/acme/cmd/acmetool/main.go.orig 2016-04-01 18:10:17.000000000 +0200 |
|
+++ src/github.com/hlandau/acme/cmd/acmetool/main.go 2016-04-01 20:25:12.277357153 +0200 |
|
@@ -6,7 +6,6 @@ |
|
"fmt" |
|
"io/ioutil" |
|
"os" |
|
- "path/filepath" |
|
"syscall" |
|
|
|
"github.com/hlandau/acme/acmeapi" |
|
@@ -46,7 +45,7 @@ |
|
|
|
stdioFlag = kingpin.Flag("stdio", "Don't attempt to use console dialogs; fall back to stdio prompts").Bool() |
|
|
|
- responseFileFlag = kingpin.Flag("response-file", "Read dialog responses from the given file (default: $ACME_STATE_DIR/conf/responses)").ExistingFile() |
|
+ responseFileFlag = kingpin.Flag("response-file", "Read dialog responses from the given file").Default("@l_prefix@/etc/acmetool/responses.yaml").ExistingFile() |
|
|
|
reconcileCmd = kingpin.Command("reconcile", reconcileHelp).Default() |
|
|
|
@@ -117,13 +116,6 @@ |
|
interaction.NoDialog = true |
|
} |
|
|
|
- if *responseFileFlag == "" { |
|
- p := filepath.Join(*stateFlag, "conf/responses") |
|
- if _, err := os.Stat(p); err == nil { |
|
- *responseFileFlag = p |
|
- } |
|
- } |
|
- |
|
if *responseFileFlag != "" { |
|
err := loadResponseFile(*responseFileFlag) |
|
log.Errore(err, "cannot load response file, continuing anyway") |
|
Index: src/gopkg.in/hlandau/svcutils.v1/caps/caps-linuxc.go |
|
--- src/gopkg.in/hlandau/svcutils.v1/caps/caps-linuxc.go.orig 2016-04-01 18:10:36.000000000 +0200 |
|
+++ src/gopkg.in/hlandau/svcutils.v1/caps/caps-linuxc.go 2016-04-01 20:26:29.627267966 +0200 |
|
@@ -1,4 +1,4 @@ |
|
-// +build linux,cgo |
|
+// +build foo |
|
|
|
package caps |
|
|
|
Index: src/gopkg.in/hlandau/svcutils.v1/caps/caps-other.go |
|
--- src/gopkg.in/hlandau/svcutils.v1/caps/caps-other.go.orig 2016-04-01 18:10:36.000000000 +0200 |
|
+++ src/gopkg.in/hlandau/svcutils.v1/caps/caps-other.go 2016-04-01 20:26:25.817317120 +0200 |
|
@@ -1,4 +1,4 @@ |
|
-// +build !linux linux,!cgo |
|
+// +build !foo |
|
|
|
package caps |
|
|
|
|