diff --git a/CREDITS b/CREDITS index 40e700e..de3aa59 100644 --- a/CREDITS +++ b/CREDITS @@ -1,4 +1,4 @@ -Location: irc.freenode.net: +IRC network - irc.libera.chat, formerly Freenode - irc.freenode.net The People on my distro channel #smlinux The People (and bots too, perhaps) and their works of ##slackware The People (and bots too, perhaps) and their works of #openwrt @@ -7,6 +7,7 @@ The People (and bots too, perhaps) and their works of #sabotage The People (and bots too, perhaps) and their works of #alpine-linux The People (and bots too, perhaps) and their works on #sta.li on 2f30.org. -Dhruv Vyas (https://github.com/dhruvvyas90) for his 32bit ARM versatilepb raspberry qemu kernel +Dhruv Vyas (https://github.com/dhruvvyas90) for his 32bit ARM versatilepb raspberry qemu kernel, +while 32bit ARM userland was under active development. And many many more untold places on the internet.... diff --git a/base/ssb.base.SMBuild b/base/ssb.base.SMBuild index 2456a5d..e85b0c4 100755 --- a/base/ssb.base.SMBuild +++ b/base/ssb.base.SMBuild @@ -2,9 +2,11 @@ # Version: 1.7 GSB Section SMBuild - Do not remove this line! # Copyright (c) 2007, 2008: # Darren 'Tadgy' Austin , Coventry, UK. +# Copyright (c) 2019-2022 PktSurf # Licenced under the terms of the GNU General Public Licence version 3. # -# Modified and trimmed extensively for use with SMLinux +# Modified and trimmed extensively for use with SMLinux distribution +# http://git.pktsurf.in/smlinux # Prevent users from directly executing this section autobuild file. The whole build # process has to be initiated from the main autobuild file. diff --git a/bldpkg b/bldpkg index 38d00e1..65d9993 100755 --- a/bldpkg +++ b/bldpkg @@ -1,10 +1,25 @@ #!/bin/bash # Part of the SMLinux distribution -# http://git.pktsurf.in +# http://git.pktsurf.in/smlinux + +# Copyright (c) 2022 PktSurf +# +# Permission to use, copy, modify, and distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +############ # TODO -# Find a better way to communicate to the build monitor, by for example, -# using a "catting" important build info into a unique build file and then +# Find a better way to communicate to the build monitor, by, for example, +# "catting" important build info into a unique build file and then # the build monitor sources from that file # Exit on any error @@ -42,9 +57,9 @@ genchecksum() { checksumbinary="sha512sum" for buildfile in ${files[@]} ; do - if [ -f "$buildfile" ] ; then - $checksumbinary $buildfile >> "$srcdirpath".SMBuild - fi + if [ -f "$buildfile" ] ; then + $checksumbinary $buildfile >> "$srcdirpath".SMBuild + fi done printf '"' >> "$srcdirpath".SMBuild @@ -52,7 +67,8 @@ genchecksum() { exit 0 } - unset app version build homepage download requires desc arch CFLAGS CXXFLAGS +# Unset standard variables before sourcing from the build file +unset app version build homepage download requires desc arch CFLAGS CXXFLAGS # If the first argument is "genchecksum", invoke the genchecksum function. # Else if the first argument is filename, then get the build extension of that file and source it, else throw an error @@ -105,9 +121,11 @@ if [ -z "$skipchecksum" ] ; then echo "Verifying Checksums..." IFS=$'\n' + for src in $sums; do echo "$src" | sha512sum -c done + unset IFS echo "Looks good..." fi @@ -774,12 +792,12 @@ mkfinalpkg() { ( cd "$manpagedir" for eachpage in $( find . -type l -maxdepth 1) ; do ln -s "$( readlink "$eachpage" ).gz" "$eachpage".gz - rm "$eachpage" + rm "$eachpage" done gzip -9 ./*.? >/dev/null 2>&1 || true ) done - ) + ) fi # Remove .la files similar to what slackware devs are doing in slackware-current, but in a more efficient manner :) @@ -991,7 +1009,7 @@ prepbuildsummary() { $app $version$commencedate$finishdate$totaltimeSUCCEEDED EOF - rm -f $parenttmp/BUILDING + rm -f $parenttmp/BUILDING fi # Determine the compressed size @@ -1155,7 +1173,6 @@ promptuser() { if [ "$installprompt" = "1" ] && [ -z "$autobuild" ] && [ -n "$packlocation" ] ; then while true ; do echo - echo "[NOTIFY] '"$app"' successfully built and installprompt is enabled in the bldpkg.conf file." read -r -p "[NOTIFY] Would you like to install/upgrade it? (y/N) " yn @@ -1164,7 +1181,7 @@ promptuser() { upgradepkg --install-new "$packlocation" break;; *) echo "[INFO] Nope? Alright." ; exit 0 ;; - esac + esac done fi diff --git a/bldpkg.conf b/bldpkg.conf index ae0a2db..741a351 100644 --- a/bldpkg.conf +++ b/bldpkg.conf @@ -1,5 +1,21 @@ # /etc/buildvars.conf # Part of the SMLinux distribution +# http://git.pktsurf.in/smlinux + +# Copyright (c) 2021-22 PktSurf + +# Permission to use, copy, modify, and distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. + +# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# # This file allows you to define paths and variable values and prepares a # complete build environment for creating SMLinux-compatible packages diff --git a/extra/ssb.extra.SMBuild b/extra/ssb.extra.SMBuild index 2456a5d..e85b0c4 100755 --- a/extra/ssb.extra.SMBuild +++ b/extra/ssb.extra.SMBuild @@ -2,9 +2,11 @@ # Version: 1.7 GSB Section SMBuild - Do not remove this line! # Copyright (c) 2007, 2008: # Darren 'Tadgy' Austin , Coventry, UK. +# Copyright (c) 2019-2022 PktSurf # Licenced under the terms of the GNU General Public Licence version 3. # -# Modified and trimmed extensively for use with SMLinux +# Modified and trimmed extensively for use with SMLinux distribution +# http://git.pktsurf.in/smlinux # Prevent users from directly executing this section autobuild file. The whole build # process has to be initiated from the main autobuild file. diff --git a/gtk/ssb.gtk.SMBuild b/gtk/ssb.gtk.SMBuild index 2456a5d..e85b0c4 100755 --- a/gtk/ssb.gtk.SMBuild +++ b/gtk/ssb.gtk.SMBuild @@ -2,9 +2,11 @@ # Version: 1.7 GSB Section SMBuild - Do not remove this line! # Copyright (c) 2007, 2008: # Darren 'Tadgy' Austin , Coventry, UK. +# Copyright (c) 2019-2022 PktSurf # Licenced under the terms of the GNU General Public Licence version 3. # -# Modified and trimmed extensively for use with SMLinux +# Modified and trimmed extensively for use with SMLinux distribution +# http://git.pktsurf.in/smlinux # Prevent users from directly executing this section autobuild file. The whole build # process has to be initiated from the main autobuild file. diff --git a/net/ssb.net.SMBuild b/net/ssb.net.SMBuild index 2456a5d..e85b0c4 100755 --- a/net/ssb.net.SMBuild +++ b/net/ssb.net.SMBuild @@ -2,9 +2,11 @@ # Version: 1.7 GSB Section SMBuild - Do not remove this line! # Copyright (c) 2007, 2008: # Darren 'Tadgy' Austin , Coventry, UK. +# Copyright (c) 2019-2022 PktSurf # Licenced under the terms of the GNU General Public Licence version 3. # -# Modified and trimmed extensively for use with SMLinux +# Modified and trimmed extensively for use with SMLinux distribution +# http://git.pktsurf.in/smlinux # Prevent users from directly executing this section autobuild file. The whole build # process has to be initiated from the main autobuild file. diff --git a/ssb.SMBuild b/ssb.SMBuild index 106cf75..76ed57c 100755 --- a/ssb.SMBuild +++ b/ssb.SMBuild @@ -1,10 +1,11 @@ #!/bin/bash # Version: 1.3 GSB SMBuild. # Copyright (c) 2007 Darren 'Tadgy' Austin +# Copyright (c) 2019-2022 PktSurf # # Licenced under the terms of the GNU General Public Licence version 3. # -# Modified and trimmed extensively for use with SMLinux +# Modified and trimmed extensively for use with SMLinux distribution # The default list of GSB sections, in the order they should be processed. sections="${sections:- base xorg gtk extra net xfce }" diff --git a/xfce/ssb.xfce.SMBuild b/xfce/ssb.xfce.SMBuild index 2456a5d..e85b0c4 100755 --- a/xfce/ssb.xfce.SMBuild +++ b/xfce/ssb.xfce.SMBuild @@ -2,9 +2,11 @@ # Version: 1.7 GSB Section SMBuild - Do not remove this line! # Copyright (c) 2007, 2008: # Darren 'Tadgy' Austin , Coventry, UK. +# Copyright (c) 2019-2022 PktSurf # Licenced under the terms of the GNU General Public Licence version 3. # -# Modified and trimmed extensively for use with SMLinux +# Modified and trimmed extensively for use with SMLinux distribution +# http://git.pktsurf.in/smlinux # Prevent users from directly executing this section autobuild file. The whole build # process has to be initiated from the main autobuild file. diff --git a/xorg/ssb.xorg.SMBuild b/xorg/ssb.xorg.SMBuild index 2456a5d..e85b0c4 100755 --- a/xorg/ssb.xorg.SMBuild +++ b/xorg/ssb.xorg.SMBuild @@ -2,9 +2,11 @@ # Version: 1.7 GSB Section SMBuild - Do not remove this line! # Copyright (c) 2007, 2008: # Darren 'Tadgy' Austin , Coventry, UK. +# Copyright (c) 2019-2022 PktSurf # Licenced under the terms of the GNU General Public Licence version 3. # -# Modified and trimmed extensively for use with SMLinux +# Modified and trimmed extensively for use with SMLinux distribution +# http://git.pktsurf.in/smlinux # Prevent users from directly executing this section autobuild file. The whole build # process has to be initiated from the main autobuild file.