added 60 ports

This commit is contained in:
2022-02-05 15:39:19 -05:00
parent 88c4996e65
commit 516c20d78a
277 changed files with 52093 additions and 0 deletions

157
fortune-mod/.footprint Normal file
View File

@@ -0,0 +1,157 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/fortune
-rwxr-xr-x root/root usr/bin/rot
-rwxr-xr-x root/root usr/bin/strfile
-rwxr-xr-x root/root usr/bin/unstr
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/games/
drwxr-xr-x root/root usr/share/games/fortune/
-rw-r--r-- root/root usr/share/games/fortune/art
-rw-r--r-- root/root usr/share/games/fortune/art.dat
-rw-r--r-- root/root usr/share/games/fortune/ascii-art
-rw-r--r-- root/root usr/share/games/fortune/ascii-art.dat
-rw-r--r-- root/root usr/share/games/fortune/chalkboard
-rw-r--r-- root/root usr/share/games/fortune/chalkboard.dat
-rw-r--r-- root/root usr/share/games/fortune/computers
-rw-r--r-- root/root usr/share/games/fortune/computers.dat
-rw-r--r-- root/root usr/share/games/fortune/cookie
-rw-r--r-- root/root usr/share/games/fortune/cookie.dat
-rw-r--r-- root/root usr/share/games/fortune/debian
-rw-r--r-- root/root usr/share/games/fortune/debian.dat
-rw-r--r-- root/root usr/share/games/fortune/definitions
-rw-r--r-- root/root usr/share/games/fortune/definitions.dat
-rw-r--r-- root/root usr/share/games/fortune/disclaimer
-rw-r--r-- root/root usr/share/games/fortune/disclaimer.dat
-rw-r--r-- root/root usr/share/games/fortune/discworld
-rw-r--r-- root/root usr/share/games/fortune/discworld.dat
-rw-r--r-- root/root usr/share/games/fortune/drugs
-rw-r--r-- root/root usr/share/games/fortune/drugs.dat
-rw-r--r-- root/root usr/share/games/fortune/education
-rw-r--r-- root/root usr/share/games/fortune/education.dat
-rw-r--r-- root/root usr/share/games/fortune/ethnic
-rw-r--r-- root/root usr/share/games/fortune/ethnic.dat
-rw-r--r-- root/root usr/share/games/fortune/food
-rw-r--r-- root/root usr/share/games/fortune/food.dat
-rw-r--r-- root/root usr/share/games/fortune/fortunes
-rw-r--r-- root/root usr/share/games/fortune/fortunes.dat
-rw-r--r-- root/root usr/share/games/fortune/goedel
-rw-r--r-- root/root usr/share/games/fortune/goedel.dat
-rw-r--r-- root/root usr/share/games/fortune/humorists
-rw-r--r-- root/root usr/share/games/fortune/humorists.dat
-rw-r--r-- root/root usr/share/games/fortune/kernelcookies
-rw-r--r-- root/root usr/share/games/fortune/kernelcookies.dat
-rw-r--r-- root/root usr/share/games/fortune/kids
-rw-r--r-- root/root usr/share/games/fortune/kids.dat
-rw-r--r-- root/root usr/share/games/fortune/knghtbrd
-rw-r--r-- root/root usr/share/games/fortune/knghtbrd.dat
-rw-r--r-- root/root usr/share/games/fortune/law
-rw-r--r-- root/root usr/share/games/fortune/law.dat
-rw-r--r-- root/root usr/share/games/fortune/linux
-rw-r--r-- root/root usr/share/games/fortune/linux.dat
-rw-r--r-- root/root usr/share/games/fortune/literature
-rw-r--r-- root/root usr/share/games/fortune/literature.dat
-rw-r--r-- root/root usr/share/games/fortune/love
-rw-r--r-- root/root usr/share/games/fortune/love.dat
-rw-r--r-- root/root usr/share/games/fortune/magic
-rw-r--r-- root/root usr/share/games/fortune/magic.dat
-rw-r--r-- root/root usr/share/games/fortune/medicine
-rw-r--r-- root/root usr/share/games/fortune/medicine.dat
-rw-r--r-- root/root usr/share/games/fortune/men-women
-rw-r--r-- root/root usr/share/games/fortune/men-women.dat
-rw-r--r-- root/root usr/share/games/fortune/miscellaneous
-rw-r--r-- root/root usr/share/games/fortune/miscellaneous.dat
-rw-r--r-- root/root usr/share/games/fortune/news
-rw-r--r-- root/root usr/share/games/fortune/news.dat
drwxr-xr-x root/root usr/share/games/fortune/off/
-rw-r--r-- root/root usr/share/games/fortune/off/art
-rw-r--r-- root/root usr/share/games/fortune/off/art.dat
-rw-r--r-- root/root usr/share/games/fortune/off/astrology
-rw-r--r-- root/root usr/share/games/fortune/off/astrology.dat
-rw-r--r-- root/root usr/share/games/fortune/off/atheism
-rw-r--r-- root/root usr/share/games/fortune/off/atheism.dat
-rw-r--r-- root/root usr/share/games/fortune/off/black-humor
-rw-r--r-- root/root usr/share/games/fortune/off/black-humor.dat
-rw-r--r-- root/root usr/share/games/fortune/off/cookie
-rw-r--r-- root/root usr/share/games/fortune/off/cookie.dat
-rw-r--r-- root/root usr/share/games/fortune/off/debian
-rw-r--r-- root/root usr/share/games/fortune/off/debian.dat
-rw-r--r-- root/root usr/share/games/fortune/off/definitions
-rw-r--r-- root/root usr/share/games/fortune/off/definitions.dat
-rw-r--r-- root/root usr/share/games/fortune/off/drugs
-rw-r--r-- root/root usr/share/games/fortune/off/drugs.dat
-rw-r--r-- root/root usr/share/games/fortune/off/ethnic
-rw-r--r-- root/root usr/share/games/fortune/off/ethnic.dat
-rw-r--r-- root/root usr/share/games/fortune/off/fortunes
-rw-r--r-- root/root usr/share/games/fortune/off/fortunes.dat
-rw-r--r-- root/root usr/share/games/fortune/off/hphobia
-rw-r--r-- root/root usr/share/games/fortune/off/hphobia.dat
-rw-r--r-- root/root usr/share/games/fortune/off/knghtbrd
-rw-r--r-- root/root usr/share/games/fortune/off/knghtbrd.dat
-rw-r--r-- root/root usr/share/games/fortune/off/limerick
-rw-r--r-- root/root usr/share/games/fortune/off/limerick.dat
-rw-r--r-- root/root usr/share/games/fortune/off/linux
-rw-r--r-- root/root usr/share/games/fortune/off/linux.dat
-rw-r--r-- root/root usr/share/games/fortune/off/misandry
-rw-r--r-- root/root usr/share/games/fortune/off/misandry.dat
-rw-r--r-- root/root usr/share/games/fortune/off/miscellaneous
-rw-r--r-- root/root usr/share/games/fortune/off/miscellaneous.dat
-rw-r--r-- root/root usr/share/games/fortune/off/misogyny
-rw-r--r-- root/root usr/share/games/fortune/off/misogyny.dat
-rw-r--r-- root/root usr/share/games/fortune/off/politics
-rw-r--r-- root/root usr/share/games/fortune/off/politics.dat
-rw-r--r-- root/root usr/share/games/fortune/off/privates
-rw-r--r-- root/root usr/share/games/fortune/off/privates.dat
-rw-r--r-- root/root usr/share/games/fortune/off/racism
-rw-r--r-- root/root usr/share/games/fortune/off/racism.dat
-rw-r--r-- root/root usr/share/games/fortune/off/religion
-rw-r--r-- root/root usr/share/games/fortune/off/religion.dat
-rw-r--r-- root/root usr/share/games/fortune/off/riddles
-rw-r--r-- root/root usr/share/games/fortune/off/riddles.dat
-rw-r--r-- root/root usr/share/games/fortune/off/sex
-rw-r--r-- root/root usr/share/games/fortune/off/sex.dat
-rw-r--r-- root/root usr/share/games/fortune/off/songs-poems
-rw-r--r-- root/root usr/share/games/fortune/off/songs-poems.dat
-rw-r--r-- root/root usr/share/games/fortune/off/vulgarity
-rw-r--r-- root/root usr/share/games/fortune/off/vulgarity.dat
-rw-r--r-- root/root usr/share/games/fortune/off/zippy
-rw-r--r-- root/root usr/share/games/fortune/off/zippy.dat
-rw-r--r-- root/root usr/share/games/fortune/paradoxum
-rw-r--r-- root/root usr/share/games/fortune/paradoxum.dat
-rw-r--r-- root/root usr/share/games/fortune/people
-rw-r--r-- root/root usr/share/games/fortune/people.dat
-rw-r--r-- root/root usr/share/games/fortune/perl
-rw-r--r-- root/root usr/share/games/fortune/perl.dat
-rw-r--r-- root/root usr/share/games/fortune/pets
-rw-r--r-- root/root usr/share/games/fortune/pets.dat
-rw-r--r-- root/root usr/share/games/fortune/platitudes
-rw-r--r-- root/root usr/share/games/fortune/platitudes.dat
-rw-r--r-- root/root usr/share/games/fortune/politics
-rw-r--r-- root/root usr/share/games/fortune/politics.dat
-rw-r--r-- root/root usr/share/games/fortune/prog-style
-rw-r--r-- root/root usr/share/games/fortune/prog-style.dat
-rw-r--r-- root/root usr/share/games/fortune/riddles
-rw-r--r-- root/root usr/share/games/fortune/riddles.dat
-rw-r--r-- root/root usr/share/games/fortune/science
-rw-r--r-- root/root usr/share/games/fortune/science.dat
-rw-r--r-- root/root usr/share/games/fortune/songs-poems
-rw-r--r-- root/root usr/share/games/fortune/songs-poems.dat
-rw-r--r-- root/root usr/share/games/fortune/sports
-rw-r--r-- root/root usr/share/games/fortune/sports.dat
-rw-r--r-- root/root usr/share/games/fortune/startrek
-rw-r--r-- root/root usr/share/games/fortune/startrek.dat
-rw-r--r-- root/root usr/share/games/fortune/tao
-rw-r--r-- root/root usr/share/games/fortune/tao.dat
-rw-r--r-- root/root usr/share/games/fortune/translate-me
-rw-r--r-- root/root usr/share/games/fortune/translate-me.dat
-rw-r--r-- root/root usr/share/games/fortune/wisdom
-rw-r--r-- root/root usr/share/games/fortune/wisdom.dat
-rw-r--r-- root/root usr/share/games/fortune/work
-rw-r--r-- root/root usr/share/games/fortune/work.dat
-rw-r--r-- root/root usr/share/games/fortune/zippy
-rw-r--r-- root/root usr/share/games/fortune/zippy.dat
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/strfile.1.gz
drwxr-xr-x root/root usr/share/man/man6/
-rw-r--r-- root/root usr/share/man/man6/fortune.6.gz

