WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: search tcz/src source for build scripts (rsync)  (Read 631 times)

Offline mocore

  • Hero Member
  • *****
  • Posts: 612
  • ~.~
search tcz/src source for build scripts (rsync)
« on: September 03, 2024, 05:57:48 AM »
 happy source hunting

 
Code: [Select]

 find_src() {

 search_string=${1-w3m} # eg

 def_arch=${2-x86} # x86_64 or x86

 rsync -R --list-only repo.tinycorelinux.net::tc/*.x/x86/tcz/src/ | grep "$search_string"

 # tce-load -iwl rsync
 }


    [Edit]: Changed  /*.x/86/tcz/  to  /*.x/x86/tcz/.  Rich
« Last Edit: September 03, 2024, 01:21:21 PM by Rich »

Offline mocore

  • Hero Member
  • *****
  • Posts: 612
  • ~.~
Re: search mirror for tcz/src source for build scripts (rsync)
« Reply #1 on: September 03, 2024, 09:23:29 AM »
... the tinycore repository structure has (imho) become less obvious to discover
as  browsers dropped support for ftp , and info.lst became the directory index
though the ibiblio mirror is still 'browse-able' via http

so the above function simplifies  finding previous source's & build notes

as previously stated @ https://forum.tinycorelinux.net/index.php/topic,27148.msg174366.html#msg174366 (though it seams worth repeating hear )

 
Many extensions have scripts to build them from source,

all though

If you don't  see the source it probably has not changed since the previous release, so look in the download area of previous releases.
...
Hi yiyus
Source packages are in the  src/  directory under  the  tcz/  directory in the repositories. For example:
Code: [Select]
http://tinycorelinux.net/4.x/x86/tcz/src/
http://tinycorelinux.net/5.x/x86/tcz/src/
http://tinycorelinux.net/6.x/x86/tcz/src/
If you need to get to TC2 or TC3 sources:
Code: [Select]
http://tinycorelinux.net/2.x/tcz/src/
http://tinycorelinux.net/3.x/tcz/src/


Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11515
Re: search tcz/src source for build scripts (rsync)
« Reply #2 on: September 03, 2024, 10:48:17 AM »
Hi mocore
In case anyone sees this in the future, the TC2 and TC3
directories were removed to free up space on the server.

Offline mocore

  • Hero Member
  • *****
  • Posts: 612
  • ~.~
Re: search tcz/src source for build scripts (rsync)
« Reply #3 on: September 03, 2024, 12:20:19 PM »

 thanks rich! ...

 if u get the chance could you substitute /x86/ for /$arch/ in the (hastily posted) function above plz  ::)


Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11515
Re: search tcz/src source for build scripts (rsync)
« Reply #4 on: September 03, 2024, 01:22:39 PM »
Hi mocore
Change made. Check to make sure I got it right. :)

Offline mocore

  • Hero Member
  • *****
  • Posts: 612
  • ~.~
Re: search tcz/src source for build scripts (rsync)
« Reply #5 on: September 23, 2024, 09:39:41 AM »
hi rich
 ;) not exactly , but i guess now we are both in the same boat so to speak
hopefully any one interested in running it can make any modifications after they copy or past it


reminds me of  https://en.wikipedia.org/wiki/Worse_is_better

but also ( as i have read a few scripts u posted hear )
make me wander if you have some policy/reason to avoid or just aversion to functions  ;)



Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11515
Re: search tcz/src source for build scripts (rsync)
« Reply #6 on: September 23, 2024, 10:08:19 AM »
Hi mocore
Or maybe I misunderstood how you wanted it changed.
If you PM me how you want it to look, I'll adjust the post
accordingly.