| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- Index: mattermost-server-5.38.2/Makefile
- --- mattermost-server-5.38.2/Makefile.orig 2021-06-10 14:40:25.000000000 +0200
- +++ mattermost-server-5.38.2/Makefile 2021-06-16 20:24:17.505824000 +0200
- @@ -21,13 +21,13 @@
- # Build Flags
- BUILD_NUMBER ?= $(BUILD_NUMBER:)
- BUILD_DATE = $(shell date -u)
- -BUILD_HASH = $(shell git rev-parse HEAD)
- +BUILD_HASH = 000000
- # If we don't set the build number it defaults to dev
- ifeq ($(BUILD_NUMBER),)
- BUILD_NUMBER := dev
- endif
- BUILD_ENTERPRISE_DIR ?= ../enterprise
- -BUILD_ENTERPRISE ?= true
- +BUILD_ENTERPRISE ?= false
- BUILD_ENTERPRISE_READY = false
- BUILD_TYPE_NAME = team
- BUILD_HASH_ENTERPRISE = none
- Index: mattermost-server-5.38.2/build/release.mk
- --- mattermost-server-5.38.2/build/release.mk.orig 2021-06-10 14:40:25.000000000 +0200
- +++ mattermost-server-5.38.2/build/release.mk 2021-06-16 20:24:17.506241000 +0200
- @@ -54,7 +54,8 @@
- env GOOS=windows GOARCH=amd64 $(GO) build -o $(GOBIN)/windows_amd64 $(GOFLAGS) -trimpath -ldflags '$(LDFLAGS)' ./cmd/...
- endif
-
- -build: build-linux build-windows build-osx
- +build:
- + $(GO) build -v $(GOFLAGS) $(GO_LINKER_FLAGS) -o mattermost cmd/mattermost/*.go
-
- build-cmd: build-cmd-linux build-cmd-windows build-cmd-osx
-
- Index: mattermost/config/config.json
- --- mattermost/config/config.json.orig 2021-06-10 15:33:13.000000000 +0200
- +++ mattermost/config/config.json 2021-06-16 23:20:43.595672000 +0200
- @@ -1,9 +1,9 @@
- {
- "ServiceSettings": {
- - "SiteURL": "",
- + "SiteURL": "http://localhost:8080/",
- "WebsocketURL": "",
- "LicenseFileLocation": "",
- - "ListenAddress": ":8065",
- + "ListenAddress": "127.0.0.1:8080",
- "ConnectionSecurity": "",
- "TLSCertFile": "",
- "TLSKeyFile": "",
- @@ -148,7 +148,7 @@
- },
- "SqlSettings": {
- "DriverName": "postgres",
- - "DataSource": "postgres://mmuser:mostest@localhost/mattermost_test?sslmode=disable\u0026connect_timeout=10",
- + "DataSource": "postgresql://mattermost:mattermost@127.0.0.1:5432/mattermost?sslmode=disable&connect_timeout=10",
- "DataSourceReplicas": [],
- "DataSourceSearchReplicas": [],
- "MaxIdleConns": 20,
- @@ -209,7 +209,7 @@
- "EnableMobileDownload": true,
- "MaxFileSize": 104857600,
- "DriverName": "local",
- - "Directory": "./data/",
- + "Directory": "@l_prefix@/var/mattermost/data-fs/",
- "EnablePublicLink": false,
- "ExtractContent": true,
- "ArchiveRecursion": false,
- @@ -233,15 +233,15 @@
- "SendEmailNotifications": false,
- "UseChannelInEmailNotifications": false,
- "RequireEmailVerification": false,
- - "FeedbackName": "",
- - "FeedbackEmail": "",
- - "ReplyToAddress": "",
- - "FeedbackOrganization": "",
- + "FeedbackName": "Mattermost",
- + "FeedbackEmail": "mattermost@example.com",
- + "ReplyToAddress": "mattermost@example.com",
- + "FeedbackOrganization": "Example Corp.",
- "EnableSMTPAuth": false,
- "SMTPUsername": "",
- "SMTPPassword": "",
- - "SMTPServer": "",
- - "SMTPPort": "10025",
- + "SMTPServer": "127.0.0.1",
- + "SMTPPort": "25",
- "SMTPServerTimeout": 10,
- "ConnectionSecurity": "",
- "SendPushNotifications": true,
- @@ -251,7 +251,7 @@
- "EnableEmailBatching": false,
- "EmailBatchingBufferSize": 256,
- "EmailBatchingInterval": 30,
- - "EnablePreviewModeBanner": true,
- + "EnablePreviewModeBanner": false,
- "SkipServerCertificateVerification": false,
- "EmailNotificationContentsType": "full",
- "LoginButtonColor": "#0000",
- @@ -386,7 +386,7 @@
- },
- "ComplianceSettings": {
- "Enable": false,
- - "Directory": "./data/",
- + "Directory": "@_prefix@/var/mattermost/data-fs/",
- "EnableDaily": false,
- "BatchSize": 30000
- },
- @@ -479,9 +479,9 @@
- "MaxUsersForStatistics": 2500
- },
- "ElasticsearchSettings": {
- - "ConnectionUrl": "http://localhost:9200",
- + "ConnectionUrl": "http://127.0.0.1:9200",
- "Username": "elastic",
- - "Password": "changeme",
- + "Password": "elastic",
- "EnableIndexing": false,
- "EnableSearching": false,
- "EnableAutocomplete": false,
- @@ -539,8 +539,8 @@
- "EnableUploads": false,
- "AllowInsecureDownloadUrl": false,
- "EnableHealthCheck": true,
- - "Directory": "./plugins",
- - "ClientDirectory": "./client/plugins",
- + "Directory": "@l_prefix@/lib/mattermost/plugins",
- + "ClientDirectory": "@l_prefix@/etc/mattermost/plugins",
- "Plugins": {},
- "PluginStates": {
- "com.mattermost.nps": {
- @@ -594,4 +594,4 @@
- "Directory": "./export",
- "RetentionDays": 30
- }
- -}
- \ No newline at end of file
- +}
|