5
fortune-mod/.md5sum Normal file
View File

@@ -0,0 +1,5 @@
4e00763163ae6ca76f7f23e435edbe08 fortune-discworld.tgz
4d0f13603dce55f433ad3d39bdd3a57b fortune-mod-3.8.0.tar.xz
e6dbf9618b39c200af2b0d36cf49ce11 fortune-mod-prog-style.tar.gz
1602ec6df3336a7e01f857b8419c8df1 fortune-simpsons-chalkboard.tgz
4de18706b570d9460ed41c538627bd7a kernelcookies-8.tar.gz

9
fortune-mod/.signature Normal file
View File

@@ -0,0 +1,9 @@
untrusted comment: verify with /etc/ports/jmq.pub
RWTTPlFarK9CxPOzXlu1wDvtmF1ownrfNf7PYwye71G1AYkNLZOZdWtx+v+LWCVT73+0D4taJ4NaYMVoSadEl8N1LkNcXHNnkQM=
SHA256 (Pkgfile) = 3481339e32e1fd80f036fd2d5888ec1f3b99068a4a0289c62c1ec8a05fc2770a
SHA256 (.footprint) = bdc44e33c8dd4b545f9ce916b902f838ceffb3ff454d2abaf164f47b66386fb4
SHA256 (fortune-mod-3.8.0.tar.xz) = 1d74186166617d8213ef012bf4503299a41611f8340dc6964f4cfbcaf719f812
SHA256 (kernelcookies-8.tar.gz) = 8c5022ec90858242fe6e33165b9b64d62e8a30430e4fb1452a58cb92193ce737
SHA256 (fortune-simpsons-chalkboard.tgz) = 8cfa7ecec784314b90b46531943d507c8f556c96008c8dc44089f016e5504b35
SHA256 (fortune-discworld.tgz) = 1dbb4e081e9181dc092376b25e48d19eb69f7824e12b47dec3f55791ca32dd52
SHA256 (fortune-mod-prog-style.tar.gz) = d66a641deb134e5a7d00c7b113ed0c9b81171647083940e24abf1f763538e32f

47
fortune-mod/Pkgfile Normal file
View File

@@ -0,0 +1,47 @@
# Description: display a random quotation from a database
# URL: https://www.shlomifish.org/open-source/projects/fortune-mod/
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: recode
name=fortune-mod
version=3.8.0
release=1
source=(https://www.shlomifish.org/open-source/projects/$name/arcs/$name-$version.tar.xz \
http://www.schwarzvogel.de/pkgs/kernelcookies-8.tar.gz \
http://www.splitbrain.org/_media/projects/fortunes/fortune-simpsons-chalkboard.tgz \
http://www.splitbrain.org/_media/projects/fortunes/fortune-discworld.tgz \
http://crux.nu/files/distfiles/fortune-mod-prog-style.tar.gz)
build() {
cd $name-$version
# change the install path from /usr/games to /usr/bin
L=$(grep -n "fortune/fortune.c" CMakeLists.txt |head -n 1 |cut -f 1 -d ":")
M=$((L+1))
sed -i "${M}s/games/bin/" CMakeLists.txt
# proceed as usual with the cmake build
cmake -B build -DCMAKE_INSTALL_PREFIX="/usr/" \
-S ../$name-$version \
-DNO_OFFENSIVE=OFF \
-DLOCALDIR=/usr/share/games/fortune \
-DLOCALODIR=/usr/share/games/fortune/off \
-DCOOKIEDIR=/usr/share/games/fortune \
-DOCOOKIEDIR=/usr/share/games/fortune/off
cmake --build build
DESTDIR=$PKG cmake --install build
find $PKG -name "*.u8" -exec rm -f '{}' +
# fortune-discworld makes the following data file superfluous
rm $PKG/usr/share/games/fortune/pratchett*
cd $SRC
for cookie in */prog-style */discworld */chalkboard */kernelcookies
do
[ -f $cookie.dat ] || $PKG/usr/bin/strfile $cookie $cookie.dat
install -m 644 "$cookie"{,.dat} $PKG/usr/share/games/fortune/
done
}