postfix-pgsql: Updated for version 3.5.9

This commit is contained in:
Eugen Wissner 2021-01-19 07:41:37 +01:00
parent c246444f8d
commit 37e8a329ea
7 changed files with 78 additions and 15 deletions

View File

@ -2,7 +2,7 @@ AllCops:
Exclude: Exclude:
- 'vendor/**/*' - 'vendor/**/*'
- '.git/**/*' - '.git/**/*'
- 'node_modules/**/*' - 'slackbuilds/**/*'
- 'bin/bundle' - 'bin/bundle'
- 'bin/cap*' - 'bin/cap*'
- 'bin/rails' - 'bin/rails'
@ -16,7 +16,7 @@ AllCops:
- '**/db/*schema.rb' - '**/db/*schema.rb'
- 'pkg/**/*' - 'pkg/**/*'
TargetRubyVersion: '2.7' TargetRubyVersion: '3.0'
Style/Documentation: Style/Documentation:
Enabled: false Enabled: false
@ -41,3 +41,69 @@ Metrics/BlockLength:
IgnoredMethods: IgnoredMethods:
- describe - describe
- refine - refine
Layout/SpaceBeforeBrackets: # (new in 1.7)
Enabled: false
Lint/AmbiguousAssignment: # (new in 1.7)
Enabled: false
Lint/DeprecatedConstants: # (new in 1.8)
Enabled: false
Lint/DuplicateBranch: # (new in 1.3)
Enabled: false
Lint/DuplicateRegexpCharacterClassElement: # (new in 1.1)
Enabled: false
Lint/EmptyBlock: # (new in 1.1)
Enabled: false
Lint/EmptyClass: # (new in 1.3)
Enabled: false
Lint/LambdaWithoutLiteralBlock: # (new in 1.8)
Enabled: false
Lint/NoReturnInBeginEndBlocks: # (new in 1.2)
Enabled: false
Lint/RedundantDirGlobSort: # (new in 1.8)
Enabled: false
Lint/ToEnumArguments: # (new in 1.1)
Enabled: false
Lint/UnexpectedBlockArity: # (new in 1.5)
Enabled: false
Lint/UnmodifiedReduceAccumulator: # (new in 1.1)
Enabled: false
Style/ArgumentsForwarding: # (new in 1.1)
Enabled: false
Style/CollectionCompact: # (new in 1.2)
Enabled: false
Style/DocumentDynamicEvalDefinition: # (new in 1.1)
Enabled: false
Style/EndlessMethod: # (new in 1.8)
Enabled: false
Style/HashExcept: # (new in 1.7)
Enabled: false
Style/NegatedIfElseCondition: # (new in 1.2)
Enabled: false
Style/NilLambda: # (new in 1.3)
Enabled: false
Style/RedundantArgument: # (new in 1.4)
Enabled: false
Style/SwapValues: # (new in 1.1)
Enabled: false

View File

@ -4,8 +4,8 @@
# frozen_string_literal: true # frozen_string_literal: true
source "https://rubygems.org" source 'https://rubygems.org'
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
gem 'rubocop', '~> 1.7', require: false gem 'rubocop', '~> 1.7', require: false

View File

@ -19,7 +19,7 @@ task :dmd do
uri = URI "http://downloads.dlang.org/releases/2.x/#{version}/#{tarball_name}" uri = URI "http://downloads.dlang.org/releases/2.x/#{version}/#{tarball_name}"
checksum = { checksum = {
dmd: download(uri, "slackbuilds/development/dmd/#{tarball_name}").hexdigest, dmd: download(uri, "slackbuilds/development/dmd/#{tarball_name}").hexdigest
} }
package = Package.new 'development/dmd', package = Package.new 'development/dmd',

View File

@ -89,7 +89,7 @@ end
def clone(repo, tarball) def clone(repo, tarball)
name_version = File.basename tarball, '.tar.xz' name_version = File.basename tarball, '.tar.xz'
remote_path = tarball[tarball.index('/')..-1] remote_path = tarball[tarball.index('/')..]
if remote_file_exists?(remote_path) if remote_file_exists?(remote_path)
uri = URI hosted_sources(remote_path) uri = URI hosted_sources(remote_path)
@ -105,7 +105,7 @@ def clone(repo, tarball)
end end
def download_and_deploy(uri, tarball) def download_and_deploy(uri, tarball)
remote_path = tarball[tarball.index('/')..-1] remote_path = tarball[tarball.index('/')..]
if remote_file_exists?(remote_path) if remote_file_exists?(remote_path)
uri = URI hosted_sources(remote_path) uri = URI hosted_sources(remote_path)

View File

@ -5,10 +5,7 @@
# frozen_string_literal: true # frozen_string_literal: true
class Package class Package
attr_reader :path attr_reader :path, :version, :homepage, :requires
attr_reader :version
attr_reader :homepage
attr_reader :requires
def initialize(path, version:, homepage:, requires: []) def initialize(path, version:, homepage:, requires: [])
@path = path @path = path

View File

@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=postfix-pgsql PRGNAM=postfix-pgsql
VERSION=${VERSION:-3.5.8} VERSION=${VERSION:-3.5.9}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
SRCNAM=postfix SRCNAM=postfix

View File

@ -1,8 +1,8 @@
PRGNAM="postfix-pgsql" PRGNAM="postfix-pgsql"
VERSION="3.5.8" VERSION="3.5.9"
HOMEPAGE="http://www.postfix.org/" HOMEPAGE="http://www.postfix.org/"
DOWNLOAD="http://cdn.postfix.johnriley.me/mirrors/postfix-release/official/postfix-3.5.8.tar.gz" DOWNLOAD="http://cdn.postfix.johnriley.me/mirrors/postfix-release/official/postfix-3.5.9.tar.gz"
MD5SUM="c7c55ccc1db2a30d35c3867c21fe7109" MD5SUM="a4d1b2df03a500cf8f9759d5fca1c1f6"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="postgresql" REQUIRES="postgresql"