Update change list, fix build script; version 0.9 beta 1

This commit is contained in:
Matthew Holt 2016-06-07 14:33:06 -06:00
parent 6c847d0723
commit 6492592b4a
4 changed files with 15 additions and 12 deletions

View File

@ -29,8 +29,7 @@ func init() {
setVersion()
flag.BoolVar(&caddytls.Agreed, "agree", false, "Agree to the CA's Subscriber Agreement")
// TODO: Change from staging to v01
flag.StringVar(&caddytls.DefaultCAUrl, "ca", "https://acme-staging.api.letsencrypt.org/directory", "URL to certificate authority's ACME server directory")
flag.StringVar(&caddytls.DefaultCAUrl, "ca", "https://acme-v01.api.letsencrypt.org/directory", "URL to certificate authority's ACME server directory")
flag.StringVar(&conf, "conf", "", "Caddyfile to load (default \""+caddy.DefaultConfigFile+"\")")
flag.StringVar(&cpu, "cpu", "100%", "CPU cap")
flag.BoolVar(&plugins, "plugins", false, "List installed plugins")

15
dist/CHANGES.txt vendored
View File

@ -1,21 +1,24 @@
CHANGES
0.9
0.9 beta 1 (June 7, 2016)
- New core
- New experimental QUIC support with -quic flag (HTTPS only)
- New -type flag to specify other server type
- Moved ~/.caddy/letsencrypt to ~/.caddy/acme and re-organized assets
- New -type flag to specify other server types
- Moved ~/.caddy/letsencrypt to ~/.caddy/acme and reorganized assets
- Moved caddy package to top level folder, and pushed main to subfolder
- Changed -directives flag to -plugins
- Site addresses can have paths
- Site addresses can make some use of wildcards in domains
- Removed -restart option (all restarts happen in-process)
- Renamed -directives flag to -plugins
- Restarting no longer requires spawning a new process
- Removed -restart option
- log: New {request} placeholder to dump entire request (sans body)
- markdown: Overhauled; removed site generation features
- proxy: More control of headers
- proxy: Specify multiple upstreams with optional port ranges
- tls: Support for ACME DNS challenge across 10 providers
- tls: Generate self-signed certificates in memory
- tls: Support for ACME DNS challenge across 10 providers
- tls: Support for TLS-SNI challenge during restarts
- Various bug fixes and enhancements
0.8.3 (April 26, 2016)

2
dist/README.txt vendored
View File

@ -3,7 +3,7 @@ CADDY 0.9 beta 1
Website
https://caddyserver.com
Community
Community Forum
https://forum.caddyserver.com
Twitter

7
dist/automate.go vendored
View File

@ -12,11 +12,12 @@ import (
"github.com/mholt/archiver"
)
var buildScript, repoDir, distDir, buildDir, releaseDir string
var buildScript, repoDir, mainDir, distDir, buildDir, releaseDir string
func init() {
repoDir = filepath.Join(os.Getenv("GOPATH"), "src", "github.com", "mholt", "caddy")
buildScript = filepath.Join(repoDir, "caddy", "build.bash")
mainDir = filepath.Join(repoDir, "caddy")
buildScript = filepath.Join(mainDir, "build.bash")
distDir = filepath.Join(repoDir, "dist")
buildDir = filepath.Join(distDir, "builds")
releaseDir = filepath.Join(distDir, "release")
@ -98,7 +99,7 @@ func main() {
func build(p platform, out string) error {
cmd := exec.Command(buildScript, out)
cmd.Dir = repoDir
cmd.Dir = mainDir
cmd.Env = os.Environ()
cmd.Env = append(cmd.Env, "CGO_ENABLED=0")
cmd.Env = append(cmd.Env, "GOOS="+p.os)