Hi Siva,

Thank you for your contributions!

> On 17. Nov 2023, at 15:29, Siva Mahadevan <m...@svmhdvn.name> wrote:
> 
> Tested locally on x86_64 glibc t2, everything seems to work smoothly. I
> use syncthing on all my devices to do seamless file backup and syncing.
> 
> Also, question for future code contributions to t2: should I be
> generating a .cache file and adding it to the patch? If so, how do I do
> that? I've only been testing with scripts/Build-Pkg, which doesn't seem
> to generate the .cache file automatically.

A cache is crated for any package built in t2 in $root//var/adm/cache/

It is best to submit a new package by copy the file from your build
to have some initial dependency information and billed time estimation.

Thanks!
        René

> 
> Index: /usr/src/t2-src/package/go/syncthing/syncthing.conf
> ===================================================================
> --- /usr/src/t2-src/package/go/syncthing/syncthing.conf       (nonexistent)
> +++ /usr/src/t2-src/package/go/syncthing/syncthing.conf       (working copy)
> @@ -0,0 +1,27 @@
> +# --- T2-COPYRIGHT-NOTE-BEGIN ---
> +# T2 SDE: package/*/syncthing/syncthing.conf
> +# Copyright (C) 2023 The T2 SDE Project
> +# 
> +# This Copyright note is generated by scripts/Create-CopyPatch,
> +# more information can be found in the files COPYING and README.
> +# 
> +# This program is free software; you can redistribute it and/or modify
> +# it under the terms of the GNU General Public License version 2.
> +# --- T2-COPYRIGHT-NOTE-END ---
> +
> +. $base/package/*/*/go-conf.in
> +
> +rungo=0
> +runmake=0
> +
> +hook_add inmake 5 "syncthing_inmake"
> +hook_add postmake 5 "syncthing_postmake"
> +
> +syncthing_inmake() {
> +     go run build.go -version="v$ver" -no-upgrade
> +}
> +
> +syncthing_postmake() {
> +     install -Dm755 bin/syncthing $root$bindir
> +     # TODO install init-system-specific example service files from 
> srcdir/etc/
> +}
> Index: /usr/src/t2-src/package/go/syncthing/syncthing.desc
> ===================================================================
> --- /usr/src/t2-src/package/go/syncthing/syncthing.desc       (nonexistent)
> +++ /usr/src/t2-src/package/go/syncthing/syncthing.desc       (working copy)
> @@ -0,0 +1,30 @@
> +[COPY] --- T2-COPYRIGHT-NOTE-BEGIN ---
> +[COPY] T2 SDE: package/*/syncthing/syncthing.desc
> +[COPY] Copyright (C) 2021 - 2023 The T2 SDE Project
> +[COPY] 
> +[COPY] This Copyright note is generated by scripts/Create-CopyPatch,
> +[COPY] more information can be found in the files COPYING and README.
> +[COPY] 
> +[COPY] This program is free software; you can redistribute it and/or modify
> +[COPY] it under the terms of the GNU General Public License version 2.
> +[COPY] --- T2-COPYRIGHT-NOTE-END ---
> +
> +[I] Open Source Continuous File Synchronization
> +
> +[T] Syncthing is a continuous file synchronization program. It synchronizes
> +[T] files between two or more computers.
> +
> +[U] https://syncthing.net
> +
> +[A] Jakob Borg <ja...@syncthing.org>
> +[M] Siva Mahadevan <m...@svmhdvn.name>
> +
> +[C] extra/network
> +[F] CROSS
> +
> +[L] MPL
> +[S] Stable
> +[V] 1.26.1
> +[P] X -----5---9 160.000
> +
> +[D] dc240a8b7985034041ce3bbf62bf734c0f33000d3629ce3cb7760766 
> syncthing-1.26.1.tar.gz 
> https://github.com/syncthing/syncthing/archive/v1.26.1/
> 
> ----------------------------------------------------------- 
> If you wish to unsubscribe from this mailing, send mail to
> li...@t2-project.org with a subject of: unsubscribe t2

--
ExactCODE GmbH, Lietzenburger Str. 42, DE-10789 Berlin
http://exactcode.com | http://exactscan.com | http://ocrkit.com

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
li...@t2-project.org with a subject of: unsubscribe t2

Reply via email to