Package Details: obfs4proxy-bin 0.0.14-1

Git Clone URL: https://aur.archlinux.org/obfs4proxy-bin.git (read-only, click to copy)
Package Base: obfs4proxy-bin
Description: The obfourscator - A Pluggable Transport Proxy Written in Go (This package is built by myself for thoes who live in countries with tor censored that cannot download the source in obfs4proxy package
Upstream URL: https://gitlab.com/yawning/obfs4
Keywords: obfs4 obfs4proxy tor
Licenses: BSD
Conflicts: obfs4proxy
Submitter: ali.molaei
Maintainer: ali.molaei
Last Packager: ali.molaei
Votes: 10
Popularity: 0.007276
First Submitted: 2019-09-22 13:02 (UTC)
Last Updated: 2022-09-09 12:04 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

ron2138 commented on 2022-02-08 00:22 (UTC) (edited on 2022-02-09 12:14 (UTC) by ron2138)

1. makepkg --verifysource fails when files.tar.xz exists
$ makepkg --verifysource
==> Making package: obfs4proxy-bin 0.0.13-1 (Tue 08 Feb 2022 12:15:28 AM UTC)
==> Retrieving sources...
  -> Found files.tar.xz
==> Validating source files with sha512sums...
    files.tar.xz ... FAILED
==> ERROR: One or more files did not pass the validity check!

Indeed, I had files.tar.xz from 0.0.11. I had to move it aside first. Am I wrong that it is because the file is not versioned? files.tar.xz is downloaded from the package maintainer github space. Isn't it? Perhaps he would like to have it versioned, as in files-0.0.13.tar.xz, or obfs4-bin-0.0.13.tar.xz.

2. A suggestion to modify PKGBUILD
16,20d15
< prepare() {
<   cd "${srcdir}"
<   tar -xvf "${srcdir}/files.tar.xz"
< }
< 
24c19
<   install -Dm0644 $srcdir/obfs4proxy.1 "${pkgdir}/usr/share/man/man1/obfs4proxy.1"
---
>   install -Dm0644 $srcdir/obfs4proxy.1.gz "${pkgdir}/usr/share/man/man1/obfs4proxy.1.gz"

This patch addresses

  1. PKGBUILD:prepare() is redundant, as makepkg takes care to extract the source automatically.
  2. soystemd comment from 2022-02-05 11:47 (UTC)

ghesy commented on 2022-02-05 11:47 (UTC)

Hi,

This package's build() now fails because the file obfs4proxy.1 doesn't exist and has been changed to obfs4proxy.1.gz.