Package Details: graftcp 0.7.4-1

Git Clone URL: https://aur.archlinux.org/graftcp.git (read-only, click to copy)
Package Base: graftcp
Description: A flexible tool for redirecting a given program's TCP traffic to SOCKS5 or HTTP proxy.
Upstream URL: https://github.com/hmgle/graftcp
Licenses: GPL3
Submitter: hmgle
Maintainer: hmgle
Last Packager: hmgle
Votes: 2
Popularity: 0.000011
First Submitted: 2021-01-11 08:37 (UTC)
Last Updated: 2024-07-30 12:47 (UTC)

Dependencies (5)

Required by (0)

Sources (2)

Latest Comments

hmgle commented on 2024-02-22 14:38 (UTC)

@Zarkli This issue may be related to dependency errors in the Makefile and has been fixed in v0.7.2, see https://github.com/hmgle/graftcp/issues/65 for more information.

Zarkli commented on 2024-01-30 03:43 (UTC)

@hmgle Wired thing. I use the latest(go1.21.6 linux/amd64) go installed from the archlinux extra package repository. I can successfully build the package by myself by running sudo make install, but when I built from this package, it failed.

hmgle commented on 2024-01-29 15:23 (UTC)

@Zarkli What version of Go are you using? Maybe this link (https://github.com/golang/go/issues/44703) will be helpful to you.

Zarkli commented on 2024-01-25 13:32 (UTC)

There is an error occurs in build():

# github.com/hmgle/graftcp/local/cmd/mgraftcp
/usr/lib/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/usr/bin/ld: /home/zarkli/.cache/paru/clone/graftcp/src/graftcp-0.7.1/libgraftcp.a: error adding symbols: archive has no index; run ranlib to add one
collect2: error: ld returned 1 exit status

make[1]: *** [Makefile:31: mgraftcp] Error 1
make[1]: Leaving directory '/home/zarkli/.cache/paru/clone/graftcp/src/graftcp-0.7.1/local'
make: *** [Makefile:71: local/graftcp-local] Error 2
make: *** Waiting for unfinished jobs....
# github.com/hmgle/graftcp/local/cmd/mgraftcp
/usr/lib/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/usr/bin/ld: /home/zarkli/.cache/paru/clone/graftcp/src/graftcp-0.7.1/libgraftcp.a: error adding symbols: archive has no index; run ranlib to add one
collect2: error: ld returned 1 exit status

hmgle commented on 2021-08-11 09:28 (UTC)

There is an issue since the 0.4.0 release, the graftcp-local folder was renamed to local, causing a build error. This diff fixes the issue: ...

@Hazegard Fixed, thank you for your feedback.

Hazegard commented on 2021-08-09 16:11 (UTC) (edited on 2021-08-09 16:11 (UTC) by Hazegard)

There is an issue since the 0.4.0 release, the graftcp-local folder was renamed to local, causing a build error.

This diff fixes the issue:

diff --git a/PKGBUILD b/PKGBUILD
index bdb0321..28ccd87 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -24,6 +24,6 @@ package() {
         cd "$srcdir/$pkgname-$pkgver"
         make DESTDIR="$pkgdir/" PREFIX=/usr install
         install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-        install -Dm644 graftcp-local/example-graftcp-local.conf "$pkgdir/etc/graftcp-local/graftcp-local.conf"
+        install -Dm644 local/example-graftcp-local.conf "$pkgdir/etc/graftcp-local/graftcp-local.conf"
         install -Dm644 "$srcdir/graftcp-local.service" "$pkgdir/usr/lib/systemd/system/graftcp-local.service"
 }