-> Updated CREDITS
-> Added licenses and copyrights in main and section build files -> Fixed identation and added miscellaneous code and commentsin bldpkg
This commit is contained in:
parent
1dd82276d1
commit
16246f3ef9
10 changed files with 68 additions and 21 deletions
5
CREDITS
5
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....
|
||||
|
|
|
@ -2,9 +2,11 @@
|
|||
# Version: 1.7 GSB Section SMBuild - Do not remove this line!
|
||||
# Copyright (c) 2007, 2008:
|
||||
# Darren 'Tadgy' Austin <darren (at) gnomeslackbuild.org>, Coventry, UK.
|
||||
# Copyright (c) 2019-2022 PktSurf <smlinux@pktsurf.in>
|
||||
# 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.
|
||||
|
|
41
bldpkg
41
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 <smlinux@pktsurf.in>
|
||||
#
|
||||
# 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() {
|
|||
<tr><td><b><i><a href="/smlinux/pkgresults?pkg=$app&smver=1.0&arch=all&resultnum=25">$app $version</a></i></b></td><td>$commencedate</td><td>$finishdate</td><td>$totaltime</td><td><b style="color:#00cc00;">SUCCEEDED</b></td></tr>
|
||||
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
|
||||
|
||||
|
|
16
bldpkg.conf
16
bldpkg.conf
|
@ -1,5 +1,21 @@
|
|||
# /etc/buildvars.conf
|
||||
# Part of the SMLinux distribution
|
||||
# http://git.pktsurf.in/smlinux
|
||||
|
||||
# Copyright (c) 2021-22 PktSurf <smlinux@pktsurf.in>
|
||||
|
||||
# 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
|
||||
|
|
|
@ -2,9 +2,11 @@
|
|||
# Version: 1.7 GSB Section SMBuild - Do not remove this line!
|
||||
# Copyright (c) 2007, 2008:
|
||||
# Darren 'Tadgy' Austin <darren (at) gnomeslackbuild.org>, Coventry, UK.
|
||||
# Copyright (c) 2019-2022 PktSurf <smlinux@pktsurf.in>
|
||||
# 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.
|
||||
|
|
|
@ -2,9 +2,11 @@
|
|||
# Version: 1.7 GSB Section SMBuild - Do not remove this line!
|
||||
# Copyright (c) 2007, 2008:
|
||||
# Darren 'Tadgy' Austin <darren (at) gnomeslackbuild.org>, Coventry, UK.
|
||||
# Copyright (c) 2019-2022 PktSurf <smlinux@pktsurf.in>
|
||||
# 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.
|
||||
|
|
|
@ -2,9 +2,11 @@
|
|||
# Version: 1.7 GSB Section SMBuild - Do not remove this line!
|
||||
# Copyright (c) 2007, 2008:
|
||||
# Darren 'Tadgy' Austin <darren (at) gnomeslackbuild.org>, Coventry, UK.
|
||||
# Copyright (c) 2019-2022 PktSurf <smlinux@pktsurf.in>
|
||||
# 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.
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#!/bin/bash
|
||||
# Version: 1.3 GSB SMBuild.
|
||||
# Copyright (c) 2007 Darren 'Tadgy' Austin <darren (at) gnomeslackbuild.org>
|
||||
# Copyright (c) 2019-2022 PktSurf <smlinux@pktsurf.in>
|
||||
#
|
||||
# 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 }"
|
||||
|
|
|
@ -2,9 +2,11 @@
|
|||
# Version: 1.7 GSB Section SMBuild - Do not remove this line!
|
||||
# Copyright (c) 2007, 2008:
|
||||
# Darren 'Tadgy' Austin <darren (at) gnomeslackbuild.org>, Coventry, UK.
|
||||
# Copyright (c) 2019-2022 PktSurf <smlinux@pktsurf.in>
|
||||
# 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.
|
||||
|
|
|
@ -2,9 +2,11 @@
|
|||
# Version: 1.7 GSB Section SMBuild - Do not remove this line!
|
||||
# Copyright (c) 2007, 2008:
|
||||
# Darren 'Tadgy' Austin <darren (at) gnomeslackbuild.org>, Coventry, UK.
|
||||
# Copyright (c) 2019-2022 PktSurf <smlinux@pktsurf.in>
|
||||
# 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.
|
||||
|
|
Loading…
Reference in a new issue