Package Details: libcwtch-go 1.9.0-1

Git Clone URL: https://aur.archlinux.org/libcwtch-go.git (read-only, click to copy)
Package Base: libcwtch-go
Description: C bindings for the Go Cwtch library
Upstream URL: https://cwtch.im
Keywords: chat go library privacy tor
Licenses: MIT
Conflicts: libcwtch-go-git
Submitter: GI_Jack
Maintainer: mal
Last Packager: mal
Votes: 1
Popularity: 0.000004
First Submitted: 2021-06-25 21:00 (UTC)
Last Updated: 2022-10-03 21:05 (UTC)

Latest Comments

GI_Jack commented on 2021-09-02 11:52 (UTC)

It looks like you have more interest/better luck with this, I'm going to drop the package and you can have it

mal commented on 2021-09-01 01:26 (UTC) (edited on 2021-09-01 06:14 (UTC) by mal)

Please add the following to build() as recommended by https://wiki.archlinux.org/title/Go_package_guidelines

export CGO_CFLAGS="${CFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
export GOFLAGS="-trimpath"

This removes the "Package contains reference to $srcdir" warning and allows the library to be built with FORTIFY for full RELRO.

I'm pretty sure libCwtch.so normally belongs in /usr/lib, using /usr/lib/cwtch requires apps using the library to set LD_PRELOAD_PATH.

Lastly, is there a reason to set up the sysusers and tmpfiles in this package? There very well may be, I'm not super familiar with cwtch.