Browse Source

Revert "Merge pull request #2440 from Stefan-Code/master"

This reverts commit 81bc6bf34b262a0770e1f05357ceefe3f1b0d836, reversing
changes made to 7de736e8d0a12f9fd0a97ccd2dcb1cf769783d21.

Unfortunately this tricks the upgrade system into picking the wrong
binary. We need to fix the upgrade system before merging this.
Jakob Borg 10 years ago
parent
commit
19bf51cefb
4 changed files with 0 additions and 30 deletions
  1. 0 1
      .gitignore
  2. 0 4
      build.go
  3. 0 21
      etc/firewall-ufw/README.md
  4. 0 4
      etc/firewall-ufw/syncthing

+ 0 - 1
.gitignore

@@ -1,5 +1,4 @@
 syncthing
-!etc/firewall-ufw/syncthing
 !gui/syncthing
 !Godeps/_workspace/src/github.com/syncthing
 syncthing.exe

+ 0 - 4
build.go

@@ -315,7 +315,6 @@ func buildDeb() {
 		{src: "man/syncthing-versioning.7", dst: "deb/usr/share/man/man7/syncthing-versioning.7", perm: 0644},
 		{src: "etc/linux-systemd/system/[email protected]", dst: "deb/lib/systemd/system/[email protected]", perm: 0644},
 		{src: "etc/linux-systemd/user/syncthing.service", dst: "deb/usr/lib/systemd/user/syncthing.service", perm: 0644},
-		{src: "etc/firewall-ufw/syncthing", dst: "deb/etc/ufw/applications.d/syncthing", perm: 0644},
 	}
 
 	for _, file := range listFiles("extra") {
@@ -344,8 +343,6 @@ Description: Open Source Continuous File Synchronization
  -- Jakob Borg <[email protected]>  {{date}}
 `
 
-	conffiles := "/etc/ufw/applications.d/syncthing\n"
-
 	control = strings.Replace(control, "{{arch}}", debarch, -1)
 	control = strings.Replace(control, "{{version}}", version[1:], -1)
 	changelog = strings.Replace(changelog, "{{arch}}", debarch, -1)
@@ -356,7 +353,6 @@ Description: Open Source Continuous File Synchronization
 	ioutil.WriteFile("deb/DEBIAN/control", []byte(control), 0644)
 	ioutil.WriteFile("deb/DEBIAN/compat", []byte("9\n"), 0644)
 	ioutil.WriteFile("deb/DEBIAN/changelog", []byte(changelog), 0644)
-	ioutil.WriteFile("deb/DEBIAN/conffiles", []byte(conffiles), 0644)
 
 }
 

+ 0 - 21
etc/firewall-ufw/README.md

@@ -1,21 +0,0 @@
-Uncomplicated FireWall application preset
-===================
-Installation
------------
-**Please note:** When you installed syncthing using the official deb package, you can skip the copying.
-
-Copy the file `syncthing` to your ufw applications directory usually located at `/etc/ufw/applications.d/`. (root permissions required).
-
-Then run
-```
-sudo ufw app update syncthing
-```
-to load the preset.
-To allow the syncthing ports, run:
-```
-sudo ufw allow syncthing
-```
-You can also verify the opened ports:
-```
-sudo ufw status verbose
-```

+ 0 - 4
etc/firewall-ufw/syncthing

@@ -1,4 +0,0 @@
-[syncthing]
-title=Syncthing
-description=Syncthing file synchronisation
-ports=22000/tcp|21027/udp