Package Details: zapret-docs-git 62.r3.gc532ec4-1

Git Clone URL: https://aur.archlinux.org/zapret-git.git (read-only, click to copy)
Package Base: zapret-git
Description: Bypass deep packet inspection - docs and manuals
Upstream URL: https://github.com/bol-van/zapret
Licenses: MIT
Conflicts: zapret-docs
Provides: zapret-docs
Submitter: ahmubashshir
Maintainer: xiota
Last Packager: xiota
Votes: 13
Popularity: 2.36
First Submitted: 2020-07-16 01:38 (UTC)
Last Updated: 2024-09-17 21:38 (UTC)

Latest Comments

1 2 Next › Last »

xiota commented on 2024-08-30 08:14 (UTC) (edited on 2024-08-30 08:16 (UTC) by xiota)

@napaster Try building in a clean chroot. If that doesn't help, put the full log in a pastebin.

The following line indicated base-devel wasn't installed.

==> ERROR: Cannot find the debugedit binary required for including source files in debug packages.

Because:

$ pacman -Si base-devel | grep -E '(Name|debugedit)'
Name            : base-devel
Depends On      : archlinux-keyring  autoconf  automake  binutils  bison  debugedit  fakeroot  file  findutils  flex  gawk  gcc  gettext  grep  groff  gzip  libtool  m4  make  pacman  patch  pkgconf  sed  sudo  texinfo  which

napaster commented on 2024-08-30 08:08 (UTC)

This package is installed on the system.

pacman -Ss base-devel
core/base-devel 1-1 [installed]
    Basic tools to build Arch Linux packages

xiota commented on 2024-08-30 06:03 (UTC)

@napaster Install base-devel.

napaster commented on 2024-08-30 02:15 (UTC)

The parcel is not packed. Although all dependencies are worth it

Cloning into 'zapret'...
done.
==> Starting pkgver()...
==> Updated version: zapret-git 61.r29.gf8a673b-1
==> Sources are ready.
==> ERROR: Cannot find the debugedit binary required for including source files in debug packages.
 -> Failed to install layer, rolling up to next layer.error:error making: zapret-git - exit status 15
==> Making package: zapret-git 61.r29.gf8a673b-1 (Fri 30 Aug 2024 09:12:11 AM +07)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating zapret git repo...
  -> Found sysusers.conf
==> Validating source files with sha256sums...
    zapret ... Skipped
    sysusers.conf ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of zapret git repo...
Cloning into 'zapret'...
done.
==> Starting pkgver()...
==> Sources are ready.
==> ERROR: Cannot find the debugedit binary required for including source files in debug packages.
 -> error making: zapret-git-exit status 15
==> Making package: zapret-git 61.r29.gf8a673b-1 (Fri 30 Aug 2024 09:12:19 AM +07)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating zapret git repo...
  -> Found sysusers.conf
==> Validating source files with sha256sums...
    zapret ... Skipped
    sysusers.conf ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of zapret git repo...
Cloning into 'zapret'...
done.
==> Starting pkgver()...
==> Sources are ready.
==> ERROR: Cannot find the debugedit binary required for including source files in debug packages.
 -> error making: zapret-git-exit status 15
 -> Failed to install the following packages. Manual intervention is required:
zapret-nfqws-git - exit status 15
zapret-common-git - exit status 15

nullcoder commented on 2024-08-28 14:18 (UTC)

:: Resolving dependencies...
error: could not find all required packages:
    zapret-git=61.r12.gf8a673b (wanted by: zapret-common-git)

Nekit commented on 2024-08-08 10:56 (UTC)

Config file in the main repo got renamed. Something like this should help:

diff --git a/PKGBUILD b/PKGBUILD
index 52eacb6..6d08af2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -95,7 +95,7 @@ package_zapret-nfqws-git() {

    cd "$srcdir/${pkgbase%-git}"

-   install -Dm644 config              "$pkgdir/opt/zapret/config.nfqws"
+   install -Dm644 config.default              "$pkgdir/opt/zapret/config.nfqws"
    install -Dm755 "binaries/my/nfqws" "$pkgdir/opt/zapret/nfq/nfqws"
    install -Dm644 docs/LICENSE.txt    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
    ln -s config.nfqws "$pkgdir/opt/zapret/config"
@@ -118,7 +118,7 @@ package_zapret-tpws-git() {

    cd "$srcdir/${pkgbase%-git}"

-   install -Dm644 config             "$pkgdir/opt/zapret/config.tpws"
+   install -Dm644 config.default             "$pkgdir/opt/zapret/config.tpws"
    install -Dm755 "binaries/my/tpws" "$pkgdir/opt/zapret/tpws/tpws"
    install -Dm644 docs/LICENSE.txt    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
    ln -s config.tpws "$pkgdir/opt/zapret/config"

alexmurkoff commented on 2024-08-07 09:40 (UTC)

Getting this error:

install: cannot stat 'config': No such file or directory
==> ERROR: A failure occurred in package_zapret-nfqws-git().
    Aborting...
 -> error making: zapret-git-exit status 4
checking dependencies...

Package (1)         Old Version  Net Change

libnetfilter_queue  1.0.5-2       -0.04 MiB

Total Removed Size:  0.04 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
(1/1) removing libnetfilter_queue                                                              [########################################################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Removing old packages from yay cache...
Removing old installed AUR packages...
==> no candidate packages found for pruning
Removing old uninstalled AUR packages...
==> no candidate packages found for pruning
 -> Failed to install the following packages. Manual intervention is required:
zapret-nfqws-git - exit status 4
zapret-common-git - exit status 4

Anyone have any ideas on how to fix?

parovoz commented on 2022-03-19 15:59 (UTC) (edited on 2022-03-19 16:02 (UTC) by parovoz)

"common" with all its contents should be also installed in /opt/zapret/

мар 19 19:54:44 komputator systemd[1]: Starting zapret.service...
мар 19 19:54:44 komputator zapret[83433]: /opt/zapret/init.d/sysv/functions: строка 5: /opt/zapret/common/base.sh: Нет такого файла или каталога
мар 19 19:54:44 komputator systemd[1]: zapret.service: Control process exited, code=exited, status=1/FAILURE
мар 19 19:54:44 komputator systemd[1]: zapret.service: Failed with result 'exit-code'.
мар 19 19:54:44 komputator systemd[1]: Failed to start zapret.service.

gray commented on 2021-12-31 10:33 (UTC) (edited on 2021-12-31 10:34 (UTC) by gray)

This line inside the PKGBUILD

sed -ri "s/^#?MODE=.*$/MODE=nfqws_all_desync/" "$pkgdir/opt/zapret/config"

is wrong because the "functions" script expects exact this "nfqws